/* ═══════════════════════════════════════
   WEDDINGS.CSS - Weddings page
   Loaded after main.css. Styles for this page's own sections only.
═══════════════════════════════════════ */

/* ── HERO ── */
/* Text on the left, with the photo running off the right edge of the screen. */
.wed-hero {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: clamp(460px, 66vh, 680px);
  padding: 0;
  background: var(--cream);
  border-bottom: 3px solid var(--gold);
}
.wed-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 3rem 3rem max(2rem, calc((100vw - 1200px) / 2 + 2rem));
}
.wed-hero h1 {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  margin-top: 0.75rem;
}
.wed-hero .lead { margin-top: 1.1rem; }
.wed-hero .btn-group { margin-top: 1.75rem; }
.wed-hero-photo {
  position: relative;
  border-left: 4px solid var(--gold);
}
.wed-hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 30%;
}

/* ── YOUR CANVAS ── */
/* The photo and green panel come from the shared .guide section in main.css. */
.guide-copy .split-head { margin-bottom: 1.75rem; }
.guide-copy .split-head p { color: var(--white); }
.wed-facts {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}
/* Libre Baskerville stops at 700, so a thin outline makes these extra bold. */
.wed-facts strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.3rem;
  -webkit-text-stroke: 0.4px currentColor;
}
.wed-facts span {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.05rem;
  color: var(--cream);
}

/* ── THE WEDDING DAY ── */
/* Photo and text swap sides on every other row. */
.day-list { display: grid; gap: 3rem; }
.day-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.day-row:nth-child(even) .day-photo { order: 2; }
.day-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  border: 3px solid var(--white);
  box-shadow: 10px 10px 0 var(--gold);
}
.day-time {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.4rem;
}
.day-copy h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.day-copy p { font-size: 1.1rem; }

/* ── VENDORS AND GOOD TO KNOW ── */
.wed-vendors-inner,
.wed-rules-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.wed-vendors-photo img,
.wed-rules-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.vendor-list {
  border-top: 4px solid var(--gold);
  padding-top: 1rem;
}
.vendor-list + .vendor-list { margin-top: 1.75rem; }
.vendor-list h3 { margin-bottom: 0.75rem; }
.wed-check {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.wed-check li {
  position: relative;
  padding-left: 1.75rem;
}
.wed-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--gold-dark);
  border-bottom: 3px solid var(--gold-dark);
  transform: rotate(-45deg);
}
.wed-link {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--green);
}

/* ── GOOD TO KNOW ── */
.rule-list { display: grid; gap: 0.75rem; }
.rule-item {
  background: var(--cream-light);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.rule-item h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.rule-item p { font-size: 1.05rem; }

/* ── PRICE ── */
.wed-price-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.wed-price .eyebrow { color: #E2C387; }
.wed-price .split-head p { color: var(--white); }
.wed-prices {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
}
.wed-prices span {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E2C387;
}
.wed-prices strong {
  display: block;
  font-family: var(--font-head);
  font-size: 3.75rem;
  line-height: 1.1;
  color: var(--white);
}

/* ── FINAL CTA ── */
.wed-cta {
  padding: 0 0 3rem;
  background: var(--cream);
}
.wed-cta-photo {
  height: 380px;
  overflow: hidden;
  border-bottom: 4px solid var(--gold);
}
.wed-cta-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.wed-cta-card {
  position: relative;
  max-width: 640px;
  margin-top: -7rem;
  background: var(--cream-light);
  border-top: 4px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 2rem 2.25rem;
}

/* ══════════════════════
   SMALL TABLET (≤ 900px)
══════════════════════ */
@media (max-width: 900px) {
  .wed-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .wed-hero-photo {
    order: -1;
    height: 280px;
    border-left: 0;
    border-bottom: 4px solid var(--gold);
  }
  .wed-hero-copy { padding: 2.5rem 1.25rem; }
  .day-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .day-row:nth-child(even) .day-photo { order: 0; }
  .wed-vendors-inner,
  .wed-rules-inner,
  .wed-price-inner { grid-template-columns: minmax(0, 1fr); }
  .wed-vendors-photo img,
  .wed-rules-photo img { aspect-ratio: 3 / 2; }
}

/* ══════════════════════
   MOBILE (≤ 768px)
══════════════════════ */
@media (max-width: 768px) {
  .day-photo img { box-shadow: 8px 8px 0 var(--gold); }
  .wed-price { text-align: center; }
  .wed-prices { justify-content: center; }
  .wed-prices strong { font-size: 3rem; }
  .wed-cta-photo { height: 260px; }
  .wed-cta-card { margin-top: -3rem; padding: 1.5rem; }
}
