/* =============================================
   ABOUT PAGE STYLES
   ============================================= */

/* ---- Hero ---- */
.about-hero {
    position: relative;
    height: 70vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px; /* navbar height */
}

.about-hero-bg {
    position: absolute;
    inset: 0;
}

.about-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(20%) brightness(0.7);
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.85) 100%
    );
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1rem;
}

.about-hero-title {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(3.5rem, 8vw, 7rem);
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow:
        0 0 20px rgba(0, 102, 255, 0.6),
        0 0 40px rgba(0, 102, 255, 0.3),
        2px 2px 0 rgba(0, 0, 0, 0.8);
    margin: 0 0 0.5rem;
    line-height: 1;
}

.about-hero-tagline {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    margin: 0;
}

/* ---- Bio Section ---- */
.bio-section {
    padding: 80px 0;
    background: #000000;
    border-top: 1px solid rgba(0, 102, 255, 0.2);
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.bio-heading {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #0066ff;
    text-shadow: 0 0 15px rgba(0, 102, 255, 0.5);
    margin: 0 0 1.5rem;
}

.bio-body p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.bio-sign-off {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 102, 255, 0.2);
    line-height: 1.8;
}

.bio-sign-off strong {
    color: #ffffff;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.bio-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.bio-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(0, 102, 255, 0.4);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    background: rgba(0, 102, 255, 0.08);
    transition: all 0.3s ease;
}

.bio-social-btn:hover {
    background: rgba(0, 102, 255, 0.2);
    border-color: rgba(0, 102, 255, 0.7);
    box-shadow: 0 0 12px rgba(0, 102, 255, 0.3);
    transform: translateY(-2px);
}

.bio-portrait {
    position: relative;
}

.bio-portrait-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    border-radius: 4px;
    border: 1px solid rgba(0, 102, 255, 0.2);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(0, 102, 255, 0.1);
    filter: grayscale(15%);
    transition: filter 0.4s ease;
}

.bio-portrait-img:hover {
    filter: grayscale(0%);
}

/* ---- Gallery Section ---- */
.gallery-section {
    padding: 60px 0 80px;
    background: #050505;
    border-top: 1px solid rgba(0, 102, 255, 0.15);
}

.gallery-heading {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #0066ff;
    text-shadow: 0 0 15px rgba(0, 102, 255, 0.5);
    margin: 0 0 2.5rem;
    text-align: center;
}

/* Masonry-style grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 6px;
    padding: 0 6px;
}

.gallery-item {
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: #111;
}

.gallery-item--tall {
    grid-row: span 2;
}

.gallery-item--wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.4s ease;
    filter: brightness(0.9);
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 102, 255, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    background: rgba(0, 102, 255, 0.08);
}

/* ---- Lightbox ---- */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    cursor: pointer;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 102, 255, 0.4);
    border-color: rgba(0, 102, 255, 0.6);
    box-shadow: 0 0 12px rgba(0, 102, 255, 0.4);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .bio-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .bio-portrait {
        order: -1;
    }

    .bio-portrait-img {
        aspect-ratio: 4 / 3;
        object-position: center 20%;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }
}

@media (max-width: 600px) {
    .about-hero {
        height: 55vh;
    }

    .bio-section {
        padding: 50px 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 4px;
        padding: 0 4px;
    }

    .gallery-item--wide {
        grid-column: span 2;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }
}
