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

@font-face {
  font-family: "Great Vibes";
  src: url("GreatVibes-Regular.ttf") format("truetype");
  font-display: swap;
}

body {
  font-family: "Bad Script", "Segoe UI", sans-serif;
  background: #f5f2f2;
  color: #2a2a2a;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.hero {
  background: linear-gradient(150deg, rgba(245, 242, 242, 0.9), rgba(189, 198, 188, 0.6)),
    url("assets/hero-bg.svg") center/cover no-repeat;
  min-height: 20vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero__overlay {
  padding: 4rem 2rem;
  backdrop-filter: blur(2px);
  max-width: 720px;
  width: 100%;
}

.hero__eyebrow {
  font-family: "Taviraj", serif;
  letter-spacing: clamp(0.14rem, 1vw, 0.32rem);
  font-size: 37px;
  text-transform: uppercase;
  color: #6b5a4d;
  margin-bottom: 1rem;
}

.hero__title {
  font-family: "Great Vibes", "Marck Script", "Bad Script", cursive;
  font-size: clamp(3rem, 11vw, 65px);
  color: #2f2a26;
  margin-bottom: 1rem;
  white-space: nowrap;
}

.hero__photo {
  width: clamp(220px, 60vw, 360px);
  height: clamp(220px, 60vw, 360px);
  margin: 0.75rem auto 1rem;
  border-radius: 18px;
  object-fit: cover;
  object-position: center 15%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.hero__date {
  font-family: "Taviraj", serif;
  font-size: 1.25rem;
  color: #a27d5d;
}

.section {
  padding: clamp(1.5rem, 3.5vw, 2.75rem) 1.5rem;
}

.section--details {
  background: #bdc6bc;
}

.section__title {
  font-family: "Great Vibes", "Marck Script", "Bad Script", cursive;
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
  margin-bottom: 2rem;
  color: #2f2a26;
}

.section__text {
  max-width: 860px;
  margin: 0 auto;
  font-size: 32px;
}

.section__text p {
  font-family: "Great Vibes", "Marck Script", "Bad Script", cursive;
  margin-bottom: 1.25rem;
}

.section__note {
  font-family: "Great Vibes", "Marck Script", "Bad Script", cursive;
}

.section__contact {
  color: #2a2a2a;
}

.section__contact strong {
  display: inline-block;
  white-space: nowrap;
}

.section__signature {
  font-family: "Great Vibes", "Marck Script", "Bad Script", cursive;
  font-size: 42px;
  text-align: center;
  margin-top: 2rem;
  color: #2f2a26;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.details-grid {
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
  grid-template-columns: 1fr;
}

.details-card {
  background: rgba(245, 242, 242, 0.85);
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.details-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: #6b5a4d;
  margin-bottom: 1rem;
}

.details-card__accent {
  font-family: "Taviraj", serif;
  font-size: 1.1rem;
  color: #a27d5d;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
}

.gallery__item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer {
  padding: 2rem;
  text-align: center;
  background: #ede6e0;
  font-family: "Taviraj", serif;
  color: #6b5a4d;
}

@media (max-width: 600px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero__overlay {
    padding: 2.5rem 1.25rem;
  }

  .section {
    padding: 2.5rem 1.25rem;
  }

  .section__text p {
    margin-bottom: 1rem;
  }

  .details-card h3 {
    letter-spacing: 0.12rem;
  }
}

@media (min-width: 900px) {
  .hero {
    min-height: 48vh;
  }

  .hero__overlay {
    padding: 4.5rem 2.5rem;
  }
}
