/* =========================================
   Modern Restaurant Website - Styles
   ========================================= */

:root {
  --color-primary: #e63946;
  --color-primary-dark: #c1121f;
  --color-dark: #1d1d1d;
  --color-text: #2b2b2b;
  --color-muted: #6c6c6c;
  --color-bg: #ffffff;
  --color-bg-alt: #faf7f2;
  --color-border: #ececec;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.35rem; }

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

section { padding: 5rem 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header .eyebrow {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.section-header p { color: var(--color-muted); margin-top: 0.75rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.35);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(230, 57, 70, 0.45);
}
.btn-outline {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.btn-outline:hover {
  background: #fff;
  color: var(--color-dark);
}
.btn-dark {
  background: var(--color-dark);
  color: #fff;
}
.btn-dark:hover { background: #000; transform: translateY(-2px); }

/* =========================================
   Header / Navigation
   ========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.brand .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--color-primary); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px; height: 40px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-dark);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================
   Hero
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  padding-top: 80px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(20,20,20,0.78), rgba(20,20,20,0.5)),
              url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,0.4));
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-inner h1 { max-width: 760px; }
.hero-inner p { max-width: 560px; }
.hero .eyebrow {
  color: var(--color-primary-dark);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: inline-block;
}
.hero h1 {
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
}
.hero-scroll::after {
  content: "";
  display: block;
  width: 2px; height: 30px;
  background: rgba(255,255,255,0.5);
  margin: 0.75rem auto 0;
  animation: scrollPulse 1.6s infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================
   About
   ========================================= */
.about { background: var(--color-bg-alt); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
}
.about-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.about-image:hover img { transform: scale(1.05); }

.about-content h2 { margin-bottom: 1rem; }
.about-content p { color: var(--color-muted); margin-bottom: 1.5rem; }

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.info-card {
  background: #fff;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}
.info-card:hover { transform: translateY(-4px); }
.info-card .icon {
  width: 40px; height: 40px;
  background: rgba(230, 57, 70, 0.1);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.info-card h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-muted);
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.info-card p { font-size: 0.95rem; color: var(--color-text); margin: 0; font-weight: 500; }

/* =========================================
   Specialties
   ========================================= */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.specialty-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}
.specialty-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.specialty-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.specialty-card:hover img { transform: scale(1.08); }
.specialty-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
}
.specialty-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  color: #fff;
  z-index: 2;
}
.specialty-info h3 {
  color: #fff;
  margin-bottom: 0.35rem;
  font-size: 1.5rem;
}
.specialty-info p { font-size: 0.9rem; color: rgba(255,255,255,0.85); }

/* =========================================
   Favorites
   ========================================= */
.favorites { background: var(--color-bg-alt); }
.favorites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.favorite-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.favorite-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.favorite-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.favorite-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.favorite-card:hover .favorite-img img { transform: scale(1.06); }
.favorite-body { padding: 1.25rem 1.35rem 1.5rem; }
.favorite-body h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.favorite-body p { color: var(--color-muted); font-size: 0.9rem; margin-bottom: 0.75rem; }
.favorite-price {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-heading);
}

/* =========================================
   Reviews / Slider
   ========================================= */
.reviews {
  background: var(--color-dark);
  color: #fff;
}
.reviews h2 { color: #fff; }
.reviews .eyebrow { color: var(--color-primary-dark); }
.reviews .section-header p { color: rgba(255,255,255,0.7); }

.slider {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
}
.slider-track {
  display: flex;
  transition: transform 0.6s var(--ease);
}
.review-card {
  min-width: 100%;
  padding: 2rem;
  text-align: center;
}
.review-stars { color: var(--color-primary-dark); margin-bottom: 1rem; letter-spacing: 4px; font-size: 1.2rem; }
.review-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.95);
}
.reviewer { display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.reviewer-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700;
}
.reviewer-name { font-weight: 600; }
.reviewer-role { color: rgba(255,255,255,0.6); font-size: 0.85rem; }

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.slider-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}
.slider-btn:hover { background: var(--color-primary); border-color: var(--color-primary); }
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.slider-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}
.slider-dots span.active { background: var(--color-primary); width: 28px; border-radius: 4px; }

/* =========================================
   CTA Sections
   ========================================= */
.cta-order {
  background: linear-gradient(135deg, rgba(230,57,70,0.92), rgba(193,18,31,0.92)),
              url("https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
  color: #fff;
  text-align: center;
}
.cta-order h2 { color: #fff; margin-bottom: 1rem; }
.cta-order p {
  max-width: 560px;
  margin: 0 auto 2rem;
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
}
.cta-order .btn-primary {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.cta-order .btn-primary:hover { background: #f1f1f1; color: var(--color-primary-dark); }

.cta-social {
  text-align: center;
  background: var(--color-bg-alt);
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}
.social-icons li { list-style: none; }
.social-icon {
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--color-dark);
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.social-icon:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-4px);
}
/* Ensure brand icons (esp. TripAdvisor) inherit the parent color */
.social-icon i,
.footer-social a i {
  color: inherit;
  line-height: 1;
}

/* TripAdvisor — inline SVG (owl-eyes) replaces the Font Awesome glyph,
   which is unreliable across FA versions. The SVG uses fill="currentColor"
   so it cleanly inherits the parent's text color. */
.social-icon .social-svg {
  width: 22px;
  height: 14px;
  fill: currentColor;
  display: block;
}
.footer-social .social-svg {
  width: 18px;
  height: 11px;
  fill: currentColor;
  display: block;
}

/* =========================================
   Page Hero (internal pages)
   ========================================= */
.page-hero {
  padding: 10rem 0 5rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(29,29,29,0.75), rgba(29,29,29,0.85)),
              url("https://images.unsplash.com/photo-1555939594-58d7cb561ad1?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
  color: #fff;
}
.page-hero h1 { color: #fff; margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto; }
.breadcrumb {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.breadcrumb a:hover { color: var(--color-primary-dark); }

/* =========================================
   About Page
   ========================================= */
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}
.story-img-wrap {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  height: 100%;
  min-height: 100%;
}
.story-img-wrap img,
.story-grid img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-img-wrap img { border-radius: 0; box-shadow: none; }
.story-content p { color: var(--color-muted); margin-bottom: 1rem; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  list-style: none;
  padding: 0;
}
.contact-grid li { list-style: none; }
.contact-card {
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}
.contact-card:hover { transform: translateY(-4px); }
.contact-card .icon {
  width: 56px; height: 56px;
  background: rgba(230, 57, 70, 0.1);
  color: var(--color-primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.contact-card h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.contact-card p { color: var(--color-muted); line-height: 1.7; }

/* =========================================
   Promotions Page
   ========================================= */
.promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.promo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.promo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.promo-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}
.promo-img img { width: 100%; height: 100%; object-fit: cover; }
.promo-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  z-index: 2;
}
.promo-body { padding: 1.5rem; }
.promo-body h3 { margin-bottom: 0.5rem; }
.promo-body p { color: var(--color-muted); margin-bottom: 1rem; }
.promo-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.signup {
  background: var(--color-bg-alt);
  text-align: center;
}
.subscribe-title {
  max-width: 28ch;
  margin: 0 auto;
}
.signup-form {
  display: flex;
  flex-direction: column;
  max-width: 560px;
  margin: 2rem auto 0;
  gap: 0.75rem;
  text-align: left;
}
.signup-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.signup-form .field {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.signup-form .field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.25px;
  text-transform: uppercase;
  color: var(--color-muted);
}
.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input[type="tel"] {
  flex: 1;
  width: 100%;
  min-width: 180px;
  padding: 0.95rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.signup-form input[type="text"]:focus,
.signup-form input[type="email"]:focus,
.signup-form input[type="tel"]:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.12);
}
.signup-form .consent-check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.55;
  padding: 0.5rem 0.25rem;
  cursor: pointer;
  text-align: left;
}
.signup-form .consent-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.signup-form .consent-check input[type="checkbox"]:checked {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.signup-form .consent-check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.signup-form .btn { margin: 0.5rem auto 0; align-self: center; }

/* =========================================
   Gallery Page
   ========================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { background: rgba(0,0,0,0.1); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.1);
  border: 0;
  color: #fff;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* =========================================
   Legal / Text Pages
   ========================================= */
.text-page {
  padding: 4rem 0;
  max-width: 860px;
  margin: 0 auto;
}
.text-page h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.5rem;
}
.text-page h2:first-child { margin-top: 0; }
.text-page p { margin-bottom: 1rem; color: var(--color-text); }
.text-page ul {
  margin: 0 0 1rem 1.5rem;
  color: var(--color-text);
}
.text-page li { margin-bottom: 0.5rem; }
.text-page .updated { color: var(--color-muted); font-size: 0.9rem; margin-bottom: 2rem; }

/* =========================================
   Footer
   ========================================= */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer-brand { max-width: 320px; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; font-size: 0.9rem; }
.footer-col a:hover { color: var(--color-primary); }
.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.footer-social a:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* =========================================
   Cookie Consent Popup
   ========================================= */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cookie-overlay.show { opacity: 1; pointer-events: auto; }

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--color-border);
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-main {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 260px; }
.cookie-text strong {
  color: var(--color-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
  font-family: var(--font-heading);
}
.cookie-text strong i { color: var(--color-primary); }
.cookie-text p { font-size: 0.9rem; color: var(--color-muted); margin: 0; line-height: 1.6; }
.cookie-text a { color: var(--color-primary); font-weight: 600; text-decoration: underline; }

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner .btn {
  padding: 0.7rem 1.35rem;
  font-size: 0.88rem;
}
.cookie-banner .btn-text {
  background: transparent;
  color: var(--color-muted);
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.7rem 1rem;
  font-family: inherit;
}
.cookie-banner .btn-text:hover { color: var(--color-dark); }

.cookie-prefs {
  display: none;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.cookie-banner.expanded .cookie-prefs { display: block; }
.cookie-banner.expanded .cookie-actions .accept-all,
.cookie-banner.expanded .cookie-actions .decline-all,
.cookie-banner.expanded .cookie-actions .customize { display: none; }
.cookie-banner:not(.expanded) .cookie-actions .save-prefs,
.cookie-banner:not(.expanded) .cookie-actions .cancel-prefs { display: none; }

.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
  gap: 1rem;
}
.cookie-category:last-child { border-bottom: 0; }
.cookie-category h5 {
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.2rem;
}
.cookie-category p {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.5;
}
.cookie-switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-switch-track {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #d4d4d4;
  border-radius: 999px;
  transition: background 0.25s ease;
}
.cookie-switch-track::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s ease;
}
.cookie-switch input:checked + .cookie-switch-track { background: var(--color-primary); }
.cookie-switch input:checked + .cookie-switch-track::before { transform: translateX(20px); }
.cookie-switch input:disabled + .cookie-switch-track { opacity: 0.6; cursor: not-allowed; }

@media (max-width: 560px) {
  .cookie-banner { padding: 1.25rem; bottom: 0.75rem; left: 0.75rem; right: 0.75rem; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn,
  .cookie-actions .btn-text { flex: 1; justify-content: center; }
}

/* =========================================
   Animations
   ========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* =========================================
   Accessibility Utilities
   ========================================= */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 0.9rem 1.5rem;
  z-index: 1000;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: underline;
  border-radius: 0 0 8px 0;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}
.btn:focus-visible,
.nav-links a:focus-visible,
.social-icon:focus-visible,
.footer-social a:focus-visible,
.slider-btn:focus-visible {
  outline-offset: 3px;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}
/* Button-style slider dots */
.slider-dots button {
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  background: transparent;
}
.gallery-item {
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  width: 100%;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in { opacity: 1; transform: none; }
  .hero-scroll::after { animation: none; }
  .slider-track { transition: none !important; }
}

/* =========================================
   A11y/SEO Hardening — Touch targets, utilities, focus parity
   ========================================= */

/* Touch target minimums (WCAG 2.5.5 — at least 44×44 px) */
.nav-toggle {
  min-width: 44px;
  min-height: 44px;
}
.footer-social a {
  min-width: 44px;
  min-height: 44px;
}
.slider-btn {
  min-width: 44px;
  min-height: 44px;
}
.slider-dots button {
  min-width: 44px;
  min-height: 24px;
  padding: 10px 4px;
  background-clip: content-box;
}
.cookie-banner .btn,
.cookie-banner .btn-text {
  min-height: 44px;
}

/* Pause/play button on the reviews carousel */
.slider-pause {
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-dark);
  cursor: pointer;
  font-size: 0.95rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.slider-pause:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.reviews .slider-pause {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* Visible underlines for body-text links (legal pages, story content)
   so they're distinguishable from surrounding text without relying on color alone. */
.text-page a,
.story-content p a,
.about-content p a,
.contact-card a,
.cookie-banner p a,
.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.btn,
.nav-links a,
.brand,
.footer-col a,
.social-icon,
.footer-social a,
.skip-link {
  text-decoration: none;
}

/* Focus parity — buttons inside the gallery */
.gallery-item:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* Decorative cards keep the default cursor */
.info-card,
.contact-card,
.promo-card {
  cursor: default;
}
/* Specialty + Favorite cards are now order-online links */
a.specialty-card,
a.favorite-card {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
a.specialty-card:focus-visible,
a.favorite-card:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* Form helper / status message + heart icon utilities */
.form-msg {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  text-align: center;
}
.form-msg[role="alert"] {
  color: var(--color-primary);
  font-weight: 600;
}
.icon-heart {
  color: var(--color-primary);
}
.footer-credit {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}
.footer-credit:hover { color: var(--color-primary); }

/* Form field invalid state */
.signup-form input[aria-invalid="true"] {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    padding: 1.5rem;
    gap: 1rem;
    transform: translateY(-100%);
    visibility: hidden;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0.3s;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--color-border);
    z-index: -1;
  }
  .nav-links.open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    z-index: 1;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0s;
  }
  .nav-toggle { display: inline-block; }
  .nav-cta .btn:not(.nav-toggle) { display: none; }

  .about-grid,
  .story-grid { grid-template-columns: 1fr; }
  .about-image, .story-grid img, .story-img-wrap { aspect-ratio: 16/10; height: auto; min-height: 0; }
  .story-img-wrap img { aspect-ratio: auto; }

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

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

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

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  section { padding: 4rem 0; }
}

@media (max-width: 560px) {
  .info-cards { grid-template-columns: 1fr; }
  .specialties-grid,
  .favorites-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { min-height: 90vh; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
