﻿html, body {
    height: 100%;
    margin: 0;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    max-width: 1840px;
    margin: 0 auto;
}

.sticky-header {
    flex: 0 0 auto;
    position: sticky;
    top: 0;
    background-color: #fff;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
#gallery-container {
    position: relative;
}

#gallery-container .gallery-item {
    box-sizing: border-box;
    width: 100%;
    padding: 0.75rem; /* replaces Bootstrap g-4 spacing */
    padding-bottom: 0;
}

@media (min-width: 768px) { /* md */
    #gallery-container .gallery-item {
        width: 49%;
    }
}

@media (min-width: 992px) { /* lg */
    #gallery-container .gallery-item {
        width: 32%;
    }
}





.scrollable-gallery {
    
}


.galleryImage {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 10px;
}

.gallery-item {
    display: block;
    box-shadow: 
}

.filter-btn {
    margin: 5px;
    font-size: 16px !important;
    font-weight: 500;
    background-color: transparent;
    border: none;
}

@media (min-width: 992px) {
    .col-lg-2_4 {
        flex: 0 0 auto;
        width: 20%;
    }
}

.carousel-caption {
    text-align: center;
    padding: 10px;
    padding-top: 20px;
    color: #fff;
    font-size: 12pt;
    position: static;
    display: none;
}

.slick-slider {
    margin-bottom: 0 !important;
}

.slick-next:before, .slick-prev:before {
    font-size: 40px !important;
}

.slick-next {
    right: -40px !important;
}

.slick-prev {
    left: -55px !important;
}

.slick-prev,
.slick-next {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    z-index: 1000;
}

    .slick-prev:before,
    .slick-next:before {
        font-size: 20px;
        color: #fff;
    }

.slick-dots li button:before {
    font-size: 12px;
    color: #aaa;
}

.slick-dots li.slick-active button:before {
    color: #333;
}


.modal-content {
    background-color: #373737;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.modal-header, .modal-footer {
    border: none;
    background-color: transparent;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.modal-body {
    padding: 0;
}

.modal-backdrop.show {
    opacity: 0.85;
    background-color: #000;
}


.btn-close {
    width: 40px !important;
    height: 40px !important;
    background-size: 40px 40px !important;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    padding: 0;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.filter-btn.active {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--accent);
}
