/* Gallery Component Styles - Swiper Implementation */

.gallery-component {
    width: 100%;
    margin: 0;
    padding: 0;
}

.gallery-section {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Swiper Container */
.swiper {
    width: 100%;
    padding: 30px 0 50px 0;
}

.swiper-slide {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: auto;
}

.swiper-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Gallery Image Container */
.gallery-image-container {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slide Info */
.slide-info {
    padding: 15px;
    background: white;
    text-align: center;
}

.slide-info h3 {
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 5px;
    font-weight: 600;
}

.slide-info p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    background: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    color: #1e293b;
    font-weight: bold;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #667eea;
    width: 28px;
    border-radius: 5px;
}

/* Empty State */
.gallery-empty {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.gallery-empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.gallery-empty h3 {
    font-size: 1.5rem;
    color: #475569;
    margin-bottom: 0.5rem;
}

.gallery-empty p {
    font-size: 1rem;
    color: #64748b;
}

/* Loading State */
.gallery-loading {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.gallery-loading-spinner {
    border: 3px solid #f3f4f6;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .swiper {
        padding: 20px 0 40px 0;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px;
    }

    .slide-info {
        padding: 12px;
    }

    .slide-info h3 {
        font-size: 0.9rem;
    }

    .slide-info p {
        font-size: 0.8rem;
    }

    .gallery-empty {
        padding: 40px 20px;
    }

    .gallery-empty-icon {
        font-size: 3rem;
    }

    .gallery-empty h3 {
        font-size: 1.2rem;
    }

    .gallery-empty p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .swiper {
        padding: 15px 0 35px 0;
    }

    .gallery-loading,
    .gallery-empty {
        padding: 30px 15px;
    }
}