/* ==================================================
   SERVICES PAGE
================================================== */


/* ==================================================
   1. SERVICES HERO
================================================== */

.services-hero {
    position: relative;
    display: flex;
    align-items: center;

    min-height: 520px;
    padding: 110px 0;

    background:
        linear-gradient(
            rgba(20, 30, 50, 0.64),
            rgba(20, 30, 50, 0.64)
        ),
        url("images/home_services_gutters_fascia_downpipes.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: var(--ns-white);
    text-align: center;
}

.services-hero-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.services-label {
    display: inline-block;
    margin-bottom: 14px;

    color: var(--ns-red);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.services-hero h1 {
    margin-bottom: 28px;

    color: var(--ns-white);
    font-size: 54px;
    font-weight: 800;
    line-height: 1.08;
    text-transform: uppercase;
}

.services-hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.services-hero .btn-secondary {
    background: transparent;
    border-color: var(--ns-white);
    color: var(--ns-white);
}

.services-hero .btn-secondary:hover {
    background: var(--ns-white);
    border-color: var(--ns-white);
    color: var(--ns-blue);
    transform: translateY(-2px);
}

.services-hero .services-label {
    color: var(--ns-white);
}

/* HERO RESPONSIVE */

@media (max-width: 900px) {
    .services-hero {
        min-height: 460px;
        padding: 90px 0;
    }

    .services-hero h1 {
        font-size: 42px;
    }
}

@media (max-width: 650px) {
    .services-hero {
        min-height: 430px;
        padding: 80px 0;
    }

    .services-hero h1 {
        font-size: 34px;
    }

    .services-label {
        font-size: 14px;
        letter-spacing: 1.5px;
    }

    .services-hero-buttons {
        flex-direction: column;
    }

    .services-hero-buttons a {
        width: 100%;
    }
}

/* ==================================================
   2. SERVICES SUBMENU
================================================== */

.services-nav-section {
    background: var(--ns-blue-dark);
    color: var(--ns-white);
}

.services-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 34px;

    padding: 18px 0;
}

.services-nav a {
    position: relative;

    color: var(--ns-white);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;

    transition: color 0.25s ease;
}

.services-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -6px;
    left: 0;

    width: 0;
    height: 2px;
    margin: 0 auto;

    background: var(--ns-red);

    transition: width 0.25s ease;
}

.services-nav a:hover {
    color: var(--ns-red);
}

.services-nav a:hover::after {
    width: 100%;
}

.services-nav a:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 7px;
}

/* SUBMENU RESPONSIVE */

@media (max-width: 650px) {
    .services-nav {
        gap: 12px 22px;
        padding: 16px 0;
    }

    .services-nav a {
        font-size: 12px;
        letter-spacing: 0.7px;
    }
}

/* ==================================================
   3. SERVICES INTRO
================================================== */

.services-intro {
    padding: 90px 0;
    background: var(--ns-white);
}

.services-intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.services-intro h2 {
    margin-bottom: 24px;

    color: var(--ns-blue);
    font-size: 42px;
    line-height: 1.15;
}

.services-intro p {
    max-width: 820px;
    margin: 0 auto 16px;

    color: #5f668f;
    font-size: 17px;
    line-height: 1.75;
}

.services-intro p:last-child {
    margin-bottom: 0;
}

/* INTRO RESPONSIVE */

@media (max-width: 900px) {
    .services-intro {
        padding: 75px 0;
    }

    .services-intro h2 {
        font-size: 36px;
    }
}

@media (max-width: 650px) {
    .services-intro {
        padding: 65px 0;
    }

    .services-intro h2 {
        font-size: 30px;
    }

    .services-intro p {
        font-size: 16px;
        line-height: 1.7;
    }
}

/* ==================================================
   ANCHOR OFFSET
================================================== */

#roofing-services,
#gutter-services,
#asbestos-services,
#additional-services,
#areas-we-service {
    scroll-margin-top: 120px;
}

/* ==================================================
   4. ROOFING SERVICES
================================================== */

.roofing-services-section {
    padding: 100px 0;
    background: var(--ns-light);
}

.roofing-services-header {
    max-width: 820px;
    margin: 0 auto 52px;
    text-align: center;
}

.roofing-services-header h2 {
    margin-bottom: 18px;

    color: var(--ns-blue);
    font-size: 42px;
    line-height: 1.15;
}

.roofing-services-header p {
    max-width: 760px;
    margin: 0 auto;

    color: #5f668f;
    font-size: 17px;
    line-height: 1.65;
}

.roofing-services-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: stretch;
    gap: clamp(30px, 5vw, 64px);
}
.roofing-services-photo {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    border-radius: 12px;
}
.roofing-services-list { list-style: none; margin: 0; padding: 0; }
.roofing-services-list li { padding: 18px 0; margin: 0; border-bottom: 1px solid rgba(47,57,118,.16); }
.roofing-services-list li:first-child { padding-top: 0; }
.roofing-services-list li:last-child { padding-bottom: 0; border: 0; }
.roofing-services-list h3 { margin: 0 0 8px; color: var(--ns-blue); font-size: 22px; line-height: 1.3; }
.roofing-services-list p { margin: 0; color: #4f5d8c; font-size: 15px; line-height: 1.6; }
@media (max-width: 800px) {
    .roofing-services-split { grid-template-columns: 1fr; gap: 30px; }
    .roofing-services-photo { height: auto; aspect-ratio: 3 / 2; max-height: 420px; }
}
@media (max-width: 650px) {
    .roofing-services-section { padding: 70px 0; }
    .roofing-services-header { margin-bottom: 38px; }
    .roofing-services-header h2 { font-size: 32px; }
    .roofing-services-header p { font-size: 16px; }
    .roofing-services-list h3 { font-size: 20px; }
}

/* ==================================================
   5. GUTTER SERVICES
================================================== */

.gutter-services-section {
    padding: 100px 0;
    background: var(--ns-white);
}

.gutter-services-header {
    max-width: 820px;
    margin: 0 auto 52px;
    text-align: center;
}

.gutter-services-header h2 {
    margin-bottom: 18px;

    color: var(--ns-blue);
    font-size: 42px;
    line-height: 1.15;
}

.gutter-services-header p {
    max-width: 760px;
    margin: 0 auto;

    color: #5f668f;
    font-size: 17px;
    line-height: 1.65;
}

.gutter-services-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: stretch;
    gap: clamp(30px, 5vw, 64px);
}
.gutter-services-photo {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    border-radius: 12px;
}
.gutter-services-list { list-style: none; margin: 0; padding: 0; }
.gutter-services-list li { padding: 18px 0; margin: 0; border-bottom: 1px solid rgba(47,57,118,.16); }
.gutter-services-list li:first-child { padding-top: 0; }
.gutter-services-list li:last-child { padding-bottom: 0; border: 0; }
.gutter-services-list h3 { margin: 0 0 8px; color: var(--ns-blue); font-size: 22px; line-height: 1.3; }
.gutter-services-list p { margin: 0; color: #4f5d8c; font-size: 15px; line-height: 1.6; }
@media (max-width: 800px) {
    .gutter-services-split { grid-template-columns: 1fr; gap: 30px; }
    .gutter-services-photo { height: auto; aspect-ratio: 3 / 2; max-height: 420px; }
}
@media (max-width: 650px) {
    .gutter-services-section { padding: 70px 0; }
    .gutter-services-header { margin-bottom: 38px; }
    .gutter-services-header h2 { font-size: 32px; }
    .gutter-services-header p { font-size: 16px; }
    .gutter-services-list h3 { font-size: 20px; }
}

/* ==================================================
   6. ASBESTOS SERVICES
================================================== */

.asbestos-services-section {
    padding: 100px 0;
    background: var(--ns-light);
}

.asbestos-services-header {
    max-width: 820px;
    margin: 0 auto 52px;
    text-align: center;
}

.asbestos-services-header h2 {
    margin-bottom: 18px;

    color: var(--ns-blue);
    font-size: 42px;
    line-height: 1.15;
}

.asbestos-services-header p {
    max-width: 760px;
    margin: 0 auto;

    color: #5f668f;
    font-size: 17px;
    line-height: 1.65;
}

.asbestos-services-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: stretch;
    gap: clamp(30px, 5vw, 64px);
}
.asbestos-services-photo {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    border-radius: 12px;
}
.asbestos-services-list { list-style: none; margin: 0; padding: 0; }
.asbestos-services-list li { padding: 18px 0; margin: 0; border-bottom: 1px solid rgba(47,57,118,.16); }
.asbestos-services-list li:first-child { padding-top: 0; }
.asbestos-services-list li:last-child { padding-bottom: 0; border: 0; }
.asbestos-services-list h3 { margin: 0 0 8px; color: var(--ns-blue); font-size: 22px; line-height: 1.3; }
.asbestos-services-list p { margin: 0; color: #4f5d8c; font-size: 15px; line-height: 1.6; }
@media (max-width: 800px) {
    .asbestos-services-split { grid-template-columns: 1fr; gap: 30px; }
    .asbestos-services-photo { height: auto; aspect-ratio: 3 / 2; max-height: 420px; }
}
@media (max-width: 650px) {
    .asbestos-services-section { padding: 70px 0; }
    .asbestos-services-header { margin-bottom: 38px; }
    .asbestos-services-header h2 { font-size: 32px; }
    .asbestos-services-header p { font-size: 16px; }
    .asbestos-services-list h3 { font-size: 20px; }
}

/* ==================================================
   7. ADDITIONAL ROOFING SERVICES
================================================== */

.additional-services-section {
    padding: 100px 0;
    background: var(--ns-white);
}

.additional-services-header {
    max-width: 820px;
    margin: 0 auto 52px;
    text-align: center;
}

.additional-services-header h2 {
    margin-bottom: 18px;

    color: var(--ns-blue);
    font-size: 42px;
    line-height: 1.15;
}

.additional-services-header p {
    max-width: 760px;
    margin: 0 auto;

    color: #5f668f;
    font-size: 17px;
    line-height: 1.65;
}

.additional-services-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: stretch;
    gap: clamp(30px, 5vw, 64px);
}
.additional-services-photo {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    border-radius: 12px;
}
.additional-services-list { list-style: none; margin: 0; padding: 0; }
.additional-services-list li { padding: 18px 0; margin: 0; border-bottom: 1px solid rgba(47,57,118,.16); }
.additional-services-list li:first-child { padding-top: 0; }
.additional-services-list li:last-child { padding-bottom: 0; border: 0; }
.additional-services-list h3 { margin: 0 0 8px; color: var(--ns-blue); font-size: 22px; line-height: 1.3; }
.additional-services-list p { margin: 0; color: #4f5d8c; font-size: 15px; line-height: 1.6; }
@media (max-width: 800px) {
    .additional-services-split { grid-template-columns: 1fr; gap: 30px; }
    .additional-services-photo { height: auto; aspect-ratio: 3 / 2; max-height: 420px; }
}
@media (max-width: 650px) {
    .additional-services-section { padding: 70px 0; }
    .additional-services-header { margin-bottom: 38px; }
    .additional-services-header h2 { font-size: 32px; }
    .additional-services-header p { font-size: 16px; }
    .additional-services-list h3 { font-size: 20px; }
}

/* ==================================================
   8. AREAS WE SERVICE
================================================== */

.services-areas-section {
    padding: 100px 0;
    background: var(--ns-light);
}

.services-areas-header {
    max-width: 850px;
    margin: 0 auto 48px;
    text-align: center;
}

.services-areas-header h2 {
    margin-bottom: 20px;

    color: var(--ns-blue);
    font-size: 42px;
    line-height: 1.15;
}

.services-areas-header p {
    max-width: 760px;
    margin: 0 auto;

    color: #5f668f;
    font-size: 17px;
    line-height: 1.65;
}

.services-suburb-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px 26px;

    padding: 38px;

    background: var(--ns-white);
    border-left: 5px solid var(--ns-red);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.services-suburb-list span {
    position: relative;

    padding-left: 22px;

    color: var(--ns-blue);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.services-suburb-list span::before {
    content: "✓";

    position: absolute;
    top: 0;
    left: 0;

    color: var(--ns-red);
    font-weight: 900;
}

.services-areas-footer {
    max-width: 760px;
    margin: 42px auto 0;
    text-align: center;
}

.services-areas-footer p {
    margin-bottom: 24px;

    color: #5f668f;
    font-size: 16px;
    line-height: 1.7;
}

.services-areas-footer strong {
    color: var(--ns-blue);
}

/* AREAS RESPONSIVE */

@media (max-width: 1000px) {
    .services-suburb-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .services-areas-section {
        padding: 70px 0;
    }

    .services-areas-header {
        margin-bottom: 38px;
    }

    .services-areas-header h2 {
        font-size: 32px;
    }

    .services-areas-header p {
        font-size: 16px;
    }

    .services-suburb-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px 18px;

        padding: 28px 22px;
    }
}

@media (max-width: 480px) {
    .services-suburb-list {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   9. FINAL CTA
================================================== */

.services-cta {
    padding: 85px 0;

    background:
        linear-gradient(
            rgba(255, 255, 255, 0.50),
            rgba(255, 255, 255, 0.50)
        ),
        url("images/home_cta.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    text-align: center;
}

.services-cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.services-cta h2 {
    margin-bottom: 22px;

    color: var(--ns-blue);
    font-size: 44px;
    line-height: 1.15;
}

.services-cta-text {
    max-width: 780px;
    margin: 0 auto 34px;

    color: var(--ns-blue);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.7;
}

.services-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.services-cta-buttons .btn-primary,
.services-cta-buttons .btn-secondary {
    min-width: 210px;
}

/* CTA RESPONSIVE */

@media (max-width: 650px) {
    .services-cta {
        padding: 70px 0;
    }

    .services-cta h2 {
        font-size: 32px;
    }

    .services-cta-text {
        font-size: 16px;
    }

    .services-cta-buttons {
        flex-direction: column;
    }

    .services-cta-buttons .btn-primary,
    .services-cta-buttons .btn-secondary {
        width: 100%;
        min-width: 0;
    }
}
