/* Gallery Section Styles */
.gallery-section {
    padding: 80px 0;
    background-color: #fff;
}

.gallery-grid {
    margin-top: 40px;
}

/* Album Item Styles */
.de-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.de-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.de-item:hover img {
    transform: scale(1.1);
}

/* Overlay Styles */
.d-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.de-item:hover .d-overlay {
    opacity: 1;
}

.d-label {
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.d-label-inner {
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 5px;
    display: inline-block;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.de-item:hover .d-label-inner {
    transform: translateY(-5px);
}

.btn-slide {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid transparent;
    border-radius: 4px;
}

.btn-slide:hover {
    color: #007bff;
    border-color: #007bff;
}

/* Album Text Styles */
.d-text {
    padding: 20px 15px;
    background: #fff;
    border-radius: 0 0 10px 10px;
}

.d-text h4 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.d-text p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Modal Styles */
.modal-content {
    background: #fff;
    border: none;
    border-radius: 15px;
}

.modal-header {
    border: none;
    padding: 20px;
    position: relative;
}

.modal-title {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.modal-header .btn-close {
    background-color: #fff;
    opacity: 0.8;
    padding: 0.5rem;
    margin: 0;
    position: absolute;
    right: 20px;
    top: 20px;
}

.modal-body {
    padding: 0;
}

/* Swiper Styles */
.gallery-swiper {
    width: 100%;
    height: 80vh;
    background: #000;
}

.gallery-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    font-size: 1rem;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #007bff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .gallery-section {
        padding: 40px 0;
    }

    .de-item img {
        height: 250px;
    }

    .gallery-swiper {
        height: 60vh;
    }

    .d-label-inner {
        padding: 12px 25px;
    }

    .modal-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .de-item img {
        height: 200px;
    }

    .gallery-swiper {
        height: 50vh;
    }

    .d-label-inner {
        padding: 10px 20px;
    }

    .d-text {
        padding: 15px 10px;
    }

    .d-text h4 {
        font-size: 1.1rem;
    }

    .d-text p {
        font-size: 0.8rem;
    }

    .modal-title {
        font-size: 1.1rem;
    }

    .slide-caption {
        font-size: 0.9rem;
    }
} 