/* ==========================================
   PieRev — باي ريف | Restaurant Website
   Design System & Styles
   ========================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=Tajawal:wght@300;400;500;700&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --color-primary: #1B3C2D;
  --color-primary-dark: #112620;
  --color-primary-light: #2A5A43;
  --color-accent: #A04040;
  --color-accent-light: #C25555;
  --color-accent-dark: #7A2E2E;
  --color-cream: #F5F0EB;
  --color-cream-dark: #E8DFD6;
  --color-gold: #C9A96E;
  --color-gold-light: #D4BA85;
  --color-white: #FFFFFF;
  --color-black: #0A0A0A;
  --color-text-dark: #2D2D2D;
  --color-text-muted: #6B6B6B;
  --color-overlay: rgba(27, 60, 45, 0.85);
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-arabic: 'Tajawal', 'Inter', sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.24);
  --shadow-glow-accent: 0 0 30px rgba(160, 64, 64, 0.3);
  --shadow-glow-gold: 0 0 30px rgba(201, 169, 110, 0.3);
  --max-width: 1280px;
  --nav-height: 80px;
}

/* ---------- RTL / Arabic mode ---------- */
/* Redefining these here cascades into every rule that uses var(--font-heading)/var(--font-body) */
html[dir="rtl"] {
  --font-heading: var(--font-arabic);
  --font-body: var(--font-arabic);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }

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

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
}

.navbar.transparent { background: transparent; }

.navbar.scrolled {
  background: rgba(27, 60, 45, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.nav-logo { display: flex; align-items: center; gap: var(--space-xs); z-index: 1001; }
.nav-logo img { height: 50px; width: auto; }

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-cream);
  letter-spacing: 2px;
}

.nav-logo-text span {
  display: block;
  font-family: var(--font-arabic);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0.8;
  margin-top: -2px;
}

.nav-links { display: flex; align-items: center; gap: var(--space-lg); }

.nav-links a {
  color: var(--color-cream);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}

.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--color-gold); }

.nav-cta {
  background: var(--color-accent) !important;
  color: var(--color-cream) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  transition: all var(--transition-base) !important;
  box-shadow: 0 4px 15px rgba(160, 64, 64, 0.3);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--color-accent-light) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-accent) !important;
}

.lang-toggle {
  color: var(--color-cream);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(245, 240, 235, 0.4);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
}
.lang-toggle:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.nav-toggle { display: none; flex-direction: column; gap: 6px; z-index: 1001; padding: 8px; }
.nav-toggle span { display: block; width: 28px; height: 2px; background: var(--color-cream); transition: all var(--transition-base); border-radius: 2px; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

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

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.1);
  transition: transform 10s ease-out;
}
.hero.loaded .hero-bg img { transform: scale(1); }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17, 38, 32, 0.7) 0%, rgba(27, 60, 45, 0.6) 40%, rgba(27, 60, 45, 0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--space-md);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 169, 110, 0.15);
  border: 1px solid rgba(201, 169, 110, 0.3);
  color: var(--color-gold);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeInDown 0.8s 0.3s forwards;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--color-cream);
  margin-bottom: var(--space-sm);
  opacity: 0;
  animation: fadeInUp 0.8s 0.5s forwards;
}
.hero h1 .accent { color: var(--color-gold); font-style: italic; }

.hero-tagline {
  font-family: var(--font-arabic);
  font-size: 1.3rem;
  color: var(--color-gold-light);
  margin-bottom: var(--space-xs);
  opacity: 0;
  animation: fadeInUp 0.8s 0.7s forwards;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(245, 240, 235, 0.8);
  max-width: 550px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
  opacity: 0;
  animation: fadeInUp 0.8s 0.9s forwards;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s 1.1s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-cream);
  box-shadow: 0 4px 20px rgba(160, 64, 64, 0.35);
}
.btn-primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(160, 64, 64, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--color-cream);
  border: 2px solid rgba(245, 240, 235, 0.4);
}
.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-3px);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeInUp 0.8s 1.3s forwards;
}
.hero-scroll span { font-size: 0.75rem; color: rgba(245, 240, 235, 0.5); text-transform: uppercase; letter-spacing: 2px; }
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scrollPulse 2s infinite;
}

/* ---------- Section Styles ---------- */
.section { padding: var(--space-3xl) 0; }
.section-header { text-align: center; margin-bottom: var(--space-xl); }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}
.section-title { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--color-primary); margin-bottom: var(--space-sm); }
.section-title-light { color: var(--color-cream); }
.section-subtitle { font-size: 1.1rem; color: var(--color-text-muted); max-width: 600px; margin: 0 auto; }
.section-subtitle-light { color: rgba(245, 240, 235, 0.7); }
.section-divider {
  width: 60px; height: 3px;
  background: linear-gradient(to right, var(--color-accent), var(--color-gold));
  margin: var(--space-sm) auto 0;
  border-radius: var(--radius-full);
}

/* ---------- About Section ---------- */
.about { background: var(--color-cream); overflow: hidden; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image-wrapper { position: relative; }

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.about-image img {
  width: 100%; height: 500px; object-fit: cover;
  transition: transform var(--transition-slow);
}
.about-image:hover img { transform: scale(1.05); }

.about-image-accent {
  position: absolute;
  top: -20px; left: -20px;
  width: 100px; height: 100px;
  border: 3px solid var(--color-gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-content { padding: var(--space-lg) 0; }
.about-content h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); color: var(--color-primary); margin-bottom: var(--space-sm); }
.about-content h2 .accent { color: var(--color-accent); font-style: italic; }
.about-content p { font-size: 1.05rem; color: var(--color-text-muted); line-height: 1.8; margin-bottom: var(--space-md); }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-cream-dark);
}
.about-stat { text-align: center; }
.about-stat .number { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; color: var(--color-accent); display: block; }
.about-stat .label { font-size: 0.85rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Wave Section Divider ---------- */
.wave-divider { position: relative; width: 100%; overflow: hidden; line-height: 0; }
.wave-divider svg { display: block; width: 100%; height: auto; }
.wave-divider.flip { transform: rotate(180deg); }

/* ---------- Menu Section ---------- */
.menu-section {
  background: var(--color-primary);
  padding: var(--space-3xl) 0;
  position: relative;
}
.menu-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(42, 90, 67, 0.5) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 80%, rgba(160, 64, 64, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.menu-tab {
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(245, 240, 235, 0.6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-base);
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.menu-tab:hover { color: var(--color-cream); background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.15); }
.menu-tab.active { color: var(--color-primary); background: var(--color-gold); border-color: var(--color-gold); box-shadow: var(--shadow-glow-gold); }

.menu-category {
  display: none;
  position: relative;
  z-index: 1;
}
.menu-category.active {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  animation: fadeInMenu 0.5s ease;
}

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

.menu-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.menu-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent, var(--color-gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.menu-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 169, 110, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.menu-card:hover::before { opacity: 1; }

.menu-card[data-image] { cursor: pointer; }
.menu-card[data-image]::after {
  content: '📷';
  position: absolute;
  top: 12px; right: 12px;
  width: 26px; height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  background: rgba(201, 169, 110, 0.15);
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: var(--radius-full);
  opacity: 0.7;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  pointer-events: none;
}
.menu-card[data-image]:hover::after { opacity: 1; transform: scale(1.1); }
.menu-card[data-image]:active::after { transform: scale(0.9); }

.menu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: 8px;
}

.menu-card-name { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; color: var(--color-cream); }

.menu-card-badge {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-cream);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  margin-left: 8px;
}

.menu-card-price { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--color-gold); white-space: nowrap; }
.menu-card-price .currency { font-size: 0.85rem; font-weight: 400; opacity: 0.7; }
.menu-card-desc { font-size: 0.88rem; color: rgba(245, 240, 235, 0.5); line-height: 1.5; }

/* ---------- Signature Dishes ---------- */
.signature { background: var(--color-cream); padding: var(--space-3xl) 0; overflow: hidden; }
.signature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }

.signature-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  cursor: pointer;
}
.signature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

.signature-card-image { height: 280px; overflow: hidden; position: relative; }
.signature-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.signature-card:hover .signature-card-image img { transform: scale(1.1); }

.signature-card-overlay {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--color-accent);
  color: var(--color-cream);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.signature-card-body { padding: var(--space-md); }
.signature-card-body h3 { font-size: 1.3rem; color: var(--color-primary); margin-bottom: 8px; }
.signature-card-body p { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.6; }

/* ---------- Gallery Section ---------- */
.gallery { background: var(--color-primary-dark); padding: var(--space-3xl) 0; overflow: hidden; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: var(--space-sm);
}

.gallery-item { border-radius: var(--radius-md); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.gallery-item:hover img { transform: scale(1.08); }

.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17, 38, 32, 0.7), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span { color: var(--color-cream); font-family: var(--font-heading); font-size: 1.1rem; }

/* ---------- Contact Section ---------- */
.contact { background: var(--color-cream); padding: var(--space-3xl) 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info { padding: var(--space-lg) 0; }
.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--color-primary); margin-bottom: var(--space-md); }
.contact-info p { font-size: 1.05rem; color: var(--color-text-muted); margin-bottom: var(--space-lg); line-height: 1.7; }

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

.contact-item { display: flex; align-items: flex-start; gap: var(--space-sm); }
.contact-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; fill: var(--color-gold); }

.contact-item-text h4 { font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; color: var(--color-primary); margin-bottom: 4px; }
.contact-item-text p { font-size: 0.95rem; color: var(--color-text-muted); margin: 0; line-height: 1.5; }

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 450px;
  background: var(--color-primary-dark);
}
.contact-map iframe { width: 100%; height: 100%; border: none; }

/* ---------- Footer ---------- */
.footer { background: var(--color-primary-dark); padding: var(--space-xl) 0 var(--space-md); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand h3 { font-size: 1.8rem; color: var(--color-cream); margin-bottom: 4px; }
.footer-brand .arabic-name { font-family: var(--font-arabic); font-size: 1rem; color: var(--color-gold); margin-bottom: var(--space-sm); }
.footer-logo { width: 140px; max-width: 100%; height: auto; margin-bottom: var(--space-sm); }
.section-logo { width: 140px; max-width: 100%; height: auto; margin: 0 auto var(--space-sm); }
.footer-brand p { font-size: 0.9rem; color: rgba(245, 240, 235, 0.6); line-height: 1.7; max-width: 300px; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
}
.footer-col a { display: block; font-size: 0.9rem; color: rgba(245, 240, 235, 0.6); padding: 6px 0; transition: all var(--transition-fast); }
.footer-col a:hover { color: var(--color-cream); padding-left: 8px; }

.footer-social { display: flex; gap: var(--space-sm); margin-top: var(--space-md); }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  padding: 0 !important;
}
.footer-social a:hover { background: var(--color-accent); border-color: var(--color-accent); transform: translateY(-3px); padding-left: 0 !important; }
.footer-social a { color: var(--color-white); }
.footer-social svg { width: 18px; height: 18px; fill: var(--color-white); }
.footer-social a:hover svg { fill: var(--color-cream); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.footer-bottom p { font-size: 0.85rem; color: rgba(245, 240, 235, 0.4); }
.footer-bottom-links { display: flex; gap: var(--space-md); }
.footer-bottom-links a { font-size: 0.85rem; color: rgba(245, 240, 235, 0.4); }
.footer-bottom-links a:hover { color: var(--color-cream); }

/* ---------- Dish Photo Preview (click to open / click anywhere to close) ---------- */
.dish-preview-backdrop {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.dish-preview-backdrop.active { opacity: 1; pointer-events: auto; }

.dish-preview {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: scale(0.9);
  transition: transform 0.18s ease;
}
.dish-preview-backdrop.active .dish-preview { transform: scale(1); }

.dish-preview-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.55);
  color: var(--color-cream);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-base);
}
.dish-preview-close:hover { background: var(--color-accent); }

.dish-preview img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.dish-preview-info { padding: var(--space-md) var(--space-md) var(--space-lg); text-align: center; }
.dish-preview-info h4 { font-family: var(--font-heading); font-size: 1.4rem; color: var(--color-primary); margin-bottom: 6px; }
.dish-preview-info span { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: var(--color-accent); }

@media (max-width: 480px) {
  .dish-preview img { height: 240px; }
}

/* ---------- Keyframe Animations ---------- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(1.5); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-15px) rotate(3deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .menu-category.active { grid-template-columns: 1fr; }
  .signature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 200px); }
  .gallery-item:nth-child(1) { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 70px; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 350px; height: 100vh;
    background: var(--color-primary-dark);
    flex-direction: column;
    justify-content: center;
    padding: var(--space-xl);
    transition: right var(--transition-base);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; padding: var(--space-sm) 0; }
  .nav-toggle { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .about-image img { height: 350px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .menu-category.active { grid-template-columns: 1fr; }
  .signature-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 180px); }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { height: 300px; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }
  .menu-tabs { gap: 6px; }
  .menu-tab { padding: 10px 18px; font-size: 0.8rem; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: repeat(5, 200px); }
  .gallery-item:nth-child(1) { grid-column: span 1; }
  .about-stats { grid-template-columns: 1fr; gap: var(--space-sm); }
  .footer-bottom { flex-direction: column; text-align: center; }
}
