/* =====================================================
   COFFEE HUB - Premium Café Website
   Design System - GLASSMORPHISM CREAM/BROWN/GOLD
   ===================================================== */

/* ==================== CSS RESET ==================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--color-bg-cream);
  color: var(--color-text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul,
ol {
  list-style: none;
}

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

/* ==================== CSS VARIABLES - CREAM/BROWN/GOLD ==================== */
:root {
  /* Cream & Beige Background Palette - Slightly Darker */
  --color-bg-cream: #ebe5db;
  --color-bg-light: #f5f0e8;
  --color-bg-warm: #e3dbd0;
  --color-bg-card: rgba(255, 255, 255, 0.75);
  --color-bg-glass: rgba(255, 255, 255, 0.4);
  --color-bg-dark: #1a1410;

  /* Brown & Coffee Tones */
  --color-brown-dark: #2c1f15;
  --color-brown-medium: #4a3728;
  --color-brown-light: #6b5344;
  --color-brown-soft: #8b7355;

  /* Gold & Copper Accents */
  --color-gold: #b8860b;
  --color-gold-light: #d4a855;
  --color-gold-dark: #8b6914;
  --color-copper: #b87333;

  /* Text Colors */
  --color-text-dark: #1a1410;
  --color-text-brown: #2d2015;
  --color-text-muted: #594a3d;
  --color-text-light: #faf7f2;
  --color-text-gold: #b8860b;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px rgba(44, 31, 21, 0.1);

  /* Premium Gradients */
  --gradient-gold: linear-gradient(135deg, #b8860b 0%, #d4a855 50%, #b8860b 100%);
  --gradient-gold-shimmer: linear-gradient(90deg, #b8860b 0%, #d4a855 50%, #b8860b 100%);
  --gradient-brown: linear-gradient(135deg, #2c1f15 0%, #4a3728 100%);
  --gradient-cream: linear-gradient(180deg, #faf7f2 0%, #f5f0e8 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);

  /* Typography */
  --font-heading: 'Outfit', 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;

  /* Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.25rem;

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

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(44, 31, 21, 0.08);
  --shadow-md: 0 4px 16px rgba(44, 31, 21, 0.1);
  --shadow-lg: 0 8px 32px rgba(44, 31, 21, 0.12);
  --shadow-xl: 0 16px 48px rgba(44, 31, 21, 0.15);
  --shadow-gold: 0 4px 20px rgba(184, 134, 11, 0.25);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-Index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;

  /* Container */
  --container-max: 1200px;
  --container-padding: clamp(1rem, 5vw, 2rem);
}

/* ==================== TYPOGRAPHY ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text-dark);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, var(--text-5xl));
  font-weight: 400;
}

h2 {
  font-size: clamp(1.75rem, 4vw, var(--text-4xl));
}

h3 {
  font-size: clamp(1.25rem, 3vw, var(--text-2xl));
}

p {
  color: var(--color-text-muted);
  line-height: 1.8;
}

.text-gold {
  color: var(--color-gold);
}

.text-brown {
  color: var(--color-text-brown);
}

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

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--gradient-brown);
  color: var(--color-text-light);
  border: none;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--color-brown-dark);
  border: 2px solid var(--color-brown-dark);
}

.btn-secondary:hover {
  background: var(--color-brown-dark);
  color: var(--color-text-light);
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--color-text-dark);
  border: none;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(184, 134, 11, 0.35);
}

.btn-lg {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-base);
}

.btn-sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: var(--space-5) 0;
  background: transparent;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  padding: var(--space-4) 0;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(44, 31, 21, 0.1);
  box-shadow: var(--shadow-sm);
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.navbar-logo img {
  height: 48px;
  width: auto;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-gold);
  box-shadow: var(--shadow-gold);
}

.navbar-logo span {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text-dark);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.navbar-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-brown);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding: var(--space-2) 0;
}

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

.navbar-link:hover,
.navbar-link.active {
  color: var(--color-gold);
}

.navbar-link:hover::after,
.navbar-link.active::after {
  width: 100%;
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

.navbar-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-brown-dark);
  transition: all var(--transition-base);
}

/* ==================== HERO SECTION ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-cream);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(0.8);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(26, 20, 16, 0.85) 0%,
      rgba(26, 20, 16, 0.7) 40%,
      rgba(44, 31, 21, 0.8) 70%,
      rgba(26, 20, 16, 0.95) 100%);
}

.hero-content {
  text-align: center;
  padding: var(--space-20) var(--container-padding);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.hero-tagline {
  font-family: var(--font-accent);
  font-size: var(--text-lg);
  color: var(--color-gold-light);
  margin-bottom: var(--space-4);
  font-style: italic;
  letter-spacing: 0.1em;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 500;
  margin-bottom: var(--space-6);
  color: #ffffff;
  line-height: 1.1;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title span {
  color: var(--color-gold);
  display: block;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-8);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

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

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

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

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 0;
  animation: fadeIn 1s ease 1.2s forwards;
}

.scroll-indicator::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  margin: 0 auto;
  animation: scrollPulse 1.5s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ==================== PAGE HERO ==================== */
.page-hero {
  position: relative;
  padding: calc(100px + var(--space-16)) 0 var(--space-16);
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-hero .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(44, 31, 21, 0.4) 0%,
      rgba(44, 31, 21, 0.6) 60%,
      rgba(245, 240, 232, 1) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .section-tagline {
  color: var(--color-gold-light);
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.1s forwards;
}

.page-hero .section-title {
  color: var(--color-text-light);
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.2s forwards;
}

.page-hero .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.3s forwards;
}

/* ==================== SECTION STYLES ==================== */
.section {
  padding: var(--space-20) 0;
  position: relative;
}

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

.section-tagline {
  font-family: var(--font-accent);
  font-size: var(--text-base);
  color: var(--color-gold);
  margin-bottom: var(--space-2);
  font-style: italic;
  letter-spacing: 0.1em;
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, var(--text-3xl));
  margin-bottom: var(--space-4);
  font-weight: 500;
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ==================== GLASSMORPHISM CARDS ==================== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Navbar Link Visibility Fix */
.navbar-link {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.navbar-logo span {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.navbar-toggle span {
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Scrolled state can revert to dark if background becomes white */
.navbar.scrolled .navbar-link {
  color: var(--color-text-brown);
  text-shadow: none;
}

.navbar.scrolled .navbar-logo span {
  color: var(--color-text-dark);
  text-shadow: none;
}

.navbar.scrolled .navbar-toggle span {
  background: var(--color-brown-dark);
  box-shadow: none;
}

/* ==================== FLOATING ACTIONS ==================== */
.floating-actions {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  z-index: 1200;
  /* Higher than fixed menu sidebar */
  align-items: flex-end;
  pointer-events: none;
}

/* Specific offset for menu page to clear category bar */
.menu-page .floating-actions {
  bottom: calc(var(--space-8) + 80px);
  /* Move higher on menu page */
}

.floating-btn,
.floating-btn-order {
  pointer-events: auto;
  position: static;
  margin: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.floating-btn-order {
  background: var(--color-gold);
  color: var(--color-brown-dark);
  border: 2px solid var(--color-brown-dark);
  width: auto;
  padding: 0 var(--space-6);
  height: 54px;
  gap: var(--space-2);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  min-width: 140px;
}

.floating-btn-order:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  background: var(--color-brown-dark);
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.floating-btn-order span {
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  font-size: var(--text-base);
}

.floating-btn-top {
  background: var(--color-brown-dark);
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.floating-btn-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ==================== MENU PAGE - SIDEBAR LAYOUT ==================== */
.menu-page {
  background: var(--color-bg-cream);
  min-height: 100vh;
}

.menu-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-8);
  padding: var(--space-8) 0;
}

/* Sidebar */
.menu-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.menu-sidebar-inner {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: var(--space-6);
  overflow: hidden;
}

.filter-btn {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  background: transparent;
  color: var(--color-text-brown);
  border: none;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-base);
  margin-bottom: var(--space-2);
}

.filter-btn:hover {
  background: rgba(184, 134, 11, 0.1);
  color: var(--color-gold);
}

.filter-btn.active {
  background: var(--gradient-brown);
  color: var(--color-text-light);
  box-shadow: var(--shadow-md);
}

/* Menu Content */
.menu-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  align-content: start;
}

/* Menu Item Card */
.menu-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184, 134, 11, 0.3);
}

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

.menu-card-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text-dark);
}

.menu-card-price {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-gold);
}

.menu-card-description {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.menu-card-sizes {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(44, 31, 21, 0.1);
  display: flex;
  gap: var(--space-4);
}

.menu-card-size {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.menu-card-size span {
  color: var(--color-gold);
  font-weight: 600;
}

/* Menu Loading & Error States */
.menu-loading,
.menu-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-16) var(--space-8);
  color: var(--color-text-muted);
}

.menu-loading p {
  font-size: var(--text-lg);
  color: var(--color-brown);
}

.menu-loading p::after {
  content: '';
  animation: loadingDots 1.5s infinite;
}

@keyframes loadingDots {

  0%,
  20% {
    content: '';
  }

  40% {
    content: '.';
  }

  60% {
    content: '..';
  }

  80%,
  100% {
    content: '...';
  }
}

.menu-error p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

/* Category Section */
.menu-category-section {
  grid-column: 1 / -1;
  margin-top: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--color-gold);
}

.menu-category-section:first-child {
  margin-top: 0;
}

.menu-category-section h3 {
  font-size: var(--text-xl);
  color: var(--color-text-dark);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.menu-category-section h3 svg {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
}

/* ==================== FEATURED/CARDS GRID ==================== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

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

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

.card-content {
  padding: var(--space-6);
}

.card-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  color: var(--color-text-dark);
}

.card-description {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.card-price {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-gold);
  font-weight: 600;
}

/* ==================== GALLERY ==================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

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

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 31, 21, 0.5), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: var(--space-8);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-gold);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-4);
  color: var(--color-gold);
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testimonial-text {
  font-size: var(--text-base);
  font-style: italic;
  color: var(--color-text-brown);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-gold);
}

.testimonial-name {
  font-weight: 600;
  color: var(--color-text-dark);
}

.testimonial-role {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
  background: var(--gradient-brown);
  padding: var(--space-20) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.2) 0%, transparent 70%);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-title {
  color: var(--color-text-light);
  margin-bottom: var(--space-4);
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-8);
}

.cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--color-brown-dark);
  padding: var(--space-16) 0 var(--space-8);
  color: var(--color-text-light);
}

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

.footer-brand img {
  height: 60px;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-full);
  border: 2px solid var(--color-gold);
}

.footer-tagline {
  font-family: var(--font-accent);
  color: var(--color-gold);
  font-style: italic;
  margin-bottom: var(--space-3);
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  line-height: 1.8;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  transition: all var(--transition-base);
}

.footer-link:hover {
  color: var(--color-gold);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--color-gold);
  color: var(--color-brown-dark);
}

.footer-bottom {
  padding-top: var(--space-8);
  margin-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.footer-developer {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-developer img {
  height: 24px;
  width: auto;
}

.footer-developer a {
  color: var(--color-gold);
}

/* ==================== ABOUT PAGE ==================== */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.about-section:nth-child(even) {
  direction: rtl;
}

.about-section:nth-child(even)>* {
  direction: ltr;
}

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

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.about-content p {
  margin-bottom: var(--space-4);
  line-height: 1.9;
}

/* ==================== CONTACT PAGE ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-10);
}

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

.contact-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-gold);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  color: var(--color-brown-dark);
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
}

.contact-card-title {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-brown-dark);
}

.contact-card-text {
  color: var(--color-text-brown);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.contact-card-text a {
  color: var(--color-brown-dark);
  font-weight: 500;
}

.contact-card-text a:hover {
  color: var(--color-gold);
}

.contact-form {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-4);
  background: var(--color-bg-light);
  border: 1px solid rgba(44, 31, 21, 0.15);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 15px rgba(184, 134, 11, 0.15);
}

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

.map-container {
  margin-top: var(--space-12);
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 400px;
  box-shadow: var(--shadow-lg);
}

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

/* ==================== ANIMATIONS ==================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .menu-layout {
    grid-template-columns: 1fr;
  }

  .menu-sidebar {
    position: relative;
    top: 0;
  }

  .menu-sidebar-inner {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    padding: var(--space-4);
  }

  .filter-btn {
    width: auto;
    margin-bottom: 0;
    padding: var(--space-3) var(--space-5);
  }

  .menu-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .about-section:nth-child(even) {
    direction: ltr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg-light);
    flex-direction: column;
    padding: var(--space-6);
    gap: var(--space-4);
    box-shadow: var(--shadow-lg);
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-cta {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .menu-content {
    grid-template-columns: 1fr;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: var(--space-12) 0;
  }

  .menu-sidebar-inner {
    flex-direction: column;
  }

  .filter-btn {
    width: 100%;
  }
}

/* ==================== HERO LOGO ==================== */
.hero-logo {
  width: 150px;
  height: 150px;
  margin: 0 auto var(--space-6);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 4px solid var(--color-gold);
  box-shadow: 0 10px 40px rgba(184, 134, 11, 0.3);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0s forwards;
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== SHARE CARDS ==================== */
.share-cards {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

.share-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  font-size: var(--text-sm);
  color: var(--color-text-brown);
  transition: all var(--transition-base);
}

.share-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold);
}

.share-card img {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
}

.share-card svg {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
}

/* ==================== FOOTER DEVELOPER ==================== */
.footer-developer {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-developer span {
  color: rgba(255, 255, 255, 0.5);
}

.footer-developer a {
  display: flex;
  align-items: center;
  color: var(--color-gold);
  transition: all var(--transition-base);
}

.footer-developer a:hover {
  color: var(--color-gold-light);
}

.footer-developer img {
  height: 28px;
  width: auto;
  margin-left: var(--space-2);
}

/* ==================== FLOATING DYNAMIC ISLAND - MENU CATEGORIES ==================== */
@media (max-width: 768px) {
  .menu-sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    top: auto;
    padding: 0;
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  .menu-sidebar-inner {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: rgba(26, 20, 16, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  }

  .menu-sidebar-inner::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
    width: auto;
    white-space: nowrap;
    padding: var(--space-2) var(--space-4);
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
  }

  .filter-btn:hover {
    background: rgba(184, 134, 11, 0.2);
    color: var(--color-gold-light);
  }

  .filter-btn.active {
    background: var(--color-gold);
    color: var(--color-bg-dark);
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.5);
  }

  .menu-layout {
    grid-template-columns: 1fr;
    padding-bottom: 120px;
    gap: var(--space-4);
  }

  .menu-content {
    gap: var(--space-4);
  }

  .menu-card {
    padding: var(--space-5);
  }

  .menu-category-section {
    margin-top: var(--space-4);
    padding-bottom: var(--space-3);
    scroll-margin-top: 100px;
  }

  .menu-category-section h3 {
    font-size: var(--text-lg);
  }
}


/* Mobile floating actions adjust for dynamic island */
@media (max-width: 768px) {
  .floating-actions {
    right: 16px;
    bottom: 24px;
  }

  /* Increase offset even more for menu page on narrow screens */
  .menu-page .floating-actions {
    bottom: 140px;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }
}

/* ==================== FOOTER MOBILE ALIGNMENT ==================== */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-8);
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand img {
    margin: 0 auto var(--space-4);
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }

  .footer-contact-item {
    justify-content: center;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
    padding-top: var(--space-6);
  }

  .footer-developer {
    justify-content: center;
  }

  .footer-developer img {
    height: 24px;
  }
}

/* ==================== IMPROVED VISIBILITY - DARK THEME ==================== */
.menu-card-description,
.card-description,
.contact-card-text {
  color: var(--color-text-brown);
}

.section-subtitle {
  color: var(--color-text-brown);
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
}

p {
  color: var(--color-text-brown);
}

/* Social icons on light backgrounds (contact cards) */
.contact-card .footer-social,
.social-links {
  margin-top: var(--space-4);
}

.contact-card .footer-social a,
.social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-brown-dark);
  border-radius: var(--radius-md);
  color: #ffffff;
  transition: all var(--transition-base);
}

.contact-card .footer-social a:hover,
.social-link:hover {
  background: var(--color-gold);
  color: var(--color-brown-dark);
  transform: translateY(-2px);
}

.contact-card .footer-social a svg,
.social-link svg {
  width: 18px;
  height: 18px;
}

/* ==================== ALIGNMENT FIXES ==================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-20) 0;
  position: relative;
}

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

/* ==================== DARK ACCENTED SECTIONS ==================== */
.section-dark {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
}

.section-dark .section-title {
  color: #ffffff;
}

.section-dark .section-tagline {
  color: var(--color-gold-light);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.8);
}

/* Hero Logo Improvements */
.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-5);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 3px solid var(--color-gold);
  box-shadow: 0 8px 30px rgba(184, 134, 11, 0.4);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0s forwards;
  background: rgba(0, 0, 0, 0.3);
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

/* Share Cards Dark Theme */
.share-cards {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-6);
  opacity: 0;
  animation: fadeInUp 0.8s ease 1s forwards;
}

.share-card {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.9);
  transition: all var(--transition-base);
}

.share-card:hover {
  transform: translateY(-2px);
  background: rgba(184, 134, 11, 0.2);
  border-color: var(--color-gold);
  color: var(--color-gold-light);
}

.share-card svg {
  width: 18px;
  height: 18px;
  fill: var(--color-gold);
}

/* Button Improvements for Dark Hero */
.hero-buttons .btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* Mobile Hero Adjustments */
@media (max-width: 768px) {
  .hero-content {
    padding: var(--space-16) var(--space-6);
  }

  .hero-logo {
    width: 100px;
    height: 100px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-subtitle {
    font-size: var(--text-base);
  }

  .share-cards {
    flex-direction: column;
    align-items: center;
  }

  .share-card {
    width: 100%;
    max-width: 220px;
    justify-content: center;
  }
}

/* ==================== SMOOTH SCROLL FOR MENU CATEGORIES ==================== */
.menu-category-section {
  scroll-margin-top: 100px;
}

/* ==================== SIPO STATUS STRIP ==================== */
.status-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 8px 0;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background var(--transition-base), color var(--transition-base);
  text-align: center;
}

.status-strip.open {
  background: linear-gradient(135deg, #064e3b, #065f46);
  color: #d1fae5;
}

.status-strip.closed {
  background: linear-gradient(135deg, #7f1d1d, #991b1b);
  color: #fecaca;
}

.status-strip.error {
  background: linear-gradient(135deg, #78350f, #92400e);
  color: #fef3c7;
}

.status-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.status-strip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.status-strip-text {
  font-size: 0.8rem;
  line-height: 1.3;
}

.countdown-timer {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Push navbar down when strip is present */
body.has-status-strip .navbar {
  top: var(--strip-height, 36px);
}

body.has-status-strip .hero,
body.has-status-strip .page-hero {
  padding-top: var(--strip-height, 36px);
}

/* ==================== SIPO MODALS ==================== */
.sipo-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(26, 20, 16, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.sipo-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sipo-modal {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(184, 134, 11, 0.2);
  border-radius: var(--radius-2xl);
  box-shadow: 0 24px 80px rgba(44, 31, 21, 0.3);
  padding: var(--space-10);
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: var(--color-text-dark);
}

.sipo-modal-overlay.active .sipo-modal {
  transform: translateY(0) scale(1);
}

.sipo-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(44, 31, 21, 0.08);
  border: none;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  line-height: 1;
}

.sipo-modal-close:hover {
  background: rgba(44, 31, 21, 0.15);
  color: var(--color-text-dark);
}

.sipo-modal-icon {
  margin-bottom: var(--space-4);
}

.sipo-modal-title {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-text-dark);
}

.sipo-modal-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.sipo-modal-btn {
  width: 100%;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.sipo-modal-btn.btn-primary {
  background: var(--gradient-brown);
  color: var(--color-text-light);
  border: none;
}

.sipo-modal-btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ==================== FOOTER HOURS (from API) ==================== */
#footer-hours {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--text-sm);
}

#footer-hours li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 4px 0;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
}

#footer-hours li:last-child {
  border-bottom: none;
}

#footer-hours li .day {
  font-weight: 500;
  min-width: 36px;
  color: rgba(255, 255, 255, 0.9);
}

#footer-hours li .time {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

#footer-hours li .closed-day {
  color: #ef4444;
  font-style: italic;
}

#footer-hours li.today {
  color: var(--color-gold);
  font-weight: 600;
}

#footer-hours li.today .day {
  color: var(--color-gold);
}

/* ==================== CONTACT HOURS TABLE ==================== */
#contact-hours-table {
  font-size: var(--text-sm);
}

#contact-hours-table .hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(44, 31, 21, 0.08);
  color: var(--color-text-muted);
}

#contact-hours-table .hours-row:last-child {
  border-bottom: none;
}

#contact-hours-table .hours-row .day {
  font-weight: 500;
  color: var(--color-text-dark);
}

#contact-hours-table .hours-row .time {
  text-align: right;
}

#contact-hours-table .hours-row .closed-day {
  color: #ef4444;
  font-style: italic;
}

#contact-hours-table .hours-row.today {
  background: rgba(184, 134, 11, 0.08);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin: 0 -12px;
}

#contact-hours-table .hours-row.today .day {
  color: var(--color-gold);
  font-weight: 600;
}

/* ==================== GOOGLE RATING BADGE ==================== */
.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all var(--transition-base);
  flex-wrap: wrap;
  justify-content: center;
}

.google-rating-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.rating-stars {
  color: #facc15;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.rating-num {
  font-weight: 700;
  color: #fff;
}

.rating-label {
  font-size: 0.7rem;
  opacity: 0.7;
}

/* Hero rating variant (on light bg) */
#hero-rating .google-rating-badge {
  background: rgba(44, 31, 21, 0.6);
  border-color: rgba(184, 134, 11, 0.3);
}

/* ==================== DYNAMIC MENU CARDS (API) ==================== */
.menu-tab {
  padding: var(--space-3) var(--space-6);
  background: transparent;
  border: 1px solid rgba(44, 31, 21, 0.15);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
}

.menu-tab:hover {
  background: rgba(184, 134, 11, 0.1);
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.menu-tab.active {
  background: var(--gradient-brown);
  color: var(--color-text-light);
  border-color: transparent;
}

#api-menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  justify-content: center;
}

#api-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.menu-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.menu-card-img {
  height: 200px;
  overflow: hidden;
}

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

.menu-card:hover .menu-card-img img {
  transform: scale(1.05);
}

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

.menu-card-body h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text-dark);
}

.menu-card-body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-card-footer .price {
  font-weight: 700;
  color: var(--color-gold);
  font-size: var(--text-base);
}

.menu-card-footer .order-link {
  color: var(--color-gold);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.menu-card-footer .order-link:hover {
  color: var(--color-gold-dark);
}

/* ==================== ORDERING DISABLED STATE ==================== */
body.ordering-disabled [data-order-url],
body.ordering-disabled .nav-order-btn,
body.ordering-disabled .floating-order,
body.ordering-disabled .order-link,
body.ordering-disabled .floating-btn-order {
  opacity: 0.4;
  pointer-events: none;
  filter: grayscale(0.5);
}

/* ==================== DYNAMIC POPULAR ITEM CARDS ==================== */
.item-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.item-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.item-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

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

.item-card-img .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gradient-gold);
  color: var(--color-text-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(184, 134, 11, 0.3);
}

.item-card-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.item-card-body h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text-dark);
}

.item-card-body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-card-body .price {
  font-weight: 700;
  color: var(--color-gold);
  font-size: var(--text-base);
}

.item-card-footer .order-link {
  text-decoration: none;
  transition: color var(--transition-fast);
}

.item-card-footer .order-link:hover {
  color: var(--color-gold-dark) !important;
}