/* =========================================
   SANDHUDESIGNHOME
========================================= */

:root {

    --navy: #062c49;
    --navy-dark: #031e33;
    --navy-light: #0c3d60;

    --gold: #d6b55d;
    --gold-dark: #b9963f;
    --gold-light: #ead28b;

    --white: #ffffff;
    --off-white: #f8f7f3;
    --soft: #f2f1ed;

    --text: #16212a;
    --muted: #68747d;
    --border: #deded8;

    --max-width: 1240px;
}


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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
}

img {
    max-width: 100%;
}

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

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================
   GLOBAL LAYOUT
========================================= */

.wrap {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;
}

section {
    padding: 90px 0;
}

.soft {
    background: var(--soft);
}

.eyebrow {
    color: var(--gold-dark);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 15px;
}

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--navy-dark);
    line-height: 1.12;
    font-weight: 500;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.8rem);
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    margin-bottom: 24px;
}

h3 {
    font-size: 1.55rem;
    margin-bottom: 14px;
}

p {
    margin-bottom: 18px;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--muted);
}

.copy p,
.content-grid p {
    color: var(--muted);
}


/* =========================================
   TOP BAR
========================================= */

.top {
    background: var(--navy-dark);
    color: var(--white);
    font-size: 0.85rem;
}

.top .wrap {
    display: flex;
    justify-content: flex-end;
    gap: 28px;
    min-height: 38px;
    align-items: center;
}

.top a {
    opacity: 0.9;
}

.top a:hover {
    color: var(--gold-light);
}


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

.nav {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navin {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
}

.brand img {
    width: 155px;
    height: 64px;
    object-fit: contain;
}

.links {
    display: flex;
    align-items: center;
    gap: 27px;
}

.links > a:not(.btn) {
    font-size: 0.92rem;
    color: var(--navy-dark);
    position: relative;
}

.links > a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 1px;
    background: var(--gold-dark);
    transition: width 0.25s ease;
}

.links > a:not(.btn):hover::after {
    width: 100%;
}

.menu {
    display: none;
    background: transparent;
    border: 0;
    color: var(--navy-dark);
    font-size: 1.7rem;
    cursor: pointer;
}


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

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 14px 23px;

    background: var(--gold);
    color: var(--navy-dark);

    font-weight: 700;
    font-size: 0.9rem;

    border: 1px solid var(--gold);
    transition: 0.25s ease;
}

.btn:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
}


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

.hero {
    min-height: 700px;

    display: flex;
    align-items: center;

    position: relative;

    color: var(--white);

    background:
        linear-gradient(
            90deg,
            rgba(3, 30, 51, 0.92),
            rgba(3, 30, 51, 0.5)
        ),
        url("images/crangan-bay-1.jpeg")
        center / cover no-repeat;
}

.hero .wrap {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--white);
    max-width: 850px;
}

.hero .eyebrow {
    color: var(--gold-light);
}

.hero .lead {
    color: rgba(255, 255, 255, 0.86);
    max-width: 680px;
    margin-top: 25px;
}

.hero-actions {
    margin-top: 30px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}


/* =========================================
   INTERNAL PAGE HERO
========================================= */

.page-hero {
    background: var(--navy);
    color: var(--white);
    padding: 105px 0 100px;
}

.page-hero h1 {
    color: var(--white);
    max-width: 820px;
}

.page-hero p {
    max-width: 690px;
    font-size: 1.12rem;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.78);
}

.page-hero .eyebrow {
    color: var(--gold-light);
}


/* =========================================
   CONTENT GRIDS
========================================= */

.content-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
    align-items: start;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    align-items: start;
}


/* =========================================
   STAT CARDS
========================================= */

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat {
    padding: 27px 30px;
    color: var(--muted);
    font-size: 0.9rem;
}

.stat + .stat {
    border-left: 1px solid var(--border);
}

.stat strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--navy);
    font-size: 1.25rem;
    margin-bottom: 4px;
}


/* =========================================
   CARDS
========================================= */

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

.card {
    padding: 35px;
    border: 1px solid var(--border);
    background: var(--white);
}

.card p {
    color: var(--muted);
}


/* =========================================
   PROJECTS
========================================= */

.project-showcase {
    padding-top: 100px;
    padding-bottom: 105px;
}

.project-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 38px;
}

.project-heading h2 {
    margin-bottom: 0;
}

.project-location {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--muted);
    padding-bottom: 8px;
}


/* DESCRIPTION */

.project-description {
    max-width: 1050px;
    margin: 45px 0 50px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 55px;
}

.project-description p {
    color: var(--muted);
    margin: 0;
}


/* =========================================
   PROJECT IMAGE GALLERY
========================================= */

.portfolio-gallery {
    display: grid;
    gap: 18px;
}

.gallery-three {
    grid-template-columns: 1.4fr 1fr 1fr;
}

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

.portfolio-photo {
    margin: 0;
    position: relative;
    overflow: hidden;

    min-height: 390px;

    background: #ddd;
}

.portfolio-photo img {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 390px;

    object-fit: cover;

    transition:
        transform 0.45s ease,
        filter 0.45s ease;
}

.portfolio-photo:hover img {
    transform: scale(1.025);
}


/* Make featured image taller */

.gallery-three .large {
    min-height: 520px;
}

.gallery-three .large img {
    min-height: 520px;
}


/* Austral grid */

.gallery-four .portfolio-photo {
    min-height: 450px;
}

.gallery-four .portfolio-photo img {
    min-height: 450px;
}


/* =========================================
   GENERIC PROJECT GRID
========================================= */

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.project-image {
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}


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

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

.step {
    border-top: 2px solid var(--gold);
    padding: 28px 10px 20px 0;
}

.step-number {
    color: var(--gold-dark);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
}


/* =========================================
   CONTACT PAGE
========================================= */

.quote-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: start;
}

.contact-details {
    background: var(--navy);
    color: var(--white);
    padding: 42px;
}

.contact-details h2,
.contact-details h3 {
    color: var(--white);
}

.contact-details p {
    color: rgba(255, 255, 255, 0.78);
}

.contact-details a {
    color: var(--gold-light);
}

.quote-form {
    display: grid;
    gap: 20px;
}

.field {
    display: grid;
    gap: 7px;
}

.field label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy-dark);
}

.field input,
.field select,
.field textarea {
    width: 100%;

    padding: 14px 15px;

    border: 1px solid var(--border);
    background: var(--white);

    color: var(--text);

    outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--gold-dark);
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}


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

.cta {
    background: var(--navy);
    color: var(--white);
}

.cta .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 10px;
}

.cta p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.cta .eyebrow {
    color: var(--gold-light);
}


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

.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.72);
    padding: 65px 0 25px;
}

.footgrid {
    display: grid;
    grid-template-columns: 1.6fr 0.7fr 1fr;
    gap: 70px;
}

.footgrid img {
    width: 180px;
    max-height: 90px;
    object-fit: contain;
    margin-bottom: 20px;
}

.footgrid h4 {
    color: var(--white);
    margin-bottom: 17px;
}

.footgrid a {
    display: block;
    margin-bottom: 9px;
}

.footgrid a:hover {
    color: var(--gold-light);
}

.footgrid p {
    max-width: 430px;
}

.legal {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    margin-top: 45px;
    padding-top: 22px;

    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}


/* =========================================
   REVEAL ANIMATION
========================================= */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .content-grid,
    .split,
    .quote-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

    .gallery-three .large {
        grid-column: 1 / -1;
    }

    .project-description {
        gap: 30px;
    }

}


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

@media (max-width: 780px) {

    .wrap {
        width: min(calc(100% - 32px), var(--max-width));
    }

    section {
        padding: 65px 0;
    }


    /* TOP BAR */

    .top .wrap {
        justify-content: center;
        gap: 10px 18px;
        flex-wrap: wrap;
        padding: 7px 0;
    }


    /* NAV */

    .navin {
        min-height: 72px;
    }

    .brand img {
        width: 130px;
        height: 56px;
    }

    .menu {
        display: block;
    }

    .links {
        display: none;

        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        background: var(--white);

        padding: 25px 25px 30px;

        border-bottom: 1px solid var(--border);

        flex-direction: column;
        align-items: stretch;
        gap: 19px;
    }

    .links.open {
        display: flex;
    }

    .links .btn {
        margin-top: 5px;
    }


    /* HERO */

    .hero {
        min-height: 610px;
    }

    .page-hero {
        padding: 80px 0;
    }


    /* STATS */

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

    .stat + .stat {
        border-left: 0;
        border-top: 1px solid var(--border);
    }


    /* CARDS */

    .cards,
    .steps {
        grid-template-columns: 1fr;
    }


    /* PROJECTS */

    .project-showcase {
        padding-top: 70px;
        padding-bottom: 75px;
    }

    .project-heading {
        display: block;
    }

    .project-location {
        margin-top: 13px;
    }

    .project-description {
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 35px 0 40px;
    }


    /* PROJECT GALLERY */

    .portfolio-gallery,
    .gallery-three,
    .gallery-four {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gallery-three .large {
        grid-column: auto;
    }

    .portfolio-photo,
    .portfolio-photo img,
    .gallery-three .large,
    .gallery-three .large img,
    .gallery-four .portfolio-photo,
    .gallery-four .portfolio-photo img {
        height: 360px;
        min-height: 360px;
    }


    /* CTA */

    .cta .wrap {
        display: block;
    }

    .cta .btn {
        margin-top: 27px;
    }


    /* FOOTER */

    .footgrid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

}


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

@media (max-width: 430px) {

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.15rem;
    }

    .portfolio-photo,
    .portfolio-photo img,
    .gallery-three .large,
    .gallery-three .large img,
    .gallery-four .portfolio-photo,
    .gallery-four .portfolio-photo img {
        height: 300px;
        min-height: 300px;
    }

}