/* ===========================
   CAFE ROYAL · Design System
   Modern & Warm Cafe Theme
   =========================== */

/* Twemoji emoji images */
img.emoji {
  height: 1.2em;
  width: 1.2em;
  margin: 0 0.05em;
  vertical-align: -0.15em;
  display: inline-block;
}

/* ---------- CSS Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Primary: deep maroon/burgundy from signage banner */
  --primary: #7a1a3a;
  --primary-dark: #5c1028;
  --primary-light: #a03050;

  /* Accent: cream/gold from signage text & logo */
  --accent: #d4a56a;
  --accent-light: #e8c9a0;

  /* Hot pink: storefront exterior */
  --pink: #d64070;
  --pink-light: #e86090;

  /* Neutrals */
  --dark: #2a0f18;
  --dark-mid: #3d1825;
  --cream: #fdf6ee;
  --cream-mid: #f3e6d4;
  --text: #3a1820;
  --text-light: #7a5050;
  --white: #ffffff;

  /* Effects */
  --shadow: 0 4px 24px rgba(42, 15, 24, 0.10);
  --shadow-lg: 0 12px 48px rgba(42, 15, 24, 0.16);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Gradient: maroon to gold, like the signage */
  --gradient: linear-gradient(135deg, var(--primary), var(--pink));
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4, .price { font-family: 'Playfair Display', serif; }

h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header { text-align: center; margin-bottom: 48px; }
.section-header p { color: var(--text-light); margin-top: 8px; font-size: 1.05rem; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: 'Poppins', sans-serif;
}
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(122, 26, 58, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(122, 26, 58, 0.45); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-icon { font-size: 3.5rem; display: block; animation: preloaderBounce 1s ease-in-out infinite; }
.preloader-icon-img { width: 80px; height: auto; display: block; margin: 0 auto; animation: preloaderBounce 1s ease-in-out infinite; }
.preloader-text { color: var(--accent); font-family: 'Playfair Display', serif; font-size: 1.6rem; margin-top: 12px; }

@keyframes preloaderBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* ---------- Promo Banner ---------- */
.promo-banner {
  background: var(--gradient);
  color: var(--white);
  text-align: center;
  padding: 10px 48px 10px 16px;
  font-size: 0.85rem;
  position: relative;
  z-index: 1001;
}
.promo-banner.hidden { display: none; }
.promo-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--white); font-size: 1.3rem; cursor: pointer;
  opacity: 0.8;
}
.promo-close:hover { opacity: 1; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}
.navbar.has-banner { top: 40px; }
.navbar.scrolled {
  background: rgba(253, 248, 240, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  padding: 10px 0;
}
.navbar.scrolled .nav-link { color: var(--text); }
.navbar.scrolled .nav-logo .logo-text { color: var(--primary); }
.navbar.scrolled .nav-logo .logo-icon { color: var(--primary); }

.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 1.8rem; }
.logo-img { width: 42px; height: auto; transition: filter var(--transition); }
.navbar.scrolled .logo-img { filter: brightness(0.3) sepia(1) hue-rotate(-30deg) saturate(3); }
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--white); }

.nav-links {
  display: flex; align-items: center; gap: 8px;
  list-style: none;
}
.nav-link {
  color: rgba(255,255,255,0.9);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--primary);
  background: rgba(122, 26, 58, 0.08);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; z-index: 1010;
}
.hamburger span {
  width: 26px; height: 2.5px; background: var(--white);
  border-radius: 2px; transition: all var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--text); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #2a0f18 0%, #4a1528 40%, #7a1a3a 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  text-align: center; padding: 120px 24px 80px;
}
.hero-particles {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}

/* Heat shimmer steam */
.hero-particles .steam {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(245,235,220,0.55), rgba(245,235,220,0.25), transparent);
  animation: heatShimmer ease-in-out infinite;
}
@keyframes heatShimmer {
  0%   { transform: translateY(0) translateX(0) scaleX(1) scaleY(1); opacity: 0; }
  12%  { opacity: 0.5; transform: translateY(-8vh) translateX(10px) scaleX(1.2) scaleY(1.1); }
  30%  { transform: translateY(-22vh) translateX(-15px) scaleX(1.3) scaleY(1.4); opacity: 0.7; }
  50%  { transform: translateY(-40vh) translateX(12px) scaleX(0.85) scaleY(1.6); opacity: 0.55; }
  70%  { transform: translateY(-58vh) translateX(-10px) scaleX(1.2) scaleY(1.3); opacity: 0.35; }
  100% { transform: translateY(-80vh) translateX(5px) scaleX(1) scaleY(1); opacity: 0; }
}

.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-badge {
  display: inline-block;
  background: rgba(212, 165, 106, 0.15);
  border: 1px solid rgba(212, 165, 106, 0.4);
  color: var(--accent-light);
  padding: 8px 24px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 500;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-subtitle {
  color: rgba(255,255,255,0.75);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--accent); font-weight: 700; }
.stat-suffix { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--accent); font-weight: 700; }
.stat-label { display: block; color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-top: 4px; }

.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.5); font-size: 0.8rem; text-align: center;
}
.scroll-arrow {
  width: 20px; height: 20px; margin: 8px auto 0;
  border-right: 2px solid rgba(255,255,255,0.5);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0,0); }
  50% { transform: rotate(45deg) translate(6px,6px); }
}

/* ---------- About ---------- */
.about { padding: 100px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.about-text p { margin-bottom: 20px; color: var(--text-light); line-height: 1.8; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.feature {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px; border-radius: var(--radius-sm);
  background: var(--cream);
  transition: transform var(--transition);
}
.feature:hover { transform: translateY(-2px); }
.feature-icon { font-size: 1.8rem; }
.feature h4 { color: var(--text); font-family: 'Poppins', sans-serif; font-size: 0.95rem; }
.feature p { color: var(--text-light); font-size: 0.82rem; margin: 0; }

.about-visual { display: flex; justify-content: center; }
.about-image {
  width: 100%; max-width: 400px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
}

/* ---------- Menu Section ---------- */
.menu-section { padding: 100px 0; background: var(--cream); }
.menu-note { font-size: 0.85rem; color: var(--primary); background: rgba(122,26,58,0.08); display: inline-block; padding: 6px 18px; border-radius: 50px; margin-top: 12px; }

.menu-tabs {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 10px; margin-bottom: 40px;
}
.tab-btn {
  padding: 10px 24px; border: 2px solid var(--cream-mid);
  background: var(--white); color: var(--text);
  border-radius: 50px; cursor: pointer; font-size: 0.9rem;
  font-weight: 500; font-family: 'Poppins', sans-serif;
  transition: all var(--transition);
}
.tab-btn:hover { border-color: var(--primary-light); color: var(--primary); }
.tab-btn.active {
  background: var(--gradient); color: var(--white);
  border-color: transparent; box-shadow: 0 4px 16px rgba(122,26,58,0.25);
}

.menu-grid { display: none; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.menu-grid.active { display: grid; animation: fadeIn 0.4s ease; }

.menu-banner {
  grid-column: 1 / -1;
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 220px;
  box-shadow: var(--shadow);
}
.menu-banner img {
  width: 100%; height: 220px;
  object-fit: cover;
  display: block;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  display: flex; flex-direction: column;
}
.menu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--gradient);
  color: var(--white);
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
}
.card-badge.best-value { background: linear-gradient(135deg, #27ae60, #2ecc71); }
.card-badge.new { background: linear-gradient(135deg, #2980b9, #3498db); }

.card-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.card-icon { font-size: 2rem; flex-shrink: 0; }
.card-header { flex: 1; }
.card-header h4 { color: var(--text); margin-bottom: 2px; font-size: 1.05rem; }
.card-desc { color: var(--text-light); font-size: 0.85rem; line-height: 1.5; margin-bottom: 14px; flex: 1; }

.card-pricing { margin-bottom: 14px; }
.price-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 0; font-size: 0.9rem;
}
.price-label { color: var(--text-light); font-size: 0.82rem; }
.price {
  font-family: 'Playfair Display', serif;
  color: var(--primary); font-weight: 700; font-size: 1.05rem;
}

.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag {
  font-size: 0.7rem; padding: 3px 10px;
  border-radius: 50px; font-weight: 500;
}
.tag-halal { background: #e8f5e9; color: #2e7d32; }
.tag-vegetarian { background: #f1f8e9; color: #558b2f; }
.tag-vegan { background: #e0f2f1; color: #00695c; }
.tag-spicy { background: #fbe9e7; color: #bf360c; }

.card-spicy { font-size: 0.9rem; margin-bottom: 8px; }

/* Allergen badges */
.card-allergens { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.allergen-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 24px; height: 24px; padding: 0 6px;
  border-radius: 50px; font-size: 0.65rem; font-weight: 700;
  background: #fff3e0; color: #e65100; border: 1.5px solid #ffb74d;
  letter-spacing: 0.3px;
}
.allergen-legend {
  margin-top: 12px; text-align: center;
  padding: 14px 20px; background: rgba(122, 26, 58, 0.04);
  border-radius: var(--radius); display: inline-block;
}
.allergen-legend-title {
  font-weight: 600; font-size: 0.85rem; color: var(--primary);
  margin-bottom: 8px;
}
.allergen-legend-items {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  align-items: center; justify-content: center;
  font-size: 0.8rem; color: var(--dark);
}

/* Delivery platform buttons */
.delivery-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.delivery-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.delivery-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.delivery-btn.ubereats { background: #06C167; color: #fff; }
.delivery-btn.justeat { background: #FF8000; color: #fff; }
.delivery-btn.deliveroo { background: #00CCBC; color: #fff; }

.hero-delivery {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 10px; margin-top: 20px;
}
.hero-delivery-label {
  font-size: 0.9rem; color: rgba(255,255,255,0.85); font-weight: 500;
}


/* ---------- Gallery ---------- */
.gallery-section { padding: 100px 0; background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-item {
  border-radius: var(--radius); overflow: hidden;
  position: relative; cursor: pointer;
  aspect-ratio: 1; transition: transform var(--transition);
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(44, 24, 16, 0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: var(--white); font-weight: 600;
  padding: 10px 28px; border: 2px solid var(--white);
  border-radius: 50px; font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.9);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all var(--transition);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; color: var(--white);
  font-size: 2.5rem; cursor: pointer;
}
.lightbox-content { text-align: center; max-width: 800px; width: 90vw; }
.lightbox-img {
  width: 100%; max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-caption { color: var(--white); font-size: 1.1rem; margin-top: 16px; }

/* ---------- Reviews ---------- */
.reviews-section { padding: 100px 0; background: var(--cream); }
.reviews-overview { text-align: center; margin-bottom: 40px; }
.rating-big { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.rating-number { font-family: 'Playfair Display', serif; font-size: 3rem; color: var(--primary); font-weight: 700; }
.rating-stars { font-size: 1.6rem; color: var(--accent); }
.half-star { opacity: 0.5; }
.rating-count { color: var(--text-light); font-size: 0.9rem; }

.reviews-slider-container { position: relative; overflow: hidden; }
.reviews-slider {
  display: flex; gap: 24px;
  transition: transform 0.5s ease;
}
.review-card {
  min-width: calc(33.333% - 16px);
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px; flex-shrink: 0;
  box-shadow: var(--shadow);
}
.review-stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 14px; }
.dim-star { opacity: 0.3; }
.review-text { color: var(--text-light); font-style: italic; line-height: 1.7; margin-bottom: 20px; font-size: 0.95rem; }
.review-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
}
.review-author strong { color: var(--text); }
.review-date { color: var(--text-light); font-size: 0.78rem; }

.slider-controls { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 32px; }
.slider-prev, .slider-next {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--cream-mid);
  font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  color: var(--text);
}
.slider-prev:hover, .slider-next:hover { border-color: var(--primary); color: var(--primary); }
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cream-mid); border: none; cursor: pointer;
  transition: all var(--transition);
}
.slider-dot.active { background: var(--primary); width: 28px; border-radius: 5px; }


/* ---------- Contact ---------- */
.contact-section { padding: 100px 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card {
  padding: 28px; background: var(--cream);
  border-radius: var(--radius);
  transition: transform var(--transition);
}
.contact-card:hover { transform: translateY(-4px); }
.contact-icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.contact-card h4 { margin-bottom: 8px; }
.contact-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }
.contact-card a { color: var(--primary); font-weight: 500; }
.contact-card a:hover { color: var(--primary-dark); }
.contact-link { display: inline-block; margin-top: 10px; color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.open-status { font-weight: 600; margin-top: 8px; font-size: 0.9rem; }
.open-status.open { color: #2e7d32; }
.open-status.closed { color: #c62828; }

.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo .logo-icon { font-size: 1.6rem; }
.footer-logo-img { width: 38px; height: auto; }
.footer-logo .logo-text { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--white); }
.footer-col p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-family: 'Poppins', sans-serif; font-size: 1rem; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }

.hours-list li { display: flex; justify-content: space-between; font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.footer-open-status { font-weight: 600; margin-top: 12px; font-size: 0.85rem; }
.footer-open-status.open { color: #66bb6a; }
.footer-open-status.closed { color: #ef5350; }

.footer-contact { margin-top: 16px; }
.footer-contact p { font-size: 0.88rem; margin-bottom: 4px; }
.footer-contact a { color: var(--accent); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; text-align: center; font-size: 0.82rem; }



/* ---------- Scroll Animations ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  border: none; cursor: pointer;
  font-size: 1.3rem; font-weight: 700;
  box-shadow: 0 4px 16px rgba(122, 26, 58, 0.35);
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(122, 26, 58, 0.45);
}

/* ---------- Cookie Consent ---------- */
.cookie-consent {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  z-index: 9000;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-consent.visible {
  transform: translateY(0);
}
.cookie-consent.dismissed {
  transform: translateY(100%);
}
.cookie-consent p {
  flex: 1; min-width: 280px; font-size: 0.9rem; line-height: 1.6;
}
.cookie-btns { display: flex; gap: 10px; }
.cookie-accept { padding: 10px 24px !important; font-size: 0.85rem !important; }
.cookie-decline {
  padding: 10px 24px !important; font-size: 0.85rem !important;
  color: rgba(255,255,255,0.7) !important;
  border-color: rgba(255,255,255,0.3) !important;
}
.cookie-decline:hover {
  color: var(--white) !important;
  border-color: rgba(255,255,255,0.6) !important;
}

/* ---------- FAQ ---------- */
.faq-section { padding: 100px 0; background: var(--cream); }
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-question {
  width: 100%; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem; font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
  font-size: 1.4rem; font-weight: 300;
  transition: transform var(--transition);
  flex-shrink: 0; margin-left: 16px;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}
.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px;
}
.faq-answer p {
  color: var(--text-light); line-height: 1.8; font-size: 0.92rem;
}

/* ---------- Newsletter ---------- */
.newsletter-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary), var(--pink));
  text-align: center;
}
.newsletter-content h2 { color: var(--white); margin-bottom: 12px; }
.newsletter-content > p { color: rgba(255,255,255,0.8); margin-bottom: 32px; font-size: 1.05rem; }
.newsletter-form { max-width: 520px; margin: 0 auto; }
.newsletter-input-group {
  display: flex; gap: 10px;
  background: rgba(255,255,255,0.15);
  border-radius: 50px; padding: 6px;
  border: 2px solid rgba(255,255,255,0.2);
}
.newsletter-input-group input {
  flex: 1; padding: 14px 24px;
  border: none; background: transparent;
  color: var(--white); font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  outline: none;
}
.newsletter-input-group input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-input-group .btn {
  padding: 12px 28px; flex-shrink: 0;
  background: var(--white); color: var(--primary);
  font-weight: 700; box-shadow: none;
}
.newsletter-input-group .btn:hover { background: var(--accent-light); }
.newsletter-note {
  color: rgba(255,255,255,0.6); font-size: 0.8rem; margin-top: 14px;
}
.form-message {
  margin-top: 12px; font-size: 0.9rem; font-weight: 500;
}
.form-message.success { color: #66bb6a; }
.form-message.error { color: #ef5350; }
.newsletter-section .form-message.success { color: #a5d6a7; }
.newsletter-section .form-message.error { color: #ffcdd2; }

/* ---------- Contact Form ---------- */
.contact-form-wrapper {
  margin-top: 48px;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 640px;
  margin-left: auto; margin-right: auto;
}
.contact-form-wrapper h3 {
  text-align: center; margin-bottom: 28px; color: var(--text);
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block; font-weight: 600; font-size: 0.9rem;
  color: var(--text); margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--cream-mid);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem; color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
}
.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #ef5350;
}
.form-group input.valid,
.form-group textarea.valid {
  border-color: #66bb6a;
}
.form-error {
  display: block; color: #ef5350;
  font-size: 0.78rem; margin-top: 4px;
  min-height: 18px;
}
.contact-form .btn {
  width: 100%; margin-top: 8px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { order: -1; }
  .about-image { max-width: 300px; aspect-ratio: 1; }
  .review-card { min-width: calc(50% - 12px); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 75%; max-width: 320px;
    height: 100vh; background: var(--white);
    flex-direction: column; align-items: flex-start;
    padding: 100px 32px 32px; gap: 4px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    z-index: 1005;
  }
  .nav-links.open { right: 0; }
  .nav-link { color: var(--text) !important; width: 100%; padding: 12px 16px; font-size: 1rem; }

  .hero { padding: 100px 20px 60px; min-height: 90vh; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 24px; }
  .stat-number, .stat-suffix { font-size: 1.6rem; }

  .about-features { grid-template-columns: 1fr; }

  .menu-tabs { gap: 6px; }
  .tab-btn { padding: 8px 16px; font-size: 0.82rem; }
  .menu-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .review-card { min-width: 100%; }

  .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .promo-banner { font-size: 0.75rem; padding: 8px 40px 8px 12px; }
  .promo-banner p { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }

  .newsletter-input-group { flex-direction: column; border-radius: var(--radius); padding: 8px; }
  .newsletter-input-group .btn { width: 100%; border-radius: 50px; padding: 14px; }
  .cookie-consent { flex-direction: column; text-align: center; }
  .contact-form-wrapper { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .faq-question { font-size: 0.92rem; padding: 16px 20px; }
  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; text-align: center; }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---------- Print ---------- */
@media print {
  .navbar, .hero-particles, .scroll-indicator, .toast,
  .promo-banner, .preloader, .slider-controls,
  .gallery-overlay, .back-to-top, .cookie-consent { display: none !important; }
  body { color: #000; background: #fff; }
  .menu-grid { display: grid !important; }
  .menu-card { break-inside: avoid; box-shadow: none; border: 1px solid #ddd; }
}
