/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

/* Header Hero */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: white;
  border-radius: 12px;
  margin-bottom: 30px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Couple Section */
.couple {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.photo {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 5px solid #f0f0f0;
  overflow: hidden; /* Biar foto raksasa nggak tumpah keluar */
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ddd;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Biar foto proporsional */
}

.couple h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

/* Event Details */
.event-details {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.event-details h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

/* RSVP Form */
.rsvp {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

#rsvpForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#rsvpForm input, #rsvpForm select {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

#rsvpForm button {
  padding: 12px;
  background: #6a11cb;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#rsvpForm button:hover {
  background: #520ea1;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  color: #7f8c8d;
}

/* Responsive (Tampilan HP) */
@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .photo {
    width: 120px;
    height: 120px;
  }
  .couple h2 { font-size: 1.8rem; }
}
