/*Entire document styling*/

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Charm:wght@400;700&family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Niconne&family=Playfair+Display:ital@0;1&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:wght@400;700&display=swap');

* { box-sizing: border-box;
    margin: 0; 
    padding: 0;
    letter-spacing: 2px;
    font-weight: 600;
    font-family: "Cormorant", serif;
}
  
/*Home Page Styling*/

/* Romantic Theme Colors */

:root {
    --blush-pink: #f9e0e0;
    --gold: #d4af37;
    --cream: #fef9f3;
    --greenery: #6e9b76;
    --text-dark: #2d2d2d;
    --white: #ffffff;
    --navy: rgb(2, 3, 34);
    --contrast-blue: #A7D8FF;
}

html, body {
    background-color: var(--cream);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: clamp(1.5rem, 5vw, 2.5rem); 
    margin-top: 10px; 
    
    /* font-family: "Roboto", sans-serif; */
    font-weight: 800;
    font-style: normal;
    color: var(--navy);

    scroll-snap-align: start;
    scroll-behavior: auto;
    scroll-snap-type: y proximity;
}

.main-nav {
    text-align: center;
    border-top: 1px solid black;
    margin: 30px 100px 10px 100px;
}

.main-nav a, .second-nav a {
    text-decoration: none;
    color: var(--navy);
}

.main-nav a:hover, .second-nav a:hover {
    color: var(--gold);
}

.main-nav ul li:first-child {
    background-color: rgba(132, 132, 132, 0.071);
}

.main-nav ul li, .second-nav ul li {
    display: inline-flex;
    padding: 15px;
    margin-top: 50px;
    margin-bottom: 50px;
    font-weight: 900;
}

/*SECTION FOR THE ENGAGEMENT PHOTO*/

.homepage-image-section {
    width: 100%;
    height: auto;
    scroll-snap-align: start;
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    position:relative;
    filter: brightness(0.85) saturate(1.2);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  
}
.homepage-overlay {
    position: absolute;
    text-align: center;
    color: var(--cream);
    display: flex;
    flex-direction: column; 
    align-items: flex-end; 
    justify-content: center; 
    width: 100%; 
    text-align: right; 
    padding-right: 5%;
    padding-top: 2%;
    z-index: 2;
}
.homepage-overlay h2 {
    font-size: clamp(2rem, 10vw, 8rem);
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.6);
}

.homepage-overlay .engagement-quote {
    font-size: clamp(1.2rem, 5vw, 3rem);
    font-style: italic;
    margin-top: 10px;
}


/* Countdown Timer */
.countdown {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 0;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

#countdown-timer {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-top: 1rem;
    font-weight: bold;
    background: linear-gradient(135deg, #ffffff, #f8f9fa); 
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.1), 
                0 4px 10px rgba(0, 0, 0, 0.05); 
    padding: 20px 30px;
    border-radius: 15px;
    width: fit-content;
    border: 2px solid #d1d1d1; 
}

.countdown-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px; 
}

.count-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    position: relative;
}

.count-number {
    font-size: 4rem; 
    font-weight: bold;
    color: var(--navy);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.count-label {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

.colon {
    font-size: 3rem;
    font-weight: bold;
    color: var(--navy);
    margin: 0 10px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
}




/*HOME FOOTER*/



footer {
    font-size: clamp(2rem, 5vw, 2.5rem);
    text-align: center;
    padding-top: 2%;
    padding-bottom: 2%;
    
    
    /* font-family: "Roboto", sans-serif; */
    font-weight: 900;
    font-style: normal;
    color: var(--navy);

    scroll-snap-align: start;
    scroll-behavior: auto;
    scroll-snap-type: y proximity;
 }
.loveStory { 
    box-sizing: border-box; 
    color: var(--navy); 
    font-style: italic;
    font-size: 1.3rem;
    font-weight: bold;
    background: linear-gradient(135deg, #ffffff, #f8f9fa); 
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.1), 
                0 4px 10px rgba(0, 0, 0, 0.05); 
    padding: 10px 20px;
    border-radius: 15px;
    border: 2px solid #d1d1d1; 
    max-width: 1000px;
    width: 90%;
    margin: 0 auto; 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.4;
    overflow-wrap: break-word;
    word-break: break-word;
}

@media (max-width: 600px) {
    .loveStory {
        font-size: 1rem;
        padding: 15px 20px;
        aspect-ratio: auto; 
    }
}

/* Homepage Slideshow */

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  width: 100%;
  margin: auto;
  position: relative;
  overflow: hidden;
  /* aspect-ratio: 16 / 9;  */
  border: 6px double var(--cream);
  border-radius: 10px;
  background: var(--cream);
  padding-bottom: 1rem;
  padding-top: 2rem;
}

/* Each slide (image container) */
.mySlides {
  display: none;
  width: 100%;
  height: 100%;
}

/* Image styling */
.mySlides img {
  width: 100%;
  height: 35rem;
  object-fit: cover; 
  border-radius: 10px;
  display: block;
}
@media (max-width: 600px) {
    .slideshow-container {
        width: 90%;
        font-size: 1rem;
        height: 25rem;
    }
    .mySlides img {
        width: 100%;
        max-width: 500px;
        height: 100%;
        object-fit: cover; 
        display: block;
        margin: 0 auto; 
    }
}


/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}


/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}
/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}



/*WEDDING DAY STYLING*/

/*SECONDARY NAV STYLING*/


.mobile-hamburger {
    display: none; 
    font-size: 2rem;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;  
}

.second-nav ul li:first-child {
    background-color: rgba(232, 239, 239, 0.769);
}
.second-nav ul li:nth-child(2) {
    background-color: var(--cream);
}
.second-nav ul li:nth-child(3) {
    background-color: var(--cream);
}
.second-nav ul li:nth-child(4) {
    background-color: var(--cream);
}
.second-nav ul li:nth-child(5) {
    background-color: var(--cream);
}
.second-nav ul li:nth-child(6) {
    background-color: var(--cream);
}
.second-nav ul li:nth-child(7) {
    background-color: var(--cream);
    padding: 15px 25px;
    font-weight: 900;
    font-size: 100%;
}
.second-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    border: none;
    margin-top: 0;
    padding-top: 0;
    transform: translateY(5vh); 
    position: absolute; 
    top: 0; 
    left: 0;
    right: 0;
    text-align: center;
    margin: 30px 100px 10px 100px;
}

.secondary-header {
    margin: 0;
    padding: 0;
} 

.header-photo {
    width: 100%;
    height: 90vh;
    margin: 0;
    padding: 0;
    object-fit: cover;
    position: relative;
    scroll-snap-align: start;
    scroll-behavior: smooth;
    display: block;
} 
.main-heading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    
    font-size: clamp(1.8rem, 4vw, 4rem);
    color: var(--cream);
    text-shadow: 
        1px 1px 0px black,
        2px 2px 0px black,
        3px 3px 0px black,
        4px 4px 0px black;
}





/*ALL WEDDING DAY DETAILS SECTION STYLING*/

.details-column {
    flex: 1;
    width: 90%;
    margin: 0 auto;
    min-width: 250px;
    line-height: 200%;
    /* padding-bottom: 50px; */
}

.details-column ul {
    list-style: none;
    padding: 0;
}

.map-link a {
    text-decoration-line: underline;
    color: white;
}
.map-link a:hover {
    color: var(--gold);
    -webkit-text-stroke: 0px;
}
.details {
    /* display: flex;  */
    justify-content: space-between; 
    flex-wrap: wrap; 
    gap: 20px; 
    align-items: flex-start;
}

.details-image {
    width: 100%;  
    height: auto; 
    display: block; 
    margin: 10px auto; 

    border: 6px double var(--cream);
    border-radius: 10px;
    padding: 2.5px; 
    background: var(--cream); 
  
}
.side-by-side-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
@media (min-width: 1024px) {
    .details-image {
        width: 90%;
        max-width: 600px;
    }
}
@media (min-width: 724px) {
    .details-column {
        min-width: 400px;
    }
}

.wedding-day-content {
    position: relative;
    width: 100%;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 50px;
   
    text-align: center;
    -webkit-text-stroke: 1px var(--cream);
    font-size: clamp(2rem, 5vw, 2.5rem); 
    
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
    url("assets/engagementbeach1.jpg");
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center;
    /* height: 100vh; */

    color: var(--cream); 
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.7); 
    border-top: 5px solid rgb(0, 0, 0); 
    box-shadow:10px 5px 5px rgb(0, 0, 0);
}
.wedding-day-content::-webkit-scrollbar {
    display:none;
}
.wedding-day-content > section {
    /* min-height: 100vh;  */
    scroll-snap-align: start;
}




/* ALL WELCOME PARTY STYLING */


.welcome-party-content{
    position: relative;
    width: 100%;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 50px;

    text-align: center;
    -webkit-text-stroke: 1px var(--cream);
    font-size: clamp(2rem, 5vw, 2.5rem);
    
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
    url("assets/mauiwater.webp");
    background-repeat: no-repeat;
    background-size:cover;
     background-position: center;
    /* height: 100vh; */

    /* scroll-snap-align: start;
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    scroll-snap-stop: always;
    overscroll-behavior: auto;
    overflow-y: auto;
    touch-action: pan-y; */

    color: var(--cream); 
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.7); 
    border-top: 5px solid rgb(0, 0, 0); 
    box-shadow:10px 5px 5px rgb(0, 0, 0);
}
.welcome-party-content::-webkit-scrollbar {
    display:none;
}
.welcome-party-content > section {
    scroll-snap-align: start; /* REMOVE IF CHANGING SCROLL TYPE*/
}
.wedding-details {
    /* border: 1px solid rgb(0, 0, 0);  */
    border: none;
}




/* ALL RECOMMENDATIONS STYLING */


.recommendation-content {
    font-size: clamp(2rem, 5vw, 2.5rem);
    text-align: center;
    color: var(--cream); 
    position: relative;
    width: 100%;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 50px;

    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                      url("assets/mauibeach.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* height: 100vh; */
    
    border-top: 5px solid rgb(0, 0, 0); 
    box-shadow: 10px 5px 5px rgb(0, 0, 0);
}
.recommendation-content h1 {
    -webkit-text-stroke: 1px var(--cream);
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.7); 
}

.recommendation-content::-webkit-scrollbar {
    display: none;
}

.recommendation-content::-webkit-scrollbar {
    display:none;
}


.card-container {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    justify-content: center;
    align-items: stretch;
    margin: 0 auto;
    gap: 2%;
    padding: 30px 20px;
    max-width: 1500px;

}
.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    text-align: center;
    padding: 10px;
    width: 100%;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);

}

.card img {
    width: 100%;
    height: 25rem;
    display: block;
    object-fit: cover;
}

.card p {
    padding: 10px;
    font-size: 1.2rem;
    color: var(--navy);
}
.card h6 {
    color: var(--navy);
}
.maui-map {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    max-width: 90%;
    height: auto;
    margin: 5% auto;
    margin-bottom: 7%;
    position: relative;
    top: -50px;

    border: 2px solid white;
    background-color: white;
    padding: 10px;
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
 }
 .maui-map p {
    color: var(--navy);
    text-align: center;
 }
.maui-map img {
    width: 100%;
    height: 40vh;
    border-radius: 10px; 
    display: block;
    
}
/* .map-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin: 0 auto;
} */

.map-button {
    padding: 12px 25px;
    font-size: 150%;
    color: white;
    background: var(--navy);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;  

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.map-button:hover {
    background: linear-gradient(5deg, var(--gold), var(--navy));
}


@media (max-width: 1024px) {
    .card-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .card-container {
        grid-template-columns: repeat(1, 1fr);
    }
}




/* ALL REGISTRY STYLING */

.temporary {
  color: var(--navy); 
  font-size: 2rem;
  padding: 1rem;
}


.registry-section {
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-align: center;
    gap: 25px; 
    width: 100%;
    padding: 50px 20px;
    background-image: url("assets/engagementwalk1.webp");
    background-position: center;
    background-size: cover;
}
.registry-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    width: 100%;
}
.registry-btn {
    display: inline-flex; 
    justify-content: center;
    align-items: center; 
    padding: 20px 60px; 
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid var(--navy);
    background-color: var(--navy);
    color: var(--cream);
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    min-width: 250px; 
    width: 350px; 
    white-space: nowrap; 
}

.registry-btn:hover {
    background: var(--gold);
    color: var(--navy);
    transform: scale(1.05);
}
.registry-image-container {
    display: flex; 
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}
.registry-image {
    width: 280px;
    height: 25rem; 
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    object-fit: cover;
}
.registry-image:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
.registry-email-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3%;
    padding-bottom: 3%;
    color: var(--cream); 
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.4), 0 0 5px rgba(0, 0, 0, 0.1); 
    background-color: hsla(220, 98%, 7%, 0.5);
    border-radius: 10px;
    padding: 20px;
    font-size: 1.4rem;
    font-style: italic;
    max-width: 600px;
}
.registry-email-message a {
    text-decoration: none;
    color: var(--gold);
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}
.registry-email-message a:hover {
    color: var(--navy);
}


/* ALL FOOTER STYLING */


.secondary-footer {
    padding: 0;
    margin: 0;
    overflow: hidden; /* This ensures children don't overflow */
    line-height: 5px;
}


.footer-content,
.copyright {
    margin: 0;
    padding: 0;
}


/* Container */
.footer-image-container {
    position: relative;
    width: 100%;
    height: 30vh;
    overflow: hidden;
    font-size: 0;
}

/* Image */
.maui-photo-beach {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-top: 5px solid black;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 105%;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);

    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0;
    box-sizing: border-box;
}

.footer-content {
    color: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem; 
}


.ul-footer {
    list-style: none;
    padding: 0;
    margin: 0 auto 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.ul-footer li a {
    color: var(--cream);
    text-decoration: underline;
    font-weight: bold;
    font-size: 1.2rem;

    color: var(--cream); 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.ul-footer li a:hover {
    text-decoration: underline;
    color: var(--gold);
}

.copyright {
    font-size: 0.9rem;
    color: var(--cream);
    -webkit-text-stroke: 0.2px rgb(249, 249, 249);
    margin-top: 2rem;
}




/* 
.secondary-footer {
    position: relative;
    margin: 0;
    margin-top: auto;
    padding: 0;
    z-index: 1;

    text-align: center;
    -webkit-text-stroke: 0.1px rgb(249, 249, 249);
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.7); 
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 2.1;
    scroll-snap-align: none;
}
.footer-content {
    position: absolute;
    justify-content: center;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.ul-footer {
    padding: 0;
    margin: 0;
    list-style: none;
}
.ul-footer a {
    text-decoration-line: overline;
    text-decoration-thickness: 2px;
    color: white;
}
.ul-footer li {
    display: inline-block;
    padding: 10px;
}
.ul-footer a:hover {
    color: var(--gold);
    -webkit-text-stroke: 0px;
}

.maui-photo-beach {
    position: relative;
    margin: -5vh;
    padding: 0;
    
    height: 30vh;
    width: 100%;
    object-fit: cover;
    border-top: 5px solid rgb(0, 0, 0);
}

.copyright {
    font-size: 75%;
    position: relative;
    float: left;
    margin-left: 10px;
    margin-top: 10px;
    -webkit-text-stroke: 0.75px rgb(249, 249, 249);
   
} */





/* FAQS SECTION STYLING */




.FAQS-header, .main-nav {
    background-size: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}
.FAQs-body {
    background-position: left;
    background-image: url("assets/engagementbeach1.jpg");
}
.FAQS-details {
    background: #fdfdfd; 
    border: 2px solid var(--navy); 
    padding: 30px;
    margin: 40px auto;
    /* margin-bottom: 100px; */
    max-width: 1000px; 
    width: 80vw;
    min-height: 100px;
    height: auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); 
    border-radius: 15px; 
    position: relative;
    overflow: visible; 
    flex: 1;
    display: flex;
    flex-direction: column;
}

.FAQS-details::before {
    content: "💒";
    font-size: 2rem;
    position: absolute;
    top: -30px; 
    left: 50%;
    transform: translateX(-50%);
}

.FAQS-details::after {
    content: "";
    position: absolute;
    border: 4px double var(--navy);
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    border-radius: 10px;
    pointer-events: none;
    box-sizing: border-box;
}

/* FAQ Items Styling */
.faq-item {
    padding: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--navy);
    color: var(--navy);
    background: rgba(255, 255, 255, 0.8); 
    border-radius: 8px;
}

/* FAQ Summary (Question) */
.faq-item summary {
    font-size: clamp(1.5rem, 2vw, 2rem); 
    font-weight: bold;
    padding: 15px 20px;
    background-color: var(--cream);
    border-radius: 8px;
    transition: background 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Hover Effect */
.faq-item summary:hover {
    background-color: var(--navy);
    color: var(--cream);
}

/* Arrow Icon Styling */
.faq-item summary::before {
    content: "▼";
    font-size: 1.3rem;
    margin-right: 12px;
    transition: transform 0.3s ease-in-out;
}

/* Rotate arrow when opened */
.faq-item[open] summary::before {
    transform: rotate(180deg);
}

/* FAQ Answer (Text) */
.faq-item p {
    font-size: clamp(1rem, 1.3vw, 1.3rem);
    line-height: 1.8; 
    padding: 15px 20px;
    color: var(--navy);
}

@media (max-width: 768px) {
    .FAQS-details {
        width: 90vw;
        max-width: 600px;
        padding: 20px;
    }

    .faq-item summary {
        font-size: 1.3rem;
        padding: 10px;
    }

    .faq-item p {
        font-size: 1rem;
        padding: 10px;
    }
}







/* ALL RSVP PAGE STYLING */

.rsvp-ribbon-header {
    position: relative;
    width: 100%;
    padding: 15px;
    background-color: var(--navy);  
    color: var(--cream);  
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    overflow: hidden; 
    display: flex;
}

.rsvp-text-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    animation: moveText 20s linear infinite;
}

.rsvp-text {
    padding-right: 10%;
    white-space: nowrap; 
}

@keyframes moveText {
    0% {
        transform: translateX(100%); 
    }
    100% {
        transform: translateX(-100%); 
    }
}

.rsvp-btn {
    position: absolute;
    top: 12.8%;
    left: 90%;
    margin-right: 5%;
    max-width: 90vw;
    white-space: nowrap;
    
    transform: translateY(-50%); 
    
    border: solid 1px black;
    background-color: var(--cream);
    padding: 15px 25px;
    font-weight: 900;
    font-size: 175%;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.rsvp-btn:hover {
    color: var(--gold);
    background-color: #f0f0f0
}
.rsvp-btn-secondary {
    /* background-color: var(--cream);
    padding: 15px 20px;
    cursor: pointer;
    transition: 0.3s ease-in-out; */
    font-weight: 900;  
}
.rsvp-btn-primary {
    font-size: 100%;
    border: solid 1px black;
    padding: 10px 25px;
    font-weight: 900;
}
.rsvp-btn-primary:hover {
    color: var(--cream) !important;
    background-color: var(--navy);
}

.rsvp-form-header {
    display: flex;
    justify-content: center;
    font-size: 60%;
    padding-bottom: 8%;
    color: var(--navy);
    font-style: italic;
    
}
.rsvp-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 150%;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); 
    max-width: 1000px;
    width: 90%;
    margin: auto;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px; 
    color: var(--navy);
}
.name-container {
    display: flex;
    gap: 10px;
}
.name-container div {
    flex: 1;
}
fieldset {
    border: 2px solid var(--navy);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 50px;
}

legend {
    font-size: 1.8rem;
    font-weight: bold;
    font-style: italic;
    color: var(--navy);
    padding: 0 10px;
}


input, select, textarea {
    font-size: 100%;
    width: 100%; 
    padding: 12px;
    margin-bottom: 30px; 
    border: 2px solid var(--navy);
    border-radius: 5px;
    background: #f9f9f9;
    transition:  0.3s ease-in-out;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--gold);
    outline: none;
}
.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px 20px;
    justify-items: center;
    margin-bottom: 20px;
    width: 100%;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    justify-self: center;
    width: fit-content;
}


input[type="radio"] {
   
    -webkit-appearance: none;
    appearance: none;
    
    width: 18px;
    height: 18px;
    border: 2px solid var(--gold, #d4af37);
    border-radius: 50%;
    background-color: white;

    margin: 0;
    padding: 0;
    
    position: relative;
    top: 0;
    vertical-align: middle;
    flex-shrink: 0;
    
    transition: all 0.2s ease;
}

input[type="radio"]:checked {
    background-color: var(--gold, #d4af37);
    border-color: var(--gold, #d4af37);
}

input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
}

input[type="radio"]:focus {
    outline: 2px solid var(--gold, #d4af37);
    outline-offset: 2px;
}

.radio-group-native input[type="radio"] {
    transform: scale(1.2);
    accent-color: var(--gold, #d4af37);
    margin: 0;
    padding: 0;
    
    vertical-align: middle;
    position: relative;
    top: -1px;
    flex-shrink: 0;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: center;
    width: fit-content;
}

input[type="radio"] {
    transform: scale(1.3);
    cursor: pointer;
    accent-color: var(--gold);
}

textarea {
    height: 120px; 
    resize: vertical; 
}
.submit-btn {
    background-color: var(--navy);
    color: var(--cream);
    border: none;
    padding: 12px 25px;
    font-size: 120%;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.submit-btn:hover {
    background-color: var(--gold);
}


/* HAMBURGER MENU STYLING */



/* .mobile-hamburger {
    display: none;
}

.mobile-hamburger.active {
    display: none;
} */

/* Navigation Links */
.nav-links {
    display: none; 
}
.close-nav {
    display: none;
}
.rsvp-button-mobile {
    display: block;
}
.nav-container{
    margin: 0;
    padding: 0;
}




/* ANIMATION KEYFRAMES FOR ENTIRE DOCUMENT */

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
    
}
@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
} 
@keyframes blurFade {
    0% {
        opacity: 0;
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}
@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.scale-in {
    opacity: 0;
    animation: scaleIn 1.2s ease-out forwards;
}

.fade-slide {
    opacity: 0;
    animation: fadeSlideUp 0.9s ease-out forwards;
}
.blur-fade {
    opacity: 0;
    animation: blurFade 1.5s ease-out forwards;
}

.animate-fade {
    animation: fadeIn 1s ease-out forwards;
}

.animate-slide {
    animation: slideIn 1s ease-out forwards;
}
.animate-fade, .animate-slide {
    opacity: 0;
    transform: translateY(20px); 
}






/* Responsive Styling FOR MOBILE */

@media (max-width: 1024px) {
    header {
        font-size: clamp(1.8rem, 4vw, 2.2rem);
    }
    .rsvp-btn-secondary, .rsvp-btn, .main-nav,.second-nav{
        display: none;
    }

    .mobile-hamburger {
        display: block;
        position: absolute;
        color: var(--navy);
        top: 0px;
        right: 0px;
        font-size: 4rem;
        cursor: pointer;
        transform: scale(1.1);
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); 
    }
    /* .blur-fade {
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    } */
    .close-nav {
        display: none;
        position: absolute;
        top: 20px;
        right: 10px;
        font-size: 4rem;
        border: none;
        background: transparent;
        color: #fef9f3 !important;
        cursor: pointer;
        z-index: 9999;
    }
    
    .nav-container.open .close-nav {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        /* display: none; */
        flex-direction: column;
        align-items: center;
        top: 0;
        left: 0;
        background-image: url("assets/engagementwater1.webp");
        background-size: cover;
        width: 100%;
        height: 100vh;
        padding-top: 15%;
        z-index: 9998;
        font-style: italic;
        list-style: none;
        color: var(--cream);
    }
    .nav-links.open {
        display: flex;
    }
    body.menu-open {
        overflow: hidden;
    }
    .nav-links li {
        margin: 20px 0;
    }
    .nav-links a {
        text-decoration:overline;
        color: var(--cream);
        font-size: 4.2rem;
        font-weight: bold;
    }
    .rsvp-button-mobile {
        background-color: var(--navy);
        margin: 40px auto 0 auto;  
        padding: 20px 40px;
        border-radius: 5px;
        font-size: clamp(2.5rem, 15vw, 7rem) !important;
        font-weight: bold;
        text-decoration: none !important;
        color: var(--cream) !important;
        width: fit-content; 

        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    .nav-links.open .rsvp-button-mobile {
        opacity: 1;
        transform: translateY(0);
    }
    
    .rsvp-button-mobile:hover{
        color: var(--cream);
    }

    .card-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 15px;
    }
    .details-image {
        width: 100%;
        max-width: 500px;
        height: auto; 
        object-fit: cover; 
        display: block;
        margin: 0 auto; 
        border-radius: 10px;
    }
    

    .map-button {
        font-size: clamp(1.5rem, 3vw, 2rem);
        padding: clamp(10px, 2vw, 15px) clamp(15px, 3vw, 25px);
    }

    .homepage-overlay h2 {
        font-size: clamp(1rem, 3vw, 1.4rem);
    }

    .details-column {
        font-size: clamp(1rem, 2.5vw, 1.3rem);
    }
    .footer {
        font-size: clamp(1rem, 2vw, 1.2rem);
    }
}
/* @media (max-width: 1024px) and (orientation: landscape) {
    .maui-photo-beach {
        height: 75vh; 
        margin: -23vh; 
    }
    .copyright {
        margin-top: 10vh;
    }
} */



@media (max-width: 768px) {

    /* TO PREVENT OVERFLOW FOR MOBILE RESPONSIVENESS*/
   
    html, body {
        overflow-x: clip;
    }
    
    body.menu-open {
        overflow: hidden; 
        position: fixed;
        width: 100%; 
        height: 100%;
    }

    /* HAMBURGER NAV MENU MOBILE RESPONSIVENESS*/
    .mobile-hamburger {
        top: 20px;
        right: 10px;
        font-size: 30px;
        color: var(--navy) !important;
    }
   
    .close-nav {
        position: absolute;
        top: 20px;
        right: 10px;
        font-size: 30px;
        color: var(--cream) !important;
    }
    .nav-links {
        padding-top: 0;
    }

    .nav-links a {
        font-size: 1.6rem;
    }

    .rsvp-button-mobile {
        margin-top: auto;
    }
      
@media (max-width: 376px) {
    .mobile-hamburger {  
        right: 1px;
    }
    .close-nav {
        right: 1px;
    }
    .nav-links {
        overflow-y: auto;
        max-height: 100vh;
      }
      
}
    .nav-links {
        position: fixed;
        flex-direction: column;
        align-items: center;
        top: 0;
        left: 0;
        background-image: url("assets/engagementwater1.webp");
        background-size: cover;
        width: 100%;
        height: 100vh;
        padding-top: 0;
        font-style: italic;
        color: var(--cream);
    }
    .nav-links.open {
        display: flex;
    }
    body.menu-open {
        overflow: hidden;
    }
    .nav-links:hover {
        color: var(--navy);
    }
    .nav-links li {
        margin: 20px 0;
    }
    .nav-links a {
        text-decoration:overline;
        color: var(--cream);
        font-size: 1.6rem;
        font-weight: bold;
    }
    .rsvp-button-mobile {
        background-color: var(--navy);
        margin-top: auto;
        padding: 20px 40px;
        border-radius: 5px;
        
        font-weight: bold;
        text-decoration: none !important;
        color: var(--cream) !important;
    }
    .rsvp-button-mobile:hover{
        color: var(--cream);
    }


    /* HEADER MOBILE RESPONSIVENESS*/
    .header {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-size: 1.4rem;
        margin: 5px auto 0 auto;
        width: 90%;
        border-bottom: 1px solid var(--navy);
    }
    .homepage-overlay {
        display: flex;
        flex-direction: column; 
        align-items: flex-end; 
        justify-content: center; 
        width: 100%; 
        text-align: right; 
        padding-right: 4%;
        padding-top: 4%;
    }
    
    .homepage-overlay h2 {
        font-size: 0.85rem;
        text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.6);
        color: var(--cream);
    }
    
    .engagement-quote{
        font-size: 0.8rem !important;
    }
    .homepage-image-section{
        max-height: 90vh;
        height: auto;
        width: 100%;
        margin-top: 4vh;
        object-fit: cover;
    }

    nav {
        margin: 10px 20px;
        font-size: 15px;
    }
    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    nav ul li {
        padding: 10px;
        margin: 0px;
        display: block;
    }
    .homepage-image-section {
        height: 50vh;
        width: 100%;
        background-attachment: scroll; 
    }
    .countdown {
        padding: 0;
        margin: 0;
        padding-top: 1rem;
    }
    .countdown-wrapper {
        display: flex; 
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0px; 
        font-size: 1rem;
        max-width: 100%;
    }
    #countdown-timer {
        padding: 10px 15px;
        border-radius: 10px;
        max-width: fit-content;
    }

    .count-number {
        font-size: 1.5rem; 
        min-width: 40px;
    }

    .count-label {
        font-size: 0.6rem; 
    }

    .colon {
        font-size: 1.5rem; 
    }
@media (max-width: 376px) {
    .count-number {
        font-size: 0.9rem; 
        min-width: 40px;
    }

    .count-label {
        font-size: 0.4rem; 
    }

    .colon {
        font-size: 0.9rem; 
    }
    #countdown-timer {
        max-width: fit-content;
    }
}

    
     
    /* SECONDARY HEADER MOBILE RESPONSIVENESS*/
    .main-heading {
        font-size: 1.8rem;
        text-align: center;
        width: 90%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    body.recommendations-page .main-heading {
        font-size: 1rem !important;
        text-align: center; 
    }
@media (max-width: 360px) {
    body.recommendations-page .main-heading {
        font-size: 0.85rem !important; 
    }
}
    .main-heading 
    .header-photo {
        width: 100%;
    }
     
    /* MAIN NAVIGATION MOBILE RESPONSIVENESS*/

    .main-nav{
        display: none;
    }

    /* WELCOME PARTY - WEDDING DAY - RECOMMENDATIONS CONTENT MOBILE RESPONSIVENESS*/
    .second-ul {
        display: none;
    }
@media (max-width: 376px) {
    .details {
        gap: 20px;
        padding-bottom: 50px;
    }
    .details-column img {
        margin-bottom: 20px;
    }
    .details-column {
        font-size: 1rem; 
    }
    .wedding-details {
        margin-bottom: 0px;
    }
}
    .welcome-party-content,
    .wedding-day-content {
        font-size: 1.5rem;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center; 
        justify-content: flex-start;
        text-align: center;
        padding: 20px;
        padding-top: 0;
    }
    .details {
        width: 100%; 
        max-width: 600px; 
        display: flex;
        flex-direction: column; 
        align-items: center;
        text-align: center;
        justify-content: center;
        gap: 15px; 
        padding-bottom: 4rem;

    }
    .details-column img {
        width: 100%;
        height: auto;
        max-width: 500px;
    }
    .wedding-details {
        border: none;
        width: 100%;
        max-width: 700px;
    }
    .wedding-details h2 {
        font-size: 2.5rem;
        padding: 1%;
    }
    .details-column {
        font-size: 1.2rem;
        -webkit-text-stroke: 1px var(--cream);
        line-height: 1.6;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    
    .recommendation-content {
        font-size: 1.5rem;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center; 
        justify-content: flex-start;
        text-align: center;
        padding: 20px;
        padding-top: 0;

        /* scroll-snap-align: start;
        scroll-behavior: smooth;
        scroll-snap-type: y proximity;
        scroll-snap-stop: always;
        overscroll-behavior: auto;
        overflow-y: auto;
        touch-action: pan-y; */
    }
   
    .card-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .final-card-section .card-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .card {
        width: 90%;
        text-align: center;
        margin-bottom: 20px;
        height: auto;
    }
    .card h6 {
        font-size: 1.5rem;
        font-weight: bold;
    }
    .card p {
        font-size: 1.1rem;
    }
    .card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }
    .maui-map {
        border: 2px solid white;
        background-color: white;
        padding: 2px;
        border-radius: 10px; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    .maui-map img {
        width: 100%;
        height: 225px;
    }
    .map-container {
        width: 100%;  
    }
    .map-button {
        font-size: 2.2rem;
        width: 75%;
    }

    

     /* RSVP MOBILE RESPONSIVENESS*/
    .rsvp-btn, .rsvp-btn-secondary {
        display: inline-block;
        width: 100%;
        max-width: 400px; 
        padding: 12px 20px;
        font-size: 1rem;
        text-align: center;
        border: none;
        border-radius: 8px;
        background-color: var(--gold);
        color: var(--navy);
        box-sizing: border-box;

        white-space: normal;         
        overflow-wrap: break-word;   
        word-break: break-word;
    }

    .rsvp-form-header{
        display: flex;
        flex-direction: column;
        text-align: center;
        font-size: 0.8rem;
    }
    .rsvp-text-container{
        font-size: 1rem;
    }
    .rsvp-ribbon-header{
        margin-top: 5%;
    }
    fieldset {
        margin-bottom: 20px;
        padding: 10px;
    }
    
    legend {
        font-weight: bold;
        font-size: 1.2rem;
    }
    .name-container {
        flex-direction: column;
        margin-bottom: 20px;
    }
    .name-container input[type="text"] {
        margin-bottom: 10px;
    }

    input[type="text"], input[type="email"], select, textarea {
        width: 100%; 
        padding: 12px;
        margin-bottom: 20px;
        font-size: 1rem;
        box-sizing: border-box;
    }
    .radio-group {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px 20px;
        justify-items: center;
        margin-bottom: 20px;
        width: 100%;
    }

    /* .radio-group label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 1rem;
        white-space: nowrap;
    } */
    
    input[type="radio"] {
        transform: scale(1.2);
        accent-color: var(--gold);
        margin: 0;
        padding: 0;
    }

    label {
        font-size: 1.1rem;
        margin-bottom: 10px;
        display: block;
    }


    /* REGISTRY PAGE MOBILE RESPONSIVENESS*/

    
    .registry-container {
        flex-direction: column;
        align-items: center;
    }

    .registry-btn {
        width: 90%; 
        max-width: 300px;
        font-size: 1.2rem; 
        padding: 15px 40px; 
    }
    .registry-image {
        width: 100%; 
        max-width: 280px;
        height: 20rem; 
        border-radius: 15px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease-in-out;
        object-fit: cover; 
    }
    
    .registry-email-message {
        font-size: 1.2rem;
        text-align: center;
        padding: 10px;
    }


     /* FAQ PAGE MOBILE RESPONSIVENESS*/

     .faq-item {
        padding: 15px; 
        border-bottom: 1px solid var(--navy); 
    }
    
    /* FAQ Question (Summary) */
    .faq-item summary {
        font-size: clamp(1.2rem, 4vw, 1.4rem); 
        font-weight: bold;
        padding: 15px 10px;
        background-color: var(--cream);
        color: var(--navy);
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        list-style: none;
    }
    
    .faq-item summary:hover {
        background-color: var(--navy);
        color: var(--cream);
    }
    .faq-item summary::-webkit-details-marker {
        display: none;
    }
    /* Expandable Content (Answer) */
    .faq-item p {
        font-size: clamp(1rem, 3.5vw, 1.1rem);
        line-height: 1.6; 
        padding: 10px 15px;
        color: var(--navy);
    }
    
    /* Arrow Indicator for Expansion */
    .faq-item summary::before {
        content: "▼"; 
        font-size: 1rem;
        margin-right: 10px;
        transition: transform 0.3s ease-in-out;
    }
    
    /* Rotate Arrow when Open */
    .faq-item[open] summary::before {
        transform: rotate(180deg);
    }
    

    /* FOOTER MOBILE RESPONSIVENESS */

    footer {
    width: 100%;
    margin: 0 auto;
    padding: 1rem 1rem 1rem; 
    font-size: 1.3rem;
    text-align: center;
    box-sizing: border-box;
    }

    .secondary-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-height: 90vh; 
    overflow-y: auto; 
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.3rem;
    scroll-snap-align: none;
    }

    .maui-photo-beach {
    width: 100%;
    height: clamp(20vh, 30vh, 35vh); 
    object-fit: cover;
    border-top: 5px solid black;
    display: block;
    flex-shrink: 0; 
    }

    .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    color: var(--cream);
    width: 100%;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
    flex-shrink: 0; 
    }

    .ul-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    }

    .ul-footer li {
    list-style: none;
    }

    .ul-footer li a {
    color: var(--cream);
    text-decoration: underline;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.05rem 0.1rem;
    display: inline-block;
    }

    .copyright {
    font-size: 0.7rem;
    text-align: center;
    letter-spacing: 0.4px;
    width: 100%;
    -webkit-text-stroke: 0.5px var(--cream);
    margin-top: 8px;
    }

    /* Scrollbar styling if needed */
    .secondary-footer::-webkit-scrollbar {
    width: 5px;
    }

    .secondary-footer::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    }

    /* Smaller screens tweaks */
    @media (max-width: 380px) {
    .secondary-footer {
        font-size: 1.1rem;
        line-height: 1.1rem;
    }
    .ul-footer li a {
        font-size: 0.85rem;
        padding: 0;
    }
    .copyright {
        font-size: 0.55rem;
        margin-top: 6px;
    }
    }

}