﻿/* === Original styles === */

body {
    margin-bottom: 60px;
    background-image: url('/Photos/editIMG_0260.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    font-size: 1rem;
}

.about-page {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 2rem;
    position: relative;
}

.custom-modal {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 2rem 3rem;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateX(400px);
}

.special-header {
    font-family: 'Great Vibes', cursive;
}

@media (max-width: 600px) {
    .custom-modal {
        width: 100vw;
        height: 100vh;
        min-width: 100vw;
        min-height: 100vh;
        padding: 20px;
        border-radius: 0;
        box-shadow: none;
        transform: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow-y: auto;
    }

    .about-page {
        padding: 0;
    }

    .custom-modal p {
        font-size: 1rem;
    }

    .custom-modal h1 {
        font-size: 2rem;
    }

    body {
        background: none !important;
        background-color: rgba(255, 255, 255, 0.9);
    }
}

.modal-body {
    max-height: 60vh;
    overflow-y: auto;
    padding: 1rem;
}

.accordion-button {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
}

.accordion-body {
    font-size: 1rem;
}

.faq-button-container {
    margin-top: 2rem;
}

.gallery-button-container button {
    background-color: black;
    color: white;
    border: none;
    padding: 3px 9px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
}

.gallery-button-container button:hover {
    background-color: #333;
}

@media (max-width: 576px) {
    .modal-dialog {
        max-width: 100%;
        margin: 0;
        height: 100vh;
    }

    .modal-content {
        height: 100vh;
        border-radius: 0;
        margin: 0.5rem;
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }

    .accordion-body {
        font-size: 0.95rem;
    }

    body {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .modal-dialog {
        margin: 0;
        height: 100vh;
        max-width: 100vw;
    }

    .modal-content {
        height: 100vh;
        border-radius: 0;
        margin: 0;
    }
}

.carousel-item img {
    object-fit: contain;
    height: 60vh;
    max-height: 80vh;
    width: auto;
    margin: 0 auto; 
}

@media (max-width: 576px) {
    #galleryModal .modal-content {
        height: auto;
        max-height: 90vh; 
        display: flex;
        flex-direction: column;
        justify-content: center; 
        background-color: black; 
    }

    
    #galleryModal .modal-body {
        padding: 0;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center; 
    }

    #galleryModal #engagementCarousel {
        width: 100%;
        max-height: 80vh; 
    }

    #galleryModal .carousel-item img {
        height: auto !important;
        max-height: 80vh;
        max-width: 100%;
        margin: 0 auto;
        display: block;
        object-fit: contain; 
    }
}

#galleryModal .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 8 8'%3e%3cpath d='M5.5 0L4.78.72 1.53 4 4.78 7.28 5.5 8 1 4z'/%3e%3c/svg%3e");
    width: 3rem;
    height: 3rem;
    opacity: 0.9;
}

#galleryModal .carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 8 8'%3e%3cpath d='M2.5 0L3.22.72 6.47 4 3.22 7.28 2.5 8 7 4z'/%3e%3c/svg%3e");
    width: 3rem;
    height: 3rem;
    opacity: 0.9;
}

#galleryModal .carousel-control-prev:hover .carousel-control-prev-icon,
#galleryModal .carousel-control-next:hover .carousel-control-next-icon {
    opacity: 1;
}


.btn-close {
    z-index: 1051;
}

#galleryModal .modal-content {
    background-color: black;
    color: white; 
}

#galleryModal .modal-body {
    background-color: transparent;
}

#galleryModal .carousel-item img {
    background-color: transparent;
}

#galleryModal .btn-close {
    filter: invert(1);
}