/* Mustard Seed - Main Stylesheet */

/* Montserrat and Open Sans are self-hosted (SIL Open Font License) so the site
   makes no requests to Google, matching the privacy policy. */
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat-latin-wght-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../assets/fonts/open-sans-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

/* Nexa Rust Sans Black - Brand Custom Webfont (add NexaRustSans-Black.woff2 to assets/fonts/)
   Restricted to alphanumeric characters so all hyphens, dashes, and punctuation
   across the entire site cleanly fall back to Montserrat with zero missing glyphs. */
@font-face {
  font-family: 'Nexa Rust Sans Black';
  src: url('../assets/fonts/NexaRustSans-Black.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039, U+0041-005A, U+0061-007A, U+00C0-00FF;
}

@font-face {
  font-family: 'Nexa Rust Sans';
  src: url('../assets/fonts/NexaRustSans-Black.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039, U+0041-005A, U+0061-007A, U+00C0-00FF;
}

:root {
  --color-primary: #482C16;
  --color-primary-dark: #371f0d;
  --color-primary-light: #5d3a1e;
  --color-preloader-bg: #2E2018;
  --color-dark-bg: #202628;
  --color-dark-bg-alt: #191e20;
  --color-accent-orange: #df7428;
  --color-accent-gold: #f4b251;
  --color-cream-bg: #f9f6f0;
  --color-card-bg: #ffffff;
  --color-text-main: #242424;
  --color-text-muted: #595959;
  --color-text-light: #ffffff;
  --color-border: #e6dfd5;
  --font-heading: 'Nexa Rust Sans Black', 'Nexa Rust Sans', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: #1c2224;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Page Preloader & Seamless Transition Curtain */
#page-preloader {
  position: fixed;
  inset: 0;
  background-color: var(--color-preloader-bg, #2E2018);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

#page-preloader.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

#page-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: #ffffff;
  animation: preloaderPulse 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.preloader-logo {
  width: 90px;
  height: 90px;
  color: #ffffff;
}

.preloader-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@keyframes preloaderPulse {
  0% { transform: scale(0.85); opacity: 0.2; }
  60% { transform: scale(1.04); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  #page-preloader {
    display: none !important;
  }
  .preloader-content {
    animation: none !important;
  }
}

/* Header & Announcement Banner */
.announcement-banner {
  background-color: var(--color-accent-orange);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  text-align: center;
  position: relative;
  z-index: 1000;
}

.site-header {
  background-color: var(--color-primary);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 999;
  height: 90px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-bottom: none;
}

.header-centered-container {
  max-width: 1400px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
  box-sizing: border-box;
}

.header-nav-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-center-logo {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin: 0 4rem;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
}

.header-center-logo:hover {
  transform: scale(1.02);
  opacity: 0.95;
}

.header-center-logo .brand-logo-img {
  width: 38px;
  height: 38px;
  color: #ffffff;
}

.header-logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
}

.header-nav-right {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  padding: 0.35rem 0.2rem;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-accent-orange);
}

.nav-link.active {
  color: var(--color-accent-orange);
}

.social-nav-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: 0.25rem;
}

.social-icon-link {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
  transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-icon-link:hover {
  opacity: 1;
  color: var(--color-accent-orange);
  transform: translateY(-1px);
}

.social-icon-link svg {
  width: 20px;
  height: 20px;
}

.mobile-nav-toggle {
  display: none;
}

.mobile-nav-drawer {
  display: none;
}

@media (min-width: 901px) and (max-width: 1140px) {
  .header-centered-container {
    gap: 1.4rem;
    padding: 0.55rem 1rem;
  }
  .header-nav-left,
  .header-nav-right {
    gap: 1.1rem;
  }
  .header-center-logo {
    gap: 0.5rem;
    margin: 0;
  }
  .header-center-logo .brand-logo-img {
    width: 32px;
    height: 32px;
  }
  .header-logo-text {
    font-size: 1.1rem;
    letter-spacing: 0.8px;
  }
  .nav-link {
    font-size: 0.76rem;
    letter-spacing: 0.5px;
  }
  .social-nav-links {
    gap: 0.65rem;
  }
  .social-icon-link svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 900px) {
  .header-centered-container {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 1.25rem;
  }

  .header-nav-left,
  .header-nav-right {
    display: none;
  }

  .header-center-logo {
    margin: 0;
    gap: 0.55rem;
  }

  .header-center-logo .brand-logo-img {
    width: 34px;
    height: 34px;
  }

  .header-logo-text {
    font-size: 1.1rem;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 4px;
  }

  .mobile-nav-toggle svg {
    width: 28px;
    height: 28px;
  }

  .mobile-nav-drawer {
    display: none;
    flex-direction: column;
    background-color: var(--color-primary-dark);
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-nav-drawer.is-open {
    display: flex;
  }

  .mobile-nav-drawer .nav-link {
    font-size: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-nav-drawer .social-nav-links {
    margin-left: 0;
    margin-top: 1.25rem;
    gap: 1.5rem;
    justify-content: flex-start;
  }

  .mobile-nav-drawer .social-icon-link svg {
    width: 24px;
    height: 24px;
  }
}

/* Hero Banners */
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
}

.page-hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 1.5rem;
  color: #ffffff;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Home Hero with White Logo (Transparent Gaps) */
.home-hero {
  min-height: clamp(380px, 48vh, 480px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  overflow: hidden;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8); /* allows photo to show clearly through logo gaps while keeping white logo vivid */
}

.home-hero-badge {
  position: relative;
  z-index: 2;
  background: transparent !important;
  border-radius: 0 !important;
  width: min(250px, 48vw);
  height: min(250px, 48vw);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}

.home-hero-badge svg {
  width: 100%;
  height: 100%;
  color: #ffffff;
  fill: #ffffff;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.75));
}

/* Home Welcome Section */
.welcome-section {
  padding: 4.5rem 1.5rem;
  text-align: center;
  background-color: #ffffff;
}

.section-container {
  max-width: 900px;
  margin: 0 auto;
}

.welcome-title {
  font-family: var(--font-heading);
  font-size: 57.6px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 1px;
  margin-bottom: 1.75rem;
  line-height: 1.2;
}

.welcome-body {
  font-size: 1.22rem;
  line-height: 1.8;
  color: #333333;
  max-width: 780px;
  margin: 0 auto 2rem;
  text-wrap: pretty;
}

.facilities-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1rem;
}

.facilities-pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.facilities-pills span::before {
  content: '✓';
  color: var(--color-accent-orange);
  font-weight: 900;
}

/* Dark Hours Block (Open 6 Days a Week) */
.dark-hours-section {
  background-color: var(--color-dark-bg);
  color: #ffffff;
  padding: 4.5rem 1.5rem;
  text-align: center;
}

.dark-hours-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 2.2rem;
}

.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 420px;
  margin: 0 auto;
}

.hours-row {
  display: flex;
  justify-content: center;
  gap: 2ch;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--color-accent-orange);
  padding: 0.2rem 0;
}

.hours-row .day {
  color: var(--color-accent-orange);
}

.hours-row .time {
  color: var(--color-accent-orange);
}

.hours-row.is-closed {
  justify-content: center;
  margin-top: 0.5rem;
  color: var(--color-accent-orange);
}

/* Coffee / Menu Action Banner */
.menu-action-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #2b1f17;
}

.menu-action-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-primary-dark {
  position: relative;
  z-index: 2;
  background-color: rgba(26, 32, 34, 0.95);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 1.1rem 2.8rem;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: background-color 0.2s, transform 0.2s;
}

.btn-primary-dark:hover {
  background-color: var(--color-accent-orange);
  transform: translateY(-2px);
}

/* Testimonials Section */
.testimonials-section {
  padding: 4.5rem 1.5rem;
  background-color: #ffffff;
  text-align: center;
}

.testimonial-card-container {
  max-width: 680px;
  margin: 0 auto;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.testimonial-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2rem 2.5rem;
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  width: 100%;
  transition: opacity 0.5s ease-in-out;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-text-main);
  margin-bottom: 0.25rem;
}

.star-rating {
  color: #f5a623;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.testimonial-quote {
  font-size: 1.05rem;
  color: #4a4a4a;
  font-style: italic;
  line-height: 1.6;
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #d1c8bd;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s;
}

.testimonial-dot.active {
  background-color: var(--color-primary);
  transform: scale(1.15);
}

/* =========================================
   ABOUT US & BOOKS-GIFTS PAGES
   ========================================= */
.bible-quote-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 1px;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.4;
}

.story-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .story-section {
    grid-template-columns: 1fr 1fr;
  }

  .story-section.reverse-layout .story-text {
    order: 2;
  }

  .story-section.reverse-layout .story-slider-wrap {
    order: 1;
  }
}

.story-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.story-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #383838;
}

.story-body p + p {
  margin-top: 1rem;
}

.story-slider-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  background-color: var(--color-cream-bg);
}

/* =========================================
   FIND US PAGE SPECIFIC STYLES
   ========================================= */
.find-us-hero-split {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .find-us-hero-split {
    grid-template-columns: 1fr 1fr;
  }
}

.find-us-info-panel {
  background-color: var(--color-dark-bg);
  color: #ffffff;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.find-us-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  border-bottom: 3px solid var(--color-accent-orange);
  padding-bottom: 0.75rem;
}

.find-us-address-block {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.5;
  letter-spacing: 1px;
  margin-bottom: 2.5rem;
}

.find-us-divider {
  width: 120px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 auto 2.5rem auto;
}

.find-us-hours-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.find-us-photo-panel {
  min-height: 480px;
  position: relative;
}

.find-us-photo-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.find-us-bottom-split {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .find-us-bottom-split {
    grid-template-columns: 1fr 1fr;
  }
}

.find-us-cafe-photo {
  min-height: 450px;
}

.find-us-cafe-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.find-us-map-panel {
  background-color: #f6e8cc;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.interactive-map-link {
  display: block;
  width: 100%;
  max-width: 520px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.interactive-map-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.map-svg-img {
  width: 100%;
  height: auto;
  display: block;
}

.map-caption {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: #482C16;
  font-weight: 600;
  text-align: center;
  max-width: 480px;
  line-height: 1.6;
}

.map-google-cta {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s;
}

.map-google-cta:hover {
  background-color: var(--color-accent-orange);
}

.find-us-action-banner {
  background-color: #1a2022;
  color: #ffffff;
  text-align: center;
  padding: 4.5rem 1.5rem;
}

.action-banner-heading {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Contact buttons */
.contact-links-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  transition: background-color 0.2s, transform 0.2s;
}

.contact-pill-btn:hover {
  background-color: var(--color-accent-orange);
  transform: translateY(-2px);
}

/* =========================================
   FOOTER STYLES
   ========================================= */
.site-footer {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 5rem 1.5rem 3rem;
  margin-top: -2.25vw;
  clip-path: polygon(0 0, 100% 2.25vw, 100% 100%, 0 100%);
  position: relative;
  z-index: 2;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr auto 1fr;
    text-align: left;
    align-items: center;
  }

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

  .footer-right {
    text-align: right;
  }
}

.footer-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.footer-address {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  opacity: 0.9;
  transition: opacity 0.2s;
}

@media (max-width: 767px) {
  .footer-contact-item {
    justify-content: center;
  }
}

.footer-contact-item:hover {
  opacity: 1;
  color: var(--color-accent-orange);
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (max-width: 767px) {
  .footer-social-links {
    justify-content: center;
  }
}

.footer-center-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
}

.footer-logo-img {
  width: 90px;
  height: 90px;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-legal-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.footer-legal-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0.9;
}

.footer-legal-link:hover {
  color: var(--color-accent-orange);
  opacity: 1;
}

.footer-copyright {
  font-size: 0.85rem;
  opacity: 0.75;
  text-transform: uppercase;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  line-height: 1.6;
}

.site-footer.footer-slant-zag {
  clip-path: polygon(0 0, 100% 2.35vw, 100% 100%, 0 100%);
  margin-top: -2.35vw;
}

.site-footer.footer-slant-zig {
  clip-path: polygon(0 2.35vw, 100% 0, 100% 100%, 0 100%);
  margin-top: -2.35vw;
}

/* Friendly fallback message container */
.data-error-fallback {
  background-color: #fff2e8;
  border: 1px solid #ffd591;
  padding: 1.5rem;
  border-radius: 6px;
  text-align: center;
  margin: 2rem auto;
  max-width: 600px;
  color: #873800;
}

.data-error-fallback a {
  color: var(--color-primary);
  font-weight: 700;
}

/* Legal Pages (Privacy & Cookie Policy) */
.legal-page-container {
  max-width: 800px;
  margin: 3rem auto 5rem;
  padding: 0 1.5rem;
}

.legal-page-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 2rem;
  border-bottom: 3px solid var(--color-accent-orange);
  padding-bottom: 0.5rem;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.legal-section p {
  margin-bottom: 1rem;
  color: #3a3a3a;
  line-height: 1.7;
}

.legal-section a {
  color: var(--color-primary);
  font-weight: 700;
}

/* Noscript notice */
.noscript-banner {
  background-color: var(--color-primary-dark);
  color: #ffffff;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.95rem;
}

/* =========================================
   MENU PAGE
   ========================================= */
.menu-authentic-page {
  background-color: #151a1c;
  color: #ffffff;
  padding: 0;
  font-family: var(--font-body);
  overflow-x: hidden;
}

.menu-slant-row-1 {
  background-color: #1c2224;
}

.menu-slant-row-2 {
  background-color: #262e32;
}

.menu-row {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

.menu-row-3col {
  grid-template-columns: 1fr 1fr 1fr;
}

.menu-row-2col {
  grid-template-columns: 1fr 1fr;
}

.menu-row-align-top {
  align-items: start;
}

@media (max-width: 992px) {
  .menu-row-3col, .menu-row-2col {
    grid-template-columns: 1fr;
  }
}

.menu-col {
  display: flex;
  flex-direction: column;
}

.menu-col-flex-grow {
  flex: 1;
}

.menu-col-center-img {
  justify-content: center;
  align-items: center;
}

.menu-col-center-text {
  text-align: center;
}

.menu-heading {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}

.menu-heading-spaced {
  margin-top: 1.5rem;
}

.menu-subheading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #f4b251;
  margin-top: 0.75rem;
  margin-bottom: 0.2rem;
  letter-spacing: 0.5px;
}

.menu-subnote {
  font-size: 0.8rem;
  color: #d0d0d0;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.menu-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 0 !important;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: 1rem;
}

.menu-img-tall {
  height: 380px;
}

.menu-img-margin-top {
  margin-top: 1.5rem;
}

.menu-body-paragraph {
  font-size: 0.95rem;
  color: #d8d8d8;
  line-height: 1.7;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.menu-orange-box {
  border: 6px solid #df7428 !important;
  background-color: rgba(32, 38, 40, 0.9);
  padding: 0.85rem 1rem;
  border-radius: 0 !important;
  margin-bottom: 0.75rem;
}

.menu-dotted-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.menu-dotted-row:last-child {
  margin-bottom: 0;
}

.menu-dotted-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.menu-dotted-leader {
  flex: 1;
  border-bottom: 2px dotted rgba(255, 255, 255, 0.3);
  margin: 0 0.5rem;
  height: 0.5em;
}

.menu-dotted-price {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.05rem;
  color: #f4b251;
}

.menu-sub-dotted-row {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
}

.menu-dotted-subname {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: #d0d0d0;
  text-transform: uppercase;
}

.menu-stacked-item {
  margin-bottom: 0.75rem;
  background-color: rgba(255, 255, 255, 0.03);
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  border-left: 3px solid #f4b251;
}

.menu-item-margin-top {
  margin-top: 1rem;
}

.menu-item-simple-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.menu-large-price {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  color: #f4b251;
  margin: 0.25rem 0;
}

.menu-desc-note {
  font-size: 0.8rem;
  color: #cccccc;
  line-height: 1.4;
  margin-top: 0.2rem;
}

.menu-desc-choices {
  font-size: 0.8rem;
  color: #df7428;
  line-height: 1.4;
  margin-top: 0.2rem;
  font-weight: 600;
}

.menu-choice-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: #f4b251;
  margin-top: 0.4rem;
  margin-bottom: 0.15rem;
  text-transform: uppercase;
}

.menu-popular-wrapper {
  position: relative;
  margin-top: 1rem;
}

.menu-popular-badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background-color: #df7428;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  letter-spacing: 1px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

/* =========================================
   SLANTED SECTIONS
   Gentle 2.5-degree alternating slants with zero perceptible gap
   ========================================= */
.page-hero {
  position: relative;
  width: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #1c2224;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2.35vw), 0 100%);
  margin-bottom: -2.35vw;
}

.slant-zig,
.menu-slant-row-1 {
  position: relative;
  clip-path: polygon(0 2.35vw, 100% 0, 100.5% 100.5%, 0 calc(100.5% - 2.35vw));
  margin-top: -2.35vw;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  z-index: 1;
}

.slant-zag,
.menu-slant-row-2 {
  position: relative;
  clip-path: polygon(0 0, 100% 2.35vw, 100.5% calc(100.5% - 2.35vw), 0 100.5%);
  margin-top: -2.35vw;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  z-index: 1;
}

/* Only the very first section below hero/header has margin-top: 0 */
#books-gifts-root > section:first-child,
#about-root > section:first-child,
#about-root .content-sections-wrap > section:first-child,
#menu-root > section:first-child,
#main-content > .page-hero + div > section:first-child,
#main-content > .page-hero + section {
  margin-top: 0 !important;
  clip-path: polygon(0 2.35vw, 100% 0, 100.5% 100.5%, 0 calc(100.5% - 2.35vw)) !important;
  z-index: 1;
}

/* All subsequent sections in books-gifts-root overlap seamlessly */
#books-gifts-root > section:not(:first-child) {
  margin-top: -2.35vw !important;
}

.menu-slant-row-1 .story-title,
.menu-slant-row-2 .story-title,
.menu-slant-row-1 .welcome-title,
.menu-slant-row-2 .welcome-title,
.menu-slant-row-1 .bible-quote-text,
.menu-slant-row-2 .bible-quote-text {
  color: #ffffff;
}

.menu-slant-row-1 .story-body,
.menu-slant-row-2 .story-body,
.menu-slant-row-1 .welcome-body,
.menu-slant-row-2 .welcome-body {
  color: #d8d8d8;
}

img,
.folder-slider,
.folder-slide,
.folder-slide-img,
.story-slider-wrap {
  border-radius: 0 !important;
}

.bg-white {
  background-color: #ffffff;
  color: var(--color-text-main);
}

.bg-light-grey {
  background-color: #e2e8ec;
  color: var(--color-text-main);
}

.bg-white .story-title,
.bg-light-grey .story-title,
.bg-white .welcome-title,
.bg-light-grey .welcome-title {
  color: var(--color-primary);
}

.bg-white .story-body,
.bg-light-grey .story-body,
.bg-white .welcome-body,
.bg-light-grey .welcome-body {
  color: #333333;
}

.about-story-row {
  width: 100%;
}
