/* Gallery Lightbox Styles */
.gallery-lightbox-section {
    background-color: #faf2dc;
}

.gallery-container {
    margin-bottom: 40px;
}

.gallery-item {
    margin-bottom: 30px;
}

.gallery-box {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-box:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(159, 109, 57, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-box:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-icon i {
    color: #9f6d39;
    font-size: 20px;
}

.gallery-box:hover .gallery-icon {
    transform: scale(1);
}

/* Magnific Popup Custom Styles */
.mfp-bg {
    background: rgba(0, 0, 0, 0.9);
}

.mfp-figure::after {
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.8);
}

.mfp-title {
    color: #fff;
    font-family: "Cinzel", serif;
    font-size: 16px;
    line-height: 1.4;
}

.mfp-counter {
    color: #fff;
    font-family: "Red Hat Display", sans-serif;
    font-size: 14px;
}

.mfp-arrow {
    background: transparent;
}

.mfp-arrow::before,
.mfp-arrow::after {
    border: none;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.mfp-arrow:hover::before,
.mfp-arrow:hover::after {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.mfp-arrow-left::before {
    content: '\f053';
}

.mfp-arrow-right::before {
    content: '\f054';
}

.mfp-close-btn-in .mfp-close {
    background: transparent;
    color: #fff;
    font-size: 36px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.mfp-close-btn-in .mfp-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 767px) {
    .gallery-box img {
        height: 200px;
    }
    
    .gallery-icon {
        width: 40px;
        height: 40px;
    }
    
    .gallery-icon i {
        font-size: 16px;
    }
    
    .mfp-arrow::before,
    .mfp-arrow::after {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .mfp-close-btn-in .mfp-close {
        font-size: 28px;
    }
}
