/* ============================================================
   HOME PAGE — 2026 Modern UI
   Cinematic hero, bento grid, scroll reveals, glassmorphism
   ============================================================ */

/* === Scroll reveal (transition-based) === */
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* === Cinematic Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--salt-white);
  overflow: hidden;
}

/* Background image with slow Ken Burns zoom */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  animation: ken-burns 20s ease-in-out infinite alternate;
}

@keyframes ken-burns {
  0%   { transform: scale(1);   }
  100% { transform: scale(1.08); }
}

/* When video is present, hide image on desktop */
.hero__bg--fallback { display: none; }

/* Hero video */
.hero__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Mobile + reduced motion: no video, show image */
@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  .hero__bg--fallback { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg { animation: none; }
}

/* Warm cinematic overlay — clear centre, deep edges */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(194,162,104,0.06) 0%, transparent 60%),
    linear-gradient(
      180deg,
      rgba(16, 61, 43, 0.78) 0%,
      rgba(16, 61, 43, 0.18) 32%,
      rgba(16, 61, 43, 0.12) 55%,
      rgba(16, 61, 43, 0.62) 100%
    );
}

/* Subtle grain texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: var(--space-md);
  padding-top: calc(var(--header-height) + var(--space-md));
  width: 100%;
  max-width: 850px;
  box-sizing: border-box;
  animation: fade-in 1.2s ease-out 0.3s both;
}

/* Hero badge — decorative line + text + line */
.hero__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: var(--space-lg);
}

.hero__badge-line {
  width: 60px;
  height: 1px;
  background: #D4B981;
  opacity: 0.6;
}

.hero__badge-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #D4B981;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 4.6rem);
  font-weight: 400;
  font-style: italic;
  color: var(--salt-cream);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  color: #F4EFE3;
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: var(--space-sm);
  line-height: 1.8;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero__tagline-text {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(244, 239, 227, 0.65);
  margin-bottom: var(--space-lg);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Wave divider between badge and headline */
.hero__wave-divider {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-md);
  opacity: 0.5;
}

.hero__wave-divider svg {
  width: 80px;
  height: auto;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
}

/* Gold solid CTA */
.btn--gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  background-color: #D4B981;
  border: 2px solid #D4B981;
  color: var(--color-primary-dark);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
  cursor: pointer;
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background-color: #C2A268;
  border-color: #C2A268;
  color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(194,162,104,0.4);
}

.hero__actions .btn--outline {
  padding: 1rem 2.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  background-color: rgba(16, 61, 43, 0.55);
  border: 2px solid rgba(244, 239, 227, 0.6);
  color: var(--salt-white);
  font-weight: 500;
}

.hero__actions .btn--outline:hover,
.hero__actions .btn--outline:focus-visible {
  background-color: rgba(16, 61, 43, 0.75);
  border-color: var(--salt-white);
  color: var(--salt-white);
}

/* Mobile: stack CTAs */
@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero__actions .btn,
  .hero__actions .btn--gold {
    justify-content: center;
    min-height: 48px;
    padding-inline: 1.5rem;
  }
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-accent);
  animation: float 2.5s ease-in-out infinite;
}

.hero__scroll-hint svg {
  width: 20px;
  height: 20px;
}

/* Olive branch divider between sections */
.olive-divider {
  display: flex;
  justify-content: center;
  padding: var(--space-md) 0;
  background: var(--salt-white);
}

.olive-divider svg {
  width: 160px;
  height: auto;
}

/* === Section Header (reusable) === */
.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header__label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  display: block;
}

.section-header__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: var(--space-sm);
}

.section-header__line {
  width: 60px;
  height: 1.5px;
  background: var(--color-primary);
  margin: var(--space-sm) auto 0;
  opacity: 0.35;
}

/* === Intro — Split editorial layout === */
.intro {
  padding-block: var(--space-2xl) var(--space-xl);
  background-color: var(--color-bg);
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 768px) {
  .intro__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

.intro__text-col {
  order: 2;
}

@media (min-width: 768px) {
  .intro__text-col {
    order: 1;
  }
}

.intro__text {
  font-size: 1.1rem;
  color: rgba(30, 42, 36, 0.75);
  line-height: 1.9;
  margin-bottom: var(--space-md);
}

.intro__image-col {
  order: 1;
  position: relative;
}

@media (min-width: 768px) {
  .intro__image-col {
    order: 2;
  }
}

.intro__image-col img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 4px;
}

.intro__image-accent {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--color-accent);
  opacity: 0.3;
  z-index: -1;
}

/* === Bento Feature Grid === */
.bento {
  padding-block: var(--space-xl);
  background-color: var(--salt-white);
}

.bento__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .bento__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }
}

.bento__grid--6 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .bento__grid--6 {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }
}

.bento__card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
}

.bento__card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.bento__card:hover img {
  transform: scale(1.06);
}

@media (min-width: 768px) {
  .bento__card--large {
    grid-row: 1 / 3;
  }

  .bento__card--large img {
    aspect-ratio: auto;
    height: 100%;
  }
}

.bento__grid--6 .bento__card img {
  aspect-ratio: 4/3;
}

.bento__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(16, 61, 43, 0.85) 0%,
    rgba(16, 61, 43, 0) 60%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: background 0.4s var(--ease);
}

.bento__card:hover .bento__card-overlay {
  background: linear-gradient(
    to top,
    rgba(16, 61, 43, 0.9) 0%,
    rgba(16, 61, 43, 0.1) 70%
  );
}

.bento__card-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--salt-white);
  margin-bottom: 0.3rem;
}

.bento__card-desc {
  font-size: 0.85rem;
  color: rgba(244, 239, 227, 0.7);
  line-height: 1.5;
}

.bento__card-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-accent);
  margin-top: 0.5rem;
}

/* === Opening Hours — Glass card on image === */
.hours-section {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-block: var(--space-xl);
}

.hours-section__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hours-section__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(16, 61, 43, 0.6);
}

.hours-card {
  background: rgba(244, 239, 227, 0.1);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(244, 239, 227, 0.15);
  border-radius: 8px;
  padding: clamp(2rem, 5vw, 3.5rem);
  max-width: 520px;
  width: 100%;
  text-align: center;
  color: var(--salt-white);
}

.hours-card__title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--salt-white);
  margin-bottom: var(--space-xs);
}

.hours-card__subtitle {
  color: var(--color-accent);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.hours-card__grid {
  display: grid;
  gap: 0.6rem;
}

.hours-card__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(244, 239, 227, 0.08);
  color: rgba(244, 239, 227, 0.8);
}

.hours-card__row--today {
  color: var(--color-accent);
  font-weight: 600;
}

/* === Gallery Masonry Strip === */
.gallery-strip {
  padding-block: var(--space-xl);
  overflow: hidden;
  background-color: rgba(28, 90, 63, 0.03);
}

.gallery-strip__scroller {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .gallery-strip__scroller {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 180px);
  }
}

.gallery-strip__item {
  overflow: hidden;
  border-radius: 4px;
}

.gallery-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery-strip__item:hover img {
  transform: scale(1.07);
}

.gallery-strip__item--featured {
  grid-column: span 2;
  grid-row: span 2;
}

/* === Location — Minimal map + info === */
.location {
  padding-block: var(--space-xl);
  background: var(--color-bg);
}

.location__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

@media (min-width: 768px) {
  .location__grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.location__info h3 {
  font-style: italic;
  margin-bottom: var(--space-sm);
}

.location__address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: var(--space-md);
  color: rgba(30, 42, 36, 0.7);
}

.location__map-wrapper {
  border-radius: 6px;
  overflow: hidden;
}

.location__map {
  display: block;
  width: 100%;
  min-height: 380px;
  border: none;
}

/* === CTA Banner === */
.cta-banner {
  padding-block: var(--space-2xl);
  text-align: center;
  background-color: var(--color-primary-dark);
  color: var(--salt-white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(194,162,104,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--salt-white);
  margin-bottom: var(--space-sm);
}

.cta-banner__text {
  font-size: 1.1rem;
  color: rgba(244, 239, 227, 0.6);
  margin-bottom: var(--space-md);
}

/* === Reviews / Testimonials === */
.reviews {
  padding-block: var(--space-xl);
  background-color: var(--salt-warm-sand);
}

.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

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

.reviews__card {
  background: var(--salt-white);
  border-radius: 6px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: none;
  margin: 0;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.reviews__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--salt-gold), var(--salt-terracotta));
  border-radius: 6px 6px 0 0;
}

.reviews__stars {
  color: #D4B981;
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
}

.reviews__text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--salt-ink);
  margin-bottom: var(--space-md);
}

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

.reviews__author cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--salt-ink);
}

.reviews__source {
  font-size: 0.75rem;
  color: rgba(30, 42, 36, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* === Newsletter Signup === */
.newsletter {
  padding-block: var(--space-xl);
  background-color: var(--color-bg);
}

.newsletter__inner {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
}

.newsletter__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: var(--space-xs);
}

.newsletter__text {
  font-size: 1rem;
  color: rgba(30, 42, 36, 0.7);
  margin-bottom: var(--space-md);
}

.newsletter__form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin-inline: auto;
}

@media (max-width: 480px) {
  .newsletter__form {
    flex-direction: column;
  }
}

.newsletter__input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border: 1px solid rgba(30, 42, 36, 0.15);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--salt-white);
  transition: border-color var(--duration) var(--ease);
}

.newsletter__input:focus {
  outline: none;
  border-color: var(--salt-gold);
  box-shadow: 0 0 0 3px rgba(194, 162, 104, 0.15);
}

.newsletter__btn {
  white-space: nowrap;
}

/* === Screen-reader only === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === Focus visible for accessibility === */
:focus-visible {
  outline: 2px solid var(--salt-gold);
  outline-offset: 2px;
}
