/* Base styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Noto Serif KR', serif;
  line-height: 1.6;
  color: #333;
  background-color: #fdfbf9;
}

section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.active {
  opacity: 1;
  transform: translateY(0);
}

/* Hero section */
#hero {
  position: relative;
  color: #fafafa;
  text-align: center;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url('assets/gallery1.png');
  background-size: cover;
  background-position: center;
}

#hero .hero-content {
  z-index: 2;
  max-width: 650px;
  padding: 1rem;
}

.names {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  margin: 0;
  letter-spacing: 2px;
}

.subtitle {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.location {
  font-size: 0.9rem;
  opacity: 0.9;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #eee;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -8px);
  }
}

/* Section titles */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #444;
}

/* Invitation text */
.invitation-text {
  max-width: 500px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

/* Gallery */
.gallery-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  max-width: 800px;
}
.gallery-container img {
  width: calc(33.333% - 1rem);
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Schedule */
.schedule-date,
.schedule-location {
  font-size: 1.1rem;
  margin: 0.3rem 0;
  text-align: center;
  color: #666;
}

/* Location */
.location-address {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #555;
  text-align: center;
}

.map-placeholder {
  width: 90%;
  max-width: 600px;
  height: 300px;
  background: #e9e5df;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* RSVP form */
.rsvp-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  width: 90%;
  max-width: 500px;
}

.rsvp-form input,
.rsvp-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.rsvp-form button {
  padding: 0.8rem 1.5rem;
  background-color: #a78a7f;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.rsvp-form button:hover {
  background-color: #92776d;
}

/* Footer */
footer {
  background: #f3efea;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #777;
}