/* ============================================
   VINTAGE TABLE SETTINGS - FUTURISTIC DESIGN
   Digital Museum of Fine Dining
   ============================================ */

:root {
  /* Color Palette - Hyper-Contrast Luxury */
  --color-holographic-silver: #E8E8E8;
  --color-velvet-cobalt: #002366;
  --color-oxidized-copper: #70A494;
  --color-prism-glow-start: rgba(112, 164, 148, 0.3);
  --color-prism-glow-end: rgba(0, 35, 102, 0.3);
  --color-text-primary: #002366;
  --color-text-secondary: #4a5568;
  --color-bg-light: #f8f9fa;
  --color-bg-dark: #0a0e1a;
  --color-border: rgba(112, 164, 148, 0.2);
  --color-overlay: rgba(0, 35, 102, 0.85);
  
  /* Typography */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 35, 102, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 35, 102, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 35, 102, 0.2);
  --shadow-glow: 0 0 20px rgba(112, 164, 148, 0.3);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Layout */
  --container-max-width: 1200px;
  --header-height: 80px;
}

@media (min-width: 1024px) {
  .burger-toggle {
    display: none !important;
  }
  
  .nav-menu {
    display: flex !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important;
    right: auto !important;
  }
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-holographic-silver);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-velvet-cobalt);
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 2rem);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
  position: relative;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: rgba(232, 232, 232, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}

.header-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.brand-text {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.75rem);
  font-weight: 700;
  color: var(--color-velvet-cobalt);
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  gap: 10px;
  list-style: none;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-primary);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.nav-link:hover {
  color: var(--color-oxidized-copper);
  background: rgba(112, 164, 148, 0.1);
}

.burger-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 24px;
  cursor: pointer;
  z-index: 10001;
}

.burger-line {
  width: 100%;
  height: 2px;
  background: var(--color-velvet-cobalt);
  transition: var(--transition-base);
  border-radius: 2px;
}

.burger-toggle.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.burger-toggle.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-toggle.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   FULL-WIDTH BANNERS
   ============================================ */

.hero-banner {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: var(--space-xxl) var(--space-lg);
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 35, 102, 0.75) 0%, rgba(112, 164, 148, 0.75) 100%);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-xl);
}

.banner-title {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: var(--space-lg);
  color: var(--color-holographic-silver);
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.5);
}

.banner-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(232, 232, 232, 0.95);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.banner-image {
  display: none;
}

.footer-bottom p{
  color: white;
}

.banner-image-wrapper {
  display: none;
}

/* ============================================
   BUTTONS & CTAs
   ============================================ */

.btn-primary {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  background: linear-gradient(135deg, var(--color-oxidized-copper) 0%, var(--color-velvet-cobalt) 100%);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-base);
  box-shadow: var(--shadow-md);
  margin-top: 10px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  background: transparent;
  color: var(--color-velvet-cobalt);
  border: 2px solid var(--color-oxidized-copper);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-base);
  margin-top: 10px;
}

.btn-secondary:hover {
  background: var(--color-oxidized-copper);
  color: white;
}

/* ============================================
   CONTAINER & SECTIONS
   ============================================ */

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-xxl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-oxidized-copper), var(--color-velvet-cobalt));
  margin: var(--space-md) auto 0;
  border-radius: 2px;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  width: 100%;
}

/* ============================================
   GLASSMORPHISM CARDS
   ============================================ */

.glass-card {
  background: rgba(232, 232, 232, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-oxidized-copper);
}

/* ============================================
   GRID LAYOUTS
   ============================================ */

.grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  align-items: start;
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  align-items: start;
}

.grid-four {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  align-items: start;
}

.section-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  align-items: center;
}

.section-image-item {
  text-align: center;
}

.section-image-item img {
  width: 100%;
  max-width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 0 auto var(--space-md);
  display: block;
}

.section-image-item h3 {
  margin-bottom: var(--space-sm);
}

.section-image-item p {
  text-align: left;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-info {
  padding: var(--space-lg);
}

.product-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-velvet-cobalt);
}

.product-description {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-oxidized-copper);
  font-family: var(--font-serif);
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--color-velvet-cobalt);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-oxidized-copper);
  box-shadow: 0 0 0 3px rgba(112, 164, 148, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.checkbox-input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ============================================
   GOOGLE MAPS
   ============================================ */

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: var(--space-xl);
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--color-velvet-cobalt);
  color: var(--color-holographic-silver);
  padding: var(--space-xl) 0;
  margin-top: var(--space-xxl);
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.footer-section h3 {
  color: var(--color-holographic-silver);
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: var(--space-sm);
}

.footer-link {
  color: rgba(232, 232, 232, 0.8);
  transition: var(--transition-base);
}

.footer-link:hover {
  color: var(--color-holographic-silver);
  padding-left: var(--space-sm);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(232, 232, 232, 0.2);
  color: rgba(232, 232, 232, 0.7);
  font-size: 0.9rem;
}

/* ============================================
   PRIVACY POPUP
   ============================================ */

.privacy-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-overlay);
  z-index: 10000;
  backdrop-filter: blur(5px);
}

.privacy-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.privacy-popup {
  background: white;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.privacy-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-light);
  cursor: pointer;
  transition: var(--transition-base);
}

.privacy-close:hover {
  background: var(--color-oxidized-copper);
  color: white;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
  text-align: center;
}

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.shimmer-effect {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  background-size: 1000px 100%;
  animation: shimmer 3s infinite;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1023px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background: rgba(232, 232, 232, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: var(--space-xl) var(--space-lg);
    gap: var(--space-lg);
    transition: var(--transition-base);
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
    z-index: 998;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
    top: 35px;
  }
  
  .burger-toggle {
    display: flex;
  }
  
  .site-header {
    position: relative;
    z-index: 1000;
  }
  
  .hero-banner {
    min-height: 50vh;
  }
  
  .banner-content {
    padding: var(--space-lg);
  }
  
  .section-image-grid {
    grid-template-columns: 1fr;
  }
  
  .grid-two,
  .grid-three,
  .grid-four {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 2rem;
    --space-xxl: 3rem;
  }
  
  .site-header {
    padding: var(--space-sm) var(--space-md);
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  .hero-banner {
    min-height: 50vh;
  }
  
  .contact-form {
    padding: var(--space-lg);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding: 0 var(--space-md);
  }
  
  .banner-content {
    padding: var(--space-md);
  }
  
  .btn-primary,
  .btn-secondary {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9rem;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 12px;
  }
  
  .site-header {
    padding: var(--space-xs) var(--space-sm);
  }
  
  .brand-text {
    font-size: 1rem;
  }
}

/* ============================================
   CATALOG GRID
   ============================================ */

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.catalog-item {
  overflow: hidden;
}

.catalog-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: var(--space-md);
}

.catalog-info h3 {
  margin-bottom: var(--space-sm);
}

.catalog-era,
.catalog-vibe {
  font-size: 0.9rem;
  color: var(--color-oxidized-copper);
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.condition-report {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: rgba(112, 164, 148, 0.1);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-oxidized-copper);
}

.condition-report h4 {
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
  color: var(--color-velvet-cobalt);
}

.condition-report p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.filter-btn.active {
  background: var(--color-oxidized-copper);
  color: white;
  border-color: var(--color-oxidized-copper);
}

/* ============================================
   TABLE CONSTRUCTOR
   ============================================ */

.item-palette {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.palette-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  background: rgba(112, 164, 148, 0.1);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  cursor: grab;
  transition: var(--transition-base);
}

.palette-item:hover {
  background: rgba(112, 164, 148, 0.2);
  border-color: var(--color-oxidized-copper);
}

.palette-item:active {
  cursor: grabbing;
}

.palette-item span {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.table-shape-btn.active {
  background: var(--color-oxidized-copper);
  color: white;
  border-color: var(--color-oxidized-copper);
}

