
/* Gallery Styles - Modern dark theme with pink accents */
.gallery-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.gallery-title {
    text-align: center;
    color: #ffccd5;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-shadow: 0 0 10px rgba(255, 204, 213, 0.3);
}

/* Main Carousel */
.main-carousel {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    margin-bottom: 3rem;
    aspect-ratio: 16/9;
    background-color: rgba(0, 0, 0, 0.2);
    max-height: 500px;
}

.main-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

.main-carousel-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.main-carousel-title {
    margin: 0 0 0.5rem;
    font-size: 1.8rem;
    color: #ffccd5;
    text-shadow: 0 0 8px rgba(255, 204, 213, 0.4);
}

.main-carousel-description {
    margin: 0;
    font-size: 1.1rem;
    color: white;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-indicator.active {
    background-color: #ffccd5;
    box-shadow: 0 0 5px rgba(255, 204, 213, 0.7);
}

/* Thumbnail Grid for categories */
.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.thumbnail-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.thumbnail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    margin: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #ffccd5;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

/* Gallery Grid - used to store original data */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-description {
    opacity: 1;
}

.gallery-description h3 {
    margin: 0 0 0.5rem;
    color: #ffccd5;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.gallery-description p {
    margin: 0;
    font-size: 0.9rem;
}

.image-category {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.2rem 0.5rem;
    background: rgba(255, 182, 193, 0.2);
    border-radius: 4px;
    font-size: 0.8rem;
}

.no-images {
    text-align: center;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin: 2rem;
    color: #ffb6c1;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .main-carousel {
        aspect-ratio: 4/3;
    }

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

    .main-carousel-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-title {
        font-size: 2rem;
    }

    .carousel-indicators {
        bottom: 10px;
    }

    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
}
