:root {
  --cream: #f8f4ec;
  --paper: #fffdf8;
  --ink: #34312f;
  --muted: #706963;
  --rose: #d8b2b0;
  --rose-deep: #b78383;
  --sage: #9da994;
  --line: #e8dfd5;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* { box-sizing: border-box }

html { scroll-behavior: smooth }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
}

a { color: inherit }

/* ---------- Top bar / nav ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: rgba(248, 244, 236, 0.5);
}

.nav {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 12px;
  padding-right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { margin-left: 0; padding-left: 0 }

.brand-logo {
  display: block;
  height: 48px;
  width: auto;
  object-fit: contain;
}

.navlinks {
  display: flex;
  gap: 22px;
  align-items: center;
}

.navlinks a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: .68rem;
  letter-spacing: .15em;
  color: black;
}

.navlinks a:hover { color: var(--rose-deep) }

.menu {
  display: none;
  border: 0;
  background: none;
  font-size: 1.4rem;
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 75vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: #8c8174;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark overlay to keep the text readable */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 25, 23, 0.12), rgba(28, 25, 23, 0.50));
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 90px 20px 100px;
  text-shadow: 0 2px 22px #302a26;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .27em;
  font-size: .7rem;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.4rem, 9vw, 7.8rem);
  line-height: .98;
  margin: 22px 0;
}

.hero .amp { font-style: italic; color: #cf3507 }

.hero-date {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: .14em;
}

.pill {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, .85);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .68rem;
  transition: .2s;
}

.pill:hover { background: white; color: var(--ink); text-shadow: none }

/* ---------- Shared section styles ---------- */
section { scroll-margin-top: 76px }

.section { padding: 86px 24px }

/* Pages without a hero (e.g. stays.html) need room for the fixed nav */
.page-top { padding-top: 130px }

.wrap { max-width: 1050px; margin: auto }

.kicker {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .67rem;
  color: var(--rose-deep);
  text-align: center;
}

h2 {
  font-family: var(--serif);
  font-weight: 400;
  text-align: center;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  margin: 10px 0 22px;
}

.intro {
  max-width: 660px;
  text-align: center;
  margin: 0 auto;
  color: var(--muted);
}

/* ---------- Our story ---------- */
.story { background: var(--paper) }

.story-title { margin: 0.5rem 0 1rem; text-align: center }

.story-title img {
  display: block;
  width: 280px;
  max-width: 80%;
  height: auto;
  margin: 0 auto;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
  margin-top: 48px;
}

.story-photo img {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: contain;
  object-position: center;
}

.story-copy p { color: var(--muted) }

.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.65rem;
  margin-top: 24px;
}

.divider-flower {
  text-align: center;
  color: var(--rose-deep);
  font-size: 1.5rem;
  margin-top: 26px;
}

/* ---------- Venue ---------- */
.ceremony { background: #f2eadf }

.details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
  align-items: stretch;
}

.detail {
  background: rgba(255, 253, 248, .82);
  padding: 30px 24px;
  text-align: center;
  border: 1px solid #e9ded1;
}

.detail .icon { font-size: 1.4rem; color: var(--rose-deep) }

.detail h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.55rem;
  margin: 8px 0;
}

.detail p { color: var(--muted); font-size: .91rem; margin: 6px 0 }

.detail a {
  display: inline-block;
  margin-top: 13px;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  text-decoration: none;
  border-bottom: 1px solid var(--rose-deep);
  padding-bottom: 3px;
}

.map-detail { padding-bottom: 24px }

.map-frame {
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid #e4d8cb;
}

.map-frame iframe { display: block; width: 100%; height: 260px; border: 0 }

/* ---------- Travel guide ---------- */
.travel { background: #d7b3b2 }

.travel .kicker { color: #725251 }

.travel .intro { color: #594947 }

.travel-group { margin-top: 45px }

.travel-group h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.8rem;
  margin: 0 0 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.place { background: rgba(255, 250, 245, .65); padding: 10px 10px 18px }

.place img {
  display: block;
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.place h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin: 13px 8px 4px;
}

.place p { font-size: .83rem; color: #665452; margin: 0 8px 12px }

.place a {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 8px;
  text-decoration: none;
  border-bottom: 1px solid #92716e;
  padding-bottom: 3px;
}

.travel-note { font-size: .9rem; color: #594947; margin-top: 15px }

/* Link from the travel guide to the stays page */
.stay-cta { text-align: center }

.stay-cta p { color: #594947; max-width: 560px; margin: 0 auto 20px }

.stay-cta .rsvp-button {
  background-color: #34483B;
  color: #fff;
}

.stay-cta .rsvp-button:hover { background-color: transparent; color: #34483B }

/* Back link on the stays page */
.back-link { text-align: center; margin-top: 50px }

.back-link a {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  text-decoration: none;
  border-bottom: 1px solid #92716e;
  padding-bottom: 3px;
  color: #594947;
}

/* ---------- RSVP ---------- */
.rsvp { background: var(--paper) }

.rsvp-card {
  text-align: center;
  max-width: 650px;
  margin: 35px auto 0;
  padding: clamp(24px, 5vw, 48px);
}

.rsvp-button {
  display: inline-block;
  padding: 14px 36px;
  background-color: #34483B;
  color: #FFFFFF;
  text-decoration: none;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 500;
  border: 1px solid #34483B;
  transition: all 0.3s ease;
}

.rsvp-button:hover { background-color: transparent; color: #34483B }

/* ---------- FAQ ---------- */
.faq { background: #f2eadf }

.faq-list { max-width: 740px; margin: 34px auto 0 }

details { border-bottom: 1px solid #d9cec3; padding: 17px 0 }

summary { cursor: pointer; font-family: var(--serif); font-size: 1.2rem }

details p { color: var(--muted); margin: 12px 0 0 }

/* ---------- Footer ---------- */
footer {
  background: #37312e;
  color: #f7f0e7;
  text-align: center;
  padding: 46px 20px;
}

footer .footer-names { font-family: var(--serif); font-size: 2rem }

footer p {
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #d2c3b9;
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .nav { padding: 12px 18px }

  .menu { display: block }

  .navlinks {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid var(--line);
  }

  .navlinks.open { display: flex }

  .hero { min-height: 70vh }

  .section { padding: 65px 20px }

  .page-top { padding-top: 110px }

  .story-grid { grid-template-columns: 1fr; gap: 26px }

  .story-photo {
    min-height: 360px;
    max-width: 440px;
    width: 100%;
    margin: auto;
  }

  .story-photo img { height: 360px }

  .details { grid-template-columns: 1fr }

  .map-frame iframe { height: 240px }

  .cards { grid-template-columns: 1fr 1fr }

  .place img { height: 150px }
}

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

  .place img { height: 210px }

  .hero h1 { font-size: 3.6rem }
}

/* Travel guide hub: three link cards */
.cta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 45px;
}

.cta-row .stay-cta {
  margin-top: 0;
  background: rgba(255, 250, 245, .65);
  padding: 30px 22px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-row .stay-cta p { flex: 1; font-size: .9rem }

@media (max-width: 760px) {
  .cta-row { grid-template-columns: 1fr }
}

/* Icons on the travel guide cards */
.cta-icon {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 16px;
}

/* Animated divider under "Our Story" */
.divider-gif {
  text-align: center;
  margin-top: 26px;
}

.divider-gif img {
  display: inline-block;
  max-width: 120px;
  height: auto;
}