/* ========================================
   Gallery Page Styles
   ======================================== */

.gallery-hero {
    height: 350px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    text-align: center;
}

.gallery-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.gallery-hero-content p {
    font-size: 1.2rem;
}

/* Gallery Filter */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.gallery-image {
    height: 220px;
    overflow: hidden;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.gallery-caption {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    color: var(--secondary-dark);
}

/* Load More */
.gallery-load-more {
    text-align: center;
    padding: 60px 0;
}

/* Lightbox Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    display: block;
    margin: 5% auto;
    max-width: 90%;
    max-height: 90vh;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.modal-caption {
    color: var(--white);
    text-align: center;
    margin-top: 15px;
    padding: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-hero {
        height: 250px;
    }
    .gallery-hero-content h1 {
        font-size: 2rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}
