* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face{
  font-family: kaushan;
  src: url('fonts/Kaushan_Script/KaushanScript-Regular.ttf');
}


@font-face{
  font-family: popreg;
  src: url('fonts/Poppins/Poppins-Regular.ttf');
}

@font-face{
  font-family: popthin;
  src: url('fonts/Poppins/Poppins-Thin.ttf');
}


@font-face{
  font-family: cinzel;
  src: url('fonts/Cinzel/Cinzel-Regular.ttf');
}

@font-face{
  font-family: cinzeldec;
  src: url('fonts/Cinzel_Decorative/CinzelDecorative-Regular.ttf');
}






body {
  font-family: "Poppins", sans-serif;
  background: white;
  color: #333;
  overflow-x: hidden;
  text-align: center;
}

p{
  font-family: popreg;
   font-weight: 100;
}

h1{
  font-family: kaushan;
   font-weight: 100;
}

h2{
  font-family: cinzel;
   font-weight: 100;
}

.hidden {
  display: none !important;
}

section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* CAROUSEL */
.carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100vh; /* full screen height */
  overflow: hidden;
  border-radius: 0;
  background: black;

}

.carousel img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* fill container, no black bars */
  object-position: center; /* keep image centered */
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.carousel img.active {
  opacity: 1;
}


/* MAIN PAGE */
.main-page {
  height: 100vh;
  background-color: black;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding-bottom: 60px;
  color: white;
  font-weight: bold;
  text-shadow: none;
  z-index: 2;

  background: linear-gradient(
    to top,                  /* Left → Right */
    rgba(0, 0, 0, 0.7),        /* Left color (darker) */
    rgba(0, 0, 0, 0)            /* Right color (transparent) */
  );


}
.main h1 {
  font-size: 70px;
  font-family: kaushan;
  margin: 200px 0 50px 0;

}
.main p{
  font-size: 17px;
  margin-bottom: 10px;
  font-family: popreg;
  
}


.guest{
  padding: 70px 0 10px 0;
  font-family: popreg;
  font-size: 17px;
  font-weight: 100;
}

.guest span{
  font-family: kaushan;
  font-size: 20px;
  font-weight: 100;
}


.mainBtn{
  position: relative;
  height: auto;
  width: 130px;
  display: flex;
  background: none;
  justify-content: center;
  align-items: center;
  border: none;
}

.mainBtn img{
  width: 100%;
  height: auto;
  opacity: 1;
  cursor: pointer;
}

.mainBtn:hover{
 width: 150px;
}



.inv1{
  position: relative;
}

.inv1 h1{
  font-size: 70px;
 text-align: center;
  font-family: kaushan;
  align-items: center;

}




/*Main Page*/

.invitation-page{
  display: flex;
  flex-direction: row;
  height: 100vh;
}
 
.fixed{
  position: relative;
  width: 71%;
  position: sticky;
  height: 100vh;
  overflow: hidden;
 align-items: center;
 
}

.scroll{
  width: 34%;
  height: 100vh;
  overflow-y: scroll;
}

.scroll::-webkit-scrollbar{
   width: 5px;
border-radius: 4px;
background: rgba(0,0,0,0.7);
}


/*Intro*/
.cover1{
  position: relative;
  height: 100vh;
  width: 100%;
}



.cover1-overlay{
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 0 0 30px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  color: white;
  text-shadow: none;
  z-index: 1;


  background: linear-gradient(
    to left,                  /* Left → Right */
    rgba(0, 0, 0, 0.6),        /* Left color (darker) */
    rgba(0, 0, 0, 0)            /* Right color (transparent) */
  );


  isolation: isolate; 
}

.arrow{
 position: absolute;
  bottom: 30px;
  right: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2; /* above overlay text */
}

.arrow img{
width: 60px;       /* adjust size */
  height: auto;
  transform: translateZ(0);  
  will-change: transform;
}

.arrow p{
  color: #f5fbff;
  font-size: 12px;
}


.arrow2{
 position: absolute;
  bottom: 20px;
  right: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3; /* above overlay text */
}

.arrow2 img{
  width: 50px;       /* adjust size */
  height: auto;
  transform: translateZ(0);  
  will-change: transform;
}

.arrow2 p{
  color: #f5fbff;
  font-size: 10px;
}

.cover1-overlay h1{
  font-size: 50px;
}

.cover1-overlay h2{
  font-size: 25px;

}

.cover1-overlay p{
  font-size: 15px;
  padding: 10px 0 10px 0;
}

.cover2{
  display: none;
  position: relative;
  height: 100vh;
  width: 100%;
}



.cover2-overlay{
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 0 0 50px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  color: white;
  text-shadow: none;
  z-index: 2;
  background: linear-gradient(
    to top,                  /* Left → Right */
    rgba(0, 0, 0, 0.8),        /* Left color (darker) */
    rgba(0, 0, 0, 0)            /* Right color (transparent) */
  );
}

.cover2-overlay h1{
  font-size: 50px;
}

.cover2-overlay h2{
  font-size: 20px;
}

.cover2-overlay p{
  font-size: 15px;
  padding: 10px 0 10px 0;
}



.intro > * {
  opacity: 0;
  transform: scale(0.2);
  transition: 
    opacity 1s ease,
    transform 1s ease;
}

.intro > *.visible {
  opacity: 1;
  transform: scale(1);
}

.intro{
  max-width: 100%;
  height: auto;
  padding: 50px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: black;
  overflow: hidden;
}

.intro video{
  width: 70%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
}



.intro img{
  width: 70%;
  height: auto;
  border-radius: 150px 150px 0 0;
  object-fit: contain;
 
}



.intro h1{
  font-size: 25px;
  font-family: kaushan;
  text-shadow: none;
  font-weight: 100;
  margin-top: 20px;
}


.intro p{
  font-family: popthin;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
 padding: 0 10px;
  
}

.intro span{
  font-family: kaushan;
    font-size: 15px;
    font-weight: 100;
}


/* Ceremony & Reception Layout */
.details > * {
  opacity: 0;
  transform: scale(0.2);
  transition: 
    opacity 1s ease,
    transform 1s ease;
}

.details > *.visible {
  opacity: 1;
  transform: scale(1);
}



.details{
  width: 100%;
  height: auto;
  padding: 100px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  background-color: black;

}

.details img{
  width: 40%;
  height: auto;
  margin: 80px 0;
}

.details h1{
  font-size: 30px;
  font-family: kaushan;
  font-weight: 100;
  text-shadow: none;
}

.details h2{
  font-size: 20px;
  font-family: kaushan;
  font-weight: 80;
  text-shadow: none;
}

.details p{
  font-size: 12px;
  text-shadow: none;
  font-family: popreg;
  font-weight: 100;
}




.overlay2{
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  padding: 100px 10px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  color: white;
  z-index: 2;
background: linear-gradient(
  to bottom,
  rgba(0, 0, 0, 0.9) 0%,      /* Top dark */
  rgba(0, 0, 0, 0.1) 30%,       /* Fade to light */
  rgba(0, 0, 0, 0.1) 40%,       /* Middle light */
  rgba(0, 0, 0, 0.9) 100%     /* Bottom dark */
);
}

.overlay2 p{
font-size: popthin;
font-weight: 400;
font-size: 15px;
}



/* INVITATION PAGE */
.entourage > * {
  opacity: 0;
  transform: scale(0.2);
  transition: 
    opacity 1s ease,
    transform 1s ease;
}

.entourage > *.visible {
  opacity: 1;
  transform: scale(1);
}


.entourage {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: black;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-height: 100vh;
  padding: 30px 10px 10px 10px;
  text-shadow: 0px 5px 5px 5px rgba(0, 0, 0, 0.5);
  color: white;
}

.entourage-col{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 30px;
  gap: 60px;
}

.entourage-row {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 30px;
  
}

.entourage h1{
  font-size: 20px;
  font-family: kaushan;
}

.entourage h2{
  font-size: 12px;
  font-family: kaushan;
}

.entourage p{
  font-size: 15px;
  font-weight: 400;
}




.sponsors > * {
  opacity: 0;
  transform: scale(0.8);
  transition: 
    opacity 0.5s ease,
    transform 0.5s ease;
}

.sponsors > *.visible {
  opacity: 1;
  transform: scale(1);
}



.sponsors{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-height: 100vh;
  padding: 50px 10px 20px 10px;
  text-shadow: 0px 5px 5px 5px rgba(0, 0, 0, 0.5);
  background: linear-gradient(
    to bottom,                  /* Left → Right */
    rgba(0, 0, 0, 1)0.5%,        /* Left color (darker) */
    rgba(0, 0, 0, 0)            /* Right color (transparent) */
  );
}

.sponsors-col{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 40px;
  gap: 30px;
}


.sponsors img{
  width: 40%;
  height: auto;
  margin: 10px 0 100px 0;
}


.sponsors h1{
  font-size: 40px;
  font-family: kaushan;
  color: black;
}

.sponsors p{
  font-size: 14px;
  font-weight: 500;
  color: black;
  text-align: left;
}



.info {
  width: 100%;
  height: auto;
  padding: 30px 20px;
}

.info img{
  width: 40%;
  height: auto;
  margin-bottom: 50px;
}

.info h1{
  padding-bottom: 2px;
}

.info p{
  padding: 0 20px 5px 20px;
  font-size: 12px;
}


.message{
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 50px 0;
}

.message h1{
  font-size: 25px;
  margin-bottom: 30px;
}

.message span{
  font-size: 10px;
  font-family: popreg;
  color: gray;
  padding-left: 2px;
}

.message p{
  font-size: 12px;
  font-family: popreg;
  font-weight: 100;
  padding-left: 10px;
}


/* Whole guestbook section */
#guestbook {
  position: relative;
  min-height: 80vh; /* Adjust height as you like */
  width: 95%;
  display: flex;
  flex-direction: column;
  border-radius: 5px;
  background:#161616;
  padding-top: 20px;
  overflow: hidden;
}

/* Scrollable messages box */
#messagesWrapper {
  position: relative;
  flex: 1;
  width: 100%;
  height: auto;
  padding: 10px 5px;
  overflow-y: scroll;
  
}


#messagesWrapper::-webkit-scrollbar{
width: 5px;
border-radius: 4px;
background: rgba(0,0,0,0.7);
}

/* Individual message */
.message-item {
  padding: 5px;
  margin-bottom: 20px;
  text-align: left;
  color: white;
  

}

.message-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
  font-family: kaushan;
  font-weight: 100;
}

/* Sticky bar for input + send button */
#messageBar {
  display: flex;
  align-items: center;
  padding: 10px;
  bottom: 0;
  left: 0;
  width: 100%;
  gap: 10px;
  
}

/* Textbox */
#messageInput {
  flex: 1;
  resize: none;
  height: 40px;
  padding: 10px;
  border-radius: 20px;
  background: white;
  color: black;
}

/* Send button (arrow) */
.sendBtn {
  width: 40px;
  height: 40px;
  font-size: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: none;
  background: none;
  color: white;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.2s;
}

.sendBtn img{
  width: auto;
  height: 80%;
  object-fit: contain;
}

.sendBtn img:hover{
  width: 80%;
  height: 80%;
}



/* Smooth scroll for messages */
#messagesWrapper {
  scroll-behavior: smooth;
}





.end{

  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  height: auto;
  padding: 50px 0 15px 0;
  text-shadow: 0px 5px 5px 5px rgba(0, 0, 0, 0.5);
}

.end img{
  object-fit: fill;
  width: 50%;
  height: auto;
  margin: 50px 0;
}




/*RSVP*/
.rsvp1{
  height: auto;
  display: block;
}

.rsvp2{
  height: auto;
  padding: 50px 0;
  display: none;
}

.rsvp2 h1{
padding: 10px;
}

.rsvp2 p{
margin: 20px;
}

.rsvp1 span{
  font-family: kaushan;
  font-size: 20px;
}

.rsvp2 span{
  font-family: kaushan;
  font-size: 20px;
}


.rsvp1 button {
  padding: 10px 26px;
  margin: 0px 10px;
  font-size: 16px;
  border: 2px solid white;
  color: white;
  border-radius: none;
  cursor: pointer;
  background: transparent;
}

.rsvp1 button:hover {
  color: black;
  background: white;
}


.rsvp2 button {
  padding: 12px 26px;
  margin: 10px;
  font-size: 16px;
   border: 2px solid black;
  border-radius: none;
  cursor: pointer;
}

.attendBtn {
  background: black;
  color: white;
}

.declineBtn {
  background: transparent;
  color: black;
}

.attendBtn:hover {
  background: transparent;
  color: black;
}



.declineBtn:hover {
  background: black;
  color: white;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Modal overlay */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal h1{
  font-size: 25px;
}

/* Modal content with slide-down animation */
.modal-content {
  background: #ffffff;
  padding: 25px;
  width: 280px;
  border-radius: 10px;
  text-align: center;
  transform: translateY(-40px);
  opacity: 0;
  animation: slideDown 0.4s ease forwards;
}

/* Guest input */
.modal-content input {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
  font-size: 16px;
}

/* Submit button */
.submit {
  width: 100%;
  padding: 12px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* Animation */
@keyframes slideDown {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}





@media (max-width: 768px) {

  .cover1{
    display: none;
  }

  .cover2{
    display: flex;
  }


.invitation-page{
  flex-direction: column;
  height: auto;
}


 
.fixed,
.scroll{
  position: relative; /* disable sticky/fixed behavior */
    width: 100%;
    height: auto;
    overflow: visible;
}


.entourage-col{
  gap: 30px;
}


.main{
  padding: 50px 10px 60px 10px;
}

.main h1 {
  font-size: 40px;
  margin: 250px 0 50px 0;
}
.main p {
  font-size: 15px;
  margin-bottom: 20px;
}

.guest{
  margin: 10px 0 5px 0;
}

.sponsors-col{
  gap: 10px;
}

.sponsors p{
  font-size: 11px;
}

.rsvp2{
  display: block;
}



}
