/* 
   MEENA & SURYA - Digital Wedding Invitation 
   Design: Deep Teal & Gold Premium Theme
*/

:root {
  --teal-deep: #003b3d;
  --teal-medium: #005a5d;
  --gold-metallic: #d4a017;
  --gold-light: #f9e29c;
  --cream: #fff9e6;
  --text-dark: #002224;
  --text-light: #f5f5f5;
  --shadow: 0 10px 30px rgba(0,0,0,0.3);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--teal-deep);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.6;
}

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

/* ---- Audio Toggle ---- */
.audio-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--gold-metallic);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.audio-toggle i {
  color: var(--teal-deep);
  font-size: 1.2rem;
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
  z-index: -1;
  animation: heroZoom 20s infinite alternate;
}

@keyframes heroZoom {
  to { transform: scale(1.1); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,59,61,0.4) 0%, rgba(0,59,61,0.9) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.ganesha-top img {
  width: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(212,160,23,0.5));
}

.invite-text {
  font-family: 'Great Vibes', cursive;
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.couple-names {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: 700;
  color: var(--gold-light);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  margin: 20px 0;
}

.couple-names .amp {
  font-family: 'Great Vibes', cursive;
  font-size: 0.7em;
}

.invite-msg {
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  max-width: 500px;
  margin: 0 auto 40px;
  color: rgba(255,255,255,0.8);
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.time-block {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid rgba(212,160,23,0.3);
  min-width: 80px;
}

.time-block span {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
}

.time-block p {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #ccc;
}

.save-the-date {
  border-top: 1px solid rgba(212,160,23,0.5);
  display: inline-block;
  padding-top: 15px;
}

.save-the-date p {
  font-size: 0.9rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.save-the-date h2 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.8rem;
  color: var(--gold-light);
}

/* Floating Lanterns */
.lanterns {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.lantern {
  position: absolute;
  bottom: -20px;
  width: 15px;
  height: 20px;
  background: rgba(255, 226, 156, 0.6);
  box-shadow: 0 0 15px var(--gold-light);
  border-radius: 3px;
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% { transform: translateY(0) rotate(0); opacity: 0; }
  20% { opacity: 0.8; }
  80% { opacity: 0.4; }
  100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-indicator p {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.5);
}

.scroll-indicator .line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold-metallic), transparent);
}

/* ---- Couple Section ---- */
.couple-section {
  padding: 100px 0;
  background: var(--cream);
  color: var(--text-dark);
  text-align: center;
}

.couple-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.couple-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
}

.couple-img-wrapper {
  width: 250px;
  height: 250px;
  margin: 0 auto 30px;
  border-radius: 50%;
  border: 5px solid var(--gold-metallic);
  padding: 10px;
  position: relative;
}

.couple-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.couple-card h3 {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  color: var(--teal-medium);
}

.couple-card h2 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.8rem;
  margin: 10px 0;
}

.heart-divider {
  font-size: 2rem;
  color: var(--gold-metallic);
  animation: heartBeat 1.5s infinite;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ---- Timeline Section ---- */
.timeline-section {
  padding: 100px 0;
  background: var(--teal-deep);
}

.section-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  color: var(--gold-light);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  width: 2px;
  height: 100%;
  background: rgba(212,160,23,0.3);
}

.timeline-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 50px;
}

.timeline-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: var(--teal-medium);
  border: 2px solid var(--gold-metallic);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.5rem;
  z-index: 1;
}

.timeline-item.active .timeline-icon {
  background: var(--gold-metallic);
  color: var(--teal-deep);
  box-shadow: 0 0 20px var(--gold-metallic);
}

.timeline-content {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

.timeline-content h3 {
  color: var(--gold-light);
  margin-bottom: 10px;
}

.timeline-content .time {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-metallic);
  margin-bottom: 15px;
}

/* ---- Venue Section ---- */
.venue-section {
  padding: 100px 0;
  background: var(--cream);
  color: var(--text-dark);
  text-align: center;
}

.venue-card {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  position: relative;
}

.venue-car {
  width: 150px;
  margin-bottom: 30px;
}

.btn-gold {
  display: inline-block;
  background: var(--gold-metallic);
  color: #fff;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 30px;
  transition: transform 0.3s ease;
}

.btn-gold:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(212,160,23,0.3);
}

/* ---- RSVP Section ---- */
.rsvp-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--teal-medium) 0%, var(--teal-deep) 100%);
  text-align: center;
}

.btn-whatsapp {
  display: inline-block;
  background: #25d366;
  color: #fff;
  padding: 18px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 40px;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(37,211,102,0.4);
}

.invite-footer {
  padding: 40px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  border-top: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 768px) {
  .hero-content { padding: 10px; }
  .couple-grid { gap: 30px; }
  .timeline::before { left: 20px; }
  .timeline-item { padding-left: 60px; }
  .timeline-icon { width: 40px; height: 40px; font-size: 1rem; }
}
