﻿/* ============================================
   GATO BAKE HOUSE — MAIN CSS
   Premium Landing Page
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&family=Cairo:wght@400;500;600;700&display=swap');

/* ---- CSS Variables / Design Tokens ---- */
:root {
  /* Light Theme (default) */
  --bg-primary: #faf7f2;
  --bg-secondary: #f2ece0;
  --bg-card: #ffffff;
  --bg-overlay: rgba(250, 247, 242, 0.92);

  --text-primary: #1a1208;
  --text-secondary: #5c4a2a;
  --text-muted: #9c8060;
  --text-inverse: #faf7f2;

  --accent: #c8860a;
  --accent-light: #f0c060;
  --accent-dark: #8b5e00;
  --accent-glow: rgba(200, 134, 10, 0.25);

  --border: rgba(92, 74, 42, 0.12);
  --border-strong: rgba(92, 74, 42, 0.25);

  --shadow-sm: 0 2px 12px rgba(26, 18, 8, 0.06);
  --shadow-md: 0 8px 32px rgba(26, 18, 8, 0.10);
  --shadow-lg: 0 24px 64px rgba(26, 18, 8, 0.14);
  --shadow-accent: 0 8px 32px rgba(200, 134, 10, 0.20);

  --nav-height: 72px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 48px;
  --radius-full: 9999px;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-arabic: 'Cairo', system-ui, sans-serif;
}

[data-theme="dark"] {
  --bg-primary: #0e0b07;
  --bg-secondary: #1a1208;
  --bg-card: #1e1710;
  --bg-overlay: rgba(14, 11, 7, 0.92);

  --text-primary: #f5ede0;
  --text-secondary: #c8a878;
  --text-muted: #7a6040;
  --text-inverse: #0e0b07;

  --accent: #e8a020;
  --accent-light: #f5c860;
  --accent-dark: #c8860a;
  --accent-glow: rgba(232, 160, 32, 0.30);

  --border: rgba(200, 168, 120, 0.10);
  --border-strong: rgba(200, 168, 120, 0.22);

  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.30);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.40);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.55);
  --shadow-accent: 0 8px 32px rgba(232, 160, 32, 0.25);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition-slow), color var(--transition-slow);
}

body[dir="rtl"] {
  font-family: 'Cairo', system-ui, sans-serif;
}

/* Arabic display headings */
[dir="rtl"] .display-xl,
[dir="rtl"] .display-lg,
[dir="rtl"] .display-md,
[dir="rtl"] .hero-tagline,
[dir="rtl"] .nav-brand-name {
  font-family: 'Cairo', Georgia, serif;
  letter-spacing: 0;
  line-height: 1.4;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: var(--radius-full); }

/* ---- Typography ---- */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
}

.body-lg { font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.7; }
.body-sm { font-size: 0.875rem; line-height: 1.6; }
.label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---- Layout Utilities ---- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 4rem);
}

.section { padding: clamp(4rem, 10vw, 9rem) 0; }

/* ---- Accent Line ---- */
.accent-line {
  display: inline-block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(200, 134, 10, 0.35);
}

.btn-outline {
  border: 1.5px solid var(--border-strong);
  color: var(--text-primary);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

.btn-ghost {
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
}
.btn-ghost:hover { color: var(--accent); }

/* ---- Image Placeholder ---- */
.img-placeholder {
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 50%, var(--bg-secondary) 100%);
  background-size: 200% 200%;
  animation: shimmer 2.5s ease-in-out infinite;
}

.img-placeholder .placeholder-icon {
  position: relative;
  z-index: 1;
  font-size: 2.5rem;
  opacity: 0.3;
  pointer-events: none;
}

.img-placeholder .placeholder-label {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  background: var(--bg-overlay);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---- Stars ---- */
.stars {
  display: flex;
  gap: 2px;
  color: var(--accent);
  font-size: 0.9rem;
}

/* ---- Tag / Badge ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(200, 134, 10, 0.2);
}

/* ---- Divider ---- */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

/* ---- Noise Texture Overlay ---- */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ---- Scroll Progress Bar ---- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  z-index: 10000;
  transition: width 0.1s linear;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
}

/* ---- Cursor Glow (desktop) ---- */
#cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

@media (hover: hover) {
  #cursor-glow { opacity: 1; }
}

/* ============================================
   GATO BAKE HOUSE — THEMES & COMPONENTS CSS
   ============================================ */

/* ---- NAVIGATION ---- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

#navbar.scrolled {
  background: var(--bg-overlay);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}

.nav-brand-sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--border);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Theme Toggle */
.theme-toggle {
  width: 44px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-strong);
  position: relative;
  transition: background var(--transition);
  flex-shrink: 0;
}

.theme-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

[data-theme="dark"] .theme-toggle::after {
  transform: translateX(20px);
}

/* Lang Toggle */
.lang-toggle {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-strong);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  transition: all var(--transition);
  letter-spacing: 0.04em;
}

.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile Nav Drawer */
.nav-drawer {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateY(-110%);
  transition: transform var(--transition);
  z-index: 999;
}

.nav-drawer.open { transform: translateY(0); }

.nav-drawer a {
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: background var(--transition);
}

.nav-drawer a:hover { background: var(--border); }

/* ---- HERO SECTION ---- */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--bg-secondary) 0%, #d4a855 40%, var(--bg-primary) 100%);
}

[data-theme="dark"] .hero-bg-placeholder {
  background: linear-gradient(160deg, #0e0b07 0%, #2a1f0a 40%, #1a1208 100%);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--bg-primary) 0%,
    rgba(0,0,0,0.1) 40%,
    transparent 70%
  );
}

[data-theme="dark"] .hero-bg-overlay {
  background: linear-gradient(
    to top,
    var(--bg-primary) 0%,
    rgba(0,0,0,0.4) 40%,
    rgba(0,0,0,0.1) 70%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.hero-tagline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: clamp(1.25rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
}

.hero-scroll span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Floating CTA */
#floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition);
}

#floating-cta.visible {
  transform: translateY(0);
  opacity: 1;
}

.floating-cta-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.875rem 1.5rem;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
  transition: all var(--transition);
}

.floating-cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 48px rgba(37, 211, 102, 0.45);
}

.floating-cta-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

[dir="rtl"] #floating-cta { right: auto; left: 2rem; }

/* ---- ABOUT SECTION ---- */
#about {
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-accent {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 55%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--bg-primary);
}

.about-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-slow);
}

.about-img-main:hover .about-real-img,
.about-img-accent:hover .about-real-img {
  transform: scale(1.04);
}

[dir="rtl"] .about-img-accent { right: auto; left: -2rem; }

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ---- SERVICES ---- */
.services-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.service-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-card);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.service-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.service-chip-icon { font-size: 1.1rem; }

/* ---- MENU SECTION ---- */
#menu {
  position: relative;
  overflow: hidden;
}

.menu-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Horizontal scroll category tabs */
.menu-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 3rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}

.menu-tabs::-webkit-scrollbar { display: none; }

.menu-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all var(--transition);
  scroll-snap-align: start;
  flex-shrink: 0;
}

.menu-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.menu-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

/* Menu panels */
.menu-panel { display: none; }
.menu-panel.active { display: block; animation: fadeInUp 0.4s ease; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.menu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.menu-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.menu-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
}

.menu-card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.menu-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.menu-card-specialty {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}

[dir="rtl"] .menu-card-specialty { right: auto; left: 0.75rem; }

/* ---- REVIEWS SECTION ---- */
#reviews {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.reviews-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.rating-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.rating-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.rating-details {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
}

[dir="rtl"] .review-card::before { right: auto; left: 1.5rem; }

.review-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.review-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* ---- LOCATION SECTION ---- */
#location {
  position: relative;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.location-map {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.3) contrast(1.05);
}

[data-theme="dark"] .location-map iframe {
  filter: grayscale(0.5) invert(0.9) hue-rotate(180deg) contrast(0.85);
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.location-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-glow);
  border: 1px solid rgba(200, 134, 10, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.location-detail-text strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.location-detail-text span {
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* ---- PITCH SECTION ---- */
#pitch {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.pitch-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.pitch-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 14rem);
  font-weight: 700;
  color: var(--accent);
  opacity: 0.04;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.pitch-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.pitch-body {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 1.5rem 0 2.5rem;
}

/* ---- FOOTER ---- */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--accent);
  font-style: italic;
}

/* ---- DECORATIVE ELEMENTS ---- */
.deco-circle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-glow);
  pointer-events: none;
  z-index: 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-label-line {
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

.section-label-text {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}


/* ============================================================
   GALLERY SECTION — الجلسات
   Asymmetric editorial mosaic layout
   ============================================================ */

.gallery-section {
  padding-bottom: 0;
  overflow: hidden;
}

.gallery-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* ---- Mosaic Container ---- */
.gallery-mosaic {
  width: 100%;
  max-width: 960px;
  margin: 1rem auto 0;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* Whole collage as one panel */
  filter: drop-shadow(0 24px 60px rgba(26,18,8,0.13));
}

/* ---- Rows ---- */
.gallery-row {
  display: grid;
  gap: 10px;
  width: 100%;
}

.gallery-row:first-child .gallery-item:first-child { border-radius: var(--radius-lg) 0 0 0; }
.gallery-row:first-child .gallery-item:last-child  { border-radius: 0 var(--radius-lg) 0 0; }
.gallery-row:last-child  .gallery-item:first-child { border-radius: 0 0 0 var(--radius-lg); }
.gallery-row:last-child  .gallery-item:last-child  { border-radius: 0 0 var(--radius-lg) 0; }

/* Single-item row — round both bottom corners */
.gallery-row-B .gallery-item { border-radius: 0; }
.gallery-row-C .gallery-item:first-child { border-radius: 0 0 0 var(--radius-lg); }
.gallery-row-C .gallery-item:last-child  { border-radius: 0 0 var(--radius-lg) 0; }

/* Row 1: wide (2fr) + tall portrait (1fr) */
.gallery-row-1 {
  grid-template-columns: 2fr 1fr;
  height: clamp(220px, 32vw, 420px);
}

/* Row 2: three equal panels */
.gallery-row-2 {
  grid-template-columns: 1fr 1fr 1fr;
  height: clamp(160px, 22vw, 280px);
}

/* Row 3: tall portrait (1fr) + wide (2fr) — mirrored */
.gallery-row-3 {
  grid-template-columns: 1fr 2fr;
  height: clamp(220px, 32vw, 420px);
}

/* Row A: two portrait shots — equal */
.gallery-row-A {
  grid-template-columns: 1fr 1fr;
  height: clamp(260px, 38vw, 500px);
}

/* Row B: single full-width panoramic */
.gallery-row-B {
  grid-template-columns: 1fr;
  height: clamp(200px, 28vw, 360px);
}

/* Row C: square coffee (1fr) + wide danish (1.6fr) */
.gallery-row-C {
  grid-template-columns: 1fr 1.6fr;
  height: clamp(240px, 34vw, 440px);
}

/* ---- Gallery Item ---- */
.gallery-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  cursor: zoom-in;
  background: var(--bg-secondary);
  box-shadow: none;
}

/* Fallback shown when image fails or not yet loaded */
.gallery-item::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-secondary);
  z-index: 0;
  pointer-events: none;
}

.gallery-item .gallery-img {
  position: relative;
  z-index: 1;
}

/* Hide fallback once image loads */
.gallery-item.img-loaded::after {
  display: none;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.5s ease;
  filter: brightness(0.96) saturate(1.05);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.06);
  filter: brightness(1.02) saturate(1.12);
}

/* Caption overlay */
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.25rem;
  background: linear-gradient(to top, rgba(14,11,7,0.72) 0%, transparent 100%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus-within .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Always show caption on touch devices */
@media (hover: none) {
  .gallery-caption {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Lightbox overlay ---- */
#gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#gallery-lightbox.open {
  opacity: 1;
  pointer-events: all;
}

#gallery-lightbox img {
  max-width: min(90vw, 1100px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  transform: scale(0.94);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#gallery-lightbox.open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-close:hover { background: rgba(255,255,255,0.22); }

.lightbox-caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---- CTA Strip ---- */
.gallery-cta-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 5vw, 4rem);
  margin-top: 2.5rem;
  flex-wrap: wrap;
  text-align: center;
}

[dir="rtl"] .gallery-cta-strip { flex-direction: row-reverse; }

.gallery-cta-strip .display-md {
  color: var(--text-primary);
  font-style: italic;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .gallery-row-1,
  .gallery-row-3 {
    grid-template-columns: 1fr 1fr;
    height: clamp(200px, 38vw, 340px);
  }

  .gallery-row-2 {
    grid-template-columns: 1fr 1fr;
    height: clamp(160px, 28vw, 260px);
  }

  /* Stack the 3rd item in row 2 below */
  .gallery-row-2 .gallery-item:last-child {
    grid-column: 1 / -1;
    height: clamp(160px, 28vw, 260px);
  }
}

@media (max-width: 600px) {
  .gallery-mosaic { gap: 4px; }

  .gallery-row-1,
  .gallery-row-3 {
    grid-template-columns: 1fr;
    height: auto;
  }

  .gallery-row-1 .gallery-item,
  .gallery-row-3 .gallery-item {
    height: clamp(220px, 60vw, 320px);
  }

  .gallery-row-2 {
    grid-template-columns: 1fr;
    height: auto;
  }

  .gallery-row-2 .gallery-item {
    height: clamp(200px, 55vw, 300px);
    grid-column: auto;
  }

  .gallery-cta-strip {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  [dir="rtl"] .gallery-cta-strip { flex-direction: column; }
}

/* New gallery rows — responsive */
@media (max-width: 900px) {
  .gallery-mosaic {
    max-width: 700px;
    padding: 0 clamp(1rem, 3vw, 2rem);
  }
  .gallery-row-A {
    grid-template-columns: 1fr 1fr;
    height: clamp(200px, 32vw, 360px);
  }
  .gallery-row-B { height: clamp(160px, 22vw, 260px); }
  .gallery-row-C {
    grid-template-columns: 1fr 1.4fr;
    height: clamp(200px, 30vw, 340px);
  }
}

@media (max-width: 600px) {
  .gallery-mosaic {
    max-width: 100%;
    padding: 0 1rem;
    gap: 6px;
  }
  .gallery-row { gap: 6px; }

  .gallery-row-A {
    grid-template-columns: 1fr 1fr;
    height: clamp(160px, 44vw, 220px);
  }
  .gallery-row-B { height: clamp(140px, 38vw, 200px); }
  .gallery-row-C {
    grid-template-columns: 1fr;
    height: auto;
  }
  .gallery-row-C .gallery-item {
    height: clamp(180px, 50vw, 260px);
  }

  /* Reset corner radii on mobile — all square */
  .gallery-row:first-child .gallery-item:first-child,
  .gallery-row:first-child .gallery-item:last-child,
  .gallery-row:last-child  .gallery-item:first-child,
  .gallery-row:last-child  .gallery-item:last-child,
  .gallery-row-C .gallery-item:first-child,
  .gallery-row-C .gallery-item:last-child {
    border-radius: var(--radius-md);
  }
}


/* ============================================================
   SEATING STRIP — شريط صور الجلسات
   Auto-scrolling horizontal filmstrip between sections
   ============================================================ */

.seating-strip {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--bg-primary);
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Fade edges */
.seating-strip::before,
.seating-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.seating-strip::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.seating-strip::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

/* Scrolling track */
.seating-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: seating-scroll 28s linear infinite;
}

.seating-strip:hover .seating-track {
  animation-play-state: paused;
}

@keyframes seating-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Individual slide */
.seating-slide {
  position: relative;
  flex-shrink: 0;
  width: 280px;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.seating-slide--wide {
  width: 380px;
}

.seating-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  /* Fallback background if image missing */
  background: var(--bg-secondary);
}

.seating-slide:hover img {
  transform: scale(1.07);
}

/* Label */
.seating-slide-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem 0.75rem;
  background: linear-gradient(to top, rgba(14,11,7,0.75) 0%, transparent 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.seating-slide:hover .seating-slide-label {
  opacity: 1;
  transform: translateY(0);
}

/* Always show on touch */
@media (hover: none) {
  .seating-slide-label {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 600px) {
  .seating-slide { width: 220px; height: 160px; }
  .seating-slide--wide { width: 300px; }
  .seating-strip { padding: 2rem 0; }
  .seating-strip::before,
  .seating-strip::after { width: 60px; }
}

/* RTL — reverse scroll direction */
[dir="rtl"] .seating-track {
  animation-name: seating-scroll-rtl;
}

@keyframes seating-scroll-rtl {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}


/* ============================================================
   MENU CARD v2 — Price + Image + Full Menu Link
   ============================================================ */

/* Image wrapper */
.menu-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-secondary);
  flex-shrink: 0;
}

/* Real photo */
.menu-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.4,0,0.2,1);
  z-index: 1;
}

.menu-card-photo.loaded {
  opacity: 1;
}

.menu-card:hover .menu-card-photo {
  transform: scale(1.05);
}

/* Emoji fallback behind photo */
.menu-card-img-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
  z-index: 0;
}

/* When image fails — show fallback prominently */
.menu-card-img-wrap.no-img .menu-card-photo { display: none; }
.menu-card-img-wrap.no-img .menu-card-img-fallback { z-index: 1; }

/* Card body */
.menu-card-body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

/* Header row: name + price */
.menu-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

[dir="rtl"] .menu-card-header { flex-direction: row-reverse; }

.menu-card-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  flex: 1;
}

/* Price badge */
.menu-card-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  letter-spacing: 0.01em;
  flex-shrink: 0;
  padding: 0.2rem 0.6rem;
  background: var(--accent-glow);
  border-radius: var(--radius-full);
  border: 1px solid rgba(200,134,10,0.18);
  line-height: 1.4;
}

.price-currency {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.8;
  letter-spacing: 0.04em;
}

.menu-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Card hover */
.menu-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-sm);
  cursor: default;
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.menu-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---- Full Menu Link strip ---- */
.menu-full-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}

[dir="rtl"] .menu-full-link { flex-direction: row-reverse; }

.menu-full-link-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

.menu-full-link-btn {
  flex-shrink: 0;
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
}

@media (max-width: 480px) {
  .menu-full-link {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  [dir="rtl"] .menu-full-link { flex-direction: column; }
  .menu-full-link-btn { width: 100%; justify-content: center; }
}


/* ============================================================
   LOCATION ICONS — SVG outline style
   ============================================================ */

.location-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-glow);
  border: 1px solid rgba(200, 134, 10, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}

.location-detail-icon svg {
  transition: transform var(--transition);
}

.location-detail:hover .location-detail-icon {
  transform: scale(1.08);
  box-shadow: 0 4px 20px rgba(200, 134, 10, 0.22);
}

.location-detail:hover .location-detail-icon svg {
  transform: scale(1.1);
}

/* ============================================================
   FOOTER DEVELOPER SIGNATURE
   ============================================================ */

.footer-dev {
  text-align: center;
  padding: 0.75rem 0 0.25rem;
  border-top: 1px solid var(--border);
  margin-top: 1.25rem;
}

.footer-dev-link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  opacity: 0.55;
  text-decoration: none;
  transition: opacity var(--transition), color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-dev-link::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
  transition: opacity var(--transition);
}

.footer-dev-link:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-dev-link:hover::before {
  opacity: 1;
}

/* ============================================
   GATO BAKE HOUSE — RTL / ARABIC OVERRIDES
   ============================================ */

[dir="rtl"] body {
  font-family: 'Cairo', system-ui, sans-serif;
}

[dir="rtl"] .display-xl,
[dir="rtl"] .display-lg,
[dir="rtl"] .display-md,
[dir="rtl"] .hero-tagline,
[dir="rtl"] .nav-brand-name,
[dir="rtl"] .menu-card-name,
[dir="rtl"] .review-name,
[dir="rtl"] .about-content h2,
[dir="rtl"] .reviews-header h2,
[dir="rtl"] .location-info h2 {
  font-family: 'Cairo', Georgia, serif;
  letter-spacing: 0;
  line-height: 1.4;
}

/* Flip flex directions */
[dir="rtl"] .nav-inner,
[dir="rtl"] .hero-eyebrow,
[dir="rtl"] .hero-actions,
[dir="rtl"] .about-stats,
[dir="rtl"] .services-row,
[dir="rtl"] .rating-hero,
[dir="rtl"] .review-author,
[dir="rtl"] .location-detail,
[dir="rtl"] .footer-inner,
[dir="rtl"] .section-label {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .nav-controls { flex-direction: row-reverse; }

/* Text alignment */
[dir="rtl"] .hero-content,
[dir="rtl"] .about-content,
[dir="rtl"] .location-info {
  text-align: right;
}

[dir="rtl"] .menu-header,
[dir="rtl"] .reviews-header,
[dir="rtl"] .pitch-inner {
  text-align: center;
}

/* About image accent flip */
[dir="rtl"] .about-img-accent {
  right: auto;
  left: -2rem;
}

/* Hero scroll indicator */
[dir="rtl"] .hero-scroll {
  right: auto;
  left: clamp(1.25rem, 5vw, 4rem);
}

/* Menu tabs scroll direction */
[dir="rtl"] .menu-tabs {
  direction: rtl;
}

/* Review quote mark */
[dir="rtl"] .review-card::before {
  right: auto;
  left: 1.5rem;
  content: '"';
}

/* Specialty badge */
[dir="rtl"] .menu-card-specialty {
  right: auto;
  left: 0.75rem;
}

/* Floating CTA */
[dir="rtl"] #floating-cta {
  right: auto;
  left: 2rem;
}

/* Nav drawer */
[dir="rtl"] .nav-drawer a { text-align: right; }

/* Location detail */
[dir="rtl"] .location-detail-text { text-align: right; }

/* Footer */
[dir="rtl"] .footer-inner { flex-direction: row-reverse; }

/* Scroll progress — RTL flips to right */
[dir="rtl"] #scroll-progress {
  left: auto;
  right: 0;
  border-radius: var(--radius-full) 0 0 var(--radius-full);
}

/* Accent line alignment */
[dir="rtl"] .accent-line { margin-right: 0; }

/* Section label */
[dir="rtl"] .section-label { flex-direction: row-reverse; }

/* Stat items */
[dir="rtl"] .stat-item { align-items: flex-end; }

/* Service chips */
[dir="rtl"] .service-chip { flex-direction: row-reverse; }

/* Menu tab */
[dir="rtl"] .menu-tab { flex-direction: row-reverse; }

/* Responsive RTL adjustments */
@media (max-width: 768px) {
  [dir="rtl"] .about-img-accent {
    left: -1rem;
    right: auto;
  }

  [dir="rtl"] .hero-scroll {
    left: 1.25rem;
    right: auto;
  }
}

/* ============================================
   GATO BAKE HOUSE — RESPONSIVE CSS
   Mobile-first, 9:16 → Editorial Desktop
   ============================================ */

/* ---- TABLET (max 1024px) ---- */
@media (max-width: 1024px) {
  .about-grid,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .about-img-accent {
    bottom: -1.5rem;
    right: -1rem;
  }

  [dir="rtl"] .about-img-accent {
    left: -1rem;
    right: auto;
  }

  .location-map {
    aspect-ratio: 16/9;
  }
}

/* ---- MOBILE (max 768px) ---- */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  /* Nav */
  .nav-links { display: none; }
  .menu-toggle { display: flex; }

  /* Hero — 9:16 Instagram style */
  #hero {
    min-height: 100svh;
    padding-bottom: 5rem;
  }

  .hero-tagline {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  [dir="rtl"] .hero-actions { align-items: flex-end; }

  .hero-actions .btn { width: 100%; justify-content: center; }

  /* About */
  .about-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .stat-number { font-size: 2rem; }

  /* Services */
  .services-row { gap: 0.75rem; }

  /* Menu */
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-tabs {
    padding-bottom: 0.75rem;
    margin-bottom: 2rem;
  }

  /* Reviews */
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .rating-number { font-size: 3rem; }

  /* Location */
  .location-grid {
    grid-template-columns: 1fr;
  }

  /* Pitch */
  .pitch-bg-text { display: none; }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  [dir="rtl"] .footer-inner {
    flex-direction: column;
  }

  /* Floating CTA */
  #floating-cta {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  [dir="rtl"] #floating-cta {
    right: auto;
    left: 1.25rem;
  }

  .floating-cta-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }
}

/* ---- SMALL MOBILE (max 480px) ---- */
@media (max-width: 480px) {
  .hero-tagline { font-size: clamp(2rem, 9vw, 2.8rem); }

  .menu-card-img { aspect-ratio: 3/2; }

  .about-img-accent {
    width: 45%;
    bottom: -1rem;
    right: -0.5rem;
  }

  [dir="rtl"] .about-img-accent {
    left: -0.5rem;
    right: auto;
  }

  .review-card { padding: 1.25rem; }

  .pitch-inner { padding: 0 0.5rem; }
}

/* ---- LARGE DESKTOP (min 1440px) ---- */
@media (min-width: 1440px) {
  .menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-grid,
  .location-grid {
    gap: 8rem;
  }
}

/* ---- PRINT ---- */
@media print {
  #navbar, #floating-cta, .noise-overlay, #cursor-glow, #scroll-progress { display: none; }
  body { background: white; color: black; }
  .section { padding: 2rem 0; }
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}


/* Hide Book Now button in navbar on mobile — floating CTA handles it */
@media (max-width: 768px) {
  .nav-book-btn { display: none; }
}

/* ---- RTL overrides ---- */
[dir="rtl"] body { font-family: 'Cairo', system-ui, sans-serif; }
[dir="rtl"] .display-lg, [dir="rtl"] .display-md, [dir="rtl"] .hero-tagline, [dir="rtl"] .nav-brand-name { font-family: 'Cairo', serif; letter-spacing: 0; line-height: 1.4; }
[dir="rtl"] .nav-inner, [dir="rtl"] .hero-eyebrow, [dir="rtl"] .hero-actions, [dir="rtl"] .about-stats, [dir="rtl"] .services-row, [dir="rtl"] .rating-hero, [dir="rtl"] .review-author, [dir="rtl"] .location-detail, [dir="rtl"] .footer-inner, [dir="rtl"] .section-label { flex-direction: row-reverse; }
[dir="rtl"] .nav-links, [dir="rtl"] .nav-controls { flex-direction: row-reverse; }
[dir="rtl"] .hero-content, [dir="rtl"] .about-content, [dir="rtl"] .location-info { text-align: right; }
[dir="rtl"] .menu-header, [dir="rtl"] .reviews-header { text-align: center; }
[dir="rtl"] .about-img-accent { right: auto; left: -2rem; }
[dir="rtl"] .hero-scroll { right: auto; left: clamp(1.25rem,5vw,4rem); }
[dir="rtl"] .menu-tabs { direction: rtl; }
[dir="rtl"] .review-card::before { right: auto; left: 1.5rem; content: '\201C'; }
[dir="rtl"] #floating-cta { right: auto; left: 2rem; }
[dir="rtl"] .nav-drawer a { text-align: right; }
[dir="rtl"] .location-detail-text { text-align: right; }
[dir="rtl"] .footer-inner { flex-direction: row-reverse; }
[dir="rtl"] #scroll-progress { left: auto; right: 0; border-radius: var(--radius-full) 0 0 var(--radius-full); }
[dir="rtl"] .stat-item { align-items: flex-end; }
[dir="rtl"] .service-chip, [dir="rtl"] .menu-tab { flex-direction: row-reverse; }
[dir="rtl"] .menu-card-header { flex-direction: row-reverse; }
[dir="rtl"] .menu-full-link { flex-direction: row-reverse; }
[dir="rtl"] .seating-track { animation-name: seating-scroll-rtl; }
@keyframes seating-scroll-rtl { from{transform:translateX(0)} to{transform:translateX(50%)} }
@media(max-width:768px){[dir="rtl"] .about-img-accent{left:-1rem;right:auto}[dir="rtl"] .hero-scroll{left:1.25rem;right:auto}[dir="rtl"] #floating-cta{right:auto;left:1.25rem}}

/* Lang toggle as link */
a.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-strong);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  text-decoration: none;
  transition: all var(--transition);
  letter-spacing: 0.04em;
  cursor: pointer;
}
a.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}
