/* ==========================================================================
   WHITE OAK LANDSCAPING & CONSTRUCTION LLC - GALLERY PAGE STYLESHEET
   Page-specific stylesheet: assets/css/gallery.css
   Rules: Direct classes, No :root variables, Pure CSS & Bootstrap 5
   Pure visual photo gallery with mosaic & masonry layouts and GLightbox
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO BANNER WITH BACKGROUND IMAGE & OVERLAY
   -------------------------------------------------------------------------- */
.gallery-hero-banner {
    position: relative;
    padding: 100px 0 110px 0;
    min-height: 360px;
    display: flex;
    align-items: center;
    background: 
        linear-gradient(135deg, rgba(13, 37, 26, 0.9) 0%, rgba(20, 53, 37, 0.78) 50%, rgba(10, 26, 18, 0.94) 100%),
        url('../img/22.webp') center center / cover no-repeat;
    box-shadow: inset 0 -15px 30px rgba(0, 0, 0, 0.4);
    color: #ffffff;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-banner-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(125, 165, 126, 0.25);
    border: 1px solid #7da57e;
    color: #e2f2e5;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.gallery-banner-title {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.gallery-banner-subtitle {
    font-size: 1.15rem;
    color: #d1e7d6;
    max-width: 700px;
    margin: 0 auto 22px auto;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.gallery-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.gallery-breadcrumb a {
    color: #a7d3ae;
    text-decoration: none;
    font-weight: 600;
}

.gallery-breadcrumb a:hover {
    color: #ffffff;
}

.gallery-breadcrumb .divider {
    color: rgba(255, 255, 255, 0.45);
}

.gallery-breadcrumb .active-crumb {
    color: #ffffff;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   2. SECTION HEADERS & BADGES
   -------------------------------------------------------------------------- */
.gallery-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #eaf3eb;
    color: #143525;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    border: 1px solid #d2e4d4;
}

.gallery-section-tag-light {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(125, 165, 126, 0.22);
    color: #e2f2e5;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    border: 1px solid rgba(125, 165, 126, 0.35);
}

.gallery-heading-dark {
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    color: #143525;
    font-weight: 800;
    margin-bottom: 12px;
}

.gallery-heading-light {
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 12px;
}

.gallery-sub-lead {
    font-size: 1.05rem;
    color: #556057;
    max-width: 650px;
    margin-bottom: 40px;
}

.gallery-sub-lead-light {
    font-size: 1.05rem;
    color: #d1e7d6;
    max-width: 650px;
    margin-bottom: 40px;
}

/* --------------------------------------------------------------------------
   3. SECTIONS BACKGROUNDS
   -------------------------------------------------------------------------- */
.gallery-section-white {
    padding: 90px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.gallery-section-green {
    padding: 90px 0;
    background-color: #143525;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   4. MOSAIC CARDS - PURE VISUALS (NO TEXT, CLEAN ZOOM HOVER)
   -------------------------------------------------------------------------- */
.mosaic-card-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background-color: #0d2218;
    box-shadow: 0 8px 24px rgba(20, 53, 37, 0.12);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
    text-decoration: none;
    border: 2px solid transparent;
}

.mosaic-card-wrap:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(20, 53, 37, 0.26);
    border-color: #7da57e;
}

.green-mosaic-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background-color: #07150e;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
    text-decoration: none;
    border: 2px solid rgba(125, 165, 126, 0.22);
}

.green-mosaic-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.55);
    border-color: #7da57e;
}

.mosaic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mosaic-card-wrap:hover .mosaic-img,
.green-mosaic-card:hover .mosaic-img {
    transform: scale(1.08);
}

/* Centered Zoom Hover Circle */
.mosaic-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 26, 18, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.35s ease;
    z-index: 2;
}

.mosaic-card-wrap:hover .mosaic-overlay,
.green-mosaic-card:hover .mosaic-overlay {
    background: rgba(10, 26, 18, 0.45);
}

.gallery-zoom-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgba(20, 53, 37, 0.85);
    backdrop-filter: blur(6px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: scale(0.6);
    opacity: 0;
}

.mosaic-card-wrap:hover .gallery-zoom-circle,
.green-mosaic-card:hover .gallery-zoom-circle {
    transform: scale(1);
    opacity: 1;
    background-color: #7da57e;
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(125, 165, 126, 0.85);
}

/* Standardized Mosaic Heights */
.mosaic-h-lg {
    height: 480px;
}

.mosaic-h-md {
    height: 310px;
}

.mosaic-h-sm {
    height: 228px;
}

.mosaic-h-sq {
    height: 290px;
}

/* --------------------------------------------------------------------------
   5. CALL TO ACTION BANNER (GREEN SECTION)
   -------------------------------------------------------------------------- */
.gallery-cta-section {
    padding: 85px 0;
    background: linear-gradient(135deg, #143525 0%, #0d251a 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #ffffff;
}

.gallery-cta-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(125, 165, 126, 0.22);
    border: 1px solid #7da57e;
    color: #e2f2e5;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.gallery-cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 14px;
    color: #ffffff;
}

.gallery-cta-desc {
    font-size: 1.15rem;
    color: #d1e7d6;
    max-width: 680px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.gallery-cta-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.btn-gallery-phone {
    background-color: #7da57e;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-gallery-phone:hover {
    background-color: #ffffff;
    color: #143525;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.btn-gallery-form {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 14px 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-gallery-form:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   6. RESPONSIVE MEDIA QUERIES (LAPTOP, TABLET & MOBILE)
   -------------------------------------------------------------------------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .mosaic-h-lg {
        height: 420px;
    }
    .mosaic-h-md {
        height: 300px;
    }
    .mosaic-h-sm {
        height: 220px;
    }
    .mosaic-h-sq {
        height: 280px;
    }
}

@media (max-width: 991.98px) {
    .gallery-hero-banner {
        padding: 70px 0 80px 0;
        min-height: auto;
    }

    .gallery-mosaic-section {
        padding: 60px 0;
    }

    .gallery-cta-section {
        padding: 65px 0;
    }

    .mosaic-h-lg {
        height: 350px;
    }
    .mosaic-h-md {
        height: 260px;
    }
    .mosaic-h-sm {
        height: 200px;
    }
    .mosaic-h-sq {
        height: 240px;
    }
}

@media (max-width: 575.98px) {
    .gallery-hero-banner {
        padding: 50px 0 60px 0;
    }

    .gallery-banner-title {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .gallery-banner-subtitle {
        font-size: 0.96rem;
    }

    .gallery-mosaic-section {
        padding: 45px 0;
    }

    .mosaic-h-lg,
    .mosaic-h-md,
    .mosaic-h-sm,
    .mosaic-h-sq {
        height: 220px;
    }

    .gallery-cta-section {
        padding: 50px 0;
    }

    .gallery-cta-title {
        font-size: 1.85rem;
    }

    .gallery-cta-desc {
        font-size: 0.95rem;
    }

    .gallery-cta-btns {
        flex-direction: column;
        gap: 12px;
    }

    .btn-gallery-phone,
    .btn-gallery-form {
        width: 100%;
        justify-content: center;
    }
}
