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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #f5f1e8;
    color: #26352b;
    overflow-x: hidden;
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

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

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


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

:root {

    --green-dark: #1d3025;
    --green: #304b38;
    --green-light: #6d8068;

    --cream: #f5f1e8;
    --cream-dark: #e9e2d3;

    --brown: #785b3f;

    --black: #182019;

    --white: #ffffff;

    --container: 1240px;
}


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

.section {
    max-width: var(--container);
    margin: auto;
    padding: 120px 40px;
}

.section-label {
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--green-light);
    margin-bottom: 25px;
}

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

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

h2 em,
h1 em {
    font-weight: 500;
}

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

    min-height: 52px;
    padding: 0 28px;

    font-size: 13px;
    font-weight: 600;

    transition: .3s ease;
}

.btn-primary {
    background: var(--cream);
    color: var(--green-dark);
}

.btn-primary:hover {
    background: white;
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,.6);
    color: white;
}

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

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

.btn-dark:hover {
    background: var(--green);
    transform: translateY(-3px);
}


/* =========================================
   NAVBAR
========================================= */

/* =========================================
   NAVBAR
========================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 85px;
    padding: 0 50px;

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

    z-index: 1000;
    color: white;

    transition: .4s ease;
}

.navbar.scrolled {
    background: rgba(29,48,37,.97);
    height: 70px;
    box-shadow: 0 5px 30px rgba(0,0,0,.1);
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 150px;
    height: 55px;
    max-width: 150px;
    object-fit: contain;
    display: block;
}

/* NAV MENU */
.nav-menu {
    display: flex;
    gap: 34px;
}

.nav-menu {
    display: flex;
    gap: 34px;
}

.nav-menu a {
    font-size: 12px;
    letter-spacing: .5px;
    opacity: .85;

    transition: .3s;
}

.nav-menu a:hover {
    opacity: 1;
}

.nav-button {
    border: 1px solid rgba(255,255,255,.5);
    padding: 12px 20px;
    font-size: 12px;
}

.nav-button:hover {
    background: white;
    color: var(--green-dark);
}

.menu-toggle {
    display: none;

    background: none;
    border: none;

    color: white;

    font-size: 28px;

    cursor: pointer;
}


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

.hero {
    height: 100vh;
    min-height: 700px;

    position: relative;

    background:
        url("bali.jpg")
        center/cover
        no-repeat;

    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(18,31,22,.88),
            rgba(18,31,22,.45),
            rgba(18,31,22,.20)
        );
}

.hero-content {
    position: relative;

    max-width: 800px;

    margin-left: max(40px, calc((100vw - 1240px) / 2));

    color: white;

    padding: 100px 40px 0 0;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 600;

    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(55px, 7vw, 100px);
    line-height: .98;
    font-weight: 500;
}

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

    font-size: 16px;
    line-height: 1.8;

    margin-top: 35px;

    color: rgba(255,255,255,.82);
}

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

    margin-top: 38px;
}

.hero-scroll {
    position: absolute;

    bottom: 40px;
    right: 50px;

    color: white;

    display: flex;
    align-items: center;
    gap: 15px;

    font-size: 9px;
    letter-spacing: 3px;

    transform: rotate(90deg);
    transform-origin: right;
}

.hero-scroll div {
    width: 50px;
    height: 1px;
    background: white;
}


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

.intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: end;
}

.intro-right {
    max-width: 520px;
}

.intro-right p {
    font-size: 18px;
    line-height: 1.8;

    margin-bottom: 20px;
}

.text-link {
    display: inline-flex;
    gap: 15px;

    margin-top: 20px;

    font-size: 13px;
    font-weight: 600;

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

    padding-bottom: 7px;
}


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

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

    gap: 100px;

    align-items: center;
}

.about-image {
    position: relative;
}

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

.image-card {
    position: absolute;

    bottom: 30px;
    right: -30px;

    width: 50px;
    height: 50px;

    padding: 25px;

    background: var(--green-dark);
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.image-card span {
    font-size: 11px;
    opacity: .6;
}

.image-card p {
    font-family: "Playfair Display", serif;
    font-size: 23px;
    line-height: 1.2;
}

.about-content > p:not(.section-label) {
    font-size: 16px;
    line-height: 1.8;

    max-width: 530px;

    margin-top: 28px;
}

.about-content .btn {
    margin-top: 35px;
}


/* =========================================
   PRODUCTS
========================================= */

.products {
    max-width: 1400px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;

    margin-bottom: 60px;
}

.section-heading > p {
    max-width: 370px;

    line-height: 1.7;
    color: #657066;
}

.product-grid {
    display: grid;

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

    gap: 25px;
}

.product-card {
    background: #eee8dc;

    transition: .4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-image {
    height: 360px;

    position: relative;

    overflow: hidden;
}

.product-image img {
    height: 100%;

    transition: transform .6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.06);
}

.product-number {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 35px;
    height: 35px;

    background: rgba(255,255,255,.9);

    display: grid;
    place-items: center;

    font-size: 10px;
}

.product-info {
    padding: 25px;
}

.product-info > span {
    font-size: 9px;
    letter-spacing: 2px;

    color: var(--green-light);
}

.product-info h3 {
    font-size: 28px;

    margin: 10px 0;
}

.product-info p {
    font-size: 13px;
    line-height: 1.7;

    color: #697068;

    min-height: 65px;
}

.product-link {
    display: inline-block;

    margin-top: 20px;

    font-size: 11px;
    font-weight: 700;

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

    padding-bottom: 5px;
}


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

.process {
    background: var(--green-dark);

    max-width: none;

    color: white;

    padding-left: max(40px, calc((100vw - 1160px) / 2));
    padding-right: max(40px, calc((100vw - 1160px) / 2));
}

.process-header {
    max-width: 650px;
}

.process-header .section-label {
    color: #a5b39e;
}

.process-header > p:last-child {
    max-width: 550px;

    margin-top: 30px;

    line-height: 1.8;

    color: rgba(255,255,255,.65);
}

.process-line {
    display: grid;

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

    gap: 30px;

    margin-top: 100px;

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

.process-item {
    padding-top: 30px;
}

.process-item span {
    font-size: 11px;

    color: #a5b39e;
}

.process-item h3 {
    font-size: 30px;

    margin: 25px 0 15px;
}

.process-item p {
    color: rgba(255,255,255,.6);

    font-size: 13px;

    line-height: 1.7;

    max-width: 230px;
}


/* =========================================
   QUOTE BANNER
========================================= */

.quote-banner {
    height: 600px;

    position: relative;

    background:
        url("assets/images/banner.jpg")
        center/cover
        no-repeat;

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

    text-align: center;
}

.quote-overlay {
    position: absolute;
    inset: 0;

    background: rgba(20,30,23,.5);
}

.quote-content {
    position: relative;

    color: white;
}

.quote-content .section-label {
    color: white;
}

.quote-content h2 {
    font-size: clamp(45px, 6vw, 80px);
}


/* =========================================
   GALLERY
========================================= */

.gallery-grid {
    display: grid;

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

    grid-template-rows:
        280px 280px;

    gap: 15px;
}

.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    height: 100%;

    transition: .6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item.large {
    grid-row: span 2;
}


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

.contact {
    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 100px;

    align-items: start;
}

.contact-content h2 {
    margin-bottom: 30px;
}

.contact-content > p:last-child {
    max-width: 470px;

    line-height: 1.8;

    color: #697068;
}

.contact-form {
    background: #eee8dc;

    padding: 45px;
}

.form-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 20px;
}

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

.form-group label {
    display: block;

    font-size: 11px;
    font-weight: 600;

    margin-bottom: 9px;

    color: var(--green);
}

input,
textarea,
select {
    width: 100%;

    border: none;
    border-bottom: 1px solid #bdb7aa;

    background: transparent;

    padding: 12px 0;

    outline: none;

    font-size: 14px;

    color: var(--black);
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--green);
}

.form-button {
    border: none;

    cursor: pointer;

    margin-top: 10px;
}


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

.footer {
    background: var(--green-dark);

    color: white;

    padding: 80px max(40px, calc((100vw - 1160px) / 2)) 30px;
}

.footer-top {
    display: grid;

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

    gap: 80px;

    padding-bottom: 70px;
}

.footer-logo {
    font-family: "Playfair Display", serif;

    font-size: 25px;
}

.footer-logo span {
    opacity: .5;
}

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

    margin-top: 20px;

    color: rgba(255,255,255,.55);

    line-height: 1.7;
}

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 14px;
}

.footer-column h4 {
    font-size: 11px;

    letter-spacing: 2px;

    margin-bottom: 10px;
}

.footer-column a {
    font-size: 13px;

    color: rgba(255,255,255,.6);

    transition: .3s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.15);

    padding-top: 25px;

    display: flex;

    justify-content: space-between;

    font-size: 10px;

    color: rgba(255,255,255,.4);
}


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

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.active {
    opacity: 1;

    transform: translateY(0);
}


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

@media (max-width: 1000px) {

    .nav-menu {
        display: none;

        position: absolute;

        top: 70px;
        left: 0;

        width: 100%;

        padding: 30px;

        background: var(--green-dark);

        flex-direction: column;

        gap: 20px;
    }

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

    .nav-button {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

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

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

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

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

    .contact {
        gap: 50px;
    }

}

@media (max-width: 650px) {

    .section {
        padding: 80px 22px;
    }

    .navbar {
        padding: 0 22px;
    }

    .hero-content {
        margin-left: 22px;
        padding-right: 22px;
    }

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

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

    .hero-scroll {
        display: none;
    }

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

    .product-image {
        height: 400px;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 25px;
    }

    .about-image img {
        height: 450px;
    }

    .image-card {
        right: 15px;
    }

    .process {
        padding-left: 22px;
        padding-right: 22px;
    }

    .process-line {
        grid-template-columns: 1fr;
        margin-top: 60px;
    }

    .gallery-grid {
        display: grid;

        grid-template-columns: 1fr 1fr;

        grid-template-rows:
            250px 250px 250px;
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .contact-form {
        padding: 25px;
    }

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

    .footer {
        padding-left: 22px;
        padding-right: 22px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .products-more {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    }

}


/* =========================================
   FOOTER SOCIAL LINKS & LOCATION
========================================= */

.footer-top {
    grid-template-columns: 2fr 1fr 1.2fr 1fr;
    gap: 48px;
}

.footer-column a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    max-width: 100%;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.footer-link-icon {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    font-size: 15px;
    line-height: 1;
}

.social-icon {
    display: inline-grid;
    place-items: center;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--cream);
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.social-icon-instagram {
    font-size: 19px;
    font-weight: 400;
}

.footer-external {
    font-size: 12px;
    opacity: .65;
    transition: transform .25s ease, opacity .25s ease;
}

.footer-column a:hover .social-icon {
    background: var(--cream);
    color: var(--green-dark);
    border-color: var(--cream);
}

.footer-column a:hover .footer-external {
    opacity: 1;
    transform: translate(2px, -2px);
}

@media (max-width: 1000px) {
    .footer-top {
        grid-template-columns: 2fr 1fr 1.2fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 760px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 38px 28px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-column a {
        font-size: 14px;
    }
}
