/* === Reset + Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-size: cover;
  color: #3d1e1e;
  text-align: center;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* === Hero Section === */
.hero {
  padding: 3rem 1rem 2rem;
}

.hero-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-title {
  font-family: "Great Vibes", cursive;
  font-size: 3rem;
  color: #c58600;
  text-shadow: 0 0 6px #ffcc66, 0 0 12px #ffb347;
}

.hero-subtitle {
  font-size: 1.6rem;
  margin: 0.5rem 0;
  color: #7b2e2e;
}

.hero-tagline {
  font-size: 1.1rem;
  color: #444;
  margin-top: 0.5rem;
}

/* === Circular Images === */
.circle-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #c58600;
  box-shadow: 0 0 12px rgba(197, 134, 0, 0.6);
}

/* === Event Details === */
#event-details {
  margin: 2rem auto;
  max-width: 600px;
}

.card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 2rem;
  border: 4px double #c58600;
  box-shadow: 0 0 25px rgba(197, 134, 0, 0.3);
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: #9a0000;
  font-weight: bold;
}

/* === RSVP Form === */
#rsvp {
  margin: 3rem auto;
  max-width: 400px;
}

#rsvp h3 {
  margin-bottom: 1rem;
  font-size: 1.6rem;
  color: #9a0000;
}

#rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#rsvp-form input {
  padding: 0.9rem;
  border-radius: 8px;
  border: 2px solid #c58600;
  font-size: 1rem;
  outline: none;
  text-align: center;
  background: #fffdfa;
}

.btn {
  padding: 0.9rem;
  margin-top: 0.5rem;
  border: none;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: bold;
  background: linear-gradient(135deg, #e69500, #d44a00);
  color: white;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(197, 134, 0, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(197, 134, 0, 0.9);
}

.btn.cancel {
  background: linear-gradient(135deg, #006699, #004466);
  margin-top: 1rem;
}

/* === Footer === */
footer {
  margin-top: 3rem;
  padding: 2rem 1rem;
  font-size: 0.95rem;
  color: #333;
  position: relative;
}

footer .rangoli {
  width: 140px;
  height: 140px;

  margin: 0 auto 1rem;
  border-radius: 50%;
  background: url("2608.jpg") no-repeat center center;
  background-size: cover;
  border: 4px solid #c58600;
  box-shadow: 0 0 12px rgba(197, 134, 0, 0.6);
}

footer .sponsors {
  font-size: 1.1rem;
  font-weight: bold;
  color: #c58600;
  text-shadow: 0 0 8px #ffd966, 0 0 14px #ffcc33;
  margin: 0.5rem 0;
}

footer .sponsors span {
  color: #9a0000;
}

/* === Diyas === */
.diya {
  position: absolute;
  width: 24px;
  height: 24px;
  background: radial-gradient(circle, #ffb347, #ff6b00 70%);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 150, 0, 0.8);
  animation: flicker 1.5s infinite alternate;
}

.diya::after {
  content: '';
  position: absolute;
  top: -18px;
  left: 7px;
  width: 10px;
  height: 16px;
  background: radial-gradient(circle, #fff7ad, #ff4500 70%);
  border-radius: 50%;
  animation: flame 2s infinite ease-in-out;
}

@keyframes flicker {
  from { transform: scale(1); opacity: 0.85; }
  to { transform: scale(1.1); opacity: 1; }
}

@keyframes flame {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.9; }
  50% { transform: translateY(-2px) scale(1.1); opacity: 1; }
}

.diya:nth-child(1) { bottom: 30px; left: 40px; }
.diya:nth-child(2) { bottom: 30px; right: 40px; }

/* === Sparkles === */
.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff5c2;
  border-radius: 50%;
  box-shadow: 0 0 6px #ffe066, 0 0 12px #ffd54f;
  animation: twinkle 3s infinite ease-in-out;
}

.sparkle:nth-child(3) { top: 80px; left: 25%; animation-delay: 0.6s; }
.sparkle:nth-child(4) { top: 180px; right: 20%; animation-delay: 1.5s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* === Responsive === */
@media (max-width: 600px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1.3rem;
  }
  .card {
    margin: 1rem;
  }
  .circle-img {
    width: 70px;
    height: 70px;
  }
}
