/* ============================================
   HERE-ITS-CAIRO CAFÉ - VIBRANT LIGHT THEME
   Mobile-First Responsive Design
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Barlow:wght@300;400;500;600;700&family=Barlow+Semi+Condensed:wght@400;500;600;700&display=swap');

/* ============================================
   CSS VARIABLES - VIBRANT BRAND COLORS
   ============================================ */
:root {
  /* Primary Vibrant Colors from Brand Assets */
  --cairo-gold: #FFD700;
  --cairo-gold-light: #FFE44D;
  --cairo-gold-dark: #D4A000;
  
  /* Deep Burgundy - Elegant Primary (replaces navy) */
  --cairo-burgundy: #6B1A3A;
  --cairo-burgundy-light: #8B2A4A;
  --cairo-burgundy-dark: #4A1028;
  
  /* Crimson Red from Brand */
  --cairo-red: #C41E3A;
  --cairo-red-light: #E63950;
  --cairo-red-dark: #9A1530;
  
  /* Emerald Green from Brand */
  --cairo-green: #009B6E;
  --cairo-green-light: #00C48C;
  --cairo-green-dark: #007A56;
  
  /* Sky Blue from Decorations */
  --cairo-blue: #2E6BAA;
  --cairo-blue-light: #4A90D9;
  --cairo-blue-dark: #1E4A7A;
  
  /* Light Blue from Mandala */
  --cairo-sky: #7FB3D5;
  --cairo-sky-light: #A8D4F0;
  
  /* Light Theme Backgrounds */
  --bg-primary: #FFFEF8;
  --bg-secondary: #FFF8E7;
  --bg-cream: #FDF6E3;
  --bg-warm: #FFF5E1;
  
  /* Text Colors */
  --text-primary: #6B1A3A;
  --text-secondary: #4A4A6A;
  --text-muted: #7A7A9A;
  --text-light: #FFFFFF;
  
  /* Futuristic Accents */
  --accent-glow-gold: rgba(255, 215, 0, 0.4);
  --accent-glow-red: rgba(196, 30, 58, 0.3);
  --accent-glow-blue: rgba(46, 107, 170, 0.3);
  --accent-glow-green: rgba(0, 155, 110, 0.3);
  
  /* Gradients */
  --gradient-gold: linear-gradient(135deg, var(--cairo-gold) 0%, var(--cairo-gold-light) 50%, var(--cairo-gold) 100%);
  --gradient-burgundy: linear-gradient(135deg, var(--cairo-burgundy) 0%, var(--cairo-burgundy-light) 100%);
  --gradient-red: linear-gradient(135deg, var(--cairo-red) 0%, var(--cairo-red-light) 100%);
  --gradient-blue: linear-gradient(135deg, var(--cairo-blue) 0%, var(--cairo-sky) 100%);
  --gradient-hero: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-warm) 50%, var(--bg-secondary) 100%);
  --gradient-rainbow: linear-gradient(90deg, var(--cairo-gold) 0%, var(--cairo-red) 25%, var(--cairo-blue) 50%, var(--cairo-green) 75%, var(--cairo-gold) 100%);
  
  /* Typography */
  --font-cinzel: 'Cinzel', serif;
  --font-barlow: 'Barlow', sans-serif;
  --font-barlow-condensed: 'Barlow Semi Condensed', sans-serif;
  
  /* Spacing - Mobile First */
  --section-padding: 1.25rem;
  --header-height: 70px;
  --footer-nav-height: 64px;
  
  /* Border Radius - Modern */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  /* Shadows - Vibrant */
  --shadow-sm: 0 2px 12px rgba(30, 26, 74, 0.08);
  --shadow-md: 0 4px 24px rgba(30, 26, 74, 0.12);
  --shadow-lg: 0 8px 40px rgba(30, 26, 74, 0.16);
  --shadow-gold: 0 4px 24px rgba(255, 215, 0, 0.4);
  --shadow-red: 0 4px 24px rgba(196, 30, 58, 0.3);
  --shadow-blue: 0 4px 24px rgba(46, 107, 170, 0.3);
  
  /* Transitions */
  --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);
}

/* Tablet */
@media (min-width: 640px) {
  :root {
    --section-padding: 2rem;
    --header-height: 80px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  :root {
    --section-padding: 4vw;
    --header-height: 90px;
  }
}

/* ============================================
   RESET & BASE STYLES - LIGHT THEME
   ============================================ */
*, *::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-barlow);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  padding-bottom: var(--footer-nav-height);
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-cinzel);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   REPEATING DECORATIVE PATTERN BACKGROUNDS
   ============================================ */

/* Left edge repeating pattern - primary */
.pattern-bg::before {
  content: '';
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 80px;
  height: calc(100vh - var(--header-height));
  /* background-image: url('../images/decorations/asset_1.png'); */
  background-size: 80px 80px;
  background-repeat: repeat-y;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

/* Left edge pattern - alternative */
.pattern-bg-alt::before {
  content: '';
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 60px;
  height: calc(100vh - var(--header-height));
  /* background-image: url('../images/decorations/asset_2.png'); */
  background-size: 60px 60px;
  background-repeat: repeat-y;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

/* Left edge pattern - mixed */
.pattern-bg-mixed::before {
  content: '';
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 70px;
  height: calc(100vh - var(--header-height));
  /* background-image: url('../images/decorations/asset_3.png'); */
  background-size: 70px 70px;
  background-repeat: repeat-y;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

/* Right edge subtle accent pattern */
.pattern-bg::after,
.pattern-bg-alt::after,
.pattern-bg-mixed::after {
  content: '';
  position: fixed;
  top: var(--header-height);
  right: 0;
  width: 40px;
  height: calc(100vh - var(--header-height));
  /* background-image: url('../images/decorations/asset_1.png'); */
  background-size: 40px 40px;
  background-repeat: repeat-y;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
  transform: scaleX(-1);
}

/* Ensure content stays above patterns */
.pattern-bg > *,
.pattern-bg-alt > *,
.pattern-bg-mixed > * {
  position: relative;
  z-index: 1;
}

/* Hide old decoration corners (if any remain in HTML) */
.decoration-corner,
.decoration-mandala {
  display: none !important;
}

/* ============================================
   EGYPTIAN CORNER DECORATIONS - INNER PAGES
   ============================================ */

/* Page wrapper for inner pages with corner decorations */
.page-with-decorations {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-hero);
  background-color: darkred !important;
}

/* Corner decoration containers - positioned above pattern backgrounds but below content */
.corner-decoration {
  position: fixed;
  pointer-events: none;
  z-index: 50;
  opacity: 0.35;
}

/* Page content wrapper - ensures content appears above decorations */
.page-content {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  padding-top: 2rem;
  background-color: darkred !important;
}

/* Top-left corner - Mandala from decorates_3 */
.corner-decoration.top-left {
  top: calc(var(--header-height) + 20px);
  left: 15px;
  width: 90px;
  height: 90px;
}

.corner-decoration.top-left img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Top-right corner - Fan design from decorates_2 */
.corner-decoration.top-right {
  top: calc(var(--header-height) + 20px);
  right: 15px;
  width: 70px;
  height: 70px;
}

.corner-decoration.top-right img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(90deg);
}

/* Bottom-left corner - Fan design flipped */
.corner-decoration.bottom-left {
  bottom: calc(var(--footer-nav-height) + 20px);
  left: 15px;
  width: 70px;
  height: 70px;
}

.corner-decoration.bottom-left img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(-90deg);
}

/* Bottom-right corner - Mandala rotated */
.corner-decoration.bottom-right {
  bottom: calc(var(--footer-nav-height) + 20px);
  right: 15px;
  width: 90px;
  height: 90px;
}

.corner-decoration.bottom-right img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(180deg);
}

/* Tablet sizes */
@media (min-width: 768px) {
  .corner-decoration.top-left,
  .corner-decoration.bottom-right {
    width: 120px;
    height: 120px;
  }
  
  .corner-decoration.top-right,
  .corner-decoration.bottom-left {
    width: 100px;
    height: 100px;
  }
  
  .corner-decoration.bottom-left {
    bottom: 20px;
  }
  
  .corner-decoration.bottom-right {
    bottom: 20px;
  }
}

/* Desktop sizes */
@media (min-width: 1024px) {
  .corner-decoration.top-left,
  .corner-decoration.bottom-right {
    width: 180px;
    height: 180px;
  }
  
  .corner-decoration.top-right,
  .corner-decoration.bottom-left {
    width: 120px;
    height: 120px;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--section-padding);
}

.section-label {
  font-family: var(--font-barlow-condensed);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--cairo-red);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gradient-rainbow);
  border-radius: 1px;
}

.text-gold { color: var(--cairo-gold-dark); }
.text-red { color: var(--cairo-red); }
.text-blue { color: var(--cairo-blue); }
.text-green { color: var(--cairo-green); }
.text-burgundy { color: var(--cairo-burgundy); }

.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-rainbow {
  background: var(--gradient-rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   BUTTONS - VIBRANT MODERN
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gradient-gold);
  color: var(--cairo-burgundy);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-barlow-condensed);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.5);
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gradient-red);
  color: var(--text-light);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-barlow-condensed);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-red);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(196, 30, 58, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--cairo-burgundy);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-barlow-condensed);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 2px solid var(--cairo-gold);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
}

.btn-outline:hover {
  color: var(--cairo-burgundy);
  border-color: transparent;
}

.btn-outline:hover::before {
  opacity: 1;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-base);
  margin-bottom: 1.5rem;
  padding: 0.5rem 0;
}

.btn-back:hover {
  color: var(--cairo-red);
  transform: translateX(-4px);
}

.btn-back svg {
  width: 1.125rem;
  height: 1.125rem;
  transform: rotate(180deg);
  transition: transform var(--transition-base);
}

.btn-back:hover svg {
  transform: rotate(180deg) translateX(-2px);
}

/* ============================================
   HEADER - VIBRANT LIGHT
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 254, 248, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--cairo-gold);
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
}

.logo-icon span {
  font-family: var(--font-cinzel);
  color: var(--cairo-burgundy);
  font-size: 1.125rem;
  font-weight: 800;
}

.logo-text {
  font-family: var(--font-cinzel);
  color: var(--cairo-burgundy);
  font-size: 1.125rem;
  font-weight: 700;
  display: none;
}

@media (min-width: 480px) {
  .logo-text {
    display: block;
  }
}

/* Desktop Navigation */
.nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

.nav-link {
  font-family: var(--font-barlow-condensed);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-rainbow);
  transition: width var(--transition-base);
  border-radius: 1px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cairo-red);
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--cairo-burgundy);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.mobile-menu-toggle:hover {
  background: rgba(255, 215, 0, 0.15);
  color: var(--cairo-red);
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--bg-primary);
  border-left: 3px solid var(--cairo-gold);
  z-index: 1001;
  transition: right var(--transition-base);
  padding: 5rem 1.5rem 2rem;
  box-shadow: -8px 0 40px rgba(30, 26, 74, 0.15);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cairo-burgundy);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.mobile-menu-close:hover {
  background: rgba(196, 30, 58, 0.1);
  color: var(--cairo-red);
}

.mobile-menu-close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: var(--cairo-burgundy);
  font-family: var(--font-barlow-condensed);
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.mobile-nav-link:hover {
  color: var(--cairo-red);
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--cairo-gold);
}

.mobile-nav-link svg {
  width: 1.125rem;
  height: 1.125rem;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 26, 74, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   FOOTER NAVIGATION (Mobile Only)
   ============================================ */
.footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--footer-nav-height);
  background: var(--bg-primary);
  backdrop-filter: blur(20px);
  border-top: 2px solid var(--cairo-gold);
  z-index: 999;
  box-shadow: 0 -4px 24px rgba(30, 26, 74, 0.1);
}

@media (min-width: 768px) {
  .footer-nav {
    display: none;
  }
}

.footer-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.footer-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  min-width: 3.5rem;
}

.footer-nav-item:hover,
.footer-nav-item.active {
  color: var(--cairo-red);
}

.footer-nav-item.active {
  background: rgba(255, 215, 0, 0.15);
}

.footer-nav-item svg {
  width: 1.125rem;
  height: 1.125rem;
}

.footer-nav-item span {
  font-family: var(--font-barlow-condensed);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================
   HERO SECTION - VIBRANT LIGHT
   ============================================ */
.hero {
  min-height: 100vh;
  padding-top: var(--header-height);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

/* Cairo Splash GIF - Mobile First */
.hero-splash-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem var(--section-padding) 0.5rem;
  position: relative;
  z-index: 1;
}

.hero-splash-gif {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--cairo-gold);
}

@media (min-width: 480px) {
  .hero-splash-gif {
    max-width: 320px;
  }
}

@media (min-width: 640px) {
  .hero-splash-gif {
    max-width: 360px;
  }
}

@media (min-width: 768px) {
  .hero-splash-container {
    padding: 1.5rem var(--section-padding) 1rem;
  }
  
  .hero-splash-gif {
    max-width: 400px;
  }
}

.hero-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem var(--section-padding) 1.5rem;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-container {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem var(--section-padding) 2rem;
  }
}

.hero-photo-frame {
  width: 100%;
  height: 40vh;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 3px solid var(--cairo-gold);
}

@media (min-width: 768px) {
  .hero-photo-frame {
    width: 55%;
    height: 70vh;
  }
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-photo-frame:hover img {
  transform: scale(1.03);
}

.hero-content-panel {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 2px solid var(--cairo-gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .hero-content-panel {
    width: 35%;
    height: 70vh;
    padding: 2rem;
  }
}

.hero-logo {
  margin-bottom: 1rem;
}

.hero-logo-subtitle {
  font-family: var(--font-barlow-condensed);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--cairo-red);
  margin-bottom: 0.5rem;
}

.hero-logo-title {
  font-family: var(--font-cinzel);
  font-size: 1.75rem;
  color: var(--cairo-burgundy);
  line-height: 1.2;
}

@media (min-width: 640px) {
  .hero-logo-title {
    font-size: 2rem;
  }
}

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

.hero-tagline {
  margin-bottom: 1.25rem;
}

.hero-tagline p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  width: 100%;
}

@media (min-width: 480px) {
  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.hero-cta .btn-primary,
.hero-cta .btn-outline {
  flex: 1;
  min-width: 140px;
}

/* ============================================
   STORY SECTION - VIBRANT
   ============================================ */
.story-section {
  padding: 4rem var(--section-padding);
  position: relative;
  background: var(--bg-cream);
}

.story-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: var(--gradient-rainbow);
}

.story-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .story-container {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }
}

.story-text-panel {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--cairo-gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

@media (min-width: 640px) {
  .story-text-panel {
    padding: 2rem;
  }
}

@media (min-width: 768px) {
  .story-text-panel {
    width: 45%;
    padding: 2.5rem;
  }
}

.story-title {
  font-size: 1.75rem;
  color: var(--cairo-burgundy);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .story-title {
    font-size: 2rem;
  }
}

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

.story-text {
  color: var(--text-secondary);
  margin-bottom: 0.875rem;
  line-height: 1.7;
  font-size: 0.9375rem;
}

.story-photo {
  width: 100%;
  height: 40vh;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 3px solid var(--cairo-red);
}

@media (min-width: 768px) {
  .story-photo {
    width: 50%;
    height: 55vh;
  }
}

.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.story-photo:hover img {
  transform: scale(1.03);
}

/* ============================================
   SIGNATURE DISH SECTION
   ============================================ */
.signature-section {
  padding: 4rem var(--section-padding);
  position: relative;
  background: var(--bg-warm);
}

.signature-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: var(--gradient-rainbow);
}

.signature-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .signature-container {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
}

.signature-photo {
  width: 100%;
  height: 40vh;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 3px solid var(--cairo-green);
  order: 2;
}

@media (min-width: 768px) {
  .signature-photo {
    width: 55%;
    height: 65vh;
    order: 1;
  }
}

.signature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.signature-photo:hover img {
  transform: scale(1.03);
}

.signature-panel {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--cairo-green);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  order: 1;
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .signature-panel {
    width: 35%;
    height: 65vh;
    justify-content: center;
    padding: 2rem;
    order: 2;
  }
}

.signature-icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  color: var(--cairo-green);
}

@media (min-width: 640px) {
  .signature-icon {
    width: 5rem;
    height: 5rem;
    margin-bottom: 1.5rem;
  }
}

.signature-icon svg {
  width: 100%;
  height: 100%;
}

.signature-name {
  font-size: 1.75rem;
  color: var(--cairo-burgundy);
  margin-bottom: 0.5rem;
}

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

@media (min-width: 768px) {
  .signature-name {
    font-size: 2.5rem;
  }
}

.signature-desc {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
}

/* ============================================
   ATMOSPHERE SECTION
   ============================================ */
.atmosphere-section {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .atmosphere-section {
    height: 100vh;
  }
}

.atmosphere-bg {
  position: absolute;
  inset: 0;
}

.atmosphere-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atmosphere-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 254, 248, 0.3) 0%, rgba(255, 254, 248, 0.8) 100%);
}

.atmosphere-card {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.95);
  border: 3px solid var(--cairo-blue);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 640px) {
  .atmosphere-card {
    padding: 2rem;
  }
}

@media (min-width: 768px) {
  .atmosphere-card {
    padding: 2.5rem;
    max-width: 520px;
  }
}

.atmosphere-title {
  font-size: 1.5rem;
  color: var(--cairo-burgundy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .atmosphere-title {
    font-size: 2rem;
  }
}

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

.atmosphere-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ============================================
   MENU PREVIEW SECTION
   ============================================ */
.menu-preview-section {
  padding: 4rem var(--section-padding);
  position: relative;
  background: var(--bg-secondary);
}

.menu-preview-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: var(--gradient-rainbow);
}

.menu-preview-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .menu-preview-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
  }
}

.menu-preview-title {
  font-size: 2rem;
  color: var(--cairo-burgundy);
}

@media (min-width: 640px) {
  .menu-preview-title {
    font-size: 2.5rem;
  }
}

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

.menu-preview-desc {
  color: var(--text-secondary);
  max-width: 320px;
  font-size: 0.9375rem;
}

/* Category Grid - Mobile First */
.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

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

@media (min-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.category-card {
  position: relative;
  height: 200px;
  overflow: hidden;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 3px solid transparent;
  transition: all var(--transition-base);
}

@media (min-width: 640px) {
  .category-card {
    height: 240px;
  }
}

@media (min-width: 768px) {
  .category-card {
    height: 280px;
  }
}

.category-card:hover {
  border-color: var(--cairo-gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 26, 74, 0.95) 0%, rgba(30, 26, 74, 0.5) 40%, transparent 100%);
  transition: background var(--transition-base);
}

.category-card:hover .category-card-overlay {
  background: linear-gradient(to top, rgba(30, 26, 74, 0.98) 0%, rgba(30, 26, 74, 0.6) 50%, transparent 100%);
}

.category-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
}

@media (min-width: 640px) {
  .category-card-content {
    padding: 1.25rem;
  }
}

.category-card-arabic {
  font-family: var(--font-barlow-condensed);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cairo-gold);
  margin-bottom: 0.25rem;
}

.category-card-name {
  font-family: var(--font-cinzel);
  font-size: 1.125rem;
  color: #fff;
}

@media (min-width: 640px) {
  .category-card-name {
    font-size: 1.25rem;
  }
}

/* Featured Items Grid */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

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

@media (min-width: 768px) {
  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.featured-card {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--cairo-gold);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all var(--transition-base);
}

.featured-card:hover {
  border-color: var(--cairo-red);
  box-shadow: var(--shadow-red);
  transform: translateY(-4px);
}

.featured-name {
  font-family: var(--font-cinzel);
  font-size: 1.125rem;
  color: var(--cairo-burgundy);
  margin-bottom: 0.375rem;
}

.featured-desc {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.featured-price {
  font-family: var(--font-cinzel);
  font-size: 1rem;
  color: var(--cairo-red);
}

.menu-preview-cta {
  text-align: center;
}

/* ============================================
   FULL BLEED SECTIONS
   ============================================ */
.fullbleed-section {
  position: relative;
  height: 70vh;
  min-height: 450px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

@media (min-width: 768px) {
  .fullbleed-section {
    height: 100vh;
    min-height: 600px;
  }
}

.fullbleed-bg {
  position: absolute;
  inset: 0;
}

.fullbleed-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fullbleed-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 254, 248, 0.2) 0%, rgba(255, 254, 248, 0.7) 100%);
}

.fullbleed-content {
  position: relative;
  z-index: 1;
  margin: 0 var(--section-padding) 8vh;
  width: 90%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
}

.fullbleed-content.red { border: 3px solid var(--cairo-red); }
.fullbleed-content.blue { border: 3px solid var(--cairo-blue); }
.fullbleed-content.green { border: 3px solid var(--cairo-green); }

@media (min-width: 640px) {
  .fullbleed-content {
    padding: 1.5rem;
    margin-bottom: 12vh;
  }
}

@media (min-width: 768px) {
  .fullbleed-content {
    width: 38%;
    max-width: 460px;
    padding: 2rem;
    margin-bottom: 15vh;
  }
}

.fullbleed-content.right {
  margin-left: auto;
}

.fullbleed-content.center {
  margin-left: auto;
  margin-right: auto;
  align-self: flex-start;
  margin-top: 12vh;
  text-align: center;
}

@media (min-width: 768px) {
  .fullbleed-content.center {
    margin-top: 15vh;
  }
}

.fullbleed-title {
  font-size: 1.5rem;
  color: var(--cairo-burgundy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .fullbleed-title {
    font-size: 1.875rem;
  }
}

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

.fullbleed-subtitle {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
  padding: 4rem var(--section-padding);
  position: relative;
  background: var(--bg-cream);
  background-color: darkred !important;
}

.gallery-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: var(--gradient-rainbow);
}

.gallery-header {
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-title {
  font-size: 2rem;
  color: var(--cairo-burgundy);
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .gallery-title {
    font-size: 2.5rem;
  }
}

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

.gallery-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 480px) {
  .gallery-grid {
    gap: 0.75rem;
  }
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all var(--transition-base);
}

.gallery-item:hover {
  border-color: var(--cairo-gold);
  box-shadow: var(--shadow-gold);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

@media (min-width: 640px) {
  .gallery-item {
    border-radius: var(--radius-md);
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 26, 74, 0);
  transition: background var(--transition-base);
  border-radius: inherit;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(30, 26, 74, 0.2);
}

.gallery-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(30, 26, 74, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 95%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--cairo-gold);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--cairo-red);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.lightbox-close:hover {
  background: var(--cairo-red-light);
  transform: scale(1.1);
}

.lightbox-close svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ============================================
   CONTACT / FOOTER SECTION
   ============================================ */
.contact-section {
  padding: 4rem var(--section-padding);
  background: var(--bg-warm);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: var(--gradient-rainbow);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.contact-title {
  font-size: 1.75rem;
  color: var(--cairo-burgundy);
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .contact-title {
    font-size: 2rem;
  }
}

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

.contact-desc {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 0.875rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

@media (min-width: 480px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-row.three-col {
    grid-template-columns: repeat(3, 1fr);
  }
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--radius-sm);
  color: var(--cairo-burgundy);
  font-family: var(--font-barlow);
  font-size: 0.875rem;
  transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--cairo-gold);
  box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

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

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.contact-info-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--cairo-red);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.contact-info-title {
  font-family: var(--font-cinzel);
  font-size: 0.875rem;
  color: var(--cairo-burgundy);
  margin-bottom: 0.25rem;
}

.contact-info-text {
  color: var(--text-secondary);
  line-height: 1.5;
  font-size: 0.875rem;
}

/* Map */
.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--cairo-gold);
  height: 200px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .contact-map {
    height: 220px;
  }
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cairo-burgundy);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: var(--shadow-gold);
}

.social-link svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem var(--section-padding);
  background: var(--bg-primary);
  border-top: 2px solid var(--cairo-gold);
  text-align: center;
}

.footer-logo {
  font-family: var(--font-cinzel);
  font-size: 1.5rem;
  color: var(--cairo-burgundy);
  margin-bottom: 0.5rem;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

/* ============================================
   PAGE HEADER (for inner pages)
   ============================================ */
.page-header {
  /* padding: calc(var(--header-height) + 2rem) var(--section-padding) 2rem; */
  background: var(--gradient-hero);
}

.page-title {
  font-size: 2rem;
  color: var(--cairo-burgundy);
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .page-title {
    font-size: 2.5rem;
  }
}

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

.page-subtitle {
  color: var(--text-secondary);
  max-width: 500px;
  font-size: 0.9375rem;
}

/* ============================================
   MENU CATEGORIES PAGE
   ============================================ */
.menu-categories {
  padding: 0 var(--section-padding) 4rem;
  background: var(--gradient-hero);
  min-height: 100vh;
}

.menu-categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

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

@media (min-width: 768px) {
  .menu-categories-grid {
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .menu-categories-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* ============================================
   SUBCATEGORIES PAGE - VIBRANT GRID
   ============================================ */
.subcategories {
  padding: 0 var(--section-padding) 4rem;
  background: var(--gradient-hero);
  min-height: 100vh;
}

/* SUBCATEGORIES GRID - KEY REQUIREMENT */
/* Mobile: 2 columns minimum (320px+) */
.subcategories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Small tablets: 2 columns with larger gap */
@media (min-width: 480px) {
  .subcategories-grid {
    gap: 1rem;
  }
}

/* Tablets: 2 columns */
@media (min-width: 640px) {
  .subcategories-grid {
    gap: 1.25rem;
  }
}

/* Large tablets: 3 columns */
@media (min-width: 768px) {
  .subcategories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop: 3-4 columns */
@media (min-width: 1024px) {
  .subcategories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Large desktop: 4 columns */
@media (min-width: 1280px) {
  .subcategories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Subcategory Card - Vibrant Modern with Background Images */
.subcategory-card {
  background: rgba(255, 255, 255, 0.95);
  border: 3px solid var(--cairo-gold);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 140px;
}

/* Category-specific background images for subcategory cards */
.subcategory-card.food-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 100%),
              url('../images/bg-food.jpg');
  background-size: cover;
  background-position: center;
}

.subcategory-card.drink-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 100%),
              url('../images/bg-drink.jpg');
  background-size: cover;
  background-position: center;
}

.subcategory-card.dessert-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 100%),
              url('../images/bg-dessert.jpg');
  background-size: cover;
  background-position: center;
}

.subcategory-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-rainbow);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.subcategory-card:hover {
  border-color: var(--cairo-red);
  box-shadow: var(--shadow-red);
  transform: translateY(-8px);
}

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

@media (min-width: 640px) {
  .subcategory-card {
    padding: 1.5rem;
    min-height: 160px;
  }
}

.subcategory-name {
  font-family: var(--font-cinzel);
  font-size: 1.25rem;
  color: var(--cairo-burgundy);
  margin-bottom: 0.25rem;
  transition: color var(--transition-base);
}

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

.subcategory-card:hover .subcategory-name {
  color: var(--cairo-red);
}

.subcategory-arabic {
  font-family: var(--font-barlow-condensed);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cairo-gold);
  margin-bottom: 0.875rem;
}

.subcategory-count {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-bottom: 1rem;
}

.subcategory-arrow {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--cairo-red);
  opacity: 0;
  transition: all var(--transition-base);
  margin-top: auto;
  transform: translateX(-8px);
}

.subcategory-card:hover .subcategory-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   MENU ITEMS PAGE
   ============================================ */
.menu-items {
  padding: 0 var(--section-padding) 4rem;
  background: var(--gradient-hero);
  min-height: 100vh;
}

/* MENU ITEMS GRID - Mobile: 2 columns minimum (320px+) */
.menu-items-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Small tablets: 2 columns with larger gap */
@media (min-width: 480px) {
  .menu-items-list {
    gap: 1rem;
  }
}

/* Tablets: 3 columns */
@media (min-width: 768px) {
  .menu-items-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

/* Desktop: 3-4 columns */
@media (min-width: 1024px) {
  .menu-items-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Large desktop: 4 columns */
@media (min-width: 1280px) {
  .menu-items-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.menu-item {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--cairo-gold);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* Category-specific background images for menu items */
.menu-item.food-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 100%),
              url('../images/bg-food.jpg');
  background-size: cover;
  background-position: center;
}

.menu-item.drink-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 100%),
              url('../images/bg-drink.jpg');
  background-size: cover;
  background-position: center;
}

.menu-item.dessert-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 100%),
              url('../images/bg-dessert.jpg');
  background-size: cover;
  background-position: center;
}

.menu-item:hover {
  border-color: var(--cairo-green);
  box-shadow: 0 4px 20px rgba(0, 155, 110, 0.2);
  transform: translateY(-4px);
}

@media (min-width: 640px) {
  .menu-item {
    padding: 1.25rem;
  }
}

.menu-item-info {
  flex: 1;
}

.menu-item-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.375rem;
  flex-wrap: wrap;
}

.menu-item-name {
  font-family: var(--font-cinzel);
  font-size: 1.0625rem;
  color: var(--cairo-burgundy);
}

.menu-item-arabic {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.menu-item-desc {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

.menu-item-price {
  text-align: left;
}

@media (min-width: 640px) {
  .menu-item-price {
    text-align: right;
  }
}

.menu-item-amount {
  font-family: var(--font-cinzel);
  font-size: 1.375rem;
  color: var(--cairo-green);
}

.menu-item-currency {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-left: 0.25rem;
}

/* ============================================
   RATE US PAGE
   ============================================ */
.rate-section {
  padding: calc(var(--header-height) + 2rem) var(--section-padding) 4rem;
  background: var(--gradient-hero);
  min-height: 100vh;
}

.rate-container {
  max-width: 520px;
  margin: 0 auto;
}

.rate-card {
  background: rgba(255, 255, 255, 0.95);
  border: 3px solid var(--cairo-gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

@media (min-width: 640px) {
  .rate-card {
    padding: 2.5rem;
  }
}

.rate-title {
  font-size: 1.75rem;
  color: var(--cairo-burgundy);
  margin-bottom: 0.5rem;
  text-align: center;
}

@media (min-width: 640px) {
  .rate-title {
    font-size: 2.25rem;
  }
}

.rate-subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 1.75rem;
  font-size: 0.9375rem;
}

/* Star Rating */
.star-rating {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 480px) {
  .star-rating {
    gap: 0.75rem;
  }
}

.star-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-muted);
}

.star-btn:hover {
  transform: scale(1.15);
}

.star-btn svg {
  width: 2rem;
  height: 2rem;
  transition: all var(--transition-fast);
}

@media (min-width: 480px) {
  .star-btn svg {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.star-btn.active {
  color: var(--cairo-gold);
}

.star-btn.active svg {
  fill: var(--cairo-gold);
  filter: drop-shadow(0 0 8px var(--accent-glow-gold));
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-slide-left {
  animation: slideInLeft 0.6s ease forwards;
}

.animate-slide-right {
  animation: slideInRight 0.6s ease forwards;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.5s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   SCROLLBAR STYLES
   ============================================ */
::-webkit-scrollbar {
  width: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--cairo-gold-dark);
  border-radius: 3px;
}

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

/* Selection */
::selection {
  background: rgba(255, 215, 0, 0.3);
  color: var(--cairo-burgundy);
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
  position: fixed;
  top: calc(var(--header-height) + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid var(--cairo-gold);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.5rem;
  z-index: 3000;
  opacity: 0;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
  max-width: 90vw;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast.success {
  border-color: var(--cairo-green);
}

.toast.error {
  border-color: var(--cairo-red);
}

.toast-message {
  color: var(--cairo-burgundy);
  font-size: 0.875rem;
}
