/* ==============================
   Pengaturan Dasar
============================== */

:root {
    --dark-brown: #3b2417;
    --brown: #6f4e37;
    --light-brown: #a67c52;
    --cream: #f8f1e7;
    --soft-cream: #fffaf3;
    --white: #ffffff;
    --black: #1e1e1e;
    --gray: #6b6b6b;
    --border: #e7d8c9;
    --shadow: 0 12px 30px rgba(59, 36, 23, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

.container {
    width: min(1120px, 90%);
    margin-inline: auto;
}

.section {
    padding: 90px 0;
}

.section-label {
    margin-bottom: 10px;
    color: var(--light-brown);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-heading {
    max-width: 650px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-heading h2,
.about-content h2,
.contact-content h2 {
    margin-bottom: 16px;
    color: var(--dark-brown);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
}

.section-heading p,
.about-content p,
.contact-content p {
    color: var(--gray);
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border: 2px solid var(--brown);
    border-radius: 8px;
    color: var(--white);
    background-color: var(--brown);
    font-weight: 700;
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.btn:hover {
    color: var(--white);
    background-color: var(--dark-brown);
    border-color: var(--dark-brown);
    box-shadow: 0 10px 22px rgba(59, 36, 23, 0.22);
    transform: translateY(-3px);
}

.btn-outline {
    margin-top: 24px;
    color: var(--brown);
    background-color: transparent;
}

.btn-outline:hover {
    color: var(--white);
    background-color: var(--brown);
    border-color: var(--brown);
}

/* ==============================
   Navbar
============================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(111, 78, 55, 0.1);
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
}

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

.logo,
.footer-logo {
    color: var(--dark-brown);
    font-size: 25px;
    font-weight: 800;
}

.logo span,
.footer-logo span {
    color: var(--light-brown);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    position: relative;
    color: var(--dark-brown);
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    width: 0;
    height: 2px;
    margin: auto;
    content: "";
    background-color: var(--light-brown);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--light-brown);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ==============================
   Hero Section
============================== */

.hero {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding: 70px 0;
    background:
        linear-gradient(
            90deg,
            rgba(248, 241, 231, 0.97),
            rgba(255, 250, 243, 0.92)
        );
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.hero-label {
    margin-bottom: 14px;
    color: var(--light-brown);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 600px;
    margin-bottom: 22px;
    color: var(--dark-brown);
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.08;
}

.hero-description {
    max-width: 580px;
    margin-bottom: 30px;
    color: var(--gray);
    font-size: 17px;
}

.hero-image {
    position: relative;
}

.hero-image::before {
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: -1;
    width: 100%;
    height: 100%;
    border: 3px solid var(--light-brown);
    border-radius: 28px;
    content: "";
}

.hero-image img {
    height: 520px;
    border-radius: 28px;
    box-shadow: var(--shadow);
    object-fit: cover;
}

/* ==============================
   About Section
============================== */

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

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.about-image img {
    height: 500px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    object-fit: cover;
}

.about-content p {
    margin-bottom: 14px;
}

/* ==============================
   Products Section
============================== */

.products {
    background-color: var(--cream);
}

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

.product-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background-color: var(--white);
    box-shadow: 0 8px 22px rgba(59, 36, 23, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-10px);
}

.product-image {
    overflow: hidden;
}

.product-image img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-content {
    padding: 24px;
}

.product-content h3 {
    margin-bottom: 10px;
    color: var(--dark-brown);
    font-size: 22px;
}

.product-content p {
    min-height: 52px;
    margin-bottom: 22px;
    color: var(--gray);
    font-size: 15px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.price {
    color: var(--brown);
    font-size: 20px;
    font-weight: 800;
}

.order-link {
    padding: 9px 17px;
    border: 1px solid var(--brown);
    border-radius: 7px;
    color: var(--brown);
    font-size: 14px;
    font-weight: 700;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.order-link:hover {
    color: var(--white);
    background-color: var(--brown);
}

/* ==============================
   Contact Section
============================== */

.contact {
    background-color: var(--soft-cream);
}

.contact-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
    gap: 55px;
}

.contact-content {
    position: sticky;
    top: 110px;
}

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

.contact-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background-color: var(--white);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.contact-card:hover {
    border-color: var(--light-brown);
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.contact-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--cream);
    font-size: 23px;
}

.contact-card h3 {
    margin-bottom: 8px;
    color: var(--dark-brown);
    font-size: 18px;
}

.contact-card p,
.contact-card a {
    color: var(--gray);
    font-size: 14px;
}

.contact-card a:hover {
    color: var(--brown);
}

/* ==============================
   Footer
============================== */

.footer {
    padding: 28px 0;
    color: var(--white);
    background-color: var(--dark-brown);
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer-logo {
    color: var(--white);
}

.footer p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

@media screen and (max-widht:900px) {
    .hero-container,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-image {
        max-width: 650px;
        margin: 20px auto 0;
    }

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

    .about-image {
        max-width: 650px;
        margin-inline: auto;
    }

    .about-content {
        text-align: center;
    }

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

    .contact-content {
        position: static;
        text-align: center;
    }

}

@media screen and (max-width: 650px) {
    .section {
        padding: 65px 0;
    }

    .navbar {
        padding: 16px 0;
        flex-direction: column;
        gap: 13px;
    }

    .nav-menu {
        width: 100%;
        justify-content: center;
        gap: 18px;
        flex-wrap: wrap;
    }

    .nav-menu a {
        font-size: 14px;
    }

    .hero {
        padding: 55px;
    }

    .hero-container {
        gap: 45px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-image::before {
        display: none;
    }

    .hero image img {
        height: 360px;
    }

    .about-container {
        gap: 42px;
    }

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

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

    .product-content p {
        min-height: auto;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width:400px) {
    .nav-menu {
        gap: 12;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-image img,
    .about-image img {
        height: 310px;
    }

    .product-content,
    .contact-card {
        padding: 20px;
    }

    .product-footer {
        align-items: flex-end;
        flex-direction: column;
    }
}