/* ============================================
   👑 KINGS & QUEENS RESTAURANT — Premium Design System
   Crafted with excellence for royalty
   MOBILE-FIRST | HIGH CONTRAST | VIBRANT
   ============================================ */

/* Google Fonts — loaded via <link> in HTML for non-blocking render */

/* ============================================
   ROOT VARIABLES — Royal Design Tokens
   ============================================ */
:root {
  /* Royal Brand Colors - VIBRANT & HIGH CONTRAST */
  --kq-gold: #ffc942;
  --kq-gold-light: #ffe066;
  --kq-gold-dark: #e6a800;
  --kq-gold-shine: #fff176;
  --kq-gold-accent: #ffb300;

  /* Royal Accent Colors - MORE LIVELY */
  --sf-red: #ff3d5a;
  --sf-red-dark: #e62e4f;
  --sf-red-light: #ff6b81;
  --sf-orange: #ff6b35;
  --sf-orange-light: #ff8c5a;
  --sf-purple: #9c5fff;
  --sf-purple-light: #b485ff;
  --sf-teal: #00d4aa;
  --sf-teal-light: #2effcc;

  /* Base Colors */
  --sf-white: #ffffff;
  --sf-cream: #fff8e7;
  --sf-bg: #0a0a0a;
  --sf-bg-light: #141414;
  --sf-bg-card: #1a1a1a;
  --sf-bg-elevated: #222222;

  /* Neutral Colors — Rich Grays with Better Contrast */
  --sf-gray-50: #fafafa;
  --sf-gray-100: #f5f5f5;
  --sf-gray-200: #eeeeee;
  --sf-gray-300: #e0e0e0;
  --sf-gray-400: #bdbdbd;
  --sf-gray-500: #9e9e9e;
  --sf-gray-600: #757575;
  --sf-gray-700: #616161;
  --sf-gray-800: #424242;
  --sf-gray-900: #212121;
  --sf-gray-950: #121212;

  /* Semantic Text Colors - HIGH CONTRAST */
  --text: #ffffff;
  --text-bright: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.9);
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-subtle: rgba(255, 255, 255, 0.5);
  --text-dark: #0a0a0a;
  --text-dark-secondary: #333333;
  --muted: #9e9e9e;
  --success: #00e676;
  --success-dark: #00c853;
  --warning: #ffab00;
  --warning-dark: #ff8f00;
  --error: #ff5252;
  --error-dark: #ff1744;
  --info: #40c4ff;

  /* Premium Gradients - MORE VIBRANT */
  --sf-gradient-warm: linear-gradient(
    135deg,
    #ff3d5a 0%,
    #ff6b35 50%,
    #ffc942 100%
  );
  --sf-gradient-gold: linear-gradient(
    135deg,
    #ffc942 0%,
    #ffe066 50%,
    #ffb300 100%
  );
  --sf-gradient-hero: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.92) 100%
  );
  --sf-gradient-royal: linear-gradient(
    135deg,
    #1a1a1a 0%,
    #2a2a2a 50%,
    #1a1a1a 100%
  );
  --sf-gradient-subtle: linear-gradient(
    135deg,
    rgba(255, 201, 66, 0.12) 0%,
    rgba(255, 61, 90, 0.08) 100%
  );
  --sf-gradient-card: linear-gradient(
    145deg,
    rgba(30, 30, 30, 0.95) 0%,
    rgba(20, 20, 20, 0.98) 100%
  );
  --sf-gradient-shimmer: linear-gradient(
    90deg,
    transparent,
    rgba(255, 201, 66, 0.4),
    transparent
  );
  --sf-gradient-glow: radial-gradient(
    circle,
    rgba(255, 201, 66, 0.2) 0%,
    transparent 70%
  );
  --sf-gradient-vibrant: linear-gradient(
    135deg,
    #ffc942 0%,
    #ff6b35 50%,
    #ff3d5a 100%
  );
  --sf-gradient-purple: linear-gradient(135deg, #9c5fff 0%, #ff6b81 100%);
  --sf-gradient-teal: linear-gradient(135deg, #00d4aa 0%, #40c4ff 100%);

  /* Glassmorphism — Premium with Better Visibility */
  --sf-glass: rgba(20, 20, 20, 0.92);
  --sf-glass-light: rgba(255, 255, 255, 0.12);
  --sf-glass-dark: rgba(0, 0, 0, 0.7);
  --sf-glass-border: rgba(255, 201, 66, 0.3);
  --sf-glass-border-light: rgba(255, 255, 255, 0.15);
  --sf-glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);

  /* Shadows — Luxury Elevation System with Color Pop */
  --sf-shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.3);
  --sf-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --sf-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --sf-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --sf-shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
  --sf-shadow-2xl: 0 32px 80px rgba(0, 0, 0, 0.7);
  --sf-shadow-glow: 0 0 60px rgba(255, 201, 66, 0.35);
  --sf-shadow-gold: 0 4px 30px rgba(255, 201, 66, 0.4);
  --sf-shadow-red: 0 4px 30px rgba(255, 61, 90, 0.4);
  --sf-shadow-inner: inset 0 2px 20px rgba(0, 0, 0, 0.4);
  --sf-shadow-float: 0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 201, 66, 0.15);

  /* Border Radii */
  --sf-radius-sm: 8px;
  --sf-radius-md: 12px;
  --sf-radius-lg: 16px;
  --sf-radius-xl: 24px;
  --sf-radius-2xl: 32px;
  --sf-radius-full: 9999px;

  /* Spacing */
  --sf-space-xs: 0.25rem;
  --sf-space-sm: 0.5rem;
  --sf-space-md: 1rem;
  --sf-space-lg: 1.5rem;
  --sf-space-xl: 2rem;
  --sf-space-2xl: 3rem;
  --sf-space-3xl: 4rem;
  --sf-space-4xl: 6rem;
  --sf-space-5xl: 8rem;

  /* Typography — Elegant */
  --font-display: "Playfair Display", "Georgia", serif;
  --font-heading: "Outfit", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Transitions — Smooth & Luxurious */
  --sf-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --sf-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --sf-ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);
  --sf-ease-elegant: cubic-bezier(0.19, 1, 0.22, 1);
  --sf-ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --sf-duration-fast: 150ms;
  --sf-duration: 300ms;
  --sf-duration-slow: 500ms;
  --sf-duration-slower: 800ms;

  /* Layout */
  --max-width: 1400px;
  --header-height: 80px;
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
}

/* ============================================
   RESETS & BASE — Dark Theme Foundation
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--kq-gold) var(--sf-bg);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--sf-bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--kq-gold), var(--kq-gold-dark));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--kq-gold-light);
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--sf-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Animated Background Pattern */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      ellipse at 20% 0%,
      rgba(212, 175, 55, 0.06) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 100%,
      rgba(196, 30, 58, 0.04) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: -1;
}

/* Selection Style */
::selection {
  background: var(--kq-gold);
  color: var(--sf-bg);
}

/* Skip to content — Accessibility */
.skip-link {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--kq-gold);
  color: var(--sf-bg);
  padding: 0.75rem 1.5rem;
  border-radius: var(--sf-radius-full);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--sf-duration) var(--sf-ease);
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--sf-white);
  outline-offset: 2px;
}

/* ============================================
   TYPOGRAPHY — Elegant & Refined
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

h4 {
  font-size: 1.35rem;
}

p {
  color: var(--text-secondary);
  max-width: 70ch;
}

a {
  color: var(--kq-gold);
  text-decoration: none;
  transition: all var(--sf-duration-fast) var(--sf-ease);
}

a:hover {
  color: var(--kq-gold-light);
}

/* Text Gradient — Gold */
.text-gold {
  background: linear-gradient(
    135deg,
    var(--kq-gold-light),
    var(--kq-gold),
    var(--kq-gold-dark)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Text Shimmer Animation */
.text-shimmer {
  background: linear-gradient(
    90deg,
    var(--kq-gold-dark) 0%,
    var(--kq-gold-light) 25%,
    var(--kq-gold) 50%,
    var(--kq-gold-light) 75%,
    var(--kq-gold-dark) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sf-space-xl);
}

@media (max-width: 640px) {
  .container {
    padding: 0 var(--sf-space-lg);
  }
}

/* Section Styling */
section {
  position: relative;
  padding: var(--sf-space-5xl) 0;
}

/* Section Headers — Elegant */
.section-header {
  text-align: center;
  margin-bottom: var(--sf-space-4xl);
  position: relative;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(255, 201, 66, 0.15),
    rgba(255, 179, 0, 0.1)
  );
  border: 1px solid rgba(255, 201, 66, 0.4);
  border-radius: var(--sf-radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--kq-gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--sf-space-lg);
  box-shadow: 0 4px 20px rgba(255, 201, 66, 0.15);
}

.section-header h2 {
  margin-bottom: var(--sf-space-md);
  color: var(--sf-white);
}

.section-sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================
   HEADER — Premium Glass Navigation (MOBILE-FIRST)
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(255, 201, 66, 0.2);
  z-index: 1000;
  transition: all var(--sf-duration-slow) var(--sf-ease);
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--kq-gold) 30%,
    var(--sf-red) 50%,
    var(--kq-gold) 70%,
    transparent 100%
  );
  opacity: 0.6;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: var(--sf-shadow-lg), 0 0 50px rgba(255, 201, 66, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .header-inner {
    padding: 0 var(--sf-space-xl);
  }
}

/* Brand — Premium & Mobile Optimized */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  z-index: 1001;
  position: relative;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: var(--sf-radius-md);
  object-fit: cover;
  box-shadow: var(--sf-shadow-gold);
  transition: all var(--sf-duration) var(--sf-ease-spring);
  border: 2px solid rgba(255, 201, 66, 0.4);
}

@media (min-width: 640px) {
  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand {
    gap: var(--sf-space-md);
  }
}

.brand:hover img {
  transform: scale(1.08) rotate(-5deg);
  box-shadow: 0 0 35px rgba(255, 201, 66, 0.6);
  border-color: var(--kq-gold);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  background: linear-gradient(
    135deg,
    var(--kq-gold-shine),
    var(--kq-gold),
    var(--kq-gold-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.01em;
}

@media (min-width: 640px) {
  .brand-name {
    font-size: 1.4rem;
  }
}

/* Navigation Toggle (Mobile) — Premium */
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 201, 66, 0.15),
    rgba(255, 107, 53, 0.1)
  );
  border: 1.5px solid rgba(255, 201, 66, 0.4);
  border-radius: var(--sf-radius-md);
  cursor: pointer;
  position: relative;
  z-index: 1001;
  transition: all var(--sf-duration) var(--sf-ease);
}

.nav-toggle:hover,
.nav-toggle:focus {
  background: linear-gradient(
    135deg,
    rgba(255, 201, 66, 0.25),
    rgba(255, 107, 53, 0.15)
  );
  border-color: var(--kq-gold);
  box-shadow: 0 0 25px rgba(255, 201, 66, 0.4);
  transform: scale(1.05);
}

.nav-toggle-icon {
  position: relative;
  width: 22px;
  height: 2.5px;
  background: var(--kq-gold);
  border-radius: 2px;
  transition: all var(--sf-duration) var(--sf-ease);
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2.5px;
  background: var(--kq-gold);
  border-radius: 2px;
  transition: all var(--sf-duration) var(--sf-ease);
}

.nav-toggle-icon::before {
  top: -7px;
  width: 16px;
}

.nav-toggle-icon::after {
  bottom: -7px;
  width: 18px;
}

/* Toggle animation */
.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 0;
  width: 22px;
  transform: rotate(45deg);
  background: var(--sf-red);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  bottom: 0;
  width: 22px;
  transform: rotate(-45deg);
  background: var(--sf-red);
}

/* Main Navigation — Elegant with VIBRANT colors */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.main-nav .nav-desktop-only {
  display: flex;
}

.main-nav .nav-mobile-only {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 201, 66, 0.15);
}

.main-nav a {
  display: flex;
  align-items: center;
  padding: 0.65rem 1rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--sf-white);
  border-radius: var(--sf-radius-full);
  position: relative;
  overflow: hidden;
  transition: all var(--sf-duration) var(--sf-ease);
}

.main-nav a::before {
  content: "";
  position: absolute;
  bottom: 0.35rem;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--kq-gold), var(--sf-orange));
  transform: translateX(-50%);
  border-radius: 2px;
  transition: width var(--sf-duration) var(--sf-ease-elegant);
}

.main-nav a:hover {
  color: var(--kq-gold);
}

.main-nav a:hover::before {
  width: 70%;
}

.main-nav a[aria-current="page"] {
  color: var(--sf-bg);
  background: linear-gradient(135deg, var(--kq-gold), var(--kq-gold-dark));
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 201, 66, 0.4);
}

.main-nav a[aria-current="page"]::before {
  display: none;
}

/* Focus states */
.main-nav a:focus-visible {
  outline: 2px solid var(--kq-gold);
  outline-offset: 2px;
}

/* MOBILE NAVIGATION — Luxury Full Experience */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.98) 0%,
      rgba(20, 20, 20, 0.99) 50%,
      rgba(10, 10, 10, 0.98) 100%
    );
    backdrop-filter: blur(30px);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
    padding: calc(var(--header-height) + 2rem) 1.5rem 2rem;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--sf-duration-slow) var(--sf-ease-elegant);
    z-index: 999;
    overflow-y: auto;
  }

  .main-nav::before {
    content: "";
    position: absolute;
    top: var(--header-height);
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(
      90deg,
      transparent,
      var(--kq-gold),
      var(--sf-red),
      var(--kq-gold),
      transparent
    );
    border-radius: 2px;
  }

  .main-nav.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    max-width: 400px;
    margin: 0 auto;
  }

  .main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
  }

  .main-nav .nav-desktop-only {
    display: none;
  }

  .main-nav .nav-mobile-only {
    display: flex;
  }

  .main-nav a {
    text-align: center;
    transition: all var(--sf-duration) var(--sf-ease);
  }

  .main-nav a::before {
    display: none;
  }

  .main-nav a:hover,
  .main-nav a:focus {
    background: linear-gradient(
      135deg,
      rgba(255, 201, 66, 0.15),
      rgba(255, 107, 53, 0.1)
    );
    border-color: rgba(255, 201, 66, 0.4);
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 201, 66, 0.15);
  }

  .main-nav a[aria-current="page"] {
    background: linear-gradient(135deg, var(--kq-gold), var(--sf-orange));
    color: var(--sf-bg);
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(255, 201, 66, 0.4);
  }

  /* Overlay — Premium Blur */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--sf-duration) var(--sf-ease);
    z-index: 998;
  }

  .nav-overlay.visible {
    opacity: 1;
    visibility: visible;
  }
}

/* Spacer for fixed header */
main {
  padding-top: var(--header-height);
}

/* ============================================
   BUTTONS — Premium & Animated (MOBILE-FIRST)
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border: none;
  border-radius: var(--sf-radius-full);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 48px;
  transition: all var(--sf-duration) var(--sf-ease);
  min-height: 48px; /* Touch target */
}

@media (min-width: 640px) {
  .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

/* Button Shine Effect */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:focus-visible {
  outline: 3px solid var(--kq-gold);
  outline-offset: 3px;
}

.btn svg {
  transition: transform var(--sf-duration) var(--sf-ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

/* Primary Button — VIBRANT Gold Gradient */
.btn-primary {
  background: linear-gradient(135deg, var(--kq-gold), var(--sf-orange));
  color: var(--sf-bg);
  box-shadow: 0 4px 20px rgba(255, 201, 66, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 35px rgba(255, 201, 66, 0.6),
    0 0 50px rgba(255, 201, 66, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:active {
  transform: translateY(-1px) scale(1.01);
}

/* Secondary Button — VIBRANT Red */
.btn-secondary {
  background: linear-gradient(135deg, var(--sf-red), var(--sf-red-dark));
  color: var(--sf-white);
  box-shadow: 0 4px 20px rgba(255, 61, 90, 0.45);
  font-weight: 700;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(255, 61, 90, 0.55),
    0 0 50px rgba(255, 61, 90, 0.25);
}

/* Outline Button — Gold Border */
.btn-outline {
  background: rgba(255, 201, 66, 0.08);
  color: var(--kq-gold);
  border: 2px solid var(--kq-gold);
  box-shadow: 0 0 25px rgba(255, 201, 66, 0.15);
}

.btn-outline:hover {
  background: var(--kq-gold);
  color: var(--sf-bg);
  box-shadow: 0 0 40px rgba(255, 201, 66, 0.5);
}

/* Outline Light — For Dark Backgrounds */
.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--sf-white);
  border: 2px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
  background: var(--sf-white);
  color: var(--sf-bg);
  border-color: var(--sf-white);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.35);
}

/* Ghost Button */
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--sf-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-ghost:hover {
  background: rgba(255, 201, 66, 0.15);
  border-color: rgba(255, 201, 66, 0.4);
  color: var(--kq-gold);
}

/* Button Sizes */
.btn-small,
.btn-sm {
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  min-height: 40px;
}

.btn-large,
.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
}

/* ============================================
   HERO SECTION — Split Layout with Food Collage
   ============================================ */
.hero {
  background: linear-gradient(135deg, #111009 0%, #16120e 40%, #0f0e0d 100%);
  margin-top: calc(-1 * var(--header-height));
  padding: calc(var(--header-height) + 3.5rem) 0 4rem;
  display: flex;
  align-items: center;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Left — Text */
.hero .hero-content {
  animation: heroFadeIn 0.7s ease both;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--kq-gold, #ffc942);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-title .text-gold {
  color: var(--kq-gold, #ffc942);
  display: block;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 420px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

/* Right — 4-image collage */
.hero-collage {
  padding-top: 2rem;
  animation: heroFadeIn 0.9s 0.15s ease both;
}

.hero-collage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
  height: clamp(340px, 44vh, 500px);
}

.collage-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--sf-bg-card, #1a1a1a);
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease, opacity 0.35s ease;
}

.collage-item:hover img {
  transform: scale(1.04);
}

.collage-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.03em;
}

/* All four collage tiles fill equal grid cells via grid-template-rows */

/* Responsive */
@media (max-width: 860px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero {
    padding: calc(var(--header-height) + 2rem) 0 3rem;
  }
  .hero-collage-grid {
    max-width: 480px;
    margin: 0 auto;
    height: 300px;
  }
  .hero-sub {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ============================================
   CARDS — Premium 3D Product & Feature Cards
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--sf-space-xl);
}

.product-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    145deg,
    rgba(26, 26, 26, 0.9),
    rgba(13, 13, 13, 0.95)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--sf-radius-xl);
  overflow: hidden;
  position: relative;
  transition: all var(--sf-duration-slow) var(--sf-ease-elegant);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0) 0%,
    rgba(212, 175, 55, 0.05) 50%,
    rgba(212, 175, 55, 0) 100%
  );
  opacity: 0;
  transition: opacity var(--sf-duration) var(--sf-ease);
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.15);
}

.product-card:hover::before {
  opacity: 1;
}

/* Product Image Wrapper */
.product-image-wrapper {
  position: relative;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--sf-duration-slower) var(--sf-ease-elegant);
}

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

/* Product Badge */
.product-badge {
  position: absolute;
  top: var(--sf-space-md);
  left: var(--sf-space-md);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--sf-radius-full);
  backdrop-filter: blur(10px);
  z-index: 2;
}

.product-badge.bestseller,
.product-badge.chef-choice {
  background: linear-gradient(135deg, var(--kq-gold), var(--kq-gold-dark));
  color: var(--sf-bg);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.product-badge.popular {
  background: linear-gradient(135deg, var(--sf-red), var(--sf-red-dark));
  color: var(--sf-white);
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

.product-badge.new {
  background: linear-gradient(135deg, #10b981, #059669);
  color: var(--sf-white);
}

/* Product Body */
.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--sf-space-xl);
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: var(--sf-space-xs);
  color: var(--sf-white);
  transition: color var(--sf-duration) var(--sf-ease);
}

.product-card:hover .product-title {
  color: var(--kq-gold);
}

.product-tags {
  font-size: 0.875rem;
  color: var(--kq-gold);
  margin-bottom: var(--sf-space-sm);
  font-weight: 500;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--sf-space-lg);
  flex: 1;
}

.product-actions {
  display: flex;
  gap: var(--sf-space-sm);
  margin-top: auto;
}

/* ============================================
   EXPERIENCE CARDS — Royal Theme
   ============================================ */
.royal-experience {
  background: linear-gradient(180deg, var(--sf-bg) 0%, var(--sf-bg-light) 100%);
  position: relative;
  overflow: hidden;
}

.royal-experience::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100px;
  background: linear-gradient(180deg, var(--kq-gold), transparent);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sf-space-xl);
}

/* MOBILE-FIRST: Single column on mobile */
@media (max-width: 640px) {
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.experience-card {
  padding: 1.75rem;
  background: linear-gradient(
    145deg,
    rgba(30, 30, 30, 0.8),
    rgba(18, 18, 18, 0.9)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--sf-radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--sf-duration-slow) var(--sf-ease-elegant);
}

@media (min-width: 640px) {
  .experience-card {
    padding: var(--sf-space-2xl);
  }
}

.experience-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--kq-gold),
    var(--sf-orange),
    var(--sf-red)
  );
  opacity: 0;
  transition: opacity var(--sf-duration) var(--sf-ease);
}

.experience-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 201, 66, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 201, 66, 0.15);
}

.experience-card:hover::before {
  opacity: 1;
}

.experience-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto var(--sf-space-lg);
  background: linear-gradient(
    135deg,
    rgba(255, 201, 66, 0.15),
    rgba(255, 107, 53, 0.1)
  );
  border: 2px solid rgba(255, 201, 66, 0.4);
  border-radius: var(--sf-radius-xl);
  color: var(--kq-gold);
  font-size: 1.75rem;
  transition: all var(--sf-duration) var(--sf-ease);
}

@media (min-width: 640px) {
  .experience-icon {
    width: 80px;
    height: 80px;
  }
}

.experience-card:hover .experience-icon {
  background: linear-gradient(135deg, var(--kq-gold), var(--sf-orange));
  color: var(--sf-bg);
  border-color: var(--kq-gold);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 10px 35px rgba(255, 201, 66, 0.5);
}

.experience-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--sf-space-sm);
  color: var(--sf-white);
}

@media (min-width: 640px) {
  .experience-card h3 {
    font-size: 1.4rem;
  }
}

.experience-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ============================================
   CATEGORY GRID — Full Product Card Style
   2-col mobile · 4-col desktop
   ============================================ */
.categories {
  position: relative;
  background: var(--sf-bg);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sf-space-md);
}

@media (min-width: 900px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sf-space-lg);
  }
}

.category-item {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--sf-radius-xl);
  overflow: hidden;
  text-decoration: none;
  background: linear-gradient(145deg, rgba(26,26,26,0.95), rgba(13,13,13,0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--sf-duration-slow) var(--sf-ease-elegant);
}

.category-item:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 201, 66, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 201, 66, 0.15);
}

/* Image area — fixed height */
.category-image-wrapper {
  position: relative;
  width: 100%;
  height: 160px;
  flex-shrink: 0;
  overflow: hidden;
}

@media (min-width: 640px) {
  .category-image-wrapper {
    height: 190px;
  }
}

.category-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--sf-duration-slower) var(--sf-ease-elegant);
}

.category-item:hover .category-image-wrapper img {
  transform: scale(1.08);
}

/* Dark scrim on image bottom edge */
.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

/* Card body — static below image */
.category-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.1rem 1.2rem;
  gap: 0.35rem;
}

.category-content h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--sf-white);
  line-height: 1.25;
  margin: 0;
}

@media (min-width: 640px) {
  .category-content h3 {
    font-size: 1.15rem;
  }
}

.category-content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.4;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--kq-gold);
  font-weight: 700;
  font-size: 0.82rem;
  margin-top: 0.4rem;
  transition: gap var(--sf-duration) var(--sf-ease);
}

.category-item:hover .category-link {
  gap: 0.65rem;
}

/* ============================================
   FOOTER — Premium Dark Theme
   ============================================ */
.site-footer {
  background: linear-gradient(180deg, var(--sf-bg-light) 0%, var(--sf-bg) 100%);
  color: var(--sf-white);
  padding: var(--sf-space-5xl) 0 var(--sf-space-2xl);
  margin-top: var(--sf-space-5xl);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--kq-gold), transparent);
}

.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--sf-space-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: var(--sf-space-lg);
  color: var(--kq-gold);
}

.footer-section h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--sf-white);
  margin-bottom: var(--sf-space-lg);
  position: relative;
  padding-bottom: var(--sf-space-sm);
}

.footer-section h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--kq-gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sf-space-sm);
}

.footer-links a {
  color: var(--text-muted);
  padding: 0.25rem 0;
  transition: all var(--sf-duration) var(--sf-ease);
  position: relative;
}

.footer-links a::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: var(--kq-gold);
  transition: width var(--sf-duration) var(--sf-ease);
}

.footer-links a:hover {
  color: var(--kq-gold);
  transform: translateX(15px);
}

.footer-links a:hover::before {
  width: 10px;
}

.social-links {
  display: flex;
  gap: var(--sf-space-md);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--sf-radius-lg);
  color: var(--sf-white);
  transition: all var(--sf-duration) var(--sf-ease);
}

.social-links a:hover {
  background: var(--kq-gold);
  border-color: var(--kq-gold);
  color: var(--sf-bg);
  transform: translateY(-5px) rotate(-5deg);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.footer-contact {
  display: flex;
  align-items: center;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--sf-white);
  border-radius: var(--sf-radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--sf-duration) var(--sf-ease);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-link:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4),
    0 0 40px rgba(37, 211, 102, 0.2);
}

.whatsapp-link svg {
  flex-shrink: 0;
}

.footer-bottom {
  margin-top: var(--sf-space-2xl);
  padding-top: var(--sf-space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.crafted-by {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.crafted-by strong {
  color: var(--kq-gold);
  font-weight: 700;
}

.site-footer p {
  color: var(--text-muted);
  text-align: center;
  font-size: 0.9rem;
}

/* ============================================
   TOAST NOTIFICATIONS — Premium Style
   ============================================ */
#sf-toast-container {
  position: fixed;
  bottom: calc(var(--sf-space-xl) + var(--safe-area-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: var(--sf-space-sm);
  max-width: 90vw;
}

.sf-toast {
  padding: 1.25rem 1.75rem;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.95),
    rgba(13, 13, 13, 0.98)
  );
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--sf-white);
  border-radius: var(--sf-radius-lg);
  font-weight: 500;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.1);
  backdrop-filter: blur(20px);
  transform: translateY(100%) scale(0.9);
  opacity: 0;
  transition: all var(--sf-duration) var(--sf-ease-bounce);
  cursor: pointer;
}

.sf-toast.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.sf-toast-success {
  border-color: var(--success);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(16, 185, 129, 0.2);
}

.sf-toast-error {
  background: var(--error);
}

/* ============================================
   MOBILE CTA
   ============================================ */
.mobile-cta {
  position: fixed;
  bottom: var(--sf-space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  display: none;
  transition: all var(--sf-duration) var(--sf-ease);
}

.mobile-cta.hidden {
  transform: translateX(-50%) translateY(150%);
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 800px) {
  .mobile-cta {
    display: block;
  }
}

.mobile-cta-inner {
  display: flex;
  align-items: center;
  gap: var(--sf-space-sm);
  padding: var(--sf-space-sm);
  background: var(--sf-glass);
  backdrop-filter: blur(20px);
  border-radius: var(--sf-radius-full);
  box-shadow: var(--sf-shadow-xl);
  border: 1px solid var(--sf-glass-border);
}

.mobile-cta-btn {
  padding: 0.875rem 1.5rem;
}

.mobile-cta-dismiss {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  border-radius: var(--sf-radius-full);
  color: var(--muted);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--sf-duration-fast) var(--sf-ease);
}

.mobile-cta-dismiss:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

/* Utility classes */
.animate-fade-in {
  animation: fadeIn var(--sf-duration) var(--sf-ease) forwards;
}

.animate-slide-up {
  animation: slideUp var(--sf-duration) var(--sf-ease) forwards;
}

.animate-slide-down {
  animation: slideDown var(--sf-duration) var(--sf-ease) forwards;
}

.animate-scale-in {
  animation: scaleIn var(--sf-duration) var(--sf-ease) forwards;
}

/* Premium Floating Animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Premium Glow Effect */
@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 201, 66, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 201, 66, 0.6);
  }
}

.glow-gold {
  animation: glow 2s ease-in-out infinite;
}

/* Staggered Animation Delay Classes */
.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
.delay-4 {
  animation-delay: 0.4s;
}
.delay-5 {
  animation-delay: 0.5s;
}

/* Scroll-triggered animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-in,
.animate-on-scroll.visible,
.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   BOTTOM NAVIGATION — Mobile
   ============================================ */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(72px + var(--safe-area-bottom));
  padding-bottom: var(--safe-area-bottom);
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 201, 66, 0.2);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.4);
  z-index: 900;
}

@media (max-width: 800px) {
  .bottom-nav {
    display: block;
  }

  /* Add padding to main content to prevent overlap */
  main {
    padding-bottom: calc(88px + var(--safe-area-bottom));
  }

  /* Hide mobile CTA when bottom nav is present */
  .mobile-cta {
    display: none !important;
  }
}

.bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 72px;
  max-width: 500px;
  margin: 0 auto;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--sf-radius-md);
  transition: all var(--sf-duration-fast) var(--sf-ease);
  position: relative;
  min-width: 56px;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
  color: var(--kq-gold);
}

.bottom-nav-item.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, var(--kq-gold), var(--sf-orange));
  border-radius: 0 0 3px 3px;
}

.bottom-nav-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.bottom-nav-item span:last-child {
  font-family: var(--font-heading);
}

/* Cart badge */
.bottom-nav-badge {
  position: absolute;
  top: 0;
  right: 0.25rem;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: linear-gradient(135deg, var(--sf-red), var(--sf-red-dark));
  color: var(--sf-white);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: var(--sf-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(255, 61, 90, 0.5);
}

/* ============================================
   TESTIMONIALS SECTION — Premium Card Design
   ============================================ */
.testimonials {
  padding: var(--sf-space-3xl, 4rem) 0;
  background: var(--sf-cream, #fff8f5);
}

.testimonials h2 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--sf-space-2xl, 3rem);
}

/* Card Grid Layout */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sf-space-lg, 1.5rem);
}

@media (min-width: 600px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Testimonial Card — Rectangular Design */
.testimonial {
  background: var(--sf-white, #fff);
  border-radius: var(--sf-radius-lg, 16px);
  padding: var(--sf-space-xl, 2rem);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  margin: 0;
  position: relative;
  min-height: 280px;
}

.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Quote decoration */
.testimonial::before {
  content: '"';
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--sf-red, #e34a3b);
  opacity: 0.1;
  line-height: 1;
  pointer-events: none;
}

/* Testimonial Header — Avatar + Info */
.testimonial-header {
  display: flex;
  align-items: center;
  gap: var(--sf-space-md, 1rem);
  margin-bottom: var(--sf-space-md, 1rem);
}

/* Avatar */
.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--sf-radius-full, 9999px);
  object-fit: cover;
  border: 3px solid var(--sf-cream, #fff8f5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.testimonial-info {
  flex: 1;
}

.testimonial-info cite {
  font-style: normal;
  font-weight: 600;
  color: var(--text, #1a1a1a);
  font-size: 1rem;
  display: block;
  margin-bottom: 0.125rem;
}

.testimonial-info small {
  display: block;
  font-weight: 400;
  color: var(--muted, #737373);
  font-size: 0.8rem;
}

/* Star Rating */
.testimonial-rating {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: var(--sf-space-sm, 0.5rem);
}

/* Quote Text */
.testimonial p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary, #525252);
  margin: 0;
  flex: 1;
}

/* Legacy cite support (without header wrapper) */
.testimonial > cite {
  font-style: normal;
  font-weight: 600;
  color: var(--text, #1a1a1a);
  font-size: 0.95rem;
  display: block;
  margin-top: auto;
  padding-top: var(--sf-space-md, 1rem);
}

.testimonial > cite small {
  display: block;
  font-weight: 400;
  color: var(--muted, #737373);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* Carousel Styles (for JS enhancement) */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--sf-space-lg, 1.5rem);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--sf-radius-full, 9999px);
  border: none;
  background: var(--sf-gray-300, #d4d4d4);
  cursor: pointer;
  transition: all var(--sf-duration, 250ms) ease;
  padding: 0;
}

.carousel-dot:hover {
  background: var(--sf-gray-400, #a3a3a3);
}

.carousel-dot.active {
  background: var(--sf-red, #e34a3b);
  width: 24px;
}

/* Desktop: Grid layout instead of carousel */
@media (min-width: 900px) {
  .testimonial-carousel {
    overflow: visible;
  }

  .testimonial-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sf-space-xl, 2rem);
    transform: none !important;
  }

  .testimonial-slide {
    flex: none;
    padding: 0;
  }

  .carousel-dots {
    display: none;
  }
}

/* ============================================
   STATS SECTION — Animated
   ============================================ */
.stats {
  padding: var(--sf-space-3xl) 0;
  background: var(--sf-gradient-subtle);
}

.stats h2 {
  text-align: center;
  margin-bottom: var(--sf-space-2xl);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sf-space-lg);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  text-align: center;
  padding: var(--sf-space-xl);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--sf-radius-xl);
  transition: all var(--sf-duration-slow) var(--sf-ease);
}

.stat:hover {
  transform: translateY(-8px);
  background: rgba(212, 175, 55, 0.05);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 175, 55, 0.1);
}

.stat h3 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--kq-gold-light), var(--kq-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.animate-on-scroll.animate-in,
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* Gradients */
.bg-gradient-royal {
  background: linear-gradient(135deg, var(--sf-bg) 0%, var(--sf-bg-light) 100%);
}

.bg-gradient-gold {
  background: linear-gradient(
    135deg,
    var(--kq-gold) 0%,
    var(--kq-gold-dark) 100%
  );
}

/* Glass Effects */
.glass {
  background: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-gold {
  background: rgba(212, 175, 55, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Glow Effects */
.glow-gold {
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

.glow-text {
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

/* Border Accents */
.border-gold {
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.border-gold-strong {
  border: 2px solid var(--kq-gold);
}

/* Dividers */
.divider-gold {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--kq-gold), transparent);
}

.divider-gold-vertical {
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--kq-gold), transparent);
}

/* Hover Lift */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Hover Glow */
.hover-glow:hover {
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

/* Page Transition */
.page-loaded {
  animation: none;
}

@keyframes pageLoad {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ============================================
   LOADING STATES
   ============================================ */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 25%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--sf-radius-md);
}

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

/* ============================================
   FOCUS STATES — Accessibility
   ============================================ */
:focus-visible {
  outline: 2px solid var(--kq-gold);
  outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--kq-gold);
  outline-offset: 3px;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }

  .hero-image {
    animation: none;
    transform: scale(1);
  }

  .hero-title .text-gold {
    animation: none;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .site-header,
  .site-footer,
  .hero-background,
  .scroll-indicator,
  .btn,
  .nav-toggle {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  * {
    box-shadow: none !important;
  }
}
