/* ========================================
   DESERT WAVE POOL CARE
   Portfolio Demo
======================================== */


/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color:#172b3a;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
}


/* ---------- HEADER / NAVIGATION ---------- */

.site-header {
    background: #ffffff;
    position: relative;
    z-index: 100;
    border-bottom: 1px solid #e8edf0;
}

.nav-container {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    color: #073b4c;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.brand-subtitle {
    color: #12a8b4;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-top: 7px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.desktop-nav > a {
    color: #304a59;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.desktop-nav > a:hover {
    color: #0aa6b5;
}

.desktop-nav .nav-cta {
    background: #0aa6b5;
    color: #ffffff;
    padding: 13px 22px;
    border-radius: 4px;
}

.desktop-nav .nav-cta:hover {
    background: #078895;
    color: #ffffff;
}


/* ---------- HERO ---------- */

.hero {
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(4, 38, 52, 0.94) 0%,
            rgba(4, 38, 52, 0.78) 45%,
            rgba(4, 38, 52, 0.20) 100%
        ),
        url("../images/pool-hero.jpg");

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

    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    right: -140px;
    bottom: -280px;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.eyebrow {
    color: #6ce0e7;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.hero h1 {
    max-width: 720px;
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.03;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-text {
    max-width: 610px;
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 34px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 27px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #14bdc8;
    color: #052e3c;
}

.btn-primary:hover {
    background: #67dfe5;
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}


/* ---------- TRUST STRIP ---------- */

.trust-strip {
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(20, 54, 70, 0.08);
    position: relative;
    z-index: 5;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
    padding: 28px 22px;
    border-right: 1px solid #e5ebee;
}

.trust-grid > div:first-child {
    border-left: 1px solid #e5ebee;
}

.trust-grid strong {
    display: block;
    color: #123b4b;
    font-size: 15px;
    margin-bottom: 4px;
}

.trust-grid span {
    display: block;
    color: #70838d;
    font-size: 13px;
}


/* ---------- GENERAL SECTIONS ---------- */

.section {
    padding: 100px 0;
}

.section-heading {
    max-width: 680px;
    margin-bottom: 48px;
}

.section-label {
    color: #0aa6b5;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
}

.section-heading h2,
.why-content h2,
.local-content h2,
.cta-content h2 {
    color: #123b4b;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.section-heading > p:last-child {
    color: #687d87;
    font-size: 18px;
    line-height: 1.7;
}


/* ---------- SERVICES ---------- */

.services {
    background: #f7fafb;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e3ebee;
    padding: 38px 32px;
    min-height: 310px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #b8dfe2;
    box-shadow: 0 18px 40px rgba(19, 61, 76, 0.1);
}

.service-number {
    color: #0aa6b5;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 42px;
}

.service-card h3 {
    color: #123b4b;
    font-size: 23px;
    margin-bottom: 14px;
}

.service-card p {
    color: #687d87;
    margin-bottom: 26px;
}

.service-card a {
    color: #078d9a;
    font-weight: 700;
    font-size: 14px;
}


/* ---------- WHY US ---------- */

.why-us {
    background: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.why-content > p:not(.section-label) {
    color: #667b85;
    font-size: 17px;
    margin-bottom: 18px;
}

.text-link {
    display: inline-block;
    margin-top: 10px;
    color: #078d9a;
    font-weight: 700;
}

.why-box {
    background: #073b4c;
    padding: 48px;
}

.why-item {
    display: flex;
    gap: 18px;
    padding: 21px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.why-item:first-child {
    padding-top: 0;
}

.why-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.why-item > span {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #14bdc8;
    color: #063744;
    border-radius: 50%;
    font-weight: 900;
}

.why-item strong {
    color: #ffffff;
    display: block;
    font-size: 17px;
    margin-bottom: 4px;
}

.why-item p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
}

/* ---------- TESTIMONIAL ---------- */

.testimonial-section {
    background: #f7fafb;
    text-align: center;
}

.testimonial-wrap {
    max-width: 900px;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid #e3ebee;
    padding: 55px 60px;
    box-shadow: 0 18px 40px rgba(19, 61, 76, 0.07);
}

.testimonial-stars {
    color: #0aa6b5;
    font-size: 22px;
    letter-spacing: 5px;
    margin-bottom: 24px;
}

.testimonial-card blockquote {
    max-width: 720px;
    margin: 0 auto 24px;
    color: #123b4b;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.5;
}

.testimonial-name {
    color: #123b4b;
    font-weight: 700;
    margin-bottom: 4px;
}

.testimonial-note {
    color: #7a8d96;
    font-size: 12px;
}

/* ---------- LOCAL SECTION ---------- */

.local-section {
    background: #eaf6f6;
}

.local-content {
    max-width: 820px;
    text-align: center;
}

.local-content p:last-child {
    max-width: 720px;
    margin: 0 auto;
    color: #607984;
    font-size: 18px;
    line-height: 1.8;
}


/* ---------- CTA ---------- */

.cta-section {
    padding: 90px 0;
    background: #073b4c;
    text-align: center;
}

.cta-content {
    max-width: 760px;
}

.light-label {
    color: #61dbe2;
}

.cta-content h2 {
    color: #ffffff;
}

.cta-content > p:not(.section-label) {
    color: rgba(255, 255, 255, 0.74);
    font-size: 18px;
    margin: 0 auto 30px;
    max-width: 620px;
}

/* ---------- QUOTE FORM ---------- */

.quote-form {
    max-width: 760px;
    margin: 38px auto 0;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #ffffff;
    color: #173846;
    font: inherit;
    padding: 14px 15px;
    border-radius: 4px;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #61dbe2;
    box-shadow: 0 0 0 3px rgba(97, 219, 226, 0.15);
}

.form-group textarea {
    resize: vertical;
}

.quote-form .btn {
    border: none;
    cursor: pointer;
}

.form-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin-top: 12px;
}

/* ---------- FOOTER ---------- */

.site-footer {
    background: #052d3a;
    color: #ffffff;
    padding: 42px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-content strong {
    font-size: 15px;
    letter-spacing: 1px;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin-top: 6px;
}

.footer-right {
    text-align: right;
}

/* ---------- THANK YOU PAGE ---------- */

.thank-you-page {
    min-height: 650px;
    background: #f7fafb;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 100px 0;
}

.thank-you-content {
    max-width: 720px;
}

.thank-you-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: #14bdc8;
    color: #073b4c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 900;
}

.thank-you-content h1 {
    color: #123b4b;
    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.1;
    margin-bottom: 20px;
}

.thank-you-content > p:not(.section-label) {
    color: #687d87;
    font-size: 18px;
    line-height: 1.8;
    max-width: 620px;
    margin: 0 auto 32px;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 850px) {

    .desktop-nav > a:not(.nav-cta) {
        display: none;
    }

    .hero {
        min-height: 600px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid > div:first-child {
        border-left: none;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .section {
        padding: 75px 0;
    }
}


@media (max-width: 550px) {

    .container {
        width: 88%;
    }

    .nav-container {
        min-height: 76px;
    }

    .brand-name {
        font-size: 18px;
    }

    .brand-subtitle {
        font-size: 9px;
    }

    .desktop-nav .nav-cta {
        padding: 11px 14px;
        font-size: 12px;
    }

    .hero {
        min-height: 590px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-text {
        font-size: 17px;
    }

    .eyebrow {
        font-size: 10px;
        line-height: 1.5;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        text-align: center;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid > div {
        border-right: none;
        border-bottom: 1px solid #e5ebee;
    }

    .section-heading h2,
    .why-content h2,
    .local-content h2,
    .cta-content h2 {
        font-size: 34px;
    }

    .service-card {
        padding: 30px 25px;
    }

    .why-box {
        padding: 34px 25px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-right {
        text-align: left;
    }

    .testimonial-card {
        padding: 38px 24px;
    }

    .testimonial-card blockquote {
        font-size: 21px;
    }

    .testimonial-stars {
        font-size: 19px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .quote-form {
        margin-top: 30px;
    }
}