/* Global Reset */
body, html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background: #fff7f9;
  font-family: "Cormorant Garamond", serif;
}

/* Matangi Fancy Header Font */
.matangi {
  font-family: "Matangi", sans-serif;
}

body {
  animation: fadeBody 1.2s ease;
}

@keyframes fadeBody {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Each Section */
section {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* ------------------ */
/* POPUP */
/* ------------------ */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-content {
  background: white;
  padding: 35px;
  border-radius: 15px;
  text-align: center;
  width: 85%;
  max-width: 350px;
  animation: pop 0.4s ease;
}

@keyframes pop {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.popup-content input {
  width: 90%;
  padding: 12px;
  margin-top: 10px;
  border-radius: 7px;
  font-size: 18px;
  border: 1px solid #ccc;
}

.popup-content button {
  margin-top: 18px;
  padding: 12px 25px;
  background: #d64b70;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
}


/* ------------------ */
/* HERO SECTION */
/* ------------------ */
.hero video.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,192,203,0.35);
  z-index: -1;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 90%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}
.hero-subtitle {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: #ffe6ef;
  text-shadow:
      0 4px 15px rgba(0,0,0,0.7),
      0 0 10px rgba(255,200,215,0.8);
}

.hero-text h1 {
  font-size: 45px;
  margin-bottom: 5px;
}

.hero-text h2 {
  font-size: 45px;
  font-weight: 800;
  color: #fff;
  text-shadow:
      0 4px 20px rgba(0,0,0,0.6),
      0 0 25px rgba(255,180,200,0.9);
}

/* Mobile hero font scaling */
@media (max-width: 768px) {
  .hero-text h1 { font-size: 32px; }
  .hero-text h2 { font-size: 28px; }
}


/* ------------------ */
/* PARALLAX SECTION */
/* ------------------ */
.parallax {
  background-image: url('images/mix.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 30px;
  color: #3b2f2f;
}

.para-content {
  background: rgba(255,255,255,0.7);
  padding: 35px;
  border-radius: 15px;
  max-width: 70%;
}
/* SECTION 2 Floating Flowers Overlay */
.parallax {
  position: relative;
  overflow: hidden;
}

.floating-flowers {
  position: absolute;
  inset: 0;
  background-image: url('images/pngflower.png'); /* your transparent flower PNG */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  animation: drift 18s linear infinite;
  opacity: 0.85;
}

@keyframes drift {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-25px) scale(1.03); }
  100% { transform: translateY(0) scale(1); }
}

p.story {
    font-size: 20px;
    font-weight: 600;
}


/* ------------------ */
/* FLORAL GIF SECTION */
/* ------------------ */
.floral {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.floral-box {
  flex: 1;
  max-width: 600px;
}

.floral-img {
  width: 100%;
  border-radius: 12px;
  animation: float 6s ease-in-out infinite;
}


@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

/* MOBILE STACK */
@media (max-width: 900px) {
  .floral {
    flex-direction: column;
    gap: 20px;
  }
}


/* ------------------ */
/* NEPALI CARD SECTION */
/* ------------------ */
.nepalcard {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.nepali-img {
  width: 80%;
  max-width: 650px;
  border-radius: 12px;
  animation: fade 2s ease;
}

@media (max-width: 768px) {
  .nepali-img {
    width: 95%;
  }
}


/* ------------------ */
/* ANIMATIONS */
/* ------------------ */
.fade-in { animation: fade 2s ease forwards; }

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Global Petal Animation */
.petal {
  position: fixed;
  top: -10vh;
  width: 20px;
  height: 20px;
  background-image: url('images/pngflower.png'); /* small pink petal PNG */
  background-size: cover;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  animation: fall linear infinite;
}

@keyframes fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

.scroll-fade {
  opacity: 0;
  transform: translateY(25px);
  transition: 1.2s ease;
}
.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}
#musicBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #d64b70;
  color: white;
  padding: 14px;
  font-size: 22px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9000;
  transition: 0.3s;
}
#musicBtn:hover { transform: scale(1.1); }

.monogram {
  position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Matangi", sans-serif;
    font-size: 55px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 8px;

    /* Elegant Glow */
    text-shadow:
        0 0 15px rgba(255,180,200,0.9),
        0 0 35px rgba(255,150,170,0.7),
        0 10px 30px rgba(0,0,0,0.55);

    /* Subtle Gold Outline */
    -webkit-text-stroke: 1px rgba(255,220,230,0.6);
    animation: monogramFloat 2.5s ease forwards, monogramPulse 5s ease-in-out infinite;
}

@keyframes monofade {
  0% { opacity: 0; transform: translate(-50%, -20px); }
  100% { opacity: 1; transform: translate(-50%, 0); }
}

#fireworksContainer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
}

#weddingPopup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
}

#weddingPopup.show {
    opacity: 1;
    visibility: visible;
}

.popup-box {
    background: white;
    padding: 30px 40px;
    border-radius: 16px;
    text-align: center;
}

#closePopup {
    margin-top: 20px;
    padding: 10px 20px;
    border: none;
    background: #e8b9c9;
    border-radius: 10px;
    cursor: pointer;
}



@keyframes popIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}