@font-face {
  font-family: PlayfairDisplay;
  src: url("../fonts/PlayfairDisplay-VariableFont_wght.ttf");
}
@font-face {
  font-family: Raleway;
  src: url(../fonts/Raleway-VariableFont_wght.ttf);
}

body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;  /* only hides horizontal scroll */
  overflow-y: auto;    /* allows vertical scroll */
  scroll-behavior: smooth;

}


.invitation{
  background-image: url('../img/background.webp') ;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  

}
.scene {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(5px);

}
.tree {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100vh;
  width: auto;
  z-index: 1;
}


.text {
 
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  max-width: 600px;
  padding: 1.5rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 15px;
  z-index: 5;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  opacity: 0;
  animation: fadeSlideUp 2s ease forwards;
  animation-delay: 0.5s;
  animation-fill-mode: both;


}
.text h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.text h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.text p {
  font-size: 1.2rem;
  font-weight: 300;
  margin: 0.3rem 0;
}

/* Couple at the bottom */
.couple {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  z-index: 2;
}

/* Falling Ring */
.ring {
  position: absolute;
  top: -80px;
  left: 50%;
  width: 40px;
  transform: translateX(-50%);
  animation: fallRing 6s ease-in-out forwards;
  z-index: 3;
}
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 20%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}


@keyframes fallRing {
  0% {
    top: -80px;
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
  }
  40% {
    opacity: 1;
    transform: translateX(-50%) scale(1.2);
  }
  100% {
    top: calc(100% - 230px); /* Adjust to fall above couple's hands */
    transform: translateX(-50%) scale(1);
  }
}

/* Mobile Responsive */
@media screen and (max-width: 600px) {
  .text h1 { font-size: 1.8rem; }
  .text h2 { font-size: 1.4rem; }
  .text p  { font-size: 1rem; }
  .couple { width: 300px;bottom: 15px; }
  .ring   { width: 30px; }
  @keyframes fallRing {
  0% {
    top: -80px;
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
  }
  40% {
    opacity: 1;
    transform: translateX(-50%) scale(1.2);
  }
  100% {
    top: calc(100% - 230px); /* Adjust to fall above couple's hands */
    transform: translateX(-50%) scale(1);
  }
}
}


.meet-the-couple {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url("../img/engagement-info-background.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    padding: 30px 15px;
  }

.mc-heading{
  font-family:Verdana, Geneva, Tahoma, sans-serif
}
.engagement-info h1{

    font-family: 'Great Vibes', cursive;
    color: #244d07;
}


.engagement-info h2 {
  font-size: 1.2rem;
  color: #c3a72f;
  font-family: Raleway;
  font-weight: 500;
}

 .engagement-info h4 {
  color: #3a022c8e;
    font-family: Raleway;
 }


.wd_about_infobox{
	float:left;
	width:100%;
	text-align:center;
    margin-bottom: 40px;
}
.wd_about_infobox_img{
	float:left;
	width:100%;
	text-align:center;
	margin-bottom:30px;
	position:relative;
	z-index:0;
}
.wd_about_infobox_img:after{
    content: "";
    position: absolute;
    top: 0px;
    left: -80px;
    right: 0px;
    margin: 0px auto;
    background-color: #f07677;
    height: 150px;
    -webkit-border-radius: 150px 150px 0px 0px;
    -moz-border-radius: 150px 150px 0px 0px;
    border-radius: 150px 150px 0px 0px;
    width: 285px;
    z-index: -1;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.wd_about_infobox_img:before{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    right: -80px;
    margin: 0px auto;
    background-color: #f07677;
    height: 150px;
    -webkit-border-radius: 0px 0px 150px 150px;
    -moz-border-radius: 0px 0px 150px 150px;
    border-radius: 0px 0px 150px 150px;
    width: 285px;
    z-index: -1;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.wd_about_infobox_img span{
	position:absolute;
    z-index: -1;
	top: -16px;
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
}
.wd_about_infobox_img span img{
	-webkit-border-radius:0px;
	-moz-border-radius:0px;
	border-radius:0px;
}
.wd_about_infobox_img img{
	display:inline-block;
	-webkit-border-radius:100%;
	-moz-border-radius:100%;
	border-radius:100%;
}
.wd_about_infobox h2{
	float:left;
	width:100%;
	font-size:30px;
	text-transform:capitalize;
	color:#880303;
}
.wd_about_infobox p{
	float:left;
	width:100%;
	text-transform:capitalize;
}

.wd_about_infobox h1{
	float:left;
	width:100%;
	font-size:60px;
	margin:0px;
	position:relative;
}
.wd_about_infobox h1:after{
    content: "";
    position: absolute;
    bottom: 10px;
    right: 0px;
    width: 70%;
    border-bottom: 1px solid #f07677;
}
.wd_about_infobox h1{
    display: inline-block;
    width: auto;
    float: none;
}


.btn-modern-map {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff!important;
  font-weight: 600;
  padding: 12px 26px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 40px;
  text-decoration: none;
  display: inline-block;
  font-family: Raleway;
  letter-spacing: 0.5px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  background: linear-gradient(145deg, #ff6b81, #f06292);
}

.btn-modern-map:hover {
  transform: translateY(-2px) scale(1.03);
  background: linear-gradient(145deg, #f06292, #ff6b81);
  box-shadow: 0 8px 30px rgba(255, 105, 135, 0.4);
  color: #fff;
}

/*scroll button*/
  .scroll-float-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #5e1d2f;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 2rem;
    line-height: 60px;
    z-index: 1000;
    box-shadow: 0 8px 16px rgba(255, 107, 129, 0.4);
    animation: bounce 2s infinite;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-decoration: none;
  }

  .scroll-float-btn.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(20px);
  }

  @keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
  }

  /* Responsive tweaks */
  @media (max-width: 768px) {
    .scroll-float-btn {
      width: 50px;
      height: 50px;
      font-size: 1.5rem;
      line-height: 50px;
    }
  }
.scroll-float-btn .fa-chevron-down:hover{
color: #fff;
}