/* =========================================================
   MURPHY WEST CONTRACTING
   MAIN STYLESHEET
========================================================= */


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f3f0e9;
    color: #25231f;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
}


/* =========================================================
   COLOURS

   Dark brown      #24211e
   Forest green    #26382d
   Brown accent    #9a683e
   Cream           #f3f0e9
   White           #fffdf8
========================================================= */


/* =========================================================
   NAVIGATION
========================================================= */

.navbar {
    width: 100%;
    min-height: 96px;

    padding: 14px 5%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #24211e;

    position: sticky;
    top: 0;

    z-index: 1000;
}


/* LOGO */

.nav-logo {
    display: block;

    border: none;
    text-decoration: none;
}

.nav-logo img {
    width: auto;
    height: 72px;

    object-fit: contain;
}


/* DESKTOP LINKS */

.nav-links {
    display: flex;
    align-items: center;

    gap: 32px;
}

.nav-links a {
    color: #fffdf8;

    font-size: 0.82rem;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    text-decoration: none;

    padding-bottom: 5px;

    border-bottom: 1px solid transparent;

    transition: 0.25s ease;
}

.nav-links a:hover {
    border-bottom-color: #fffdf8;
}


/* QUOTE BUTTON IN NAV */

.nav-links .nav-quote {
    border: 1px solid #9a683e;

    padding: 12px 20px;
}

.nav-links .nav-quote:hover {
    background: #9a683e;
    border-bottom-color: #9a683e;
}


/* HAMBURGER */

.menu-toggle {
    display: none;

    background: transparent;

    color: #fffdf8;

    border: 0;

    font-size: 2rem;

    cursor: pointer;

    width: auto;

    box-shadow: none;

    padding: 5px;
}

.menu-toggle:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: calc(100vh - 96px);

    position: relative;

    display: flex;
    align-items: center;

    padding: 100px 7% 120px;

    color: #fffdf8;

    background-image: url("hero-yard.jpg");
    background-size: cover;
    background-position: center;

    overflow: hidden;
}


/* DARK IMAGE OVERLAY */

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(20, 25, 21, 0.84) 0%,
            rgba(20, 25, 21, 0.60) 45%,
            rgba(20, 25, 21, 0.15) 100%
        );
}


/* HERO TEXT */

.hero-content {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 950px;
}

.eyebrow {
    font-size: 0.75rem;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    font-weight: 700;

    margin-bottom: 22px;
}

.eyebrow.dark {
    color: #67594d;
}

.hero h1 {
    font-size: clamp(4rem, 9vw, 8.6rem);

    line-height: 0.88;

    letter-spacing: -0.055em;

    font-weight: 600;

    max-width: 1000px;

    margin-bottom: 38px;
}

.hero-description {
    max-width: 620px;

    font-size: 1.15rem;

    line-height: 1.7;

    color: rgba(255, 253, 248, 0.9);

    margin-bottom: 40px;
}


/* HERO BUTTONS */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 34px;
}


/* HERO BOTTOM TEXT */

.hero-bottom {
    position: absolute;

    z-index: 2;

    bottom: 30px;
    left: 7%;
    right: 7%;

    display: flex;
    justify-content: space-between;

    padding-top: 20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.35);

    font-size: 0.66rem;

    font-weight: 700;

    letter-spacing: 0.14em;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 0 30px;

    background: #9a683e;

    color: #fffdf8;

    border: 1px solid #9a683e;

    text-decoration: none;

    text-transform: uppercase;

    letter-spacing: 0.1em;

    font-size: 0.72rem;

    font-weight: 700;

    transition: 0.25s ease;
}

.btn:hover {
    background: #754a2b;

    border-color: #754a2b;

    transform: translateY(-2px);
}

.text-link {
    color: #fffdf8;

    text-decoration: none;

    font-size: 0.8rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    border-bottom: 1px solid #fffdf8;

    padding-bottom: 5px;
}

.dark-link {
    display: inline-block;

    color: #25231f;

    text-decoration: none;

    font-size: 0.78rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    border-bottom: 1px solid #25231f;

    padding-bottom: 5px;

    margin-top: 15px;
}


/* =========================================================
   INTRO
========================================================= */

.intro-section {
    max-width: 1400px;

    margin: auto;

    padding: 150px 7%;

    display: grid;

    grid-template-columns:
        minmax(100px, 0.5fr)
        minmax(300px, 2fr);

    gap: 60px;
}

.intro-number {
    font-size: 1rem;

    letter-spacing: 0.1em;

    color: #89796b;
}

.intro-copy {
    max-width: 900px;
}

.intro-copy h2 {
    font-size: clamp(3rem, 6vw, 6.5rem);

    line-height: 0.98;

    letter-spacing: -0.045em;

    font-weight: 500;

    margin-bottom: 50px;
}

.intro-copy > p:not(.eyebrow) {
    max-width: 700px;

    font-size: 1.08rem;

    color: #5d574f;

    margin-bottom: 20px;
}


/* =========================================================
   BIG IMAGE
========================================================= */

.feature-image {
    position: relative;

    width: 100%;

    height: min(78vh, 820px);

    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.image-label {
    position: absolute;

    bottom: 30px;
    left: 5%;

    color: white;

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 0.16em;

    background: rgba(32, 31, 27, 0.72);

    padding: 12px 18px;
}


/* =========================================================
   SERVICES HEADING
========================================================= */

.services-heading {
    background: #26382d;

    color: #fffdf8;

    padding: 130px 7%;

    text-align: center;
}

.services-heading h2 {
    font-size: clamp(3rem, 7vw, 7rem);

    line-height: 0.94;

    letter-spacing: -0.05em;

    font-weight: 500;

    margin-bottom: 28px;
}

.services-heading > p:last-child {
    width: 100%;

    max-width: 600px;

    margin: auto;

    color: rgba(255, 253, 248, 0.78);

    font-size: 1.05rem;
}


/* =========================================================
   SERVICE FEATURES
========================================================= */

.service-feature {
    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    min-height: 700px;

    background: #fffdf8;
}

.service-feature.reverse {
    grid-template-columns: 0.85fr 1.15fr;
}

.service-feature.reverse .service-image {
    order: 2;
}

.service-feature.reverse .service-content {
    order: 1;
}


/* IMAGE */

.service-image {
    min-height: 620px;

    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.service-feature:hover .service-image img {
    transform: scale(1.025);
}


/* TEXT */

.service-content {
    display: flex;

    flex-direction: column;
    justify-content: center;

    padding: 80px 9%;
}

.service-number {
    display: block;

    font-size: 0.75rem;

    letter-spacing: 0.16em;

    color: #89796b;

    margin-bottom: 60px;
}

.service-content h3 {
    font-size: clamp(2.5rem, 4vw, 4.8rem);

    line-height: 0.98;

    letter-spacing: -0.04em;

    font-weight: 500;

    margin-bottom: 30px;
}

.service-content > p:not(.eyebrow) {
    color: #625b53;

    font-size: 1rem;

    max-width: 500px;

    margin-bottom: 20px;
}


/* =========================================================
   PROCESS
========================================================= */

.process-section {
    background: #24211e;

    color: #fffdf8;

    padding: 140px 7%;
}

.process-heading {
    max-width: 750px;

    margin-bottom: 90px;
}

.process-heading h2 {
    font-size: clamp(3.5rem, 7vw, 7rem);

    line-height: 0.93;

    letter-spacing: -0.05em;

    font-weight: 500;
}

.process-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    border-top:
        1px solid rgba(255, 255, 255, 0.25);
}

.process-item {
    padding: 35px 30px 20px 0;

    border-right:
        1px solid rgba(255, 255, 255, 0.15);
}

.process-item:not(:first-child) {
    padding-left: 30px;
}

.process-item span {
    display: block;

    color: #bc9a7a;

    font-size: 0.7rem;

    letter-spacing: 0.14em;

    margin-bottom: 55px;
}

.process-item h3 {
    font-size: 1.35rem;

    line-height: 1.25;

    font-weight: 500;

    margin-bottom: 18px;
}

.process-item p {
    color: rgba(255, 253, 248, 0.64);

    font-size: 0.92rem;
}


/* =========================================================
   STATEMENT
========================================================= */

.statement-section {
    min-height: 720px;

    display: flex;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 100px 7%;

    background:
        linear-gradient(
            rgba(35, 56, 45, 0.78),
            rgba(35, 56, 45, 0.78)
        ),
        url("hardscape.jpg");

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

    color: #fffdf8;
}

.statement-section h2 {
    max-width: 1000px;

    font-size: clamp(3.8rem, 8vw, 8rem);

    line-height: 0.9;

    letter-spacing: -0.055em;

    font-weight: 500;

    margin-bottom: 50px;
}

.light-button {
    background: transparent;

    border-color: #fffdf8;
}

.light-button:hover {
    background: #fffdf8;

    color: #25231f;

    border-color: #fffdf8;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 120px 7%;

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 60px;

    background: #e7e1d6;
}

.cta-section h2 {
    max-width: 800px;

    font-size: clamp(3rem, 6vw, 6rem);

    line-height: 0.95;

    letter-spacing: -0.045em;

    font-weight: 500;
}


/* =========================================================
   STANDARD INNER-PAGE HEADER
========================================================= */

.page-header {
    min-height: 430px;

    display: flex;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 80px 7%;

    background: #26382d;

    color: #fffdf8;

    text-align: center;
}

.page-header h1 {
    font-size: clamp(3.3rem, 7vw, 7rem);

    line-height: 0.95;

    letter-spacing: -0.05em;

    font-weight: 500;

    margin-bottom: 22px;
}

.page-header p {
    max-width: 650px;

    color: rgba(255, 253, 248, 0.75);

    font-size: 1.05rem;
}


/* =========================================================
   EXISTING INNER-PAGE CONTENT
========================================================= */

.section {
    width: 100%;

    max-width: 1250px;

    margin: auto;

    padding: 100px 6%;
}

.section h2 {
    font-size: clamp(2.4rem, 4vw, 4rem);

    line-height: 1;

    letter-spacing: -0.035em;

    font-weight: 500;

    margin-bottom: 30px;
}

.section-intro {
    max-width: 700px;

    margin-bottom: 50px;

    color: #625b53;
}


/* EXISTING CARDS */

.card-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 1px;

    background: #d7d0c5;
}

.card {
    background: #fffdf8;

    color: #25231f;

    padding: 45px 35px;

    border: 0;

    border-radius: 0;

    box-shadow: none;
}

.card h3 {
    font-size: 1.55rem;

    margin-bottom: 18px;

    color: #25231f;
}

.card p {
    color: #655e55;
}


/* =========================================================
   BOX
========================================================= */

.box {
    background: #fffdf8;

    color: #25231f;

    padding: 60px;

    border-radius: 0;

    box-shadow: none;

    border-top: 2px solid #9a683e;
}

.box h1,
.box h2,
.box h3,
.box p,
.box li,
.box label {
    color: #25231f;
}


/* =========================================================
   FORMS
========================================================= */

.quote-form {
    max-width: 760px;

    margin: auto;

    background: #fffdf8;

    padding: 55px;

    color: #25231f;

    border-radius: 0;

    box-shadow: none;

    border-top: 2px solid #9a683e;
}

.quote-form label {
    display: block;

    margin-bottom: 8px;

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.09em;

    text-transform: uppercase;
}

input,
textarea,
select {
    display: block;

    width: 100%;

    padding: 15px 4px;

    margin-bottom: 32px;

    border: 0;

    border-bottom: 1px solid #aaa198;

    border-radius: 0;

    background: transparent;

    color: #25231f;

    font-family: inherit;

    font-size: 1rem;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;

    border-bottom-color: #9a683e;

    box-shadow: none;
}

textarea {
    resize: vertical;
}


/* FORM BUTTON */

button:not(.menu-toggle) {
    min-height: 52px;

    padding: 0 30px;

    border: 1px solid #9a683e;

    background: #9a683e;

    color: #fffdf8;

    font-family: inherit;

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    cursor: pointer;
}


/* NETLIFY HONEYPOT */

.hidden-field {
    position: absolute;

    width: 1px;
    height: 1px;

    overflow: hidden;

    clip: rect(0 0 0 0);

    clip-path: inset(50%);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer,
footer {
    background: #1c1a18;

    color: #fffdf8;
}

.footer-main {
    max-width: 1400px;

    margin: auto;

    padding: 90px 6%;

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1.3fr;

    gap: 70px;
}

.footer-brand img {
    width: 190px;

    margin-bottom: 25px;
}

.footer-brand p {
    max-width: 330px;

    color: rgba(255, 253, 248, 0.62);

    font-size: 0.9rem;
}

.footer-column h4 {
    margin-bottom: 24px;

    font-size: 0.7rem;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color: #bc9a7a;
}

.footer-column a,
.footer-column p {
    display: block;

    margin-bottom: 13px;

    color: rgba(255, 253, 248, 0.68);

    text-decoration: none;

    font-size: 0.9rem;
}

.footer-column a:hover {
    color: #fffdf8;
}

.footer-bottom {
    max-width: 1400px;

    margin: auto;

    padding: 24px 6%;

    border-top:
        1px solid rgba(255, 255, 255, 0.12);

    font-size: 0.75rem;

    color: rgba(255, 255, 255, 0.45);
}


/* OLD SIMPLE FOOTER SUPPORT */

footer:not(.site-footer) {
    padding: 30px 6%;

    text-align: center;

    color: rgba(255, 253, 248, 0.65);

    font-size: 0.85rem;
}


/* =========================================================
   TABLETS
========================================================= */

@media (max-width: 1000px) {

    .nav-links {
        gap: 18px;
    }

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

    .process-item {
        border-bottom:
            1px solid rgba(255, 255, 255, 0.15);
    }

    .footer-main {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {


    /* NAV */

    .navbar {
        min-height: 78px;

        padding: 8px 18px;
    }

    .nav-logo img {
        height: 58px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        padding: 24px 20px;

        background: #24211e;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        border-top:
            1px solid rgba(255, 255, 255, 0.12);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;

        padding: 17px 4px;

        border: 0;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.12);

        font-size: 0.88rem;
    }

    .nav-links .nav-quote {
        border: 1px solid #9a683e;

        margin-top: 18px;

        text-align: center;

        padding: 15px;
    }


    /* HERO */

    .hero {
        min-height: 82vh;

        padding: 100px 22px 120px;

        background-position: 62% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                rgba(18, 25, 21, 0.67),
                rgba(18, 25, 21, 0.72)
            );
    }

    .hero h1 {
        font-size: clamp(3.6rem, 17vw, 6rem);
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }

    .hero-bottom {
        left: 22px;
        right: 22px;

        gap: 15px;

        flex-wrap: wrap;
    }

    .hero-bottom span:nth-child(3),
    .hero-bottom span:nth-child(4) {
        display: none;
    }


    /* INTRO */

    .intro-section {
        padding: 90px 22px;

        grid-template-columns: 1fr;

        gap: 25px;
    }

    .intro-copy h2 {
        font-size: 3.5rem;

        margin-bottom: 35px;
    }


    /* IMAGE */

    .feature-image {
        height: 65vh;
    }


    /* SERVICES HEADING */

    .services-heading {
        padding: 90px 22px;
    }


    /* SERVICES */

    .service-feature,
    .service-feature.reverse {
        display: flex;

        flex-direction: column;

        min-height: auto;
    }

    .service-feature.reverse .service-image,
    .service-feature.reverse .service-content {
        order: initial;
    }

    .service-image {
        min-height: 430px;

        height: 55vh;
    }

    .service-content {
        padding: 65px 22px 80px;
    }

    .service-number {
        margin-bottom: 40px;
    }

    .service-content h3 {
        font-size: 3rem;
    }


    /* PROCESS */

    .process-section {
        padding: 90px 22px;
    }

    .process-heading {
        margin-bottom: 60px;
    }

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

    .process-item,
    .process-item:not(:first-child) {
        padding: 30px 0;

        border-right: 0;
    }

    .process-item span {
        margin-bottom: 25px;
    }


    /* STATEMENT */

    .statement-section {
        min-height: 620px;

        padding: 80px 22px;
    }


    /* CTA */

    .cta-section {
        padding: 80px 22px;

        flex-direction: column;

        align-items: flex-start;
    }


    /* INNER PAGES */

    .page-header {
        min-height: 350px;

        padding: 70px 22px;
    }

    .section {
        padding: 70px 22px;
    }

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

    .box,
    .quote-form {
        padding: 35px 24px;
    }


    /* FOOTER */

    .footer-main {
        padding: 70px 22px;

        grid-template-columns: 1fr;

        gap: 45px;
    }

    .footer-bottom {
        padding: 22px;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .hero h1 {
        font-size: 3.7rem;
    }

    .hero-bottom {
        font-size: 0.58rem;
    }

    .intro-copy h2 {
        font-size: 3rem;
    }

    .services-heading h2 {
        font-size: 3.4rem;
    }

    .service-content h3 {
        font-size: 2.7rem;
    }

    .statement-section h2 {
        font-size: 3.7rem;
    }

    .cta-section h2 {
        font-size: 3.3rem;
    }

}