*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins',sans-serif;
  background:#fffaf5;
  color:#5c4033;
  overflow-x:hidden;
}

h1,h2,h3,h4{
  font-family:'Playfair Display',serif;
}

.section-space{
  padding:100px 0;
}

.section-title{
  font-size:3rem;
  color:#b87b5e;
  margin-bottom:10px;
}

.section-subtitle{
  color:#7a5c4d;
  font-size:1.1rem;
}

#preloader{
  position:fixed;
  width:100%;
  height:100%;
  background:#fffaf5;
  z-index:9999;
  display:flex;
  justify-content:center;
  align-items:center;
}

.loader-heart{
  font-size:3rem;
  color:#d88c9a;
  animation:pulse 1s infinite;
}

.hero-section{
  height:100vh;
  background:
    linear-gradient(rgba(0,0,0,0.25),rgba(0,0,0,0.25)),
    url('images/couple-main.jpg') center/cover no-repeat;
  position:relative;
}

.hero-overlay{
  position:absolute;
  inset:0;
}

.hero-content{
  z-index:2;
}

.mini-title{
  letter-spacing:3px;
  font-size:0.9rem;
  text-transform:uppercase;
  color:#fff;
}

.hero-section h1{
  font-family:'Great Vibes',cursive;
  font-size:6rem;
  color:#fff;
}

.hero-section h1 span{
  color:#ffd6dc;
}

.invite-text,.hero-date{
  color:#fff;
  font-size:1.2rem;
}

.scroll-down{
  color:#fff;
  font-size:2rem;
  display:inline-block;
  margin-top:30px;
  animation:bounce 2s infinite;
}

.save-box,
.quote-section .container,
.dress-section .container,
.blessing-section .container,
.qr-section .container{
  background:#fff;
  padding:50px;
  border-radius:25px;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.save-box h3{
  font-size:3rem;
  color:#b87b5e;
}

.quote-text{
  font-family:'Great Vibes',cursive;
  font-size:3rem;
  color:#b87b5e;
  margin:0;
}

.person-card img{
  width:100%;
  border-radius:20px;
  box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

.person-card h3{
  margin-top:20px;
  color:#b87b5e;
}

.heart-center i{
  font-size:3rem;
  color:#d88c9a;
  animation:pulse 1.5s infinite;
}

.timeline{
  position:relative;
  max-width:800px;
  margin:auto;
}

.timeline::before{
  content:'';
  position:absolute;
  left:20px;
  top:0;
  width:3px;
  height:100%;
  background:#d4a373;
}

.timeline-item{
  display:flex;
  gap:20px;
  margin-bottom:40px;
}

.timeline-icon{
  width:40px;
  height:40px;
  background:#d4a373;
  color:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  z-index:2;
}

.timeline-content{
  background:#fff;
  padding:20px;
  border-radius:16px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.detail-card{
  background:#fff;
  padding:35px 25px;
  border-radius:20px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
  transition:.4s;
  height:100%;
}

.detail-card:hover{
  transform:translateY(-10px);
}

.detail-card i{
  font-size:2rem;
  color:#d4a373;
  margin-bottom:15px;
}

.countdown-wrapper{
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}

.countdown-wrapper div{
  background:#fff;
  padding:25px;
  min-width:120px;
  border-radius:20px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.countdown-wrapper span{
  display:block;
  font-size:2.5rem;
  font-weight:700;
  color:#b87b5e;
}

.gallery-img{
  width:100%;
  border-radius:20px;
  transition:.4s;
}

.gallery-img:hover{
  transform:scale(1.05);
}

.rsvp-box{
  max-width:700px;
  background:#fff;
  padding:50px;
  border-radius:25px;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.form-control{
  border-radius:12px;
  padding:14px;
  border:1px solid #e7d8cd;
}

.form-control:focus{
  box-shadow:none;
  border-color:#d4a373;
}

.wedding-btn{
  background:#d4a373;
  color:#fff;
  padding:12px 30px;
  border-radius:30px;
  border:none;
}

.wedding-btn:hover{
  background:#b87b5e;
  color:#fff;
}

.map-section iframe{
  width:100%;
  height:400px;
  border:0;
}

.qr-img{
  width:220px;
  border-radius:20px;
  margin-top:20px;
}

.footer-section{
  background:#f5ebe0;
  padding:60px 20px;
}

.footer-section h2{
  font-family:'Great Vibes',cursive;
  font-size:3rem;
  color:#b87b5e;
}

.petals span{
  position:fixed;
  width:15px;
  height:15px;
  background:#f8c8d0;
  border-radius:50% 0 50% 50%;
  opacity:0.5;
  animation:fall 10s linear infinite;
  z-index:1;
}

.petals span:nth-child(odd){
  background:#ffdfe6;
}

@keyframes pulse{
  0%,100%{transform:scale(1);}
  50%{transform:scale(1.2);}
}

@keyframes bounce{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(10px);}
}

@keyframes fall{
  0%{transform:translateY(-10vh) rotate(0deg);}
  100%{transform:translateY(110vh) rotate(360deg);}
}

.petals span:nth-child(1){left:10%;animation-delay:0s;}
.petals span:nth-child(2){left:20%;animation-delay:2s;}
.petals span:nth-child(3){left:30%;animation-delay:4s;}
.petals span:nth-child(4){left:40%;animation-delay:1s;}
.petals span:nth-child(5){left:50%;animation-delay:3s;}
.petals span:nth-child(6){left:60%;animation-delay:5s;}
.petals span:nth-child(7){left:70%;animation-delay:2s;}
.petals span:nth-child(8){left:80%;animation-delay:4s;}
.petals span:nth-child(9){left:90%;animation-delay:1s;}
.petals span:nth-child(10){left:95%;animation-delay:3s;}

@media(max-width:768px){
  .hero-section h1{
    font-size:4rem;
  }

  .section-title{
    font-size:2.2rem;
  }

  .quote-text{
    font-size:2.2rem;
  }

  .timeline::before{
    left:18px;
  }

  .heart-center{
    margin:25px 0;
  }

  .save-box,
  .quote-section .container,
  .dress-section .container,
  .blessing-section .container,
  .qr-section .container,
  .rsvp-box{
    padding:30px 20px;
  }
}