@font-face {
  font-family: "Amoresa";
  src: url("Fonts/Amoresa.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --burgundy: #4b1218;
  --deep-burgundy: #2b090d;
  --cream: #f8f1e8;
  --ivory: #fffaf2;
  --champagne: #e0d0bc;
  --gold: #b88a4a;
  --ink: #2f1b16;
  --muted: #e5d6cb;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cormorant Garamond", Georgia, serif;
  background: var(--cream);
  color: var(--champagne);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: Georgia, serif;
  font-weight: 400;
}

a {
  text-decoration: none;
  color: inherit;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 12px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--champagne);
  margin-bottom: 18px;
}

.button {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 34px;
  border: 1px solid var(--champagne);
  color: var(--ivory);
  background: rgba(43,9,13,0.55);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  transition: 0.25s ease;
}

.button:hover {
  background: rgba(43,9,13,0.85);
}

/* NAVIGATION */

.nav {
  position: absolute;
  top: 0;
  width: 100%;
  height: 76px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 7%;
  z-index: 100;
}

.nav-links {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  color: var(--ivory);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11px;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--champagne);
}

.monogram {
  color: var(--champagne);
  font-size: 30px;
  letter-spacing: 8px;
  font-family: Georgia, serif;
}

/* HERO (index only) */

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    linear-gradient(rgba(68, 25, 38, 0.4), rgba(68, 25, 38, 0.4)),
    url("Images/IMG_9092.JPG");
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ivory);
  padding: 120px 7%;
}

.hero h1 {
  font-family: "Amoresa", Georgia, serif;
  font-size: clamp(46px, 8vw, 96px);
  font-weight: 100;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-names {
  font-family: Georgia, serif;
  font-size: clamp(18px, 3vw, 32px);
  letter-spacing: 6px;
  color: var(--ivory);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.date-group {
  margin-top: 30px;
}

.date-line {
  margin-top: 6px;
  letter-spacing: 6px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 300;
  color: var(--ivory);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* INTRO (index only) */

.intro {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 80px 8%;
  text-align: center;
  color: var(--ivory);
  background: var(--deep-burgundy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.intro .eyebrow {
  color: var(--champagne);
}

.intro h2 {
  font-size: clamp(34px, 5vw, 58px);
  max-width: 900px;
  margin: 0 auto 24px;
}

.intro p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--champagne);
}

.intro p + p {
  margin-top: 12px;
}


/* PAGE HERO (inner pages) */

.page-hero {
  padding: 160px 8% 100px;
  text-align: center;
  color: var(--ivory);
  background:
    linear-gradient(rgba(68,25,38,0.4), rgba(68,25,38,0.4)),
    url("Images/IMG_9092.JPG");
  background-size: cover;
  background-position: center;
}

.page-hero h1 {
  font-size: clamp(42px, 7vw, 90px);
  letter-spacing: 4px;
}

/* SPLIT SECTION */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  min-height: 100dvh;
}

.split-image {
  background-size: cover;
  background-position: center;
  min-height: 500px;
}

.story-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
}

.story-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(68, 25, 38, 0.4);
  pointer-events: none;
}

.story-images {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.story-img {
  background-size: cover;
  background-position: center;
}

.story-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--ivory);
  padding: 80px 8%;
  background: rgba(43,9,13,0.35);
  width: 100%;
}

.image-two {
  background-image:
    url("Images/DD7C505A-36D4-4F21-BE03-35E0A6147015.PNG");
}

.split-content {
  background: var(--deep-burgundy);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 10%;
}

.split-content h2 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  margin-bottom: 24px;
}

.split-content p {
  color: #e8d8c8;
  max-width: 540px;
}

/* DETAILS */

.details {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 80px 8% 50px;
  text-align: center;
  color: var(--ivory);
  background:
    linear-gradient(rgba(68,25,38,0.4), rgba(68,25,38,0.4)),
    url("Images/Details.JPG");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.details h2 {
  font-family: "Amoresa", Georgia, serif;
  font-size: clamp(34px, 5vw, 58px);
  margin-bottom: 50px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  max-width: 1400px;
  margin: auto;
}

.detail-card {
  background: rgba(255,250,242,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 80px 56px;
}

.detail-card h3 {
  font-size: 30px;
  margin-bottom: 18px;
}

.detail-card p {
  font-size: 12px;
  letter-spacing: 2px;
  margin-top: 8px;
  color: #f4e8df;
}

/* TIMELINE */

.timeline {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--ivory);
  color: var(--deep-burgundy);
  padding: 80px 8%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.timeline h2 {
  font-size: clamp(34px, 5vw, 58px);
  margin-bottom: 50px;
}

.timeline-list {
  max-width: 760px;
  margin: auto;
  border-left: 1px solid var(--deep-burgundy);
  text-align: left;
}

.timeline-item {
  padding: 0 0 38px 38px;
  position: relative;
}

.timeline-item::before {
  content: "";
  width: 13px;
  height: 13px;
  background: var(--deep-burgundy);
  border-radius: 50%;
  position: absolute;
  left: -7px;
  top: 6px;
}

.timeline-item span {
  color: var(--deep-burgundy);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 15px;
}

.timeline-item h3 {
  font-size: 28px;
  margin: 8px 0;
}

.timeline-item p {
  color: var(--deep-burgundy);
}

/* RSVP */

.rsvp {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 120px 8%;
  text-align: center;
  color: var(--ivory);
  background:
    linear-gradient(rgba(68,25,38,0.4), rgba(68,25,38,0.4)),
    url("Images/berwick.jpeg");
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
}

.rsvp-box {
  max-width: 680px;
  margin: auto;
  padding: 60px 40px;
}

.rsvp h2 {
  font-family: "Amoresa", Georgia, serif;
  font-size: clamp(42px, 6vw, 78px);
  margin-bottom: 18px;
}

.rsvp p {
  color: #f0e3d8;
}

/* FAQS */

.faqs {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 80px 8%;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.faqs h2 {
  font-size: clamp(34px, 5vw, 58px);
  text-align: center;
  margin-bottom: 60px;
  color: var(--deep-burgundy);
}

.faq-list {
  max-width: 820px;
  margin: auto;
}

.faq-item {
  border-bottom: 1px solid var(--muted);
  padding: 32px 0;
}

.faq-item h3 {
  font-size: 22px;
  color: var(--deep-burgundy);
  margin-bottom: 12px;
}

.faq-item p {
  color: var(--ink);
}

/* FOOTER */

footer {
  background: var(--deep-burgundy);
  color: var(--ivory);
  padding: 70px 8%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

footer h3 {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 12px;
  margin-bottom: 18px;
  color: var(--champagne);
  font-family: Arial, sans-serif;
}

footer p, footer a {
  display: block;
  margin-bottom: 8px;
  color: #e2cec0;
  font-size: 14px;
}

footer a:hover {
  color: var(--champagne);
}

/* MOBILE */

@media (max-width: 900px) {

  .nav-links {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .date-line {
    letter-spacing: 3px;
  }

  .split,
  footer {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .story-images {
    grid-template-columns: 1fr;
  }

  .story-img:nth-child(2),
  .story-img:nth-child(3) {
    display: none;
  }

}

@media (max-width: 560px) {

  .rsvp-box {
    padding: 36px 24px;
  }
}
