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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: #292722;
    background: #f5f1ea;
    line-height: 1.6;
}

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

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


/* =========================
   VARIABLES
========================= */

:root {
    --dark: #292722;
    --cream: #f5f1ea;
    --light: #e8e1d6;
    --muted: #777169;
    --accent: #a6815b;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
    font-weight: 400;
}

h1 em,
h2 em,
blockquote em {
    color: var(--accent);
    font-style: italic;
}

h2 {
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.05;
}

.btn {
    display: inline-block;
    padding: 16px 26px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.text-btn {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.underline-link {
    display: inline-block;
    margin-top: 30px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--dark);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


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

.hero {
    min-height: calc(100vh - 90px);
    display: grid;
    grid-template-columns: 48% 52%;
}

.hero-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 8%;
}

.hero h1 {
    font-size: clamp(55px, 7vw, 96px);
    line-height: .95;
    max-width: 700px;
}

.hero-text {
    color: var(--muted);
    max-width: 430px;
    margin: 30px 0;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero-image {
    min-height: 650px;
    background:
        linear-gradient(
            rgba(40, 35, 29, .1),
            rgba(40, 35, 29, .1)
        ),
        url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1400&q=85")
        center/cover;
    position: relative;
}

.image-label {
    position: absolute;
    bottom: 35px;
    left: 35px;
    color: white;
    display: flex;
    gap: 20px;
    align-items: center;
}

.image-label span {
    font-size: 13px;
}

.image-label p {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    line-height: 1.1;
}


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

.intro {
    padding: 140px 10%;
    display: grid;
    grid-template-columns: 20% 80%;
    background: white;
}

.intro-number {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    color: var(--accent);
}

.intro-content {
    max-width: 800px;
}

.intro-content h2 {
    max-width: 700px;
}

.intro-content > p:not(.eyebrow) {
    max-width: 650px;
    color: var(--muted);
    margin-top: 30px;
}


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

.services,
.projects {
    padding: 120px 8%;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 70px;
}

.heading-description {
    max-width: 330px;
    color: var(--muted);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #d4ccc1;
}

.service-card {
    padding: 45px 35px 45px 0;
    border-right: 1px solid #d4ccc1;
    margin-right: 35px;
}

.service-card:last-child {
    border-right: 0;
}

.service-card > span {
    color: var(--accent);
    font-size: 12px;
}

.service-card h3 {
    font-size: 34px;
    margin: 45px 0 18px;
}

.service-card p {
    color: var(--muted);
    max-width: 320px;
}

.service-card a {
    display: inline-block;
    margin-top: 30px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


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

.projects {
    background: white;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px 35px;
}

.project-large {
    grid-column: span 2;
}

.project-image {
    width: 100%;
    height: 520px;
    background-position: center;
    background-size: cover;
}

.project:not(.project-large) .project-image {
    height: 430px;
}

.image-one {
    background-image: url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1400&q=85");
}

.image-two {
    background-image: url("https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=1000&q=85");
}

.image-three {
    background-image: url("https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=1000&q=85");
}

.project-info {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
}

.project-info h3 {
    font-size: 28px;
}

.project-info p {
    color: var(--muted);
    font-size: 12px;
    margin-top: 4px;
}

.project-info > span {
    color: var(--accent);
}


/* =========================
   ABOUT
========================= */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.about-image {
    min-height: 700px;
    background:
        url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1200&q=85")
        center/cover;
}

.about-content {
    padding: 100px 10%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background: var(--light);
}

.about-content > p:not(.eyebrow) {
    color: var(--muted);
    max-width: 500px;
    margin-top: 25px;
}

.stats {
    display: flex;
    gap: 45px;
    margin-top: 60px;
}

.stats div {
    display: flex;
    flex-direction: column;
}

.stats strong {
    font-family: "Playfair Display", serif;
    font-size: 35px;
    font-weight: 400;
}

.stats span {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* =========================
   TESTIMONIAL
========================= */

.testimonial {
    text-align: center;
    padding: 150px 10%;
    background: var(--dark);
    color: white;
}

.testimonial .eyebrow {
    color: #c39d76;
}

blockquote {
    font-family: "Playfair Display", serif;
    font-size: clamp(32px, 4vw, 58px);
    line-height: 1.2;
    max-width: 1000px;
    margin: auto;
}

.client {
    margin-top: 35px;
    color: #aaa39a;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}


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

.contact {
    padding: 120px 8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    background: #eee8de;
}

.contact-content h2 {
    max-width: 550px;
}

.contact-content > p:not(.eyebrow) {
    color: var(--muted);
    max-width: 430px;
    margin: 30px 0;
}

.contact-email {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    border-bottom: 1px solid var(--dark);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 17px 0;
    border: none;
    border-bottom: 1px solid #bbb3a8;
    background: transparent;
    outline: none;
    font: inherit;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.contact-form button {
    width: fit-content;
    border: none;
    background: var(--dark);
    color: white;
    padding: 16px 28px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
}


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

.footer {
    padding: 40px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #24221f;
    color: white;
}

.footer p {
    color: #99938b;
    font-size: 11px;
}

.socials {
    display: flex;
    gap: 20px;
}

.socials a {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


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

@media (max-width: 900px) {

    .navbar {
        display: none;
    }

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

    .hero-content {
        padding: 100px 8%;
    }

    .hero-image {
        min-height: 500px;
    }

    .intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .service-card {
        border-right: 0;
        border-bottom: 1px solid #d4ccc1;
        margin: 0;
    }

    .section-heading {
        flex-direction: column;
        align-items: start;
        gap: 30px;
    }

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

    .project-large {
        grid-column: span 1;
    }

    .project-image,
    .project:not(.project-large) .project-image {
        height: 400px;
    }

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

    .about-image {
        min-height: 500px;
    }

    .contact {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}


@media (max-width: 600px) {

    .header {
        padding: 0 5%;
    }

    .header-btn {
        padding: 10px 15px;
    }

    .hero-content {
        padding: 80px 6%;
    }

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

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

    .intro,
    .services,
    .projects,
    .contact {
        padding: 80px 6%;
    }

    .project-image,
    .project:not(.project-large) .project-image {
        height: 330px;
    }

    .stats {
        flex-wrap: wrap;
    }

    .footer {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .socials {
        flex-wrap: wrap;
        justify-content: center;
    }
}
