/* ==========================================================================
   Luxe Events — Design System
   Off-white / baby pink / golden beige base, royal blue & red as wedding
   accents only. Cormorant Garamond for display, Manrope for everything
   that has to be read quickly.
   ========================================================================== */

:root {
  /* Color */
  --off-white: #FAF7F2;
  --ivory: #F5EFE6;
  --baby-pink: #F6DDE2;
  --blush: #EBC7CE;
  --gold: #D8B98A;
  --champagne: #E7D3B0;
  --text: #2C2523;
  --text-soft: #6F6460;
  --royal-blue: #1F3A68;
  --royal-red: #8B1E2D;
  --white: #FFFFFF;

  /* Surfaces */
  --surface-0: var(--off-white);
  --surface-1: var(--ivory);
  --surface-2: var(--baby-pink);

  /* Type */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Shadow — warm-tinted, not generic grey */
  --shadow-soft: 0 12px 30px -18px rgba(44, 37, 35, 0.35);
  --shadow-lift: 0 22px 45px -20px rgba(44, 37, 35, 0.4);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 300ms;
  --dur-med: 600ms;
  --dur-slow: 900ms;

  --container: 1240px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface-0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  margin: 0;
  letter-spacing: 0.01em;
}
p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Layout helpers ---- */
.wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-md);
}
section { position: relative; }
.section-pad { padding-block: var(--space-2xl); }
.section-pad--sm { padding-block: var(--space-xl); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--royal-red);
  margin-bottom: var(--space-sm);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.heading-xl { font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.05; }
.heading-lg { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.1; }
.heading-md { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.2; }

.lede {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--text-soft);
  max-width: 46ch;
}
.body-copy {
  color: var(--text-soft);
  max-width: 56ch;
  font-size: 1rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible {
  outline: 2px solid var(--royal-blue);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--text);
  color: var(--off-white);
}
.btn-primary:hover { background: var(--royal-red); }
.btn-outline {
  background: transparent;
  border-color: var(--text);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--royal-red);
  color: var(--royal-red);
}
.btn-ghost-light {
  background: rgba(250, 247, 242, 0.14);
  border-color: rgba(250, 247, 242, 0.65);
  color: var(--off-white);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover {
  background: var(--off-white);
  color: var(--text);
  border-color: var(--off-white);
}
.btn .arrow { transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- Header / Footer placeholders ---- */
.header-placeholder,
.footer-placeholder {
  /* Reserved space so page rhythm looks correct while the real
     header/footer are integrated later. Safe to remove padding
     once real markup is inserted. */
  height: 88px;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--text);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform 1600ms var(--ease-out);
}
.hero.is-loaded .hero__media img {
  opacity: 1;
  transform: scale(1);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 37, 35, 0.15) 0%,
    rgba(44, 37, 35, 0.35) 55%,
    var(--off-white) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: var(--space-2xl) var(--space-xl);
  display: grid;
  grid-template-columns: 3px 1fr;
  gap: var(--space-md);
  color: var(--off-white);
}
.hero__rule {
  background: var(--gold);
  height: 0;
  align-self: stretch;
  transition: height 1100ms var(--ease-out) 400ms;
}
.hero.is-loaded .hero__rule { height: 100%; }
.hero__eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--champagne);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-med) var(--ease-out) 200ms,
              transform var(--dur-med) var(--ease-out) 200ms;
}
.hero.is-loaded .hero__eyebrow { opacity: 1; transform: translateY(0); }
.hero__title {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.04;
  color: var(--off-white);
  max-width: 14ch;
  margin-block: 0.35em 0.6em;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur-slow) var(--ease-out) 380ms,
              transform var(--dur-slow) var(--ease-out) 380ms;
}
.hero.is-loaded .hero__title { opacity: 1; transform: translateY(0); }
.hero__desc {
  max-width: 40ch;
  color: var(--ivory);
  font-size: 1.05rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-med) var(--ease-out) 560ms,
              transform var(--dur-med) var(--ease-out) 560ms;
}
.hero.is-loaded .hero__desc { opacity: 1; transform: translateY(0); }
.hero__cta {
  margin-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-med) var(--ease-out) 720ms,
              transform var(--dur-med) var(--ease-out) 720ms;
}
.hero.is-loaded .hero__cta { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Reveal-on-scroll (single trigger, IntersectionObserver driven)
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="scale"] { transform: scale(0.97); }
[data-reveal="scale"].is-visible { transform: scale(1); }

/* ==========================================================================
   INTRO
   ========================================================================== */
.intro {
  text-align: center;
  padding-block: var(--space-2xl) var(--space-xl);
}
.intro__inner {
  max-width: 62ch;
  margin-inline: auto;
}
.intro__mark {
  width: 46px;
  height: 46px;
  margin-inline: auto var(--space-md);
  color: var(--gold);
}
.intro h2 { margin-bottom: var(--space-md); }
.intro p { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--text-soft); }

/* ==========================================================================
   FOOD & CATERING (editorial asymmetric)
   ========================================================================== */
.food {
  background: var(--ivory);
}
.food__editorial {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg);
  align-items: center;
}
.food__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.food__frame img { width: 100%; height: 100%; object-fit: cover; }
.food__frame::after {
  content: "";
  position: absolute;
  inset: var(--space-sm);
  border: 1px solid rgba(250, 247, 242, 0.55);
  border-radius: calc(var(--radius-lg) - 10px);
  pointer-events: none;
}
.food__text h2 { margin-bottom: var(--space-sm); }
.food__text .body-copy { margin-bottom: var(--space-md); }

.food__strip {
  margin-top: var(--space-xl);
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-sm);
  scrollbar-width: none;
}
.food__strip::-webkit-scrollbar { display: none; }
.food__card {
  position: relative;
  flex: 0 0 auto;
  width: 260px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  scroll-snap-align: start;
}
.food__card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.food__card:hover img { transform: scale(1.05); }
.food__card span {
  position: absolute;
  left: var(--space-sm);
  bottom: var(--space-sm);
  color: var(--off-white);
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.food__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44,37,35,0) 45%, rgba(44,37,35,0.65) 100%);
}

/* ==========================================================================
   WEDDING EXPERIENCES — mosaic grid (irregular, not identical cards)
   ========================================================================== */
.weddings__mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: var(--space-sm);
}
.wcard {
  position: relative;
  grid-column: span 2;
  grid-row: span 2;
  border-radius: var(--radius-md);
  overflow: hidden;
  isolation: isolate;
}
.wcard--wide { grid-column: span 4; }
.wcard--tall { grid-row: span 3; }
.wcard img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.wcard::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(44,37,35,0) 40%, rgba(44,37,35,0.72) 100%);
  transition: background var(--dur-med) var(--ease-out);
}
.wcard__label {
  position: absolute;
  left: var(--space-sm);
  right: var(--space-sm);
  bottom: var(--space-sm);
  z-index: 2;
  color: var(--off-white);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-sm);
}
.wcard__label h3 { font-size: 1.4rem; color: var(--off-white); }
.wcard__label p {
  font-size: 0.85rem;
  color: var(--ivory);
  max-width: 22ch;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity var(--dur-fast) var(--ease-out), max-height var(--dur-fast) var(--ease-out);
}
.wcard__arrow {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(250,247,242,0.6);
  display: grid;
  place-items: center;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.wcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.wcard:hover img { transform: scale(1.06); }
.wcard:hover .wcard__label p { opacity: 1; max-height: 3.5em; margin-top: 4px; }
.wcard:hover .wcard__arrow { transform: translateX(4px); background: var(--royal-red); border-color: var(--royal-red); }
.wcard { transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }

/* ==========================================================================
   BREWERIES / BEVERAGE — alternating editorial (reverse of food)
   ========================================================================== */
.brew {
  background: linear-gradient(180deg, var(--baby-pink) 0%, var(--off-white) 100%);
}
.brew__editorial {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-lg);
  align-items: center;
}
.brew__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  order: 2;
}
.brew__frame img { width: 100%; height: 100%; object-fit: cover; }
.brew__text { order: 1; }
.brew__text h2 { margin-bottom: var(--space-sm); }
.brew__text .body-copy { margin-bottom: var(--space-md); }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.pill {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--champagne);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.pill:hover { border-color: var(--royal-blue); background: var(--ivory); }

/* ==========================================================================
   MORE THAN WEDDINGS — compact list, keeps weddings visually dominant
   ========================================================================== */
.more-events__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(44, 37, 35, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.event-tile {
  background: var(--off-white);
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: background var(--dur-fast) var(--ease-out);
}
.event-tile:hover { background: var(--ivory); }
.event-tile svg { width: 26px; height: 26px; color: var(--royal-red); }
.event-tile h3 { font-size: 1.2rem; }
.event-tile p { color: var(--text-soft); font-size: 0.92rem; }

/* ==========================================================================
   GALLERY TEASER — masonry-ish
   ========================================================================== */
.gallery-teaser__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: var(--space-sm);
}
.gallery-teaser__grid a {
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
}
.gallery-teaser__grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.gallery-teaser__grid a:hover img { transform: scale(1.05); }
.gt-1 { grid-column: span 2; grid-row: span 2; }
.gt-4 { grid-column: span 2; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

/* ==========================================================================
   WHY LUXE EVENTS — editorial list, thin gold dividers (no icon-card kit)
   ========================================================================== */
.why {
  background: var(--text);
  color: var(--off-white);
}
.why h2 { color: var(--off-white); margin-bottom: var(--space-lg); max-width: 20ch; }
.why__list { border-top: 1px solid rgba(216, 185, 138, 0.35); }
.why__row {
  display: grid;
  grid-template-columns: 0.6fr 1.6fr 1.2fr;
  gap: var(--space-md);
  padding-block: var(--space-md);
  border-bottom: 1px solid rgba(216, 185, 138, 0.35);
  align-items: baseline;
}
.why__row span { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.why__row h3 { color: var(--off-white); font-size: 1.4rem; font-weight: 500; }
.why__row p { color: var(--ivory); font-size: 0.95rem; }

/* ==========================================================================
   TESTIMONIALS — horizontal scroll-snap
   ========================================================================== */
.testimonials__track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-sm);
  scrollbar-width: none;
}
.testimonials__track::-webkit-scrollbar { display: none; }
.tcard {
  flex: 0 0 auto;
  width: min(78vw, 420px);
  scroll-snap-align: start;
  background: var(--surface-1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.tcard p.quote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text);
  line-height: 1.4;
}
.tcard__meta { display: flex; flex-direction: column; }
.tcard__meta b { font-size: 0.95rem; }
.tcard__meta span { font-size: 0.85rem; color: var(--text-soft); }

/* ==========================================================================
   ENQUIRY CTA BANNER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(120deg, var(--champagne) 0%, var(--blush) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  margin-inline: var(--space-md);
}
.cta-banner h2 { margin-bottom: var(--space-sm); }
.cta-banner p { color: var(--text-soft); margin-bottom: var(--space-lg); }
.cta-banner .btn-row { display: flex; justify-content: center; gap: var(--space-sm); flex-wrap: wrap; }

/* ==========================================================================
   Mobile bottom CTA
   ========================================================================== */
.mobile-cta {
  position: fixed;
  left: var(--space-sm);
  right: var(--space-sm);
  bottom: var(--space-sm);
  z-index: 40;
  display: none;
}
.mobile-cta .btn { width: 100%; justify-content: center; box-shadow: var(--shadow-lift); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .food__editorial, .brew__editorial { grid-template-columns: 1fr; }
  .brew__frame, .brew__text { order: initial; }
  .more-events__list { grid-template-columns: repeat(2, 1fr); }
  .why__row { grid-template-columns: 0.5fr 1fr; }
  .why__row p { grid-column: span 2; }
  .gallery-teaser__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .section-pad { padding-block: var(--space-xl); }
  .section-pad--sm { padding-block: var(--space-lg); }
  .weddings__mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .wcard, .wcard--wide, .wcard--tall { grid-column: span 2; grid-row: span 2; }
  .more-events__list { grid-template-columns: 1fr 1fr; }
  .gallery-teaser__grid { grid-template-columns: repeat(2, 1fr); }
  .gt-1 { grid-column: span 2; }
  .mobile-cta { display: block; }
  .cta-banner { margin-inline: 0; border-radius: var(--radius-md); }
}

@media (max-width: 480px) {
  .more-events__list { grid-template-columns: 1fr; }
}

/* ---- Focus visibility ---- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--royal-blue);
  outline-offset: 3px;
}
