:root {
  --blush: #f6d9de;
  --cream: #fff7ef;
  --rose: #e8b4be;
  --deep-rose: #c97886;
  --gold: #c9a55a;
  --text: #4a2f35;
  --white: #ffffff;
  --shadow: 0 12px 28px rgba(90, 56, 66, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Playfair Display", serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--cream), #fffafc 60%, #fff);
  line-height: 1.6;
}

.section {
  padding: 90px 20px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
}

h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 14px;
  color: #5b3540;
}

.section-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
  color: #6c4a53;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255, 247, 239, 0.86);
  border-bottom: 1px solid rgba(201, 165, 90, 0.2);
}

.nav-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Great Vibes", cursive;
  font-size: 2rem;
  color: #7a4652;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 16px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: color 0.25s ease;
}

nav a:hover {
  color: var(--deep-rose);
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  background-image: url("https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=2000&q=80");
  background-size: cover;
  background-position: center;
  padding-top: 130px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 9, 11, 0.48);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  padding: 20px;
}

.save-date-label {
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.hero h1 {
  font-family: "Great Vibes", cursive;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 1.05;
  margin: 20px 0 14px;
}

.hero h1 span {
  color: #ffd89e;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 3vw, 1.4rem);
}

.hero-venue {
  margin-top: 12px;
  font-size: clamp(1rem, 2.6vw, 1.3rem);
  color: #ffe9c5;
}

.hero-cta {
  display: inline-block;
  margin-top: 22px;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(90deg, #f7cad1, #f8e9ca);
  color: #5d3843;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.countdown-section {
  background: linear-gradient(180deg, #fff8f1 0%, #fdeff2 100%);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.time-box {
  background: linear-gradient(180deg, #fff, #ffeef2);
  border-radius: 16px;
  padding: 18px 10px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201, 165, 90, 0.2);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.time-box:hover {
  transform: translateY(-4px);
}

.time-box span {
  display: block;
  font-size: clamp(1.7rem, 5vw, 2.8rem);
  font-weight: 700;
  color: #8a4f5f;
}

.time-box small {
  font-size: 0.95rem;
  letter-spacing: 0.7px;
  color: #6f4650;
}

.wedding-time-message {
  text-align: center;
  margin-top: 20px;
  min-height: 30px;
  font-weight: 700;
  color: #7a2f43;
  font-size: 1.15rem;
}

.couple-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.person-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201, 165, 90, 0.2);
  text-align: center;
}

.person-card h3 {
  font-family: "Great Vibes", cursive;
  font-size: 2.4rem;
  color: #7d4250;
}

.person-card .parents {
  color: #8a6371;
  margin-bottom: 8px;
}

.couple-image-frame {
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(145deg, #f7e8cf, #f9dce1);
  box-shadow: var(--shadow);
}

.couple-image-frame img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 22px;
  display: block;
}

.gallery-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 8px 18px rgba(80, 41, 53, 0.12);
}

.gallery-item:hover {
  transform: scale(1.04);
  box-shadow: 0 14px 24px rgba(80, 41, 53, 0.2);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 4, 6, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 92vw;
  max-height: 84vh;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.event-card {
  max-width: 740px;
  margin: 26px auto 0;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #ffeef2);
  box-shadow: var(--shadow);
  border: 1px solid rgba(201, 165, 90, 0.2);
}

.event-card p {
  margin-bottom: 12px;
  font-size: 1.06rem;
}

.event-card p:last-child {
  margin-bottom: 0;
}

.timeline {
  max-width: 820px;
  margin: 30px auto 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 8px;
  width: 3px;
  height: calc(100% - 16px);
  background: linear-gradient(180deg, #f1c4cd, #d2a860);
}

.timeline-item {
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
}

.timeline-icon {
  min-width: 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201, 165, 90, 0.25);
  font-size: 1.2rem;
  z-index: 1;
}

.timeline-content {
  background: #fff;
  padding: 16px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  flex: 1;
}

.timeline-content h3 {
  margin-bottom: 6px;
  color: #6a3946;
}

.footer {
  text-align: center;
  padding: 28px 20px;
  background: #321820;
  color: #f6d9de;
}


.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  nav {
    position: absolute;
    top: 62px;
    right: 16px;
    background: rgba(255, 247, 239, 0.98);
    box-shadow: var(--shadow);
    border-radius: 12px;
    padding: 10px;
    display: none;
    flex-direction: column;
    min-width: 180px;
  }

  nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .couple-grid {
    grid-template-columns: 1fr;
  }

  .couple-image-frame img {
    min-height: 300px;
  }
}

@media (max-width: 760px) {
  .countdown-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .gallery-item {
    height: 120px;
  }
}
