/* SYNORUGS - Restored Original Theme with Smooth Animations */

:root {
  --primary: #7A1428;
  --background: #FAF8F4;
  --accent: #C4913A;
  --on-surface: #1C1917;
  --on-surface-variant: #44403C;
  --glass-bg: rgba(250, 248, 244, 0.85);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--background);
  color: var(--on-surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Preloader */
#loader {
  position: fixed;
  inset: 0;
  background: var(--background);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.85, 0, 0.15, 1);
}

/* Grain Overlay */
.grain-overlay {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 9998;
}

/* Unified Premium Header & Announcement */
.announcement { 
    background: linear-gradient(90deg, #7A1428, #8B1A32, #7A1428); 
    color: #fff; 
    text-align: center; 
    padding: 10px 20px; 
    font-size: 14px; 
    font-weight: 500; 
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

@keyframes marquee { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-50%, 0, 0); } }
.marquee-content { 
    display: inline-block; 
    white-space: nowrap; 
    animation: marquee 12s linear infinite; 
    will-change: transform;
}

header { 
    border-bottom: 1px solid #e5e5e5; 
    position: sticky; 
    top: 0; 
    background: #fff; 
    z-index: 100; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
}

.header-top { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 15px 0; 
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo { transition: transform 0.3s; display: inline-block; }
.logo img { height: 140px; }
.logo:hover { transform: scale(1.05); }

.nav-panel { flex: 1; display: flex; justify-content: center; margin: 0 40px; }
.nav-panel-inner { 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: linear-gradient(135deg, #fafafa 0%, #fff 50%, #fafafa 100%); 
    border: 1px solid #e8e8e8; 
    border-radius: 8px; 
    padding: 12px 40px; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.8); 
}
.nav-panel-inner::before { 
    content: ''; 
    position: absolute; 
    inset: 0; 
    border-radius: 8px; 
    background: linear-gradient(90deg, transparent, rgba(122,20,40,0.03), transparent); 
    pointer-events: none; 
}

.nav-decor-left, .nav-decor-right { 
    position: absolute; 
    width: 30px; 
    height: 2px; 
    background: linear-gradient(90deg, transparent, #C4913A, transparent); 
}
.nav-decor-left { left: 15px; }
.nav-decor-right { right: 15px; }

.header-nav-links { display: flex; gap: 40px; justify-content: center; }
.header-nav-links a { 
    font-size: 14px; 
    font-weight: 600; 
    color: #1a1a1a; 
    position: relative; 
    transition: all 0.3s; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.header-nav-links a::after { 
    content: ''; 
    position: absolute; 
    bottom: -6px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 0; 
    height: 2px; 
    background: #7A1428; 
    transition: all 0.3s; 
}
.header-nav-links a:hover { color: #7A1428; }
.header-nav-links a:hover::after { width: 100%; }

.nav-icon { font-size: 12px; color: #C4913A; }

.header-actions { display: flex; align-items: center; gap: 25px; }
.header-actions a { 
    font-size: 14px; 
    font-weight: 500; 
    text-decoration: none; 
    color: #1a1a1a;
    transition: color 0.3s;
}
.header-actions a:hover { color: #7A1428; }

.cart-count { 
    background: #7A1428; 
    color: #fff; 
    padding: 2px 8px; 
    border-radius: 10px; 
    font-size: 12px; 
    margin-left: 5px; 
}

/* Mobile Menu Fixes */
.mobile-menu-btn { 
    display: none; 
    cursor: pointer; 
    padding: 10px; 
    z-index: 101; 
}

.mobile-menu-btn span { 
    display: block; 
    width: 28px; 
    height: 2px; 
    background: #1a1a1a; 
    margin: 6px 0; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}

.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -7px); }

.mobile-nav { 
    display: block;
    position: fixed;
    top: -100%; /* Hidden off-screen by default */
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 99;
    padding: 100px 20px 40px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-bottom: 2px solid var(--primary);
}

.mobile-nav.open { 
    top: 0; /* Slide down into view */
}

.mobile-nav a { 
    display: block; 
    padding: 18px 0; 
    font-size: 18px; 
    font-weight: 600; 
    color: #1a1a1a; 
    text-align: center; 
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid #f5f5f5;
    transition: color 0.3s;
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--primary); }

@media (max-width: 992px) {
    .mobile-menu-btn { display: block; }
    .nav-panel, .header-center { display: none !important; }
    .header-top { padding: 10px 20px; }
    .logo img { height: 80px !important; }
}

@media (max-width: 480px) {
    .logo img { height: 60px !important; }
    .header-actions .orders-link { display: none; } /* Hide orders text on tiny screens to save space */
}

/* Existing Styles ... */

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  inset: 0;
}

.hero-video video,
.hero-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.5);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 2rem;
  max-width: 900px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
}

.hero-subtitle {
  font-size: 0.875rem;
  letter-spacing: 0.4em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(20px);
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: white;
  padding: 1rem 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.2, 1, 0.2, 1);
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--on-surface);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(122, 20, 40, 0.2);
}

.btn-outline {
  border: 1px solid white;
  color: white;
  padding: 1rem 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
  display: inline-block;
  background: transparent;
}

.btn-outline:hover {
  background: white;
  color: var(--on-surface);
  transform: translateY(-3px);
}

/* Sections */
section {
  padding: 120px 2rem;
}

.section-dark {
  background: var(--on-surface);
  color: white;
}

/* Fade Up Animation */
.fade-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Image Container */
.img-zoom-container {
  overflow: hidden;
  position: relative;
}

.img-zoom-container img {
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-zoom-container:hover img {
  transform: scale(1.08);
}

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(122, 20, 40, 0.1);
  transition: all 0.5s cubic-bezier(0.2, 1, 0.2, 1);
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(122, 20, 40, 0.1);
  border-color: var(--primary);
}

/* Grid System */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

p.lead {
  font-size: 1.125rem;
  color: var(--on-surface-variant);
  line-height: 1.8;
}

/* Accent Line */
.accent-line {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1rem;
}

/* Pill Badge */
.pill-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--primary);
  border-radius: 50px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  transition: all 0.3s ease;
}

.pill-badge:hover,
.pill-badge.active {
  background: var(--primary);
  color: white;
}

/* Collection Card */
.collection-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.collection-card .img-wrapper {
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.collection-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 1s ease;
}

.collection-card:hover img {
  transform: scale(1.08);
}

.collection-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.collection-card:hover h3 {
  color: var(--primary);
}

.collection-card p {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

/* Stats */
.stat-number {
  font-family: 'Bodoni Moda', serif;
  font-size: 4rem;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--on-surface-variant);
  margin-top: 0.5rem;
}

/* Form */
.form-input {
  width: 100%;
  padding: 1rem 0;
  border: none;
  border-bottom: 1px solid rgba(122, 20, 40, 0.2);
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-bottom-color: var(--primary);
}

/* Spec Accordion */
.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(122, 20, 40, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.spec-item:hover {
  padding-left: 1rem;
  border-bottom-color: var(--primary);
}

.spec-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--on-surface-variant);
  font-size: 0.9rem;
}

.spec-content.open {
  max-height: 200px;
}

/* Gallery */
.main-image {
  aspect-ratio: 4/5;
  overflow: hidden;
  margin-bottom: 1rem;
}

.thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.thumbnail {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumbnail.active,
.thumbnail:hover {
  border-color: var(--primary);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, 0.9);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.modal-content {
  background: var(--background);
  padding: 3rem;
  max-width: 600px;
  width: 90%;
  position: relative;
}

/* Footer */
footer {
  background: var(--on-surface);
  color: white;
  padding: 5rem 2rem 2rem;
}

footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--accent);
}

footer h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

footer ul {
  list-style: none;
}

footer li {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .nav-links {
    display: none;
  }
  
  section {
    padding: 80px 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .stat-number {
    font-size: 3rem;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-white { color: white; }
.text-muted { color: var(--on-surface-variant); }

.bg-primary { background: var(--primary); }
.bg-dark { background: var(--on-surface); }
.bg-light { background: var(--background); }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

/* Smooth Scrolling - Lenis */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

/* Selection */
::selection {
  background: rgba(122, 20, 40, 0.2);
  color: var(--primary);
}

/* ==========================================================================
   AESTHETICS UPGRADES - Page Curtains, Audio Toggle, Scroll snaps, Visualizer
   ========================================================================== */

/* Luxury Page Curtain Sweep */
.page-curtain {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
  pointer-events: none;
  background: 
    /* Ivory vertical accent strips */
    linear-gradient(90deg, 
      transparent 15%, 
      #F5F2EB 15.5%, 
      #F5F2EB 16%, 
      transparent 16.5%,
      transparent 83.5%, 
      #F5F2EB 84%, 
      #F5F2EB 84.5%, 
      transparent 85%
    ),
    /* Delicate Gold vertical pinstripes next to pinstripes */
    linear-gradient(90deg, 
      transparent 17%, 
      #C4913A 17.2%, 
      #C4913A 17.8%, 
      transparent 18%,
      transparent 82%, 
      #C4913A 82.2%, 
      #C4913A 82.8%, 
      transparent 83%
    ),
    /* Velvet drape shadows and highlights */
    linear-gradient(90deg, 
      #4A0C18 0%, 
      #7A1428 8%, 
      #5c0f1e 16%, 
      #7A1428 24%, 
      #4A0C18 32%, 
      #7A1428 40%, 
      #5c0f1e 48%, 
      #7A1428 56%, 
      #4A0C18 64%, 
      #7A1428 72%, 
      #5c0f1e 80%, 
      #7A1428 88%, 
      #4A0C18 100%
    );
  box-shadow: inset 0 0 100px rgba(0,0,0,0.8);
}
.page-curtain.active {
  transform: translateY(0);
  pointer-events: all;
}
.curtain-logo {
  color: #F5F2EB; /* Ivory */
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 4px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease 0.2s;
  text-align: center;
}
.page-curtain.active .curtain-logo {
  opacity: 1;
  transform: translateY(0);
}



/* Horizontal Scroll snap collection */
.horizontal-collection-section {
  background: #FAF8F4;
  overflow: hidden;
}
.horizontal-scroll-track::-webkit-scrollbar {
  display: none; /* Hide default scrollbar */
}
.collection-card-premium:hover .card-img-wrapper {
  transform: translateY(-8px);
}
.collection-card-premium:hover .card-img-wrapper img {
  transform: scale(1.08);
}
.scroll-btn:hover {
  background: #7A1428 !important;
  color: #fff !important;
}

/* Visualizer Controls Responsiveness */
.room-select-btn:hover {
  border-color: #7A1428 !important;
  background: rgba(122, 20, 40, 0.03) !important;
}
.room-select-btn.active:hover {
  background: #7A1428 !important;
  color: #fff !important;
}

@media (max-width: 992px) {
  .visualizer-grid {
    grid-template-columns: 1fr !important;
  }
  .visualizer-controls {
    width: 100% !important;
}

/* ==========================================================================
   CINEMATIC SCROLLING & GOLDEN THREAD
   ========================================================================== */

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.2, 1, 0.2, 1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.2, 1, 0.2, 1);
}
.reveal-left.animate-in, .reveal-right.animate-in {
  opacity: 1;
  transform: translateX(0);
}
