/* Gallery Page Styles */

/* Gallery Hero Section */
.gallery-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.3) 0%, rgba(230, 230, 250, 0.25) 100%),
                url('images/hero-image.jpg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    margin-top: 80px;
}

.gallery-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 182, 193, 0.4) 0%, 
        rgba(255, 192, 203, 0.3) 50%,
        rgba(230, 230, 250, 0.3) 100%);
    z-index: 1;
}

.gallery-hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    padding: 2rem;
}

.gallery-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 1rem;
    color: #FFFFFF;
    text-shadow: 3px 3px 20px rgba(0, 0, 0, 0.5), 
                 0 0 40px rgba(255, 182, 193, 0.4),
                 0 0 60px rgba(186, 85, 211, 0.3);
    letter-spacing: 2px;
}

.gallery-hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4), 
                 0 0 30px rgba(255, 182, 193, 0.3);
    letter-spacing: 1px;
}

/* Gallery Page Section */
.gallery-page {
    padding: 1.5rem 0 5rem;
    background: linear-gradient(135deg, #FFD1DC 0%, #E6E6FA 30%, #D8BFD8 60%, #F8F4FF 100%);
    min-height: 60vh;
}

/* Desktop Carousel Styles */
.gallery-carousel-desktop {
    display: none;
}

.gallery-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 0;
}

.gallery-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 0;
}

.gallery-item-page {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
    background: var(--color-white);
    aspect-ratio: 3/4;
}

.gallery-item-page img,
.gallery-item-page video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.gallery-item-video {
    position: relative;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 182, 193, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
    pointer-events: auto;
}

.gallery-item-video video {
    pointer-events: none;
}

.video-play-overlay:hover {
    background: rgba(186, 85, 211, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.gallery-item-page:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 182, 193, 0.3);
}


/* Desktop Carousel - Only visible on desktop */
@media (min-width: 969px) {
    .gallery-grid-page {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        margin: 2rem 0;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .gallery-grid-page {
        display: grid !important;
    }
    .gallery-hero-title {
        font-size: 3rem;
    }

    .gallery-hero-subtitle {
        font-size: 1.2rem;
    }

    .gallery-grid-page {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .gallery-hero {
        height: 40vh;
        min-height: 300px;
        margin-top: 70px;
    }

    .gallery-hero-title {
        font-size: 2.5rem;
    }

    .gallery-hero-subtitle {
        font-size: 1rem;
    }

    .gallery-grid-page {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

}

@media (max-width: 480px) {
    .gallery-hero {
        height: 35vh;
        min-height: 250px;
    }

    .gallery-hero-title {
        font-size: 2rem;
    }

    .gallery-grid-page {
        grid-template-columns: 1fr;
    }

}

