/* ============================================================
   CLONE 37: AUTHENTIC CLEANFLOW FIELD PHOTOGRAPHY
   Scoped to the new homepage, About, and Services photo modules.
   ============================================================ */

.site-photo-figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(30, 60, 114, 0.12);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(13, 27, 54, 0.14);
}

.site-photo-figure img {
    display: block;
    width: 100%;
    height: auto;
}

/* Homepage field-proof section */

.home-field-photo-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 20%, rgba(58, 111, 199, 0.1), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
    border-top: 1px solid rgba(30, 60, 114, 0.07);
    border-bottom: 1px solid rgba(30, 60, 114, 0.08);
}

.home-field-photo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
    gap: clamp(34px, 6vw, 76px);
    align-items: center;
}

.home-field-photo-copy {
    max-width: 650px;
}

.site-photo-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--accent-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-field-photo-copy h2 {
    margin-bottom: 18px;
    color: var(--primary-dark);
}

.home-field-photo-copy p {
    color: var(--gray);
    font-size: 1.08rem;
    line-height: 1.75;
}

.home-field-photo-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0 0;
    padding: 18px 20px;
    border-left: 4px solid var(--accent);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(30, 60, 114, 0.08);
    color: var(--primary-dark) !important;
    font-weight: 600;
}

.home-field-photo-note i {
    margin-top: 4px;
    color: var(--accent-dark);
    font-size: 1.15rem;
    flex: 0 0 auto;
}

.home-field-photo {
    width: min(100%, 430px);
    justify-self: end;
}

.home-field-photo img {
    aspect-ratio: 865 / 1536;
    object-fit: cover;
}

/* About owner story */

.about-story-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.5fr);
    gap: clamp(34px, 5vw, 68px);
    align-items: start;
    max-width: 1120px;
    margin: 0 auto;
}

.about-owner-portrait {
    width: min(100%, 390px);
}

.about-owner-portrait img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
    object-position: center top;
}

.about-story-copy {
    min-width: 0;
}

.about-story-copy > h2 {
    margin-top: 0;
}

/* Services hub job photographs */

.service-detail-image.site-job-photo {
    display: flex;
    min-height: 0;
    flex-direction: column;
    background: var(--primary-dark);
}

.service-detail-image.site-job-photo img {
    width: 100%;
    height: 360px;
    min-height: 0;
    object-fit: cover;
}

.site-job-photo--cleaning img {
    object-position: center 58%;
}

.site-job-photo--repair img {
    object-position: center 38%;
}

@media screen and (max-width: 991.98px) {
    .home-field-photo-grid,
    .about-story-grid {
        grid-template-columns: 1fr;
    }

    .home-field-photo-copy {
        max-width: 760px;
    }

    .home-field-photo,
    .about-owner-portrait {
        width: min(100%, 520px);
        justify-self: center;
    }

    .about-owner-portrait {
        width: min(100%, 390px);
    }
}

@media screen and (max-width: 575.98px) {
    .site-photo-figure {
        border-radius: 18px;
    }

    .home-field-photo-copy p {
        font-size: 1rem;
    }

    .home-field-photo-note {
        padding: 16px;
    }

    .service-detail-image.site-job-photo img {
        height: 270px;
    }

}

/* ============================================================
   CLONE 38: SERVICE PHOTO CARDS
   Real field photography replaces decorative service icons while
   keeping short, readable service labels over the image.
   ============================================================ */

.service-photo-media {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 0;
    background: var(--primary-dark);
    color: #ffffff;
}

.service-photo-media::before {
    content: none !important;
}

.service-photo-media::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: linear-gradient(
        180deg,
        rgba(13, 27, 54, 0.04) 18%,
        rgba(13, 27, 54, 0.24) 58%,
        rgba(13, 27, 54, 0.9) 100%
    );
    pointer-events: none;
}

.service-photo-media > img {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-photo-media:hover > img,
.service-detail:hover .service-photo-media > img {
    transform: scale(1.035);
}

.service-photo-overlay {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 18px;
    left: 20px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-size: clamp(0.84rem, 1.3vw, 1.05rem);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.07em;
    text-align: left;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.78);
    text-transform: uppercase;
}

.premium-service-media.service-photo-media .service-photo-overlay {
    right: 26px;
    bottom: 24px;
    left: 26px;
    font-size: clamp(1rem, 1.65vw, 1.28rem);
}

.service-detail-image.service-photo-detail {
    min-height: 330px;
}

.service-detail-image.service-photo-detail > img {
    min-height: 0;
}

.photo-cleaning-bucket > img {
    object-position: center 48%;
}

.photo-brightening-spray > img {
    object-position: center 64%;
}

.photo-guard-install > img {
    object-position: center 52%;
}

.photo-guards-finished > img {
    object-position: center 58%;
}

.photo-seamless-install > img {
    object-position: center 52%;
}

.photo-repair-team > img {
    object-position: center 42%;
}

.photo-dryer-lint > img {
    object-position: center 56%;
}

.photo-dryer-airflow > img {
    object-position: center 63%;
}

.photo-drainage-cleanout > img {
    object-position: center 48%;
}

.photo-drainage-trench > img {
    object-position: center 56%;
}

@media screen and (max-width: 575.98px) {
    .service-photo-overlay {
        right: 16px;
        bottom: 14px;
        left: 16px;
        font-size: 0.82rem;
    }

    .premium-service-media.service-photo-media .service-photo-overlay {
        right: 18px;
        bottom: 16px;
        left: 18px;
        font-size: 1rem;
    }

    .service-detail-image.service-photo-detail {
        min-height: 270px;
    }
}
