/* ===========================================================
   Natalie's Bachelorette — Gossip Girl theme
   Palette + type pulled directly from the Paperless Post invite
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;1,300&family=Bodoni+Moda:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --maroon-deep: #450808;   /* darkest accent / button fill */
  --maroon: #670c0c;        /* primary background */
  --maroon-soft: #7c1414;   /* hover / secondary panels */
  --blush: #fce8e8;         /* light cream-blush, top bars & cards */
  --white: #ffffff;
  --ink: #2b2320;
  --paper: #f6f1e5;         /* textured cardstock off-white, itinerary day cards */
  --paper-ink: rgba(69,8,8,0.6);

  /* Headings use the same Didot-style serif as the Paperless Post invite;
     the hero wordmark image keeps its own gossip-girl lowercase treatment. */
  --font-display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --font-body: "Cormorant Garamond", Georgia, serif;
  --font-label: "Poppins", "Helvetica Neue", Arial, sans-serif;

  --max-width: 880px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--maroon);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Skyline hero background (real NYC photo, blurred for bokeh) ---------- */
.skyline {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(to bottom, rgba(69,8,8,0.55), rgba(16,2,2,0.7)),
    url("../images/skyline-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.skyline-content {
  position: relative;
  z-index: 2;
}

/* Full-height, truly centered hero (used on the landing page) */
.hero-full {
  min-height: calc(100vh - 73px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

/* ---------- Nav ---------- */
.site-nav {
  background: var(--maroon-deep);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.75);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  border-color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 12px;
  cursor: pointer;
}

@media (max-width: 640px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--maroon-deep);
    flex-direction: column;
    gap: 0;
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid rgba(255,255,255,0.1); }
  .nav-links a { display: block; padding: 14px 28px; border-bottom: none; }
  .nav-toggle { display: block; }
}

/* ---------- Labels / eyebrow text ---------- */
.eyebrow {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.eyebrow.on-blush { color: var(--maroon-deep); }

.underline {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(255,255,255,0.5);
}

/* ---------- Headings ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1.1;
}

/* Hero wordmark image — "natalie's bachelorette" set in Poppins with the
   "t" stem extended down, echoing the descender on the "p" in the
   "gossip girl" logo. Rendered as a pre-built image so the flourish
   lines up exactly, instead of relying on CSS/font-metric guesswork. */
h1.hero-wordmark {
  margin: 0;
}

h1.hero-wordmark img {
  display: block;
  width: min(90vw, 480px);
  height: auto;
  margin: 0 auto;
}

h2 {
  font-size: clamp(26px, 4vw, 36px);
}

h3 {
  font-size: 22px;
  font-weight: 400;
}

.script {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border: 1px solid var(--white);
  color: var(--white);
  background: var(--maroon-deep);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn:hover { background: var(--white); color: var(--maroon-deep); }

.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Sections / cards ---------- */
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }

.divider-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--white);
  margin: 40px auto;
}

.card {
  background: var(--maroon-soft);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 28px;
}

.card + .card { margin-top: 20px; }

.on-blush {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--paper);
  color: var(--maroon-deep);
}

.on-blush::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-repeat: repeat;
  background-size: 800px 800px;
  background-image: url("../images/paper-grain.png");
}

/* ---------- Password gate ---------- */
.gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.gate-box {
  max-width: 420px;
  width: 100%;
}

.gate-box form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.gate-box input[type="password"] {
  font-family: var(--font-label);
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  text-align: center;
}

.gate-box input[type="password"]::placeholder { color: rgba(255,255,255,0.5); }

.gate-error {
  color: #ffd7d7;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: 18px;
}

/* ---------- Itinerary ---------- */
/* Each day is its own textured cardstock box, echoing the invite's
   letterpress-on-paper look (grain texture + soft drop shadow). */
.day-block {
  position: relative;
  isolation: isolate;
  background-color: var(--paper);
  padding: 36px 32px;
  margin-bottom: 48px;
  border-radius: 3px;
  box-shadow: 0 18px 34px rgba(16,2,2,0.4), 0 2px 8px rgba(16,2,2,0.25);
  overflow: hidden;
}

.day-block:last-child { margin-bottom: 0; }

.day-block::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-repeat: repeat;
  background-size: 800px 800px;
  background-image: url("../images/paper-grain.png");
}

.day-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid rgba(69,8,8,0.25);
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.day-head .day-name { font-family: var(--font-display); font-weight: 400; font-size: 30px; }
.day-head .day-date { font-family: var(--font-label); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.7); }

.event {
  display: grid;
  grid-template-columns: 40px 100px 1fr;
  align-items: start;
  gap: 16px;
  padding: 16px 16px;
  margin: 0 -16px;
  border-bottom: 1px dashed rgba(255,255,255,0.2);
  border-left: 3px solid transparent;
  border-radius: 3px;
  cursor: default;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.event:last-child { border-bottom: none; }

.event:hover {
  background: rgba(255,255,255,0.08);
  border-left-color: var(--white);
  transform: translateX(6px);
}

.event:hover .event-time { color: rgba(255,255,255,0.95); }
.event:hover .event-icon { color: var(--white); transform: scale(1.12) rotate(-4deg); }

.event-icon {
  width: 30px;
  height: 30px;
  color: rgba(255,255,255,0.75);
  transition: color 0.25s ease, transform 0.25s ease;
}

.event-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-time {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding-top: 4px;
  transition: color 0.25s ease;
}

.event-title { font-family: var(--font-display); font-weight: 400; font-size: 20px; margin-bottom: 4px; }
.event-desc { font-size: 17px; color: rgba(255,255,255,0.85); }

.event-photo:empty { display: none; }
.event-photo {
  margin-top: 12px;
  overflow: hidden;
  border-radius: 2px;
  max-width: 320px;
}

.event-photo img {
  width: 100%;
  display: block;
  border: 1px solid rgba(255,255,255,0.25);
}

@media (max-width: 560px) {
  .event { grid-template-columns: 26px 1fr; gap: 10px; }
  .event-time { grid-column: 2; }
  .event-icon { grid-column: 1; grid-row: 1 / span 2; width: 24px; height: 24px; }
  .event > div:last-child { grid-column: 2; }
  .event:hover { transform: translateX(2px); }
}

/* Recolor everything inside a day card for the light cardstock background */
.day-block .day-name { color: var(--maroon-deep); }
.day-block .day-date { color: var(--paper-ink); }

.day-block .event { border-bottom-color: rgba(69,8,8,0.18); }

.day-block .event:hover {
  background: rgba(69,8,8,0.06);
  border-left-color: var(--maroon-deep);
}

.day-block .event:hover .event-time { color: rgba(69,8,8,0.85); }
.day-block .event:hover .event-icon { color: var(--maroon-deep); }

.day-block .event-icon { color: rgba(69,8,8,0.55); }
.day-block .event-time { color: var(--paper-ink); }
.day-block .event-title { color: var(--ink); }
.day-block .event-desc { color: rgba(43,35,32,0.75); }
.day-block .event-photo img { border-color: rgba(69,8,8,0.25); }

/* ---------- Announcements ---------- */
.blast {
  border-left: 2px solid var(--white);
  padding-left: 20px;
  margin-bottom: 36px;
}

.blast-meta {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.blast-spotted {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
}

.blast p { margin: 10px 0 0; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 22px 0;
}

.faq-q {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 21px;
  margin-bottom: 8px;
}

.faq-q::before { content: "Q. "; }
.faq-a::before { content: "A. "; font-family: var(--font-label); font-size: 12px; letter-spacing: 0.1em; }
.faq-a { color: rgba(255,255,255,0.9); }

/* ---------- The Place ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 32px 0;
}

.photo-grid .placeholder-lg { grid-column: span 3; }

@media (max-width: 640px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid .placeholder-lg { grid-column: span 2; }
}

.photo-placeholder {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 12px, transparent 12px 24px),
    var(--maroon-deep);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.25s ease;
}

.photo-placeholder:hover { transform: scale(1.02); }

.photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-placeholder .photo-label {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 0 10px;
}

.place-meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.place-meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.2);
  font-size: 18px;
}

.place-meta-list li:last-child { border-bottom: none; }

.place-meta-list .label {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.on-blush .place-meta-list li {
  border-bottom-color: rgba(69,8,8,0.2);
}

.on-blush .place-meta-list .label {
  color: rgba(69,8,8,0.65);
}

/* ---------- Upper Eastsiders ---------- */
.location-block { margin-bottom: 56px; }
.location-block:last-child { margin-bottom: 0; }

.friend-group {
  background: var(--maroon-soft);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 2px;
  padding: 20px 24px 4px;
  margin-bottom: 20px;
}

.group-tag { margin-bottom: 4px; }

.attendee {
  padding: 16px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.2);
}

.attendee:last-child { border-bottom: none; }

.friend-group .attendee { padding: 14px 0; border-bottom-color: rgba(255,255,255,0.15); }

.attendee-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 6px;
}

.attendee-bio {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 32px 0;
  text-align: center;
}

.site-footer .eyebrow { display: block; margin-bottom: 6px; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
