@import url('https://fonts.googleapis.com/css2?family=Cabin+Sketch:wght@400;700&family=Cinzel+Decorative:wght@400;700;900&family=Quicksand:wght@300..700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
  zoom: 1;
}

body {
      font-family: "Cinzel Decorative", serif;
  font-optical-sizing: auto;
  overflow-x: hidden;
}

.body-wrapper{
    max-width: 1200px;
    margin: 0 auto;
    background: url("../images/bodybg.png");
    background-color: #0C2C46;
    background-position: center;
    background-size: contain;
    background-repeat: repeat;
    position: relative;
}

.yash-section-container{
    width: 100%;
    height: 590px;
    background: url("../images/tajbg.jpg");
      background-size: cover;
    background-repeat: no-repeat;
     position: relative;
}
.yash-wave-container{
    width: 100%;
    height: 570px;
    background: url("../images/wave.png");
      background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
.yash-boat-container{
    width: 100%;
    max-width: 230px;
    height: 100%;
    max-height: 260px;
    position: absolute;
    top: -110px;
    animation:  floatBoat 2s ease-in-out infinite;

}
.yash-boat-image{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.smoky-container{
    width: 100%;
    max-width: 310px;
    max-height: 200px;
    height: 100%;
    overflow: hidden;
      position: absolute;
    left: 160px;
  
    top: -90px;
    transform: rotate(7deg);
   
}
.yash-smoky-image{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.yash-decoration-lamp{
     width: 100%;
    max-width: 300px;
    max-height: 95px;
    height: 100%;
    overflow: hidden;
      position: absolute;
      right: 0px;
}

.yash-welcome-bg-container{
    width: 100%;
    max-width: 1200px;
  
     position: relative;
    top: -300px;

}
.yash-welcome-section{
    width: 100%;
    
    height: 100%;
    
     position: relative;
}
.yash-welcome-wave{
    width: 100%;
    max-width: 1200px;
    height: 100%;
    position: relative;
}
.yash-welcome-image{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.welcome-lamp-left-container{
    width: 100%;
    max-width: 189px;
    max-height: 195px;
    height: 100%;
    overflow: hidden;
      position: absolute;
      left: 280px; /* Moved inward/adjusted */
      top: 70px; /* Hanging from top */
       animation: blink 1.5s infinite;
}
.welcome-lamp-right-container{
    width: 100%;
     max-width: 189px;
    max-height: 195px;
    height: 100%;
    overflow: hidden;
      position: absolute;
     right: 280px; /* Symmetrical */
      top: 70px;
       animation: blink 1.5s infinite;
}
.yash-welcome-nameletter-container{
 width: 100%;
     max-width: 227px;
    max-height: 184px;
    height: 100%;
    overflow: hidden;
      position: absolute;
     right:40%;
      top: 40px; /* Adjusted to sit between lamps */
}
/* .yash-beach-section{
    width: 100%;
height: 200vh;
 background: url("../images/waterbg.png");
      background-size: cover;
    background-repeat: no-repeat;
     position: relative;
     background-position: top center;

} */

.yash-welcome-lamp-right-image ,.yash-welcome-lamp-left-image ,.yash-welcome-nameletter-image{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.yash-welcome-text-container{
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: absolute;
    top:17%;
    left:26%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.yash-welcome-text{
    font-weight: 400;
    font-size: 26px;
    line-height: 36px;
    color: #0C2C46;
margin-bottom: 5px;
text-transform: uppercase;
}
.yash-welcome-text-bold{
    font-weight: 700;
     font-size: 26px;
    line-height: 36px;
    color: #0C2C46;
margin-bottom: 45px;
text-transform: uppercase;
    
}
.yash-welcome-name{
  text-transform: uppercase;
  color: #0C2C46;
  
}
.yash-invite-blue-text{
     text-transform: uppercase;
     margin: 40px auto;
     color: #0665A1;
     font-size: 64px;
     font-weight: 400;
     line-height: 66px;
     letter-spacing: 0.2%;
}
.yash-name-bg-container{
    width: 100%;
    max-width: 590px;
    height: 570PX;
     background: url("../images/nameringbg.png");
      background-size: cover;
    background-repeat: no-repeat;
     position: relative;
     background-position: center;
     /* padding-top: 110px; Removed to prevent conflict with flex centering */
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     margin: 0 auto; /* Ensure the container itself is centered */
}
.yash-name  ,.nikki-name{
    text-transform: uppercase;
    color: #AB175E;
    font-size: 92px;
    font-weight: 700;
    line-height: 125px;
    letter-spacing: 0.2%;;
    
}
/* YASH animation */
.yash-name {
  opacity: 0;
  animation: fadeIn 2s forwards;
}
/* NIKKI animation (delayed) */
.nikki-name {
  opacity: 0;
  animation: fadeIn 2s forwards;
  animation-delay: 1.5s;
}

/* Heart pulse */
.heart {
  font-size: 48px;
  color: red;
 animation: pulseGlow 1.2s ease-in-out infinite;
  transform-origin: center;
   display: inline-block;
}

.yash-and{
    text-transform: uppercase;
    color: #0665A1;
    font-size: 84px;
    font-weight: 400;
    line-height: 115px;
}
.yash-single-leaf{
    width: 100%;
      max-width: 100px;
    height:100px; position: absolute;
    top: 20%;
    left: 20px;
    
}
.yash-single-leaf-img{
    width: 100%;
    height: 100%;
    object-fit: contain;
   

}
.yash-green-leaf-left-decoration{
     width: 100%;
    max-width: 100px;
    height:600px; position: absolute;
    top: 37%;
    left: 30px;
}
.yash-flower-container{
     width: 100%;
    max-width: 100px;
    height:600px; position: absolute;
    top: 75%;
    left: 20px;
      animation:  floatBoat 2s ease-in-out infinite;
}
.yash-left-leaf{
    width: 100%;
    height: 100%;
    object-fit: contain;

}
.yash-green-leaf-right-decoration{
     width: 100%;
    max-width: 100px;
    height: 370px; position: absolute;
    top: 30%;
    right: 30px;
}
.yash-signal-container{
    width: 100%;
    max-width: 190px;
    height: 420px; position: absolute;
    top: 55%;
    right: 0;
}
.yash-car-container{
    width: 100%;
    max-width: 900px;
    height: 1500px;
    position: absolute;
    bottom: -400px;
    right: 0;
      animation:  floatBoat 2s ease-in-out infinite;
}
.yash-auto-container{
    width: 100%;
    max-width: 400px;
     position: absolute;
     left:0;
     bottom: 25px;
}
.yash-car-image ,.yash-auto-image, .yash-signal-image{
    width: 100%;
    height: 100%;
    object-fit: contain;

}
.yash-event-container{
    width: 100%;
    height: 100%;

    position: relative;
    
top: -200px;
}
.event-tittle-container{
    width: 100%;
    max-width: 400px;
   /* height: 230px; */
    margin: 0px auto;
}
.event-tittle-image{
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.events-wrapper {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6-column base */
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  justify-items: center;
}

/* Card style (replace with image) */
.event-card {
  width: 330px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: end;
  font-weight: bold;
  flex-direction: column;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.event-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(247, 222, 148, 0.5);
  border-radius: 6px;
  z-index: 2;
  pointer-events: none;
}
.event-text{
    position: absolute;
    left: 0;
    right: 0;
    top: 25%;
    font-size: 26px;
    font-weight: 700;
    color: #F7DE94;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85), 0 0 12px rgba(196, 140, 34, 0.7);
    z-index: 3;
}
.haldi-bg{
    background: url("../images/Rectangle.png") center/100% 100% no-repeat,
                url("https://res.cloudinary.com/wvzexnnn/image/upload/f_auto,q_auto,w_800/v1786433471/wedding_invitations/events/event_haldi.jpg") center/cover no-repeat;
}
.mehendi-bg, .mayra-bg{
    background: url("../images/Rectangle.png") center/100% 100% no-repeat,
                url("https://res.cloudinary.com/wvzexnnn/image/upload/f_auto,q_auto,w_800/v1786433473/wedding_invitations/events/event_mehendi.jpg") center/cover no-repeat;
}
.sangeet-bg, .cocktail-bg, .bachelor-bg{
    background: url("../images/Rectangle.png") center/100% 100% no-repeat,
                url("https://res.cloudinary.com/wvzexnnn/image/upload/f_auto,q_auto,w_800/v1786433477/wedding_invitations/events/event_sangeet.jpg") center/cover no-repeat;
}

.wedding-bg, .shadi-bg, .rudrabhishek-bg{
    background: url("../images/Rectangle.png") center/100% 100% no-repeat,
                url("https://res.cloudinary.com/wvzexnnn/image/upload/f_auto,q_auto,w_800/v1786433478/wedding_invitations/events/event_wedding.jpg") center/cover no-repeat;
}
.reception-bg, .poolparty-bg{
    background: url("../images/Rectangle.png") center/100% 100% no-repeat,
                url("https://res.cloudinary.com/wvzexnnn/image/upload/f_auto,q_auto,w_800/v1786433475/wedding_invitations/events/event_reception.jpg") center/cover no-repeat;
}



/* FIRST ROW → 3 items */
.event-card:nth-child(1),
.event-card:nth-child(2),
.event-card:nth-child(3) {
  grid-column: span 2;
}

/* SECOND ROW → center 2 items */
.event-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.event-card:nth-child(5) {
  grid-column: 4 / span 2;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .events-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-card {
    grid-column: span 1 !important;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .events-wrapper {
    grid-template-columns: 1fr;
  }
}
.bell-container{
    width: 45px;
    height: 45px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s ease-in-out;
}
.event-button{
    background: url('../images/meetdesignbg.png'); /* Peacock BG */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
      width: 250px;
    height: 90px;
    border: none;
        padding: 6px 5px 6px 6px; 
    /* Adjusted padding for pill look */
    display: flex;
    align-items: center;
    justify-content: center; 
    gap:5px;
    cursor: pointer;
    transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth spring-like */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Softer, larger shadow */
}
.event-button:hover{
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(3, 71, 80, 0.25); /* Colored shadow */
}
.event-button span{
    color: #034750;
    font-weight: 700;
    font-size: 16px; /* Slightly smaller for elegance */
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: 0.5s ease-in-out;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3); /* Ensure readability */
}
.event-button:hover .event-button-text{
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Bell Shake Animation */
@keyframes bellShake {
    0% { transform: rotate(0); }
    15% { transform: rotate(15deg); }
    30% { transform: rotate(-15deg); }
    45% { transform: rotate(10deg); }
    60% { transform: rotate(-10deg); }
    75% { transform: rotate(5deg); }
    100% { transform: rotate(0); }
}

.event-button:hover .bell-image {
    animation: bellShake 0.6s ease-in-out;
}
.circle-event-button-container{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-top: 100px;
    flex-direction: column; /* Stack text and button */
    gap: 30px;
}

/* Generalized Glow Text Style */
.common-glow-text {
    font-family: 'Playfair Display', serif; 
    font-size: 56px; 
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.9),
        0 0 20px rgba(255, 255, 255, 0.7),
        0 0 40px rgba(255, 255, 255, 0.5);
    
    /* Reveal Animation Start State */
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s ease-out;
    margin: 0; /* Reset default margins */
}

/* Specific adjustment for event title container */
.event-tittle-container {
    width: 100%;
    max-width: 600px; /* Increased width for text */
    /* height: 230px; Removed fixed height to fit text naturally */
    min-height: 100px;
    margin: 0px auto 40px auto; /* Added bottom margin */
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.circle-event-button{
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}
.circle-event-button img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: spin 2s linear infinite;
}
/* STOP SPIN ON HOVER */
.circle-event-button:hover img {
  animation-play-state: paused;
}

/* ROTATION */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.yash-meet-container{
     width: 100%;
     max-width: 1200px;
     height:100%;
     position: relative;
 
}
.yash-peacock-image{
    width: 100%;
    height: 100%;
    object-fit: contain;

}
.yash-meet-text-container{
    width: 100%;
    max-width: 390px;
    height: 400px;
    background: url("../images/Rectangle.png");
    background-size: contain;
    background-color: #0C2C46;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    
    top:27%;
    left: 33%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 31px;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
}
.yash-meet-letter-container{
     position: absolute;
  
    top:55%;
    left: 44%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}
.yash-meet-letter{
    font-size: 49px;
    font-weight: 700;
    color: #fff;

}
.yash-things-container{
    width: 100%;
    height: 1000px;
    background-color: #b5996b;
    position: relative;
    background-image: url("../images/bodybg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 50px 10px;

}
.yash-thigs-text-container{
    width: 100%;
    max-width:700px;
    margin: 0 auto;
    text-align: center;
}
.yash-thigs-text-container h2{
font-size: 50px;
font-style: 700;
margin-bottom: 15px;
color: #fff;

}
.yash-thigs-text-container p{
font-size: 20px;
font-style: 400;
margin-bottom: 15px;
color: #fff;
text-transform: lowercase !important;

}

.yash-things-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  padding: 16px;
}

.yash-things-grid__item {
 
  padding: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-direction: column;
}
.yash-things-grid__item img{
    width: 75px;
    height: 75px;
    object-fit: contain;

}
.yash-things-grid__item p{
    color: #4D370C;
   font-weight: 600;

}
/* Tablet */
@media (max-width: 1024px) {
  .yash-things-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .yash-things-grid {
    grid-template-columns: 1fr;
  }
}

/* New Hero Section Styles */

/* Hero Text */
.hero-text-wrapper {
    position: absolute;
    top: 15%; /* Adjust as need to be in the sky */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    z-index: 10;
}

.hero-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 60px; /* Adjust size */
    font-weight: 700;
    color: #FFF8DC; /* Creamy white */
    text-transform: uppercase;
    /* Text Stroke Effect */
    -webkit-text-stroke: 1px #FFD700; /* Gold stroke */
    text-shadow: 0 0 15px rgba(255, 165, 0, 0.6); /* Orange glow */
    letter-spacing: 2px;
}

.hero-amp {
    font-size: 50px;
    vertical-align: middle;
}

/* Flying Lamps */
.flying-lamps-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.flying-lamp {
    position: absolute;
    width: 40px; /* Base size, can vary */
    height: auto;
    opacity: 0.9;
    animation: floatLamp 4s ease-in-out infinite alternate;
}

/* Individual Lamp Positions & Sizes */
.f-lamp-1 {
    left: 10%;
    top: 40%;
    width: 35px;
    animation-duration: 5s;
    animation-delay: 0s;
}

.f-lamp-2 {
    left: 20%;
    top: 20%;
    width: 50px; /* Closer/Bigger */
    animation-duration: 6s;
    animation-delay: 1s;
}

.f-lamp-3 {
    left: 45%;
    top: 5%;
    width: 30px; /* Farther/Smaller */
    animation-duration: 4.5s;
    animation-delay: 0.5s;
}

.f-lamp-4 {
    left: 70%;
    top: 15%;
    width: 45px;
    animation-duration: 5.5s;
    animation-delay: 1.5s;
}

.f-lamp-5 {
    left: 85%;
    top: 35%;
    width: 38px;
    animation-duration: 4.8s;
    animation-delay: 2s;
}

.f-lamp-6 {
    left: 55%;
    top: 10%;
    width: 25px;
    animation-duration: 5.2s;
    animation-delay: 0.8s;
}

/* Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.particle {
    position: absolute;
    animation: twinkle 3s infinite ease-in-out;
    opacity: 0.8;
}

.part-1 {
    left: 15%;
    top: 30%;
    width: 20px;
    animation-delay: 0s;
}

.part-2 {
    left: 80%;
    top: 25%;
    width: 15px;
    animation-delay: 1s;
}

.part-3 {
    left: 40%;
    top: 10%;
    width: 10px;
    animation-delay: 0.5s;
}

.part-4 {
    left: 60%;
    top: 50%;
    width: 25px;
    animation-delay: 1.5s;
}

/* Animations */
@keyframes floatLamp {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-20px);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@media screen and (min-width:770px) {
  .body-wrapper{
    padding-bottom: 200px;
  }
}
/* Media Query for Mobile Text Sizing */
@media (max-width: 768px) {
  .smoky-container {
    width: 100%;
    max-width: 310px;
    max-height: 150px;
    height: 100%;
    overflow: hidden;
    position: absolute;
    left: 90px;
    top: -90px;
    transform: rotate(7deg);
}
    .hero-title {
        font-size: 36px;
    }
    .hero-amp {
        font-size: 30px;
    }
}
.action-container{
    margin: 50px auto;
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
gap: 20px;
flex-direction: column;
color: #7d4b37;
font-size: 30px;
}
.yash-beach-section{
    position: relative;
    width: 100%;
    height: 800px;
}

.clock-wrapper{
 display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    top: -400px;
}
.yash-clock-image{
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
   
     animation:  floatBoat 2s ease-in-out infinite;
}
.yash-waterbg-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;

}

.yash-beach-text-container{
    color: #FEF595;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 30%;
    flex-direction: column;
    gap: 8px;

}
    .yash-beach-text-container h3{
        font-size: 30px;
        font-weight: 700;
        margin-bottom: 0;
        line-height: 1.1;
    }
    .yash-beach-text-container h2{
        font-size: 40px;
        font-weight: 700;
        
    }
    .flex{
        display: flex;
        justify-content: space-between;
        gap: 20px;
        flex-wrap: wrap;
        max-width: 270px;
        width: 100%;
        font-size: 18px;
    }
.yash-bridegroom-image{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.yash-meet-intro-container{
  margin: 20px auto;
  width: 100%;
  max-width: 500px;
  height: 170px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("../images/meetdesignbg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px;
  position: absolute;
  top:6%;
  left: 30%;
  /* font-size: 29px; */
  font-weight: bold;
  color:#AF0000;
  text-wrap: wrap;
}
.yash-meet-intro-container p{
    font-size: 29px;
    font-weight: bold;
    color:#AF0000;
    text-wrap: wrap;
    padding: 15px 10px;
    max-width: 400px;
    width: 100%;
    text-align: center;
}
    /* Boat up-down motion */
@keyframes floatBoat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Boat movement */
@keyframes moveBoat {
  from {
    left: -60px;
  }
  to {
    left: 100%;
  }
}

/* Blink effect */
@keyframes blink {
  0%, 100% {
    filter: brightness(0.6);
  }
  50% {
    filter: brightness(1.4)
            drop-shadow(0 0 20px yellow);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeFromTop {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  40% {
    opacity: 1;
    transform: translateY(0);
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.fade-top {
  animation: fadeFromTop 2.5s ease-in-out ;
}

/* Box-shadow animation */
@keyframes textGlow {
  0%, 100% {
    text-shadow: 0 0 5px gold;
  }
  50% {
    text-shadow: 0 0 20px gold;
  }
}
.text-glow {
  /* color: gold; */
  animation: textGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 45, 85, 0.6));
  }
  50% {
    transform: scale(1.4);
    filter: drop-shadow(0 0 12px rgba(255, 45, 85, 0.9))
            drop-shadow(0 0 24px rgba(255, 45, 85, 0.6));
  }
}


@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
.haldi-bg .event-text{
  left:40%;
}
@media screen and (max-width:768px) {
 .yash-single-leaf,.yash-green-leaf-right-decoration
  
  {
    display: none;
  }

  .yash-auto-container {
    width: 100%;
    max-width: 150px;
    position: absolute;
    left: 0;
    bottom: -115px;
}
.yash-signal-container {
    width: 100%;
    max-width: 50px;
    height: 220px;
    position: absolute;
    top: 70%;
    right: 0;
}
.yash-flower-container{
  width: 90px;
  height: 90px;
      top: 85%;
    left: 0px;
}
    .yash-green-leaf-left-decoration {
        width: 100%;
        max-width: 20px;
        height: 200px;
        position: absolute;
        top: 67%;
        left: 5px;
    }
    .yash-green-leaf-left-decoration img{
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
    .yash-green-leaf-left-decoration img:nth-child(2){
      display: none;
    }
.yash-flower-container img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
  .yash-car-container{
   max-width: 160px;
        width: 100%;
        height: 200px;
        object-fit: contain;
        position: absolute;
        bottom: -80px;
  }
/* .yash-green-leaf-left-decoration {
    width: 100%;
    max-width: 50px;
    height: 600px;
    position: absolute;
    top: 37%;
     left: 0;
} */
.yash-welcome-text-container{
  left: 0;
  top: 20%;
  padding: 0px 10px;
}
.yash-welcome-text{
  font-size: 14px;
}
.yash-welcome-text-bold{
  margin-bottom: 15px;
  font-size: 18px;
}
.yash-welcome-name{
  font-size: 20px;
}
.yash-invite-blue-text{
  font-size: 22px;
  margin: 0 auto;
}
    .yash-name-bg-container {
        width: 100%;
        max-width: 250px;
        height: 250PX;
    }
.yash-name, .nikki-name {
  font-size: 20px;
  line-height: 40px;
}
.yash-welcome-nameletter-container {
   
    top: 30px;
    left: 35%;
}
.yash-welcome-nameletter-container img{
  width: 90px;
}
    .events-wrapper {
        grid-template-columns: 1fr;
        /* margin-top: 400px; */
    }
    .yash-meet-letter-container {
    position: absolute;
    top: 62%;
    left: 38%;
    gap: 80px;
    }
    .yash-meet-letter {
    font-size: 20px;
  
}
.clock-wrapper {
  top: -100px;
}
.yash-thigs-text-container h2 {
    font-size: 30px;
}
.yash-thigs-text-container p {
    font-size: 15px;
    font-family:cursive;
    font-weight: 400;
}
.body-wrapper{
  overflow-x: hidden;
}
.common-glow-text {
  font-size: 35px;
}
.welcome-lamp-left-container {
    width: 100%;
    max-width: 50px;
    max-height: 90px;
    height: 100%;
   
    left: 280px;
    top: 30px;
  }
  .welcome-lamp-right-container{
     top: 30px;
      max-width: 50px;
    max-height: 90px;
  }
  
.action-container{
  font-size: 15px;
  margin: 0;
}
.yash-beach-text-container {
    left: 0%;
    padding: 10px;
}
/* .yash-name-bg-container {
    width: 100%;
    max-width: 590px;
    height: 450PX;
} */
/* .yash-name, .nikki-name ,.yash-and {
  font-size: 50px;
} */
.yash-welcome-text-bold{
  font-size: 15px;
}
}


/* Animation Helper */
.char-reveal {
    display: inline-block;
    /* white-space: pre-wrap; removed to fix spacing issues, handled in JS via normalization */
    transition: opacity 0.3s ease, transform 0.3s ease;
    will-change: opacity, transform;
}

/* Things Item Hover Animations */
@keyframes smoothShake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(-5deg); }
    75% { transform: rotate(2deg); }
    100% { transform: rotate(0deg); }
}

.yash-things-grid__item img {
    transition: transform 0.3s ease;
}

.yash-things-grid__item:hover img {
    animation: smoothShake 0.5s ease-in-out;
}

.yash-things-grid__item p {
    position: relative;
    display: inline-block;
}

.yash-things-grid__item p::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #7d4b37; /* Updated color */
    transition: width 0.3s ease-in-out;
}

.yash-things-grid__item:hover p::after {
    width: 100%;
}

.char-space {
    white-space: pre; /* Force space to render */
    width: 0.25em;    /* Fallback width if fonts fail */
    display: inline-block;
}



/* Sequence Reveal Classes */
.reveal-hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}






/* Event Card Scroll Animation */
.enter-from-left {
    transform: translateX(-150px);
    opacity: 0;
    transition: all 0.8s ease-out;
}
.enter-from-bottom {
    transform: translateY(150px);
    opacity: 0;
    transition: all 0.8s ease-out;
}
.enter-from-right {
    transform: translateX(150px);
    opacity: 0;
    transition: all 0.8s ease-out;
}

.card-in-view {
    transform: translate(0, 0) !important;
    opacity: 1 !important;
}

/* Text Fade-in after Card Enter */
.event-card .event-text {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.card-in-view .event-text {
    opacity: 1;
    transition-delay: 0.8s; /* Wait for card animation (0.8s) to finish */
}

/* Clock Animation */
@keyframes clockFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.yash-clock-image {
    animation: clockFloat 3s ease-in-out infinite;
    /* Ensure it has a position if it's absolute, but if existing CSS handles it, this just adds animation */
}

/* Slider Styles */
.yash-meet-text-container {
    overflow: hidden; /* Ensure no scrollbars on container itself */
    padding: 20px;
    position: absolute; /* For absolute pagination */
}

.yash-meet-slider-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
    scrollbar-width: none; /* Hide scrollbar Firefox */
    width: 100%;
    height: 100%;
}

.yash-meet-slider-wrapper::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.yash-meet-slide {
    flex: 0 0 100%; /* Full width of container */
    width: 100%;
    height: 100%;
    object-fit: cover; /* Or contain, depending on goal. Existing was contain? */
    scroll-snap-align: center;
}

.yash-slider-pagination {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.pagination-dot.active {
    background-color: #ffffff;
    transform: scale(1.2);
}

/* Mobile Adjustments for New Elements */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px; /* Smaller text on mobile */
        letter-spacing: 1px;
    }
    .hero-text-wrapper {
        top: 20%; /* Lower it slightly if needed, or keep 15% */
        width: 90%; /* Prevent edge touching */
    }
    .hero-amp {
        font-size: 28px;
    }
    
    .flying-lamp {
        max-width: 30px; /* Scale down lamps */
        opacity: 0.8; /* Slightly less distraction */
    }
    
    /* Adjust specific lamps if they block the view */
    .f-lamp-2 {
        display: none; /* Hide the big one on mobile to clear view */
    }

    .particles-container {
        opacity: 0.6;
    }
    .yash-things-container{
      height: 100%;
    }

    .yash-meet-text-container {
    width: 100%;
    max-width: 280px;
    height: 285px;
    background: url(../images/Rectangle.png);
    background-size: contain;
    background-color: #0C2C46;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    top: 1%;
    left: 13%;

    }

    .yash-meet-intro-container{
  margin: 20px auto;
  width: 100%;
 max-width: 340px;
        height: 100px;
 
         top: -25%;
        left: 5%;
 
}
.yash-meet-intro-container p{
  font-size: 20px;
}
.yash-beach-text-container h3{
  font-size: 20px;
  text-align: center;
  margin-bottom: 0px;
}
.yash-beach-text-container h2 {
    font-size: 30px;
    font-weight: 700;
}
.yash-beach-text-container{
  top: 47%;
}
}
