/*
 * ============================================================
 *  SAKURA JAPANESE RESTAURANT — style.css
 *  Author  : Skilled Web Developer
 *  Version : 1.0.0
 *  Sections:
 *   1. CSS Variables (Design Tokens)
 *   2. CSS Reset & Base
 *   3. Utilities
 *   4. Animations & Keyframes
 *   5. Scroll Progress Bar
 *   6. Header / Navigation
 *   7. Hero Section
 *   8. About Section
 *   9. Services Section
 *  10. Menu Section
 *  11. Testimonials Section
 *  12. Contact Section
 *  13. Footer
 *  14. Back-to-Top Button
 *  15. Responsive (Tablet & Mobile)
 * ============================================================
 */


/* ============================================================
   1. CSS VARIABLES — Design Tokens
   All colors, spacing, and type controlled from one place
============================================================ */
:root {
  /* --- Color Palette --- */
  --color-bg:         #0d0d0d;       /* Rich near-black background */
  --color-bg-2:       #141414;       /* Slightly lighter section bg */
  --color-bg-3:       #1a1a1a;       /* Card backgrounds */
  --color-bg-4:       #222222;       /* Elevated card surface */

  --color-gold:       #c9a84c;       /* Primary accent — warm gold */
  --color-gold-light: #e8c96a;       /* Lighter gold for hover states */
  --color-gold-dark:  #a0793a;       /* Darker gold for pressed states */
  --color-gold-glow:  rgba(201, 168, 76, 0.18); /* Gold glow for shadows */

  --color-red:        #9e2a2b;       /* Japanese crimson for accents */
  --color-red-light:  #c0393a;

  --color-text:       #f0ece3;       /* Off-white primary text */
  --color-text-muted: #9b9281;       /* Muted secondary text */
  --color-text-dim:   #5a534a;       /* Very muted / placeholder text */

  --color-border:     rgba(201, 168, 76, 0.15); /* Subtle gold border */
  --color-border-dim: rgba(255,255,255, 0.06);  /* Very dim dividers */

  /* --- Typography --- */
  --font-body:    'Inter', sans-serif;
  --font-heading: 'Playfair Display', 'Noto Serif JP', serif;
  --font-jp:      'Noto Serif JP', serif;

  /* --- Font Sizes (fluid scale) --- */
  --fs-xs:   0.75rem;   /* 12px */
  --fs-sm:   0.875rem;  /* 14px */
  --fs-base: 1rem;      /* 16px */
  --fs-md:   1.125rem;  /* 18px */
  --fs-lg:   1.25rem;   /* 20px */
  --fs-xl:   1.5rem;    /* 24px */
  --fs-2xl:  2rem;      /* 32px */
  --fs-3xl:  2.5rem;    /* 40px */
  --fs-4xl:  3.5rem;    /* 56px */
  --fs-5xl:  5rem;      /* 80px */

  /* --- Spacing --- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* --- Border Radius --- */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* --- Transitions --- */
  --transition-fast:   0.15s ease;
  --transition-base:   0.3s ease;
  --transition-slow:   0.6s ease;
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* --- Shadows --- */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.6);
  --shadow-gold: 0 8px 32px rgba(201, 168, 76, 0.25);

  /* --- Layout --- */
  --container-max: 1200px;
  --section-padding: var(--space-24);
  --nav-height: 80px;
}


/* ============================================================
   2. CSS RESET & BASE STYLES
============================================================ */

/* Box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

/* Body defaults */
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Remove list styles where semantic lists are used for layout */
ul, ol { list-style: none; }

/* Images fill their container and never overflow */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Links inherit color by default; specific styles per context */
a {
  color: inherit;
  text-decoration: none;
}

/* Buttons reset */
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Screen-reader only utility (accessible hiding) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* ============================================================
   3. UTILITIES
============================================================ */

/* Container — centered max-width wrapper */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Section padding shorthand */
.section-padding {
  padding: var(--section-padding) 0;
}

/* Text alignment */
.text-center { text-align: center; }

/* ---- BUTTONS ---- */

/* Base button styles shared by all variants */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Shimmer effect on hover (pseudo-element) */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn:hover::after { transform: translateX(100%); }

/* Primary — gold filled */
.btn-primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: #0d0d0d;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 168, 76, 0.45);
}
.btn-primary:active { transform: translateY(0); }

/* Ghost — transparent with gold border */
.btn-ghost {
  background: rgba(201, 168, 76, 0.08);
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}
.btn-ghost:hover {
  background: rgba(201, 168, 76, 0.15);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Outline — dark with border */
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

/* Size variants */
.btn-lg  { padding: var(--space-4) var(--space-10); font-size: var(--fs-base); }
.btn-full { width: 100%; }

/* ---- SECTION LABELS ---- */
/* Centered decorative label with lines on each side */
.section-label {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  justify-content: center;
}

.label-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold));
}
.label-line:last-child {
  background: linear-gradient(270deg, transparent, var(--color-gold));
}

.label-text {
  color: var(--color-gold);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---- SECTION TITLES ---- */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl));
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.section-title em {
  font-style: italic;
  color: var(--color-gold);
}

/* Section subtitle */
.section-subtitle {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  max-width: 600px;
  line-height: 1.7;
}


/* ============================================================
   4. ANIMATIONS & KEYFRAMES
============================================================ */

/* --- Hero fade-up animations --- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Floating petal animation */
@keyframes float-petal {
  0%   { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
  50%  { transform: translateY(-25px) rotate(180deg); opacity: 1; }
  100% { transform: translateY(0px) rotate(360deg); opacity: 0.7; }
}

/* Pulse glow for scroll indicator */
@keyframes pulse-scroll {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.6); opacity: 0.4; }
}

/* Shimmer sweep */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Classes applied to hero elements */
.animate-fade-up {
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* --- Scroll-triggered entrance animation base --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Directional slide variants */
.slide-left {
  transform: translateX(-50px);
}
.slide-left.is-visible {
  transform: translateX(0);
}
.slide-right {
  transform: translateX(50px);
}
.slide-right.is-visible {
  transform: translateX(0);
}

/* Stagger delay for grid children */
.menu-grid .menu-card:nth-child(1) { transition-delay: 0s; }
.menu-grid .menu-card:nth-child(2) { transition-delay: 0.1s; }
.menu-grid .menu-card:nth-child(3) { transition-delay: 0.2s; }
.menu-grid .menu-card:nth-child(4) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(1) { transition-delay: 0s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.3s; }


/* ============================================================
   5. SCROLL PROGRESS BAR
============================================================ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;            /* Updated via JavaScript */
  background: linear-gradient(90deg, var(--color-gold), var(--color-red));
  z-index: 9999;
  transition: width 0.1s linear;
}


/* ============================================================
   6. HEADER / NAVIGATION
============================================================ */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition-base), backdrop-filter var(--transition-base), box-shadow var(--transition-base);
}

/* Transparent by default; .scrolled class added via JS */
#main-header.scrolled {
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--color-border);
}

/* Nav container — flex row */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
  gap: var(--space-8);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  transition: opacity var(--transition-base);
}
.nav-logo:hover { opacity: 0.85; }

.logo-kanji {
  font-family: var(--font-jp);
  font-size: 2rem;
  color: var(--color-gold);
  line-height: 1;
  text-shadow: 0 0 20px rgba(201, 168, 76, 0.5);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-name {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-text);
}
.logo-tagline {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
}

/* Nav links list */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  position: relative;
  transition: color var(--transition-base);
}
/* Underline effect on hover */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}
.nav-link:hover {
  color: var(--color-gold);
}
.nav-link:hover::after { width: 100%; }
.nav-link.active {
  color: var(--color-gold);
}
.nav-link.active::after { width: 100%; }

/* CTA button in nav */
.nav-cta {
  flex-shrink: 0;
}

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Hamburger → X transformation when menu is open */
.hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   7. HERO SECTION
============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background image */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero_bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
  transform: scale(1.05);
  transition: transform 0.5s ease;
}

/* Gradient overlay — bottom-heavy for text legibility */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 13, 13, 0.6) 0%,
    rgba(13, 13, 13, 0.4) 40%,
    rgba(13, 13, 13, 0.8) 80%,
    rgba(13, 13, 13, 0.98) 100%
  );
}

/* Floating cherry blossoms */
.sakura-petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.petal {
  position: absolute;
  font-size: 1.5rem;
  animation: float-petal linear infinite;
  opacity: 0.6;
}
.petal-1 { top: 20%; left: 10%; animation-duration: 6s;  animation-delay: 0s; }
.petal-2 { top: 40%; left: 80%; animation-duration: 8s;  animation-delay: 1s; }
.petal-3 { top: 70%; left: 30%; animation-duration: 7s;  animation-delay: 2s; }
.petal-4 { top: 15%; left: 60%; animation-duration: 9s;  animation-delay: 0.5s; }
.petal-5 { top: 60%; left: 90%; animation-duration: 5.5s; animation-delay: 1.5s; }

/* Hero content container */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: var(--space-8) var(--space-6);
}

.hero-eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-5);
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(var(--fs-3xl), 7vw, var(--fs-5xl));
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}
.hero-headline em {
  font-style: italic;
  color: var(--color-gold);
}

.hero-subtext {
  font-size: clamp(var(--fs-base), 2vw, var(--fs-md));
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

/* Hero CTA buttons row */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

/* Hero stats strip */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-6) var(--space-8);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-dim);
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}
.stat strong {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  color: var(--color-gold);
}
.stat span {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border-dim);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: var(--radius-full);
  animation: fadeIn 1s 1.5s ease both;
  transition: border-color var(--transition-base);
}
.scroll-indicator:hover { border-color: var(--color-gold); }

.scroll-dot {
  display: block;
  width: 4px;
  height: 12px;
  background: var(--color-gold);
  border-radius: var(--radius-full);
  animation: pulse-scroll 1.8s infinite;
}


/* ============================================================
   8. ABOUT SECTION
============================================================ */
.about-section {
  background-color: var(--color-bg-2);
  position: relative;
  overflow: hidden;
}

/* Decorative background element */
.about-section::before {
  content: '桜';
  font-family: var(--font-jp);
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20rem;
  color: rgba(201, 168, 76, 0.03);
  pointer-events: none;
  user-select: none;
}

/* Two-column grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

/* Image frame with positioning context for badge */
.about-image-wrap { position: relative; }

.about-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}
.about-image-frame:hover .about-image {
  transform: scale(1.04);
}

/* Gold frame accent */
.about-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  pointer-events: none;
}

/* Floating year badge */
.about-badge {
  position: absolute;
  bottom: var(--space-6);
  right: calc(-1 * var(--space-6));
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: #0d0d0d;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}
.badge-year {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
}
.badge-number {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
}

/* About text column */
.about-content { padding-left: var(--space-4); }

.about-lead {
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.about-body {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-8);
}
.about-body em {
  color: var(--color-gold);
  font-style: italic;
}

/* Values list */
.about-values {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.value-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-4);
  background: var(--color-bg-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-dim);
  transition: border-color var(--transition-base), transform var(--transition-base);
}
.value-item:hover {
  border-color: var(--color-border);
  transform: translateX(4px);
}

.value-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.value-item strong {
  display: block;
  font-size: var(--fs-base);
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.value-item p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}


/* ============================================================
   9. SERVICES SECTION
============================================================ */
.services-section {
  background-color: var(--color-bg);
}

.services-header {
  text-align: center;
  margin-bottom: var(--space-12);
}
.services-header .section-subtitle {
  margin: 0 auto;
}

/* 4-column grid of service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

/* Individual service card */
.service-card {
  position: relative;
  padding: var(--space-8) var(--space-6);
  background: var(--color-bg-3);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-dim);
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.service-card:hover {
  border-color: var(--color-border);
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold);
}

/* Featured variant with gold border */
.service-card--featured {
  background: linear-gradient(135deg, var(--color-bg-4), var(--color-bg-3));
  border-color: var(--color-gold);
}

/* Top badge on featured card */
.service-badge-top {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold);
  color: #0d0d0d;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.service-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.service-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-text);
}

.service-desc {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
}

.service-price {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border-dim);
  padding-top: var(--space-4);
}
.service-price strong {
  color: var(--color-gold);
  font-size: var(--fs-md);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.03em;
  transition: gap var(--transition-base), opacity var(--transition-base);
}
.service-link:hover {
  gap: var(--space-3);
  opacity: 0.85;
}


/* ============================================================
   10. MENU / FEATURED ITEMS SECTION
============================================================ */
.menu-section {
  background-color: var(--color-bg-2);
}

.menu-header {
  text-align: center;
  margin-bottom: var(--space-8);
}
.menu-header .section-subtitle { margin: 0 auto; }

/* Filter tabs */
.menu-tabs {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.menu-tab {
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  background: var(--color-bg-3);
  border: 1px solid var(--color-border-dim);
  cursor: pointer;
  transition: all var(--transition-base);
}
.menu-tab:hover {
  color: var(--color-gold);
  border-color: var(--color-border);
}
.menu-tab.active {
  background: var(--color-gold);
  color: #0d0d0d;
  border-color: var(--color-gold);
}

/* 4-column menu grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

/* Hidden filtered items */
.menu-card.hidden {
  display: none;
}

/* Menu card */
.menu-card {
  background: var(--color-bg-3);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-dim);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border);
}

/* Card image wrapper — zoom on hover */
.menu-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.menu-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.menu-card:hover .menu-card-img {
  transform: scale(1.08);
}

/* Badge on card image */
.menu-card-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--color-gold);
  color: #0d0d0d;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}
.menu-card-badge--premium {
  background: linear-gradient(135deg, #9e2a2b, #c0393a);
  color: #fff;
}

/* Card body */
.menu-card-body {
  padding: var(--space-5);
}

.menu-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
}

.menu-card-category {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.menu-card-price {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  color: var(--color-text);
}

.menu-card-title {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.menu-card-desc {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

/* Tag pills */
.menu-card-tags {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.tag {
  font-size: 0.7rem;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-bg-4);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border-dim);
  white-space: nowrap;
}

/* Full menu CTA centered */
.menu-cta {
  text-align: center;
}


/* ============================================================
   11. TESTIMONIALS SECTION
============================================================ */
.testimonials-section {
  background-color: var(--color-bg);
  position: relative;
  overflow: hidden;
}

/* Decorative background text */
.testimonials-section::before {
  content: '"';
  position: absolute;
  font-family: var(--font-heading);
  font-size: 30rem;
  color: rgba(201, 168, 76, 0.03);
  top: -100px;
  left: -50px;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* Slider wrapper */
.testimonials-slider {
  position: relative;
  overflow: hidden;
  margin-bottom: var(--space-8);
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Individual testimonial card */
.testimonial-card {
  min-width: 100%;
  padding: var(--space-12) var(--space-16);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-6);
}

.testimonial-stars {
  font-size: var(--fs-xl);
  color: var(--color-gold);
  letter-spacing: 0.1em;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(var(--fs-md), 2.5vw, var(--fs-xl));
  color: var(--color-text);
  line-height: 1.7;
  max-width: 720px;
  position: relative;
}

/* Footer of testimonial card */
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  font-weight: 700;
  color: #0d0d0d;
  flex-shrink: 0;
}

.testimonial-author { text-align: left; }

.testimonial-name {
  display: block;
  font-weight: 600;
  color: var(--color-text);
  font-style: normal;
}
.testimonial-role {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* Slider control buttons */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  font-size: var(--fs-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
}
.slider-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: scale(1.1);
}

/* Dot indicators */
.slider-dots {
  display: flex;
  gap: var(--space-2);
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-bg-4);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}
.slider-dot.active {
  background: var(--color-gold);
  width: 24px;
  border-color: var(--color-gold);
}

/* Rating summary strip */
.rating-summary {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
  padding: var(--space-8);
  background: var(--color-bg-3);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-dim);
  margin-top: var(--space-8);
  flex-wrap: wrap;
  gap: var(--space-8);
}

.rating-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}
.rating-item strong {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  color: var(--color-gold);
}
.rating-item span {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}


/* ============================================================
   12. CONTACT SECTION
============================================================ */
.contact-section {
  background-color: var(--color-bg-2);
}

.contact-header {
  text-align: center;
  margin-bottom: var(--space-12);
}
.contact-header .section-subtitle { margin: 0 auto; }

/* Two-column contact grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-10);
  align-items: start;
}

/* Info column */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.info-card {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-bg-3);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-dim);
  transition: border-color var(--transition-base), transform var(--transition-base);
}
.info-card:hover {
  border-color: var(--color-border);
  transform: translateX(4px);
}

.info-icon { font-size: 1.5rem; flex-shrink: 0; }

.info-body { flex: 1; }

.info-title {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.info-text {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  font-style: normal;
  line-height: 1.7;
}

.info-link {
  color: var(--color-gold);
  transition: opacity var(--transition-fast);
}
.info-link:hover { opacity: 0.75; }

/* Opening hours definition list */
.hours-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--fs-sm);
}
.hours-row dt { color: var(--color-text-muted); }
.hours-row dd { color: var(--color-text); font-weight: 500; }

/* Reservation form */
.contact-form-wrap {
  background: var(--color-bg-3);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-dim);
  padding: var(--space-8);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

/* Row of two form inputs side by side */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* Full-width form group (overrides grid) */
.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
}
.form-label span { color: var(--color-gold); }

/* Text inputs, select, textarea */
.form-input {
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border-dim);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: var(--fs-sm);
  font-family: var(--font-body);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder { color: var(--color-text-dim); }
.form-input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px var(--color-gold-glow);
}

/* Select dropdown — custom arrow */
.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239b9281' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}
.form-select option { background: var(--color-bg-3); }

/* Textarea */
.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Input date — match styles */
input[type="date"].form-input {
  color-scheme: dark;
}

/* Validation error text */
.form-error {
  font-size: var(--fs-xs);
  color: #e05252;
  min-height: 1.2em;
  display: block;
}

/* Submit button loading state */
.btn-loading { display: none; }
.btn.is-loading .btn-text { display: none; }
.btn.is-loading .btn-loading { display: inline; }

/* Success message */
.form-success {
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  font-size: var(--fs-sm);
  color: var(--color-gold);
  text-align: center;
  line-height: 1.6;
}


/* ============================================================
   13. FOOTER
============================================================ */
.footer {
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border-dim);
}

/* Main footer area */
.footer-main {
  padding: var(--space-16) 0;
}

/* 4-column footer grid */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: var(--space-10);
}

/* Brand column */
.footer-brand {}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  text-decoration: none;
}
.footer-logo-text {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-text);
}

.footer-tagline {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  max-width: 280px;
}

/* Social links row */
.footer-social {
  display: flex;
  gap: var(--space-3);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all var(--transition-base);
}
.social-link:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.2);
}

/* Footer nav columns */
.footer-nav { display: flex; flex-direction: column; }

.footer-nav-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-base), padding-left var(--transition-base);
}
.footer-link:hover {
  color: var(--color-gold);
  padding-left: var(--space-2);
}

/* Newsletter column */
.footer-newsletter {}

.footer-newsletter-text {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.newsletter-form {
  display: flex;
  border: 1px solid var(--color-border-dim);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-3);
  background: var(--color-bg-3);
  transition: border-color var(--transition-base);
}
.newsletter-form:focus-within { border-color: var(--color-gold); }

.newsletter-input {
  flex: 1;
  padding: var(--space-3) var(--space-5);
  background: transparent;
  border: none;
  color: var(--color-text);
  font-size: var(--fs-sm);
  font-family: var(--font-body);
}
.newsletter-input::placeholder { color: var(--color-text-dim); }
.newsletter-input:focus { outline: none; }

.newsletter-btn {
  width: 44px;
  height: 44px;
  background: var(--color-gold);
  color: #0d0d0d;
  font-size: var(--fs-lg);
  font-weight: 700;
  border-radius: var(--radius-full);
  margin: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-base), transform var(--transition-base);
}
.newsletter-btn:hover {
  background: var(--color-gold-light);
  transform: scale(1.08);
}

.newsletter-privacy {
  font-size: 0.7rem;
  color: var(--color-text-dim);
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid var(--color-border-dim);
  padding: var(--space-5) 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: var(--fs-sm);
  color: var(--color-text-dim);
}

.footer-legal-links {
  display: flex;
  gap: var(--space-6);
}

.footer-legal-link {
  font-size: var(--fs-sm);
  color: var(--color-text-dim);
  transition: color var(--transition-base);
}
.footer-legal-link:hover { color: var(--color-gold); }


/* ============================================================
   14. BACK-TO-TOP BUTTON
============================================================ */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  z-index: 500;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-gold);
  color: #0d0d0d;
  font-size: var(--fs-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  transition: transform var(--transition-bounce), opacity var(--transition-base);
  cursor: pointer;
  border: none;
}
.back-to-top:not([hidden]) { opacity: 1; }
.back-to-top[hidden] { opacity: 0; pointer-events: none; }
.back-to-top:hover { transform: translateY(-4px) scale(1.1); }


/* ============================================================
   15. RESPONSIVE STYLES
   Breakpoints: tablet 1024px, mobile 768px, small 480px
============================================================ */

/* ---- Tablet (max 1024px) ---- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 4rem;
  }

  /* Services: 2 columns on tablet */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Menu: 2 columns on tablet */
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer: 2 column grid */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .about-badge {
    right: 0;
  }
}

/* ---- Mobile (max 768px) ---- */
@media (max-width: 768px) {
  :root {
    --section-padding: 3rem;
    --nav-height: 64px;
  }

  /* --- Nav: show hamburger, hide links --- */
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    background: rgba(13, 13, 13, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-8) 0;
    gap: var(--space-6);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform var(--transition-base), opacity var(--transition-base);
    border-bottom: 1px solid var(--color-border-dim);
    z-index: 999;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-cta { display: none; }

  /* --- Hero --- */
  .hero-stats {
    gap: var(--space-5);
    padding: var(--space-4);
  }
  .stat-divider { display: none; }

  /* --- About --- */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .about-image { height: 380px; }
  .about-content { padding-left: 0; }
  .about-badge { right: var(--space-4); }
  .about-section::before { display: none; }

  /* --- Services --- */
  .services-grid { grid-template-columns: 1fr; }

  /* --- Menu --- */
  .menu-grid { grid-template-columns: 1fr; }

  /* --- Testimonials --- */
  .testimonial-card { padding: var(--space-8) var(--space-4); }

  /* --- Contact --- */
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* --- Footer --- */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  /* --- Back to top --- */
  .back-to-top {
    bottom: var(--space-5);
    right: var(--space-5);
    width: 40px;
    height: 40px;
  }
}

/* ---- Small Mobile (max 480px) ---- */
@media (max-width: 480px) {
  .hero-headline {
    font-size: var(--fs-2xl);
  }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-lg { width: 100%; }

  .section-title { font-size: var(--fs-xl); }

  .contact-form-wrap { padding: var(--space-5); }
}
