/* ==========================================================================
   About Page - Styles
   ========================================================================== */

/* Body */
body.page-template-template-about {
    padding-top: 0;
}

/* Hero
   ========================================================================== */
.about-page-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 60px;
    background-color: transparent;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.about-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, var(--about-hero-overlay, 0.6));
    z-index: 1;
}

.about-page-hero .container {
    position: relative;
    z-index: 2;
}

.about-page-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.about-page-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-weight: 300;
}

.about-page-hero-clip {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: 2;
}

/* About Content Section
   ========================================================================== */
.about-page-content {
    padding: 60px 0 80px;
    background: transparent;
}

/* Gallery Section
   ========================================================================== */
.about-page-gallery {
    padding: 60px 0 80px;
    background: transparent;
}

.about-page-gallery .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-page-gallery-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin: 0 0 40px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.about-page-gallery-item {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.about-page-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.about-page-gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox
   ========================================================================== */
.about-page-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.about-lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

.about-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.about-lightbox-close:hover {
    opacity: 1;
}

.about-lightbox-prev,
.about-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.about-lightbox-prev { left: 20px; }
.about-lightbox-next { right: 20px; }

.about-lightbox-prev:hover,
.about-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .about-page-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-page-hero {
        min-height: 280px;
        padding-top: 70px;
    }

    .about-page-hero-title {
        font-size: 2rem;
    }

    .about-page-gallery-title {
        font-size: 1.5rem;
    }
}

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

    .about-lightbox-prev,
    .about-lightbox-next {
        width: 36px;
        height: 36px;
    }

    .about-lightbox-prev { left: 10px; }
    .about-lightbox-next { right: 10px; }
}
