/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: Rosabelia SLDT;
  src: url("Rosabelia SLDT.otf");
}
@font-face {
  font-family: Larken DEMO;
  src: url("Larken-Regular.otf");
}

body {
  font-family:
    "Larken",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  line-height: 1.6;
  color: #ab9a7b;
  background-color: #ffffff;
}

/* Global heading styles */
h1 {
  font-family:
    "Rosabelia SLDT",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-weight: 300;
}

.homepage {
  background-color: #ffffff;
}

/* Header styles */
.header {
  background-color: #ffffff;
  display: flex;
  width: 100%;
  padding: 34px;
  align-items: center;
  gap: 100px;
  font-size: 14px;
  color: #ab9a7b;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2.24px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  aspect-ratio: 0.86;
  object-fit: contain;
  object-position: center;
  width: 66px;
  flex-shrink: 0;
}

.navigation {
  display: flex;
  min-width: 240px;
  align-items: center;
  gap: 46px;
  justify-content: start;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  color: inherit;
  font-weight: 400;
  transition: opacity 0.3s ease;
  font-family:
    "Larken DEMO",
    Roboto,
    Helvetica,
    sans-serif;
}

.nav-link:hover {
  opacity: 0.7;
}

.nav-link-bold {
  font-weight: 700;
}

.nav-link-demo {
  font-family:
    "Larken DEMO",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
}

/* Hero section styles */
.hero-section {
  display: flex;
  width: 100%;
  padding: 80px 156px;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  justify-content: center;
}

.hero-content {
  width: 100%;
}

.couple-names {
  color: #ab9a7b;
  font-size: 80px;
  line-height: 1.2;
  margin-bottom: 80px;
}

.wedding-details {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3.2px;
  justify-content: start;
}

.wedding-date {
  color: #ab9a7b;
  font-family:
    "Larken DEMO",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  margin-bottom: 32px;
}

.wedding-venue {
  color: #ab9a7b;
  font-family:
    "Larken DEMO",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
}

/* Hero image section */
.hero-image-section {
  width: 100%;
}

.hero-image {
  aspect-ratio: 1.76;
  object-fit: contain;
  object-position: center;
  width: 100%;
  min-height: 819px;
  display: block;
}

/* RSVP section styles */
.rsvp-section {
  display: flex;
  width: 100%;
  padding: 80px 156px;
  flex-direction: column;
  align-items: center;
  font-family:
    "Larken DEMO",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-size: 18px;
  color: #ab9a7b;
  font-weight: 400;
  justify-content: start;
}

.rsvp-title {
  color: #558bc9;
  text-align: center;
  font-size: 60px;
  line-height: 1.2;
  margin-bottom: 60px;
  font-family: "Rosabelia SLDT";
  font-weight: 400;
}

.rsvp-subtitle {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2.88px;
  margin-bottom: 60px;
}

.rsvp-form {
  align-self: center;
  display: flex;
  width: 552px;
  max-width: 100%;
  flex-direction: column;
  align-items: stretch;
  letter-spacing: 1.8px;
  justify-content: center;
}

.form-group {
  margin-bottom: 28px;
}

.form-input {
  border: 1px solid #ab9a7b;
  width: 100%;
  padding: 20px;
  background: transparent;
  color: #ab9a7b;
  font-size: 18px;
  font-family: inherit;
  letter-spacing: 1.8px;
}

.form-input::placeholder {
  color: #ab9a7b;
}

.form-input:focus {
  outline: none;
  border-color: #558bc9;
}

.dropdown-container {
  border: 1px solid #ab9a7b;
  display: flex;
  width: 100%;
  padding: 18px 20px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.dropdown-container:hover {
  border-color: #558bc9;
}

.dropdown-label {
  color: #ab9a7b;
  font-size: 18px;
  letter-spacing: 1.8px;
}

.dropdown-arrow {
  aspect-ratio: 0.88;
  object-fit: contain;
  object-position: center;
  width: 15px;
  flex-shrink: 0;
}

.submit-button {
  background-color: #ab9a7b;
  color: #ffffff;
  border: none;
  padding: 20px;
  width: 167px;
  max-width: 100%;
  align-self: center;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2.88px;
  font-size: 18px;
  font-family: inherit;
  font-weight: 400;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: #9a8968;
}

.submit-button:active {
  background-color: #8a7958;
}

/* Footer styles */
.footer-section {
  width: 100%;
}

.footer-image {
  aspect-ratio: 6.06;
  object-fit: contain;
  object-position: center;
  width: 100%;
  display: block;
}

/* Mobile responsive styles */
@media (max-width: 991px) {
  .header {
    padding: 34px 20px;
    flex-direction: column;
    gap: 40px;
  }

  .navigation {
    justify-content: center;
    gap: 30px;
  }

  .hero-section {
    padding: 80px 20px;
  }

  .hero-image {
  aspect-ratio: 1.76;
  object-fit: contain;
  object-position: center;
  width: 100%;
  min-height: 280px;
  display: block;
  }
  

  .couple-names {
    font-size: 48px;
    margin-bottom: 40px;
    font-weight: 400;
  }

  .wedding-date {
    font-size: 16px;
  }

  .wedding-venue {
    font-size: 16px;
  }

  .wedding-details {
    margin-top: 40px;
  }

  .rsvp-section {
    padding: 80px 20px;
  }

  .rsvp-title {
    font-size: 42px;
  }

  .rsvp-subtitle {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .rsvp-form {
    margin-top: 40px;
    width: 100%;
  }

  .submit-button {
    white-space: normal;
  }
}

/* Additional responsive breakpoints */
@media (max-width: 768px) {
  .header {
    gap: 20px;
  }

  .navigation {
    gap: 20px;
    font-size: 12px;
  }

  .couple-names {
    font-size: 38px;
    font-weight: 500;
  }

  .wedding-date {
    font-size: 14px;
  }

  .wedding-venue {
    font-size: 14px;
  }

  .wedding-details {
    font-size: 16px;
    letter-spacing: 2px;
  }

  /* .rsvp-title {
    font-size: 32px;
  } */

  .rsvp-subtitle {
    font-size: 16px;
    letter-spacing: 2px;
  }

  .form-input,
  .dropdown-label {
    font-size: 16px;
    letter-spacing: 1.5px;
  }

  .submit-button {
    font-size: 16px;
    letter-spacing: 2px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 20px;
  }

  .logo {
    width: 50px;
  }

  .navigation {
    flex-direction: column;
    gap: 15px;
  }

  .hero-section {
    padding: 60px 20px;
  }

  .couple-names {
    margin-bottom: 30px;
  }

  .wedding-details {
    font-size: 14px;
    letter-spacing: 1.5px;
  }

  .rsvp-section {
    padding: 60px 20px;
  }

  /* .rsvp-title {
    font-size: 35px;
  } */

  .rsvp-subtitle {
    font-size: 14px;
    letter-spacing: 1.5px;
  }
}
