:root {
  --primary-pink: #d98cb7;
  --darker-pink: #d591b1;
  --primary-blue: #79b0d3;
  --darker-blue: #66a5cd;
  --neutral-bg: #faf9f7;
  --card-bg: #f5ede7;
  --text-dark: #2a2a2a;
}

/* GLOBAL */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--neutral-bg);
  color: var(--text-dark);
  line-height: 1.6;
}

/* NAVBAR */

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 0.75rem 1rem;

  background: rgba(250, 249, 247, 0.9);
  backdrop-filter: blur(6px);

  border-bottom: 1px solid rgba(0, 0, 0, 0.05);

  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav ul {
  display: flex;
  justify-content: center;
  gap: 2.5rem;

  list-style: none;
  margin: 0;
  padding: 0;

  max-width: 1000px;
  width: 100%;
}

.nav a {
  text-decoration: none;
  color: var(--darker-blue);
  font-weight: 600;

  border-bottom: 2px solid transparent;
  padding-bottom: 2px;

  transition: color 0.3s ease, border-color 0.3s ease;
}

.nav a:hover {
  color: var(--primary-pink);
  border-bottom: 2px solid var(--primary-pink);
}

.nav a.active {
  color: var(--primary-pink);
  border-bottom: 2px solid var(--primary-pink);
}

/* HERO */

.hero {
  position: relative;
  text-align: center;
  padding: 4rem 1rem 2rem;
  color: #fff;
  border-bottom: 4px solid var(--darker-pink);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
    url('assets/flowers.jpg') no-repeat center center/cover;
  filter: blur(5px);
  z-index: -1;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  margin: 0.5rem 0;
  color: rgba(255,255,255,0.95);
}

.hero-subtitle {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

/* SECTIONS */

.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1rem;
  text-align: center;
  scroll-margin-top: 90px;
}

.section-card {
  background: var(--card-bg);
  border-radius: 0.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 2.5rem;
  margin: 0 auto;
  max-width: 800px;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  display: inline-block;
  position: relative;
  color: var(--primary-pink);
}

.section h2::after {
  content: "";
  display: block;
  width: 50%;
  height: 3px;
  background-color: var(--primary-blue);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* LINKS */

.link {
  color: var(--darker-blue);
}

.link:hover {
  color: var(--primary-blue);
}

/* OUR STORY */

.our-story-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.our-story-photos-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  align-items: center;
}

.our-story-photo {
  max-width: 100%;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 10%;
}

.our-story-text {
  text-align: center;
  width: 100%;
}

/* RSVP */
.rsvp-button {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--primary-blue);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

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

/* SCHEDULE */

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.schedule-card {
  background: var(--card-bg);
  border-radius: 0.75rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 1rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.schedule-card img {
  width: 100%;
  height: 150px; 
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
}

.schedule-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--darker-blue);
}

.schedule-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-card {
  background: var(--card-bg);
  border-radius: 0.75rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 1.5rem;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--primary-pink);
  margin-bottom: 0.5rem;
  text-align: center;
}

.faq-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.faq-card.highlight {
  text-align: center;
  font-size: 1.1rem;
  grid-column: 1 / -1;
  padding: 2rem;
}

/* PARTY */

.party-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.party-member img {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.party-member h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--darker-blue);
  margin-bottom: 0.25rem;
}

.party-member p {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.party-role-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--darker-blue);
  margin-bottom: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* RESPONSIVE */

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }

  .schedule-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .our-story-photos-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .our-story-photo {
    width: calc(50% - 0.75rem);
  }
}

@media (max-width: 600px) {
  .nav {
    padding: 0.5rem;
  }

  .nav ul {
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }

  .nav a {
    font-size: 0.9rem;
  }
}