/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}




@font-face {
    font-family: 'TestFont';
    src: url('../fonts/cochocib-script-latin-pro.ttf') format('opentype');
}

/* Add to existing style.css */
.banner-blurred {
    filter: blur(10px);
    transition: filter 1 ease;
}

.modal.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.banner-text.fade-in {
    animation: bannerFadeIn 1.5s ease forwards;
}

@keyframes bannerFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 30px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.nav-links.fade-in a {
    animation: navLinksFadeIn 1s ease forwards;
    opacity: 0;
}

.nav-links.fade-in a:nth-child(1) {
    animation-delay: 0.2s;
}

.nav-links.fade-in a:nth-child(2) {
    animation-delay: 0.4s;
}

.nav-links.fade-in a:nth-child(3) {
    animation-delay: 0.6s;
}

.nav-links.fade-in a:nth-child(4) {
    animation-delay: 0.8s;
}

.nav-links.fade-in a:nth-child(5) {
    animation-delay: 1s;
}

@keyframes navLinksFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #fff;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;



}

/* Modal styling */
.modal {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    padding-top: 40px;
}

/* Modal content box */
.modal-content {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Input field */
input[type="tel"] {
    padding: 14px;
    margin: 15px 0;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f9f9f9;
    color: #000;
}

/* Button styling */
form button {
    padding: 14px;
    width: 100%;
    border: 2px solid #000;
    border-radius: 8px;
    background-color: #000;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

form button:hover {
    background-color: #fff;
    color: #000;
}

/* Confirmation Box */
/* Confirmation box styling */
#message {
    margin-top: 20px;
    font-size: 16px;
    color: #000;
}

.confirmation-box {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.confirmation-box .user-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.confirmation-box .user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.confirmation-box .user-info span {
    font-weight: 600;
    font-size: 18px;
}

.confirmation-box button {
    padding: 10px 20px;
    margin: 10px 5px 0;
    border: 2px solid #000;
    border-radius: 8px;
    background-color: #000;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.confirmation-box button:hover {
    background-color: #fff;
    color: #000;
}

/* Message text */
p {
    margin-top: 20px;
    font-size: 14px;
    color: #333;
}

/* Banner Container */
.banner-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
}

/* Banner Background */
.banner {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}


/* Navigation Links */
.nav-links {
    position: absolute;
    top: 40px;
    left: 0%;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    max-width: 800px;
    padding: 0 60px;
    /* Increased padding for end spacing */
    z-index: 2;
    color: white;

}

.nav-links a {
    /* color: white; */
    font-family: "Times New Roman", Times, serif;
    font-size: 1.2rem;
    text-decoration: none;
    margin: 0 5px;
    transition: opacity 0.3s ease;
    position: relative;
    padding-bottom: 8px;


    color: white;
}


.monogram {
    width: 70px;
    height: 70px;
    margin: 0 5px;
}


.banner-text {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    white-space: nowrap;
    padding: 20px 0;
    font-family: 'TestFont', sans-serif;
    font-size: 150px;
    font-weight: 500;




    background: url('../images/gradiant2.png');

    background-size: contain;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;





}

@keyframes shine {
    to {
        background-position: 100% center;
    }
}


.wedding-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;




}

.wedding-modal .modal-content {
    position: relative;
    /* Keep content positioned relative to modal */
    width: 80%;
    height: 85%;
    /* Take 80% of modal width */
    max-width: 800px;
    /* Maximum width for large screens */
    margin: 40px auto;
    /* Center horizontally with top margin */
    box-sizing: border-box;
    overflow-y: auto;
    background: white;

    background-image: url('../images/Picture1.jpg');
    background-size: cover;
    /* Ensures the image covers the entire modal */
    background-position: center;
    /* Centers the image */
    background-repeat: no-repeat;
    /* Prevents tiling */
}

#mendhiModal .modal-content {
    background-image: url('../images/men.png');
    height: 75vh;
}

#nelenguModal .modal-content {

    background-image: url('../images/Picture1.jpg');
    height: 75vh
}

.wedding-modal .close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    z-index: 1;
}

.nelengu-image {
    width: 80%;
    height: 80%;
}

.wedding-header {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 20px;

    font-family: 'TestFont', sans-serif;


    background: url('../images/gradiant2.png') no-repeat center;

    background-size: cover;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;








}


#story {
    display: none;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 30px;

    color: white !important;
    font-size: 17px;
    font-family: 'Javanese Text', serif;
    border-radius: 12px;
    animation: slideIn 1s ease-out forwards;
    background-image: url('../images/ing.png');
    font-weight: lighter;

    background-size: cover;
    /* Ensures the image covers the entire screen */
    background-position: center;
    /* Keeps the image centered */
    background-repeat: no-repeat;
    /* Prevents tiling */
    background-attachment: fixed;


}

@keyframes slideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#faq {
    display: none;
    width: 100%;
    height: 100%;
    overflow-y: hidden;
    padding: 30px;

    color: white !important;
    font-size: 17px;
    font-family: 'Javanese Text', serif;
    border-radius: 12px;
    animation: slideFromLeft 1s ease-out forwards;
    background-image: url('../images/ing.png');
    font-weight: lighter;

    background-size: cover;
    /* Ensures the image covers the entire screen */
    background-position: center;
    /* Keeps the image centered */
    background-repeat: no-repeat;
    /* Prevents tiling */
    background-attachment: fixed;



}


@keyframes slideFromLeft {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

#faq p strong {
    font-size: 19px;
    /* Slightly larger than base 17px */
    text-transform: uppercase;
}



.event-date-display {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: 'Javanese Text', serif;
    margin-bottom: 40px;
    width: 100%;
}

.event-date {
    display: flex;
    flex-direction: row;
    align-items: center;
    line-height: 1.1;
    margin: 0 10px;
}

.event-date-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.event-date-bottom div:first-child {
    font-size: 33.6px;
    /* 48px * 0.7 */
}

.event-date-bottom div:last-child {
    font-size: 16.8px;
    /* 24px * 0.7 */
}

.event-date>div:first-child {
    font-size: 50.4px;
    /* 72px * 0.7 */
}

.event-divider {
    border-left: 2px solid rgb(8, 8, 8);
    height: 84px;
    /* 120px * 0.7 */
    margin: 0 18px;
    /* 20px * 0.7 */
}

.event-time {
    font-size: 33.6px;
    /* 48px * 0.7 */
    margin-left: 1px;
    /* 20px * 0.7 */
}

.rsvpButton {

    padding: 14px;
    width: 100%;
    border: 2px solid #000;
    border-radius: 8px;
    background-color: #000;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 30px;

}

.rsvp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.rsvp-modal .rsvp-content {
    position: relative;
    width: 80%;
    height: 85%;
    padding-top: 10%;
    max-width: 800px;
    margin: 40px auto;
    box-sizing: border-box;
    overflow-y: auto;
    background: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    /* Rounded edges */
}

.rsvp-modal .close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    z-index: 1;
}

.label-group {
    display: flex;
    justify-content: center;
    /* Center the label horizontally */
    align-items: center;
    /* Center the label vertically */
    height: 50px;
    /* Adjust as needed */
    font-family: "Javanese Text", serif;
}

.dynamic-label {
    font-size: 18px;
    /* Adjust font size as needed */
}

.traditional-note {
    font-family: 'Times New Roman', serif !important;
    font-style: italic !important;
    font-size: 14px !important;


    letter-spacing: normal !important;
    line-height: 1.4 !important;
    /* Adjust this value as needed */

}

.testing {
    font-family: 'Javanese Text', serif;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.rsvp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 9999;
}

.rsvp-modal .rsvp-content {
    position: relative;
    width: 80%;
    height: 85%;
    padding-top: 10%;
    max-width: 800px;
    margin: 40px auto;
    box-sizing: border-box;
    overflow-y: auto;
    background: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    /* Rounded edges */
}

.rsvp-modal .close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    z-index: 1;
}



.dynamic-label {
    font-size: 18px;
    /* Adjust font size as needed */
}

.confirmation-boxFM {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 1px;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.confirmation-boxFM .user-infoFM {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.confirmation-boxFM .user-infoFM img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.confirmation-boxFM .user-infoFM span {
    font-weight: 600;
    font-size: 18px;
}

.confirmation-boxFM button {
    padding: 10px 20px;
    margin: 10px 5px 0;
    border: 2px solid #000;
    border-radius: 8px;
    background-color: #000;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.confirmation-boxFM button:hover {
    background-color: #fff;
    color: #000;
}

.confirmation-boxFM {
    cursor: pointer;
    transition: background-color 0.5s ease;
}

.confirmation-boxFM.selected {
    background-color: #969595;
    /* Light gray highlight */
    border-radius: 4px;
}

.user-infoFM {
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}



.rsvpButtonR {
    font-family: 'TestFont', serif;
    padding: 10px 20px;
    width: 45%;
    height: 10%;
    display: block;
    margin: 20px auto;
    /* centers the button horizontally */
    font-size: 50px;
    background-color: #000;
    color: #fff;
}

.confirmation-boxFM.disabled {
    opacity: 0.6;
    pointer-events: none;
    background-color: #e0e0e0;
}

.rsvp-status {
    font-size: 15px;
    color: #555;
    padding-bottom: 3%;
}




@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}


/* Mobile Optimization */
@media only screen and (max-width: 768px) {
    .nav-links {


        width: 100%;
        box-sizing: border-box;
        padding: 0 2%;
        gap: 5px;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;

    }

    .nav-links a {

        font-size: 0.7rem;
        margin: 0 3px;
        white-space: nowrap;


    }

    .banner-text {
        font-size: 60px;
    }

    body {
        font-family: Arial, sans-serif;
        background-color: #f4f4f4;
        margin: 0;
        padding: 20px;
    }

    .admin-container {
        max-width: 600px;
        margin: auto;
        background: white;
        padding: 20px;
        border-radius: 8px;
        text-align: center;
    }

    /* .image-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 20px;
    }

    .image-grid img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    } */

#desktop-blocker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
} 

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
}

.closeA {
    position: absolute;
    top: 20%;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}




    ul {
        list-style-type: none;
        padding-left: 0;
        /* Optional: removes indentation */
    }


    .admin-button {
        padding: 12px 20px;
        font-size: 16px;
        cursor: pointer;
        background-color: #007BFF;
        color: white;
        border: none;
        border-radius: 6px;
    }

    .admin-button:hover {
        background-color: #0056b3;
    }

    /* Modal styles */
    .admin-modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .admin-modal-content {
        background-color: #fff;
        margin: 5% auto;
        padding: 20px;
        border-radius: 8px;
        width: 90%;
        max-width: 600px;
    }

    .admin-close {
        float: right;
        font-size: 24px;
        cursor: pointer;
    }

    .admin-event-section {
        margin-top: 20px;
    }

    .admin-event-section h3 {
        color: #007BFF;
    }

    .admin-list {
        list-style-type: none;
        padding-left: 0;
    }

    .admin-list-item {
        background: #e9ecef;
        margin: 5px 0;
        padding: 10px;
        border-radius: 4px;
    }


}