/* --- Gallery Page Styles --- */

.gallery-page {
    background-color: #fff;
}

/* Hero Section */
.gallery-hero {
    position: relative;
    height: 50vh;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.gallery-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 31, 78, 0.6); /* Dark overlay */
}

.gallery-hero-content {
    position: relative;
    z-index: 1;
}

.gallery-hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 15px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.gallery-hero-content .breadcrumbs-area {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.gallery-hero-content #breadcrumbs {
    justify-content: center;
}

.gallery-hero-content #breadcrumbs li a {
    color: #fff;
    text-decoration: none;
}

.gallery-hero-content #breadcrumbs li .separator {
    color: rgba(255,255,255,0.6);
    margin: 0 5px;
}

/* Gallery Content */
.gallery-content {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    background: #000;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.gallery-item-inner {
    position: relative;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.1);
    opacity: 0.8;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.zoom-icon {
    font-size: 40px;
    color: #fff;
    font-weight: 300;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.page-content-text {
    margin-top: 40px;
}

@media (max-width: 768px) {
    .gallery-hero h1 {
        font-size: 32px;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
}