/* ==================================================
   TOMAS HANDYMAN
   Styles for secondary pages
   ================================================== */


/* ==================================================
   1. SHARED PAGE HERO
   ================================================== */

.page-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(
            135deg,
            var(--dark) 0%,
            var(--primary-blue-dark) 100%
        );
}


.page-hero::before {
    position: absolute;
    top: -180px;
    right: -110px;
    width: 500px;
    height: 500px;
    border: 80px solid rgba(255, 255, 255, 0.035);
    border-radius: 50%;
    content: "";
}


.page-hero::after {
    position: absolute;
    right: 18%;
    bottom: -160px;
    width: 340px;
    height: 340px;
    border: 60px solid rgba(7, 132, 209, 0.18);
    border-radius: 50%;
    content: "";
}


.page-hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(100% - 48px, var(--page-width));
    min-height: 470px;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    margin: 0 auto;
    padding: 80px 0;
}


.page-hero-content {
    max-width: 900px;
}


.page-hero h1 {
    max-width: 950px;
    font-family: var(--heading-font);
    font-size: clamp(65px, 7vw, 105px);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}


.page-hero-content > p:not(.section-label) {
    max-width: 650px;
    margin-top: 25px;
    color: #d6e8f3;
    font-size: 18px;
}


.page-hero-number {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.08);
    font-family: var(--heading-font);
    font-size: 210px;
    font-weight: 800;
    line-height: 1;
}


/* ==================================================
   2. SERVICE PAGE NAVIGATION
   ================================================== */

.service-page-navigation {
    position: sticky;
    top: var(--header-height);
    z-index: 500;
    border-bottom: 1px solid var(--grey-light);
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
}


.service-page-navigation-container {
    display: flex;
    width: min(100% - 48px, var(--page-width));
    align-items: center;
    justify-content: center;
    gap: 55px;
    margin: 0 auto;
}


.service-page-navigation a {
    position: relative;
    padding: 20px 0;
    color: var(--dark);
    font-size: 14px;
    font-weight: 800;
    transition: color 0.2s ease;
}


.service-page-navigation a::after {
    position: absolute;
    right: 0;
    bottom: 13px;
    left: 0;
    height: 3px;
    border-radius: 10px;
    background-color: var(--primary-blue);
    content: "";
    transform: scaleX(0);
    transition: transform 0.2s ease;
}


.service-page-navigation a:hover {
    color: var(--primary-blue);
}


.service-page-navigation a:hover::after {
    transform: scaleX(1);
}


/* ==================================================
   3. DETAILED SERVICE SECTIONS
   ================================================== */

.detailed-service-section {
    scroll-margin-top: 145px;
    padding: 110px 0;
    background-color: var(--white);
}


.detailed-service-section.alternate-section {
    background-color: var(--primary-blue-light);
}


.detailed-service-container {
    display: grid;
    width: min(100% - 48px, var(--page-width));
    grid-template-columns: 1fr 0.88fr;
    align-items: center;
    gap: clamp(55px, 7vw, 105px);
    margin: 0 auto;
}


.detailed-service-container.reverse-layout {
    grid-template-columns: 0.88fr 1fr;
}


.reverse-layout .detailed-service-content {
    grid-column: 2;
    grid-row: 1;
}


.reverse-layout .detailed-service-image {
    grid-column: 1;
    grid-row: 1;
}


.detailed-service-content h2 {
    margin-bottom: 22px;
    font-family: var(--heading-font);
    font-size: clamp(65px, 7vw, 100px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}


.detailed-service-description {
    max-width: 650px;
    margin-bottom: 32px;
    color: var(--grey);
    font-size: 18px;
}


.detailed-service-list {
    margin-bottom: 37px;
    border-top: 1px solid var(--grey-light);
}


.detailed-service-item {
    display: grid;
    grid-template-columns: 55px 1fr;
    align-items: center;
    gap: 15px;
    min-height: 57px;
    border-bottom: 1px solid var(--grey-light);
}


.detailed-service-item span {
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}


.detailed-service-item strong {
    color: var(--dark);
    font-size: 15px;
    font-weight: 700;
}


.detailed-service-image {
    position: relative;
    height: 720px;
    overflow: hidden;
    border-radius: 22px;
    background-color: var(--dark);
    box-shadow: var(--shadow-large);
}


.detailed-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}


.detailed-service-image:hover img {
    transform: scale(1.025);
}


.van-service-image img {
    object-position: center center;
}


.image-service-label {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    color: var(--white);
    background-color: rgba(10, 23, 36, 0.88);
    backdrop-filter: blur(10px);
}


.image-service-label span,
.image-service-label strong {
    display: block;
}


.image-service-label span {
    margin-bottom: 3px;
    color: #8dd5ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}


.image-service-label strong {
    font-size: 16px;
}


/* ==================================================
   4. TABLET VERSION
   ================================================== */

@media screen and (max-width: 1000px) {

    .page-hero-container {
        min-height: 410px;
    }


    .page-hero-number {
        font-size: 150px;
    }


    .detailed-service-container,
    .detailed-service-container.reverse-layout {
        grid-template-columns: 1fr 0.9fr;
        gap: 45px;
    }


    .detailed-service-image {
        height: 650px;
    }


    .detailed-service-content h2 {
        font-size: 72px;
    }
}


/* ==================================================
   5. TABLET AND MOBILE NAVIGATION
   ================================================== */

@media screen and (max-width: 900px) {

    .page-hero-container {
        min-height: 390px;
        padding: 65px 0;
    }


    .page-hero h1 {
        font-size: clamp(58px, 10vw, 82px);
    }


    .page-hero-number {
        display: none;
    }


    .service-page-navigation {
        overflow-x: auto;
    }


    .service-page-navigation-container {
        width: max-content;
        min-width: 100%;
        justify-content: flex-start;
        gap: 0;
    }


    .service-page-navigation a {
        flex: 1 0 auto;
        padding: 18px 25px;
        text-align: center;
    }


    .service-page-navigation a::after {
        right: 25px;
        bottom: 10px;
        left: 25px;
    }


    .detailed-service-section {
        scroll-margin-top: 125px;
        padding: 85px 0;
    }


    .detailed-service-container,
    .detailed-service-container.reverse-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }


    .reverse-layout .detailed-service-content,
    .reverse-layout .detailed-service-image {
        grid-column: 1;
        grid-row: auto;
    }


    .reverse-layout .detailed-service-content {
        grid-row: 1;
    }


    .reverse-layout .detailed-service-image {
        grid-row: 2;
    }


    .detailed-service-image {
        height: 680px;
    }
}


/* ==================================================
   6. MOBILE PHONES
   ================================================== */

@media screen and (max-width: 600px) {

    .page-hero-container {
        width: calc(100% - 36px);
        min-height: 360px;
        padding: 55px 0;
    }


    .page-hero h1 {
        font-size: 53px;
        line-height: 0.94;
    }


    .page-hero-content > p:not(.section-label) {
        margin-top: 20px;
        font-size: 16px;
    }


    .service-page-navigation a {
        padding: 16px 20px;
        font-size: 13px;
    }


    .detailed-service-section {
        padding: 72px 0;
    }


    .detailed-service-container {
        width: calc(100% - 36px);
        gap: 38px;
    }


    .detailed-service-content h2 {
        font-size: 57px;
    }


    .detailed-service-description {
        margin-bottom: 26px;
        font-size: 16px;
    }


    .detailed-service-item {
        grid-template-columns: 42px 1fr;
        min-height: 59px;
    }


    .detailed-service-item strong {
        font-size: 14px;
    }


    .detailed-service-content .primary-button {
        width: 100%;
    }


    .detailed-service-image {
        height: 530px;
        border-radius: 15px;
    }


    .image-service-label {
        right: 13px;
        bottom: 13px;
        left: 13px;
        padding: 15px;
    }
}


/* ==================================================
   7. SMALL MOBILE PHONES
   ================================================== */

@media screen and (max-width: 390px) {

    .page-hero h1 {
        font-size: 47px;
    }


    .service-page-navigation a {
        padding-right: 17px;
        padding-left: 17px;
    }


    .detailed-service-content h2 {
        font-size: 52px;
    }


    .detailed-service-image {
        height: 480px;
    }
}