/* Styles for the gallery.php page */

/* --- Inner Page Hero --- */
.inner-hero-section {
    position: relative;
    height: 350px;
    background-image: url('../images/header_image.webp');
    background-size: cover;
    background-position: top center;
    border-bottom: 3px solid var(--secondary-color);
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.inner-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 15, 0.85);
    z-index: 1;
}

.hero-content-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.hero-content-inner .sub-title {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.page-title-large {
    font-size: 2.8rem;
    color: var(--text-color);
    font-family: var(--font-heading);
    margin: 0;
}

/* --- Gallery Grid Section --- */
.gallery-section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-header .sub-title {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-desc {
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-item {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(200, 162, 74, 0.15);
    background-color: var(--card-bg);
}

.gallery-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 15, 15, 0.8);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.zoom-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 300;
    line-height: 1;
}

.caption-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #F7F3EB;
    text-transform: uppercase;
}

/* Hover Effects */
.gallery-item:hover .gallery-img-wrap img {
    transform: scale(1.08);
}

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


/* --- RESPONSIVE STYLES --- */
@media (max-width: 992px) {
    .inner-hero-section {
        height: 280px;
    }

    .page-title-large {
        font-size: 2.2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

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