/* ========================================
   Alais Home Solutions - Custom Styles
   Luxury Upgrade - World-Class Design
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
  --navy: #1B2A4A;
  --navy-deep: #0F1A2E;
  --navy-gradient: linear-gradient(135deg, #1B2A4A 0%, #0F1A2E 100%);
  --gold: #C9A96E;
  --gold-light: #D4B97E;
  --gold-glow: rgba(201, 169, 110, 0.4);
  --gold-gradient: linear-gradient(135deg, #C9A96E 0%, #D4B97E 50%, #C9A96E 100%);
  --white: #FFFFFF;
  --light-gray: #F5F5F0;
  --dark-gray: #333333;
  --text-muted: #6B7280;
  --transition-luxury: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark-gray);
  overflow-x: hidden;
}

body.overflow-hidden {
  overflow: hidden;
}

body.page-transitioning {
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.page-loaded {
  opacity: 1;
  transition: opacity 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

/* ---------- Logo White Filter (for dark backgrounds) ---------- */
.logo-white {
  filter: brightness(0) invert(1);
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--transition-luxury), visibility 0.6s;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  opacity: 0;
  animation: preloaderFadeIn 0.8s var(--transition-luxury) 0.2s forwards;
}

.preloader-line {
  width: 0;
  height: 3px;
  background: var(--gold-gradient);
  margin-top: 1.5rem;
  animation: preloaderLineExpand 1s var(--transition-luxury) 0.6s forwards;
}

@keyframes preloaderFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes preloaderLineExpand {
  from { width: 0; }
  to { width: 120px; }
}

/* ---------- Navbar ---------- */
.navbar {
  transition: background-color 0.4s var(--transition-luxury), box-shadow 0.4s var(--transition-luxury), padding 0.4s var(--transition-luxury), backdrop-filter 0.4s;
}

.navbar.scrolled {
  background-color: rgba(27, 42, 74, 0.92) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.navbar .nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.3s var(--transition-luxury);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 100%;
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Cinematic Hero Section ---------- */
.hero-cinematic {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  will-change: transform;
  animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.1) translate(-10px, -5px);
  }
}

.hero-bg-gif {
  animation: none;
  inset: 0;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 26, 46, 0.88) 0%,
    rgba(27, 42, 74, 0.7) 40%,
    rgba(27, 42, 74, 0.6) 100%
  );
  z-index: 1;
}

.hero-cinematic .hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

@media (min-width: 768px) {
  .hero-title { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 4rem; }
}

/* Staggered word reveal */
.reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: revealWord 0.6s var(--transition-luxury) forwards;
}

@keyframes revealWord {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gold accent decorations */
.gold-accent {
  position: absolute;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.gold-accent-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: -5%;
  animation: floatAccent 8s ease-in-out infinite;
}

.gold-accent-2 {
  width: 200px;
  height: 200px;
  bottom: 15%;
  left: -3%;
  animation: floatAccent 6s ease-in-out infinite reverse;
}

@keyframes floatAccent {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(15px, -15px); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounceDown 2s ease-in-out infinite;
  color: var(--gold);
  opacity: 0.8;
}

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* Animated gold separator */
.gold-line-animated {
  width: 0;
  height: 3px;
  background: var(--gold-gradient);
  margin: 1rem auto;
  animation: goldLineExpand 1s var(--transition-luxury) 0.8s forwards;
}

@keyframes goldLineExpand {
  to { width: 80px; }
}

/* ---------- Legacy Hero (keep for subpages) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-mini {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before,
.hero-mini::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 26, 46, 0.88) 0%, rgba(27, 42, 74, 0.65) 100%);
  z-index: 1;
}

.hero > *,
.hero-mini > * {
  position: relative;
  z-index: 2;
}

/* ---------- Luxury Buttons ---------- */
.btn-gold,
.btn-navy,
.btn-outline {
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.875rem;
}

.btn-gold::before,
.btn-navy::before,
.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
  transition: left 0.5s var(--transition-luxury);
}

.btn-gold:hover::before,
.btn-navy:hover::before,
.btn-outline:hover::before {
  left: 100%;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--white);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 0.25rem;
  transition: all 0.4s var(--transition-luxury);
  display: inline-block;
  text-decoration: none;
}

.btn-gold:hover {
  background-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--gold-glow), 0 0 40px rgba(201, 169, 110, 0.15);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 0.25rem;
  transition: all 0.4s var(--transition-luxury);
  display: inline-block;
  text-decoration: none;
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-navy {
  background-color: var(--navy);
  color: var(--white);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 0.25rem;
  transition: all 0.4s var(--transition-luxury);
  display: inline-block;
  text-decoration: none;
}

.btn-navy:hover {
  background-color: #243758;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(27, 42, 74, 0.4);
}

/* ---------- Section Styling ---------- */
.section-title {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.gold-line {
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 1rem auto;
}

/* ---------- Section Textures ---------- */
.texture-dots {
  position: relative;
}

.texture-dots::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201, 169, 110, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.texture-dots > * {
  position: relative;
  z-index: 1;
}

.texture-grid {
  position: relative;
}

.texture-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 42, 74, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 42, 74, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.texture-grid > * {
  position: relative;
  z-index: 1;
}

.bg-gradient-cream {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F0 100%);
}

.bg-gradient-navy {
  background: var(--navy-gradient);
}

/* ---------- Clickable Product Card Link ---------- */
a.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ---------- Premium Product Cards ---------- */
.product-card-premium {
  background: var(--white);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.5s var(--transition-luxury);
}

.product-card-premium:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.product-card-premium .card-image {
  position: relative;
  overflow: hidden;
}

.product-card-premium .card-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s var(--transition-luxury);
}

.product-card-premium:hover .card-image img {
  transform: scale(1.08);
}

.product-card-premium .card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 26, 46, 0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s var(--transition-luxury);
}

.product-card-premium:hover .card-image::after {
  opacity: 1;
}

.product-card-premium .card-body {
  padding: 1.5rem;
}

/* Card overlay for "Learn More" */
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(201, 169, 110, 0.9) 0%, rgba(201, 169, 110, 0.4) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s var(--transition-luxury);
}

.card-overlay span {
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  transform: translateY(15px);
  transition: transform 0.4s var(--transition-luxury);
}

.product-card-premium:hover .card-overlay {
  opacity: 1;
}

.product-card-premium:hover .card-overlay span {
  transform: translateY(0);
}

/* ---------- Feature Cards Premium ---------- */
.feature-card-premium {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 0.75rem;
  transition: all 0.4s var(--transition-luxury);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.feature-card-premium::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gold-gradient);
  transition: width 0.4s var(--transition-luxury);
}

.feature-card-premium:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-card-premium:hover::after {
  width: 60%;
}

/* ---------- Partner Cards Glass ---------- */
.partner-card-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  padding: 2.5rem;
  border: 1px solid rgba(201, 169, 110, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s var(--transition-luxury);
}

.partner-card-glass:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--gold);
  transform: translateY(-4px);
}

/* ---------- Legacy Product Cards (keep for compat) ---------- */
.product-card {
  background: var(--white);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card .card-body {
  padding: 1.5rem;
}

/* ---------- Feature Cards (legacy) ---------- */
.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  background: var(--white);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #2d3f66);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--gold);
  font-size: 1.75rem;
}

/* ---------- Partner Card (legacy) ---------- */
.partner-card {
  background: var(--white);
  border-radius: 0.5rem;
  padding: 2.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.partner-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--gold);
}

/* ---------- Stats Section ---------- */
.stats-section {
  background: var(--navy-gradient);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.05);
  pointer-events: none;
}

.stats-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.03);
  pointer-events: none;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

@media (min-width: 768px) {
  .stat-number { font-size: 3.5rem; }
}

.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* ---------- Custom Scroll Reveals ---------- */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-clip {
  will-change: transform, opacity;
}

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--transition-luxury), transform 0.7s var(--transition-luxury);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--transition-luxury), transform 0.7s var(--transition-luxury);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--transition-luxury), transform 0.7s var(--transition-luxury);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-clip {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.8s var(--transition-luxury);
}

.reveal-clip.revealed {
  clip-path: inset(0 0 0 0);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--navy-gradient);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.08);
}

/* ---------- Visual Separator ---------- */
.visual-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}

.visual-separator::before,
.visual-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 169, 110, 0.3), transparent);
  max-width: 200px;
}

.visual-separator .sep-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin: 0 1rem;
}

/* ---------- Contact Form ---------- */
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

.form-label {
  display: block;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

/* ---------- Floating Labels ---------- */
.floating-label-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.floating-label-group .form-input {
  padding-top: 1.25rem;
  padding-bottom: 0.5rem;
}

.floating-label-group .form-input::placeholder {
  color: transparent;
}

.float-label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.3s var(--transition-luxury);
  background: transparent;
}

textarea ~ .float-label {
  top: 1.25rem;
  transform: translateY(0);
}

.floating-label-group .form-input:focus ~ .float-label,
.floating-label-group .form-input:not(:placeholder-shown) ~ .float-label {
  top: 0.35rem;
  left: 0.75rem;
  font-size: 0.7rem;
  color: var(--gold);
  transform: translateY(0);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

textarea:focus ~ .float-label,
textarea:not(:placeholder-shown) ~ .float-label {
  top: 0.35rem;
  left: 0.75rem;
  font-size: 0.7rem;
  color: var(--gold);
  transform: translateY(0);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- Contact Detail Cards ---------- */
.contact-detail-card {
  padding: 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s var(--transition-luxury);
}

.contact-detail-card:hover {
  background: rgba(27, 42, 74, 0.03);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* ---------- Inline Stat Box ---------- */
.inline-stat-box {
  border: 2px solid rgba(201, 169, 110, 0.3);
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  text-align: center;
  transition: all 0.3s var(--transition-luxury);
}

.inline-stat-box:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 15px var(--gold-glow);
}

.inline-stat-box .stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.inline-stat-box .stat-desc {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--navy-deep);
  color: #d1d5db;
  position: relative;
}

.footer-gold-line {
  height: 3px;
  background: var(--gold-gradient);
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201, 169, 110, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.footer > * {
  position: relative;
  z-index: 1;
}

.footer a {
  color: #d1d5db;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer a:hover {
  color: var(--gold);
}

.footer h4 {
  color: var(--white);
  font-family: 'Playfair Display', serif;
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

/* ---------- Hamburger Animation ---------- */
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: white;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Image Overflow Fix ---------- */
.overflow-hidden {
  overflow: hidden;
}

/* ---------- About Timeline ---------- */
.timeline-item {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--gold);
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Map Container ---------- */
.map-container {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

/* ---------- Loading Animation ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Toast Notification ---------- */
.toast {
  position: fixed;
  top: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  color: white;
  font-weight: 500;
  z-index: 10000;
  transform: translateX(120%);
  transition: transform 0.3s ease;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  background: #10B981;
}

.toast.error {
  background: #EF4444;
}

/* ---------- Parallax Elements ---------- */
[data-parallax] {
  will-change: transform;
}

/* ---------- Product Modal ---------- */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--transition-luxury), visibility 0.4s;
}

.product-modal.active {
  opacity: 1;
  visibility: visible;
}

.product-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 26, 46, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.product-modal-content {
  position: relative;
  background: var(--white);
  border-radius: 0.75rem;
  max-width: 580px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s var(--transition-luxury);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.product-modal.active .product-modal-content {
  transform: translateY(0) scale(1);
}

.product-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--light-gray);
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.product-modal-close:hover {
  background: var(--navy);
  color: var(--white);
}

.product-modal-brand {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.product-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.product-modal-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.product-modal-body h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.product-modal-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.product-modal-features li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--dark-gray);
  line-height: 1.5;
}

.product-modal-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.product-modal-meta {
  margin-bottom: 1.25rem;
}

.product-modal-meta strong {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  display: block;
  margin-bottom: 0.25rem;
}

.product-modal-meta span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.product-modal-cta {
  display: inline-block;
  margin-top: 0.5rem;
}

.card-overlay {
  cursor: pointer;
  z-index: 2;
}

/* ---------- Mobile Safety ---------- */
@media (max-width: 768px) {
  .hero-bg {
    animation: kenBurnsMobile 20s ease-in-out infinite alternate;
  }

  @keyframes kenBurnsMobile {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.12); }
  }

  .gold-accent {
    display: none;
  }
}
