@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Parisienne&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital,wght@0,400..700;1,400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital,wght@0,400..700;1,400..700&family=Dancing+Script:wght@400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&display=swap');

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

:root {

  /* Whites */
  --white: #ffffff;
  --off-white: #f8f6f4;
  --soft-white: #fdfaf9;

  /* Blacks */
  --black: #111111;
  --soft-black: #1c1c1c;
  --charcoal: #2c2c2c;

  /* Light Pink */
  --light-pink: #f5d6df;
  --soft-pink: #eec9d2;

  /* Bright Pink */
  --bright-pink: #ff4f8b;
  --hot-pink: #ff2e78;

  /* Orange */
  --soft-orange: #f4a261;
  --warm-orange: #ee8959;
  --burnt-orange: #d96b3b;

  /* Extras */
  --border: rgba(0, 0, 0, 0.08);
  --shadow: rgba(0, 0, 0, 0.12);
  --champagne: #b8956a;

  /* Fonts */

  --heading-font: "Playfair Display", serif;
  --display-font: "Cormorant Garamond", serif;
  --script-font: "Parisienne", cursive;
  --editorial-font: "Playfair Display", serif;
  --body-text: "Baskervville", serif;
}

/* Styles */

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  flex-shrink: 0;

  background: linear-gradient(to right,
      transparent,
      var(--bright-pink),
      transparent);
}



/* Base */

html {
  scroll-behavior: smooth;
}

body {
  background: var(--off-white);
  color: var(--black);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Logo */

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bright-pink);
}

.logo img {
  height: 125px;
  width: auto;
  display: block;
}

/* Header */

.site-header {
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2em;
}

.navbar {
  width: min(1100px, 92%);
  margin: 0 auto;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Navigation */

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 500;
  transition: 0.3s ease;
}

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

/* RSVP Button */

.rsvp-btn {
  background: var(--hot-pink);
  color: var(--white) !important;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 10px 25px var(--shadow);
}

.rsvp-btn:hover {
  background: var(--hot-pink);
  transform: translateY(-2px);
}

/* Hamburger Button */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--black);
  font-size: 2rem;
  cursor: pointer;
}

/* Hero Section */

.hero {
  min-height: calc(100vh - 90px);

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.15),
      rgba(0, 0, 0, 0.15)),
    url("./assets/hero-image-one.JPG");

  background-size: 115%;
  background-position: center 90%;
  background-repeat: no-repeat;
  animation: heroZoomOut 18s ease forwards;
}


/* Zoom Out Animation */

@keyframes heroZoomOut {

  from {
    background-size: 115%;
  }

  to {
    background-size: 100%;
  }
}

/* Couples Section */

.couple-section {
  padding: 80px 20px;
  text-align: center;
  background: var(--off-white);
}

.couple-section h1 {
  font-family: "Dancing Script", cursive;
  font-size: 4rem;
  font-weight: 400;
  color: var(--champagne);
  margin-bottom: 12px;
  line-height: 1.1;
}

.couple-image {
  width: min(100%, 520px);
  height: 650px;
  object-fit: cover;
  margin-top: 40px;
  border-radius: 20px;
  display: block;
  margin-inline: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.couple-section p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--champagne);
}

.name-divider {
  width: 110px;
  height: 1px;
  background: rgba(0, 0, 0, 0.18);
  margin: 28px auto 24px;
}

.couples-paragraph {
  max-width: 520px;
  margin: 50px auto 0;
  line-height: 1.8;
  font-size: 1rem;
  color: #6f6a64;
  padding: 0 20px;
}

/* Details Section */

.details-section {
  padding: 120px 20px;
  background: var(--soft-pink);
}

.details-heading {
  font-family: var(--heading-font);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.2;
  max-width: 700px;
  margin: 0 auto 70px;
  color: var(--black);
  text-align: center;
}

.details-panel {
  max-width: 980px;
  margin: 0 auto;
  padding: 70px 60px 80px;
  background: linear-gradient(135deg, #fdfaf9 0%, #f1d4db 100%);
  color: var(--bright-pink);
  border-radius: 0px 150px;
  text-align: center;
}

.details-kicker {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  letter-spacing: 0.28em;
  text-transform: lowercase;
  margin-bottom: 42px;
  opacity: 0.75;
}

.details-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: left;
  margin-bottom: 42px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.detail-item {
  padding: 0 32px;
  border-right: 1px solid rgba(113, 45, 45, 0.14);
  text-align: center;
}

.detail-item:last-child {
  border-right: none;
}

.detail-item span {
  display: block;
  font-family: "DM Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 14px;
}

.detail-item h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.65rem;
  line-height: 1.25;
  font-weight: 600;
}

.details-description {
  max-width: 780px;
  margin: 0 auto;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.75;
  opacity: 0.8;
  border-top: 1px solid rgba(113, 45, 45, 0.14);
  padding-top: 15px;
}

/* Google Map */

.map-wrapper {
  width: min(100%, 900px);
  height: 420px;
  margin: 70px auto 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease;
  margin-top: 150px;
}

.map-wrapper:hover {
  transform: translateY(-4px);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Timeline Section */

.timeline-section {
  padding: 120px 20px;
  background:
    linear-gradient(rgba(253, 250, 247, 0.3),
      rgba(253, 250, 247, 0.3)),
    url("./assets/champagne.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.timeline-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.timeline-heading {
  font-family: var(--heading-font);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.2;
  max-width: 700px;
  margin: 0 auto 70px;
  color: var(--black);
}

.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  text-align: left;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 92px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(0, 0, 0, 0.12);
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  position: relative;
  padding-bottom: 50px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 86px;
  top: 6px;
  width: 13px;
  height: 13px;
  background: #f8f5f1;
  border: 1px solid #b8a898;
  border-radius: 50%;
  z-index: 2;
}

.timeline-time {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft-black);
  padding-top: 2px;
}

.timeline-content h3 {
  font-family: var(--heading-font);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--soft-black);
  margin: 0 0 6px;
  color: var(--black);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--black);
  max-width: 460px;
}

/* Footer Section */

.site-footer {
  padding: 90px 20px;
  text-align: center;
  background: #fdfaf7;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.site-footer h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 500;
  color: #1f1f1f;
  margin-bottom: 22px;
  line-height: 1.1;
}

.footer-divider {
  width: 90px;
  height: 1px;
  background: rgba(0, 0, 0, 0.14);
  margin: 0 auto 24px;
}

.site-footer p {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9b8f84;
  margin-bottom: 18px;
}

.site-footer span {
  display: block;
  font-size: 1rem;
  line-height: 1.8;
  color: #6f6a64;
}

.footer-logo {
    width: 180px;
    max-width: 70%;
    height: auto;
    display: block;
    margin: 0 auto 24px;
}

/* Mobile */

@media (max-width: 768px) {

  /* Navigation */

  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  /* Hero */

  .hero {
    min-height: calc(100vh - 80px);
    background-size: cover;
    background-position: center center;
    animation: none;
  }

  /* Couple Section */

  .couple-section-h1 br {
    display: none;
  }

  .couple-section-h1 .and::before,
  .couple-section-h1 .and::after {
    content: "\A";
    white-space: pre;
  }

  .mobile-break {
    display: block;
  }

  .and {
    display: block;
    line-height: 0.7;
    margin: -4px 0 -2px;
    transform: translateY(-20px);
}

  /* Details */

  .details-panel {
    padding: 50px 26px 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .details-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .detail-item {
    padding: 0;
    border-right: none;
  }

  .details-heading {
    margin-bottom: 50px;
  }

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

  /* Map */

  .map-wrapper {
    height: 320px;
    border-radius: 18px;
    margin-top: 50px;
    margin-bottom: 50px;
  }

  /* Timeline */

  .timeline-section {
    padding: 90px 20px;
  }

  .timeline-heading {
    margin-bottom: 50px;
  }

  .timeline::before {
    left: 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 28px;
    padding-bottom: 45px;
  }

  .timeline-item::before {
    left: -6px;
    top: 5px;
  }

  .timeline-time {
    font-size: 0.75rem;
  }

  .timeline-content h3 {
    font-size: 1.6rem;
  }

  /* Footer */

.site-footer {
    padding: 75px 20px;
}

.footer-logo {
    width: 140px;
}

.site-footer span {
    font-size: 0.95rem;
}
}