/* Shared gallery bento: watts_gallery_section() in lib/watts_functions.php
   (homepage + contractor singles). Moved from homepage.css. */
/* ========================
   Gallery Section
   ======================== */
.gallery-section {
    background-color: #0D1630;
    padding: 100px 24px 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

/* Header */
.gallery-section__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 560px;
}
.gallery-section__eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #00C6FF;
}
.gallery-section__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 44px;
    line-height: 52px;
    color: #fff;
    margin: 0;
}
.gallery-section__subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 26px;
    color: rgba(255, 255, 255, 0.55);
    max-width: 480px;
    text-align: center;
    margin: 0;
}

/* Bento Grid */
.gallery-section__grid {
    display: flex;
    gap: 16px;
    max-width: 1280px;
    width: 100%;
    height: 400px;
}
.gallery-section__featured {
    flex: 1.2;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.gallery-section__col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.gallery-section__cell {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.gallery-section__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CTA */
.gallery-section__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 16px 36px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.25s, border-color 0.25s;
}
.gallery-section__cta:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    text-decoration: none;
}
.gallery-section__arrow {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
}

/* Decorative dots */
.gallery-section__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.gallery-section__dot--purple {
    position: absolute;
    top: 60px;
    left: 120px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #870DBA;
    opacity: 0.5;
}
.gallery-section__dot--pink {
    position: absolute;
    bottom: 140px;
    right: 120px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #F9267E;
    opacity: 0.45;
}
.gallery-section__pill--cyan {
    position: absolute;
    top: 280px;
    right: 80px;
    width: 32px;
    height: 10px;
    border-radius: 5px;
    background: #33C6F4;
    opacity: 0.25;
    transform: rotate(45deg);
}

/* Responsive */
@media (max-width: 991px) {
    .gallery-section {
        padding: 80px 20px 80px;
        gap: 36px;
    }
    .gallery-section__title {
        font-size: 34px;
        line-height: 42px;
    }
    .gallery-section__grid {
        flex-direction: column;
        height: auto;
    }
    .gallery-section__featured {
        height: 280px;
        flex: none;
    }
    .gallery-section__col {
        flex-direction: row;
    }
    .gallery-section__cell {
        height: 180px;
    }
}
@media (max-width: 575px) {
    .gallery-section {
        padding: 64px 16px 64px;
        gap: 32px;
    }
    .gallery-section__title {
        font-size: 28px;
        line-height: 36px;
    }
    .gallery-section__subtitle {
        font-size: 15px;
        line-height: 24px;
    }
    .gallery-section__featured {
        height: 220px;
    }
    .gallery-section__col {
        flex-direction: column;
    }
    .gallery-section__cell {
        height: 180px;
    }
    .gallery-section__cta {
        padding: 14px 28px;
        font-size: 14px;
    }
}
