/* Shared styles for V & P wedding site */

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

html, body {
  min-height: 100%;
  width: 100%;
}

/* Scoped to content pages (body.page) only, not the index.html hero,
   which also links this stylesheet but tunes its own clamp()/rem sizing
   against the browser default (16px) root. */
:root:has(body.page) {
  font-size: 20px; /* larger base so all rem-sized text on these pages reads easily */
}

body {
  font-family: 'Cormorant Garamond', serif;
  background: #434B4D;
  color: #f5f0e8;
}

/* Gold beech-branch divider, used above section headings.
   Real CC0 SVG (freesvg.org), not hand-drawn. */
.leaf-divider {
  width: 252px;
  height: 98px;
  margin: 0 auto;
  background-image: url("divider-leaf.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Gold interlocking-hearts divider, used above sections on the Travel page. */
.hearts-divider {
  width: min(468px, 90%);
  height: 70px;
  margin: clamp(28px, 5vw, 44px) auto clamp(7px, 1.5vw, 12px);
  background-image: url("gold-interlocking-hearts.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.9;
}

/* Small quiet leaf sprig, used as a corner accent on cards.
   Real CC0 SVG (openclipart.org, via freesvg.org), not hand-drawn. */
.leaf-corner {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 23px;
  height: 23px;
  opacity: 0.7;
  pointer-events: none;
  background-image: url("corner-leaf.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

body.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: clamp(1.4rem, 4vw, 3rem);
  padding: 18px 20px;
  background: rgba(85, 95, 98, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(240, 185, 61, 0.4);
}

.site-nav a {
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(0.81rem, 1.36vw, 0.98rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F5F1E8;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.site-nav a:hover {
  color: #F5F1E8;
}

.site-nav a.active {
  color: #F5F1E8;
  border-bottom-color: #f0b93d;
}

/* ---------- Page shell ---------- */

.page-content {
  flex: 1;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) 20px 96px;
}

.page-header {
  text-align: center;
  margin-bottom: clamp(18px, 3vw, 32px);
}

.page-header .script {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.6rem, 7vw, 4rem);
  color: #f5f0e8;
  line-height: 1.1;
}

.page-header .subtitle {
  margin-top: 10px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d8c9ab;
}

/* ---------- Countdown ---------- */

.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 4vw, 36px);
  margin: 0 auto clamp(18px, 3vw, 32px);
  flex-wrap: wrap;
}

.countdown .unit {
  text-align: center;
  min-width: 64px;
}

.countdown .num {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 500;
  color: #D2AD4C;
  line-height: 1;
}

.countdown .label {
  margin-top: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b8a583;
}

/* ---------- Schedule / Event list ---------- */

.schedule-date {
  text-align: center;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D2AD4C;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.event {
  position: relative;
  border-top: 1px solid rgba(240, 185, 61, 0.25);
  padding: clamp(24px, 4vw, 36px) 0;
  padding-left: 30px;
}

.event .leaf-corner {
  top: clamp(24px, 4vw, 36px);
  left: 0;
}

.event:last-child {
  border-bottom: 1px solid rgba(240, 185, 61, 0.25);
}

.event-time {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8a583;
  margin-bottom: 6px;
}

.event-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.9rem, 4.2vw, 2.5rem);
  color: #f5f0e8;
  margin-bottom: 10px;
}

.event-venue {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.event-address {
  color: #e4ddd0;
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.event-address a {
  color: #F5F1E8;
  text-decoration: underline;
  text-decoration-color: rgba(240, 185, 61, 0.4);
}

.event-desc {
  font-size: 1.15rem;
  color: #e4ddd0;
  line-height: 1.6;
}

/* ---------- Travel page ---------- */

.section-heading {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2rem, 4.5vw, 2.6rem);
  color: #f5f0e8;
  text-align: center;
  margin: clamp(44px, 7vw, 72px) 0 clamp(20px, 4vw, 32px);
}

.section-heading:first-of-type {
  margin-top: 0;
}

.intro-text {
  text-align: center;
  color: #e4ddd0;
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 8px;
}

.airport-list {
  list-style: none;
  max-width: 520px;
  margin: 32px auto 0;
  text-align: center;
}

.airport-list li {
  padding: 18px 0;
  border-top: 1px solid rgba(240, 185, 61, 0.2);
  font-size: 1.15rem;
}

.airport-list li:last-child {
  border-bottom: 1px solid rgba(240, 185, 61, 0.2);
}

.airport-list .airport-name {
  font-weight: 600;
  color: #f5f0e8;
}

.airport-list .airport-loc {
  color: #e4ddd0;
  font-size: 1.15rem;
  margin-top: 2px;
}

.hotel-group-label {
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b8a583;
  margin: 48px 0 24px;
}

.hotel-group-label:first-of-type {
  margin-top: 40px;
}

.hotel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 12px;
}

.hotel-card {
  position: relative;
  background: rgba(240, 185, 61, 0.06);
  border: 1px solid rgba(240, 185, 61, 0.22);
  border-radius: 4px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
}

.hotel-name {
  font-weight: 600;
  font-size: 1.25rem;
  color: #f5f0e8;
  margin-bottom: 4px;
}

.hotel-address {
  margin-bottom: 10px;
}

.hotel-address a {
  color: #F5F1E8;
  font-size: 1.15rem;
  text-decoration: underline;
  text-decoration-color: rgba(240, 185, 61, 0.35);
  transition: color 0.2s ease;
}

.hotel-address a:hover {
  color: #F5F1E8;
}

.hotel-distance {
  font-size: 1.15rem;
  color: #e4ddd0;
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.hotel-link {
  align-self: flex-start;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F5F1E8;
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 185, 61, 0.5);
  padding-bottom: 2px;
}

.hotel-link:hover {
  color: #F5F1E8;
  border-bottom-color: #F5F1E8;
}

/* ---------- Map ---------- */

.map-wrap {
  margin-top: 24px;
}

#venue-map {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 82vh;
  border-radius: 4px;
  border: 1px solid rgba(240, 185, 61, 0.3);
  background: #241b10;
}

.map-note {
  text-align: center;
  color: #b8a583;
  font-size: 0.85rem;
  margin-top: 10px;
}

.closing-text {
  text-align: center;
  color: #e4ddd0;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 620px;
  margin: clamp(48px, 8vw, 72px) auto 0;
}

/* ---------- FAQ page ---------- */

.faq-item {
  border-top: 1px solid rgba(240, 185, 61, 0.25);
  padding: clamp(22px, 4vw, 32px) 0;
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(240, 185, 61, 0.25);
}

.faq-question {
  font-weight: 800;
  font-size: 1.4rem;
  color: #D2AD4C;
  margin-bottom: 8px;
}

.faq-answer {
  font-size: 1.1rem;
  color: #e4ddd0;
  line-height: 1.6;
}

.faq-sublabel {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D2AD4C;
  margin: 18px 0 2px;
}

.faq-sublabel:first-child {
  margin-top: 0;
}

.faq-answer + .faq-sublabel {
  padding-top: 10px;
  border-top: 1px dashed rgba(240, 185, 61, 0.2);
}

.faq-answer a {
  color: #F5F1E8;
  text-decoration: underline;
  text-decoration-color: rgba(240, 185, 61, 0.4);
}

@media (max-width: 520px) {
  .site-nav {
    gap: 1.4rem;
  }
}
