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

body {
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0.8)
    ),
    url("assets/background.webp") center/cover no-repeat fixed;
  min-height: 100vh;
}

.card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card a {
  text-decoration: none;
  display: block;
  padding: 2rem;
}

.card:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.card img {
  width: 100%;
  height: 100%;
  max-width: 320px;
  object-fit: cover;
}

.card-title {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.flex-container {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

header {
  margin-bottom: 4rem;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

h3 {
  font-family: "Playfair Display", serif;
}

.date {
  font-size: 1.2rem;
  color: #666;
  letter-spacing: 2px;
}

.invitation {
  background-image: url("assets/wedding-bg.png");
  background-size: cover;
  background-position: center;
  padding: 3rem;
  padding-top: 10rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
  max-width: 800px;
  font-weight: 500;
}

.details {
  margin: 2rem 0;
  line-height: 1.8;
}

.location {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1rem;
}
.map-link {
  padding-bottom: 1.5rem;
}

.rsvp-button {
  background-color: #9c8164;
  color: white;
  border: none;
  padding: 1rem 3rem;
  font-size: 1.1rem;
  letter-spacing: 2px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.rsvp-button:hover {
  background-color: #7d6850;
}

footer {
  margin-top: 4rem;
  color: #666;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  .invitation {
    padding: 4rem;
  }

  .rsvp-button {
    padding: 0.8rem 2rem;
  }
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.form-container label {
  text-align: left;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: "Montserrat", sans-serif;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #9c8164;
  box-shadow: 0 0 5px rgba(156, 129, 100, 0.2);
}

.submit-btn {
  background-color: #9c8164;
  color: white;
  border: none;
  padding: 1rem 3rem;
  font-size: 1.1rem;
  letter-spacing: 2px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  margin-top: 1rem;
}

.submit-btn:hover {
  background-color: #7d6850;
}
.submit-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .form-container {
    padding: 1rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.6rem;
  }

  .submit-btn {
    padding: 0.8rem 2rem;
  }
}

.navigation {
  padding: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

a {
  color: #333;
  cursor: pointer;
  text-decoration: none;
}

a.active {
  color: #9c8164;
}

.navigation a {
  position: relative;
}

.navigation a:hover {
  color: #9c8164;
  font-weight: 700;
}

.navigation a.active::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #9c8164;
  position: absolute;
  bottom: -8px;
  left: 0;
  transition: all 0.3s ease;
}

.form-group label[for="invitation-checkbox"] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  color: #333;
}

#invitation-checkbox {
  width: auto;
  margin: 0;
  cursor: pointer;
}

#invitation-checkbox:checked {
  accent-color: #9c8164;
}

.address-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
