/* Base styles and animations */
:root {
  --gold: #D4AF37;
  --maroon: #800020;
  --cream: #FFF7E6;
  --dark-text: #4E3524;
  --light-gold: #F5E7A1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f9f4e3 0%, #f0e6d2 100%);
  color: var(--dark-text);
  overflow-x: hidden;
  position: relative;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.fade-in {
  animation: fadeIn 1.2s ease-out forwards;
}

/* Particles background */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Header styles */
header {
  position: relative;
  padding: 4rem 2rem 8rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--maroon) 0%, #5a0a1d 100%);
  color: var(--cream);
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  overflow: hidden;
}

.header-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
}

header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

header p {
  font-size: 1.4rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  font-weight: 300;
}

.divider {
  height: 2px;
  width: 200px;
  background: var(--gold);
  margin: 2rem auto;
  border-radius: 2px;
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.nav-link {
  color: var(--light-gold);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  z-index: -1;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.nav-link:hover {
  color: var(--maroon);
}

.nav-link:hover::before {
  transform: translateY(0);
}

/* Floating elements */
.floating-diya {
  position: absolute;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, #ffd700 10%, #ff9800 100%);
  border-radius: 50%;
  top: 50%;
  left: 20%;
  filter: blur(5px);
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 0 20px #ff9800;
}

.floating-petal {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50% 0;
  opacity: 0.7;
  animation: float 8s ease-in-out infinite;
}

.floating-petal:nth-child(2) {
  top: 30%;
  left: 80%;
  animation-delay: 1s;
}

.floating-petal:nth-child(3) {
  top: 70%;
  left: 15%;
  animation-delay: 2s;
}

/* Section styles */
section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--maroon);
  margin-bottom: 1rem;
}

/* About section */
#about .section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.image-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  transform: rotate(-2deg);
  transition: transform 0.5s ease;
}

.image-container:hover {
  transform: rotate(0) scale(1.02);
}

.parallax-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.7));
}

.text-content {
  padding: 2rem;
}

.highlight {
  color: var(--maroon);
  font-weight: 700;
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.highlight:hover::after {
  transform: scaleX(1);
}

/* Features section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: var(--gold);
  transition: height 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--maroon);
}

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
  color: var(--maroon);
}

/* Rituals section */
.ritual-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.ritual-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-top: 4px solid var(--gold);
  transition: transform 0.3s ease;
}

.ritual-card:hover {
  transform: translateY(-5px);
}

.ritual-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--maroon);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.ritual-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--gold);
}

.quote {
  background: linear-gradient(135deg, var(--maroon) 0%, #5a0a1d 100%);
  padding: 3rem;
  border-radius: 16px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.quote::before {
  content: '❝';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 8rem;
  color: rgba(255,255,255,0.1);
}

blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: white;
  font-style: italic;
  position: relative;
  z-index: 2;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--gold);
}

.timeline-event {
  position: relative;
  margin-bottom: 3rem;
  width: calc(50% - 40px);
}

.timeline-event:nth-child(odd) {
  left: 0;
}

.timeline-event:nth-child(even) {
  left: calc(50% + 40px);
}

.event-date {
  background: var(--maroon);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.event-content {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  position: relative;
}

.event-content::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
}

.timeline-event:nth-child(odd) .event-content::before {
  right: -50px;
}

.timeline-event:nth-child(even) .event-content::before {
  left: -50px;
}

.event-content h3 {
  font-family: 'Playfair Display', serif;
  color: var(--maroon);
  margin-bottom: 0.5rem;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 0 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.2s;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.05);
  filter: brightness(0.9);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(30,10,10,0.95);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img,
.lightbox-content video {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  background: #000;
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 50px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 10;
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  padding: 0 20px;
  user-select: none;
  z-index: 10;
  transition: color 0.2s;
}

.lightbox-prev:hover, .lightbox-next:hover {
  color: var(--gold);
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* @media (max-width: 700px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .lightbox-content img, .lightbox-content video { max-width: 98vw; max-height: 60vh; }
} */




/* RSVP section */
.rsvp-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.rsvp-text {
  background: linear-gradient(135deg, var(--maroon) 0%, #5a0a1d 100%);
  padding: 3rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rsvp-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.rsvp-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  max-width: 400px;
}

.rsvp-form {
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

input, select, textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  outline: none;
}

.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 20px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.2s ease;
}

.float-whatsapp:hover {
    transform: scale(1.1);
}

.float-whatsapp img {
    width: 35px;
    height: 35px;
    filter: invert(1);
}



.submit-btn {
  background: var(--maroon);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.7s;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  background: #5a0a1d;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

#rsvp-status {
  margin-top: 1.5rem;
  text-align: center;
  font-weight: 600;
  color: var(--maroon);
  min-height: 24px;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #2c0a0a 0%, #1a0509 100%);
  color: var(--cream);
  padding: 4rem 2rem 2rem;
  text-align: center;
  position: relative;
  clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%);
  margin-top: -2rem;
}

.footer-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

footer p {
  margin-bottom: 0.5rem;
  font-weight: 300;
}

/* Responsive
@media (max-width: 900px) {
  #about .section-content {
    grid-template-columns: 1fr;
  }
  
  .rsvp-container {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-event {
    width: calc(100% - 80px);
    left: 60px;
  }
  
  .timeline-event:nth-child(even) {
    left: 60px;
  }
  
  .timeline-event:nth-child(odd) .event-content::before,
  .timeline-event:nth-child(even) .event-content::before {
    left: -50px;
  }
}

@media (max-width: 600px) {
  header {
    padding: 3rem 1rem 5rem;
  }
  
  header h1 {
    font-size: 2.5rem;
  }
  
  nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-link {
    display: block;
    text-align: center;
  }
} */
