/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}


/* =========================
   BODY
========================= */

body {
    font-family: Arial, sans-serif;
    background: #fff9ee;
    color: #3a2b27;
    line-height: 1.6;
    transition: 0.3s;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 7%;

    background: rgba(255, 249, 238, 0.95);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid #eee2d5;
}

.logo,
.footer-logo {
    font-size: 28px;
    font-weight: 800;
    color: #5b3327;
}

.logo span,
.footer-logo span {
    color: #e28b45;
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.navbar nav a {
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.navbar nav a:hover {
    color: #d87531;
}

.nav-order {
    background: #e28b45;
    color: white !important;
    padding: 10px 17px;
    border-radius: 30px;
}

.theme-toggle,
.menu-toggle {
    border: none;
    background: transparent;
    font-size: 20px;
}

.menu-toggle {
    display: none;
}


/* =========================
   BUTTON
========================= */

.btn {
    border: none;
    padding: 13px 22px;
    border-radius: 30px;
    font-weight: 700;
    transition: 0.3s;
}

.primary {
    background: #e28b45;
    color: white;
}

.primary:hover {
    transform: translateY(-3px);
    background: #d87531;
}

.secondary {
    background: white;
    color: #5b3327;
    border: 1px solid #e2d5ca;
}

.secondary:hover {
    transform: translateY(-3px);
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 680px;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;

    gap: 40px;
    padding: 70px 7%;
}

.hero-content {
    max-width: 650px;
}

.badge {
    display: inline-block;

    padding: 7px 14px;
    border-radius: 30px;

    background: #fff0df;
    color: #d87531;

    font-size: 13px;
    font-weight: 700;
}

.hero h1 {
    font-size: clamp(45px, 7vw, 75px);
    line-height: 1.05;
    margin: 20px 0;
}

.hero h1 span {
    color: #e28b45;
}

.hero p {
    color: #756963;
    max-width: 550px;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.mini-stats {
    display: flex;
    gap: 35px;
    margin-top: 40px;
}

.mini-stats div {
    display: flex;
    flex-direction: column;
}

.mini-stats strong {
    font-size: 20px;
    color: #5b3327;
}

.mini-stats span {
    font-size: 12px;
    color: #8b7d76;
}


/* HERO VISUAL */

.hero-visual {
    position: relative;
    height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle {
    width: 370px;
    height: 370px;

    border-radius: 50%;

    background: #f8d8b7;

    position: absolute;
}

.hero-product {
    position: relative;
    z-index: 2;

    width: 260px;
    height: 300px;

    background: white;
    border-radius: 35px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    box-shadow: 0 20px 50px rgba(91, 51, 39, 0.15);
}

.hero-emoji {
    font-size: 100px;
}

.hero-product h3 {
    font-size: 28px;
    color: #5b3327;
}

.hero-product p {
    margin: 0;
}

.floating {
    position: absolute;
    font-size: 40px;
    z-index: 3;
}

.floating-one {
    top: 80px;
    left: 50px;
}

.floating-two {
    bottom: 70px;
    right: 60px;
}

.floating-three {
    top: 70px;
    right: 50px;
}


/* =========================
   SECTION
========================= */

.section {
    padding: 90px 7%;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.eyebrow {
    color: #e28b45;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-title h2,
.about-text h2,
.combo-content h2 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-title p:last-child {
    color: #81746d;
}


/* =========================
   PRODUCTS
========================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-card {
    background: white;
    border-radius: 22px;
    overflow: hidden;

    box-shadow: 0 10px 30px rgba(91, 51, 39, 0.08);

    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
}


/* FOTO PRODUK */

.product-image {
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;

    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.06);
}


.product-content {
    padding: 22px;
}

.product-label {
    color: #e28b45;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.product-content h3 {
    font-size: 21px;
    margin: 7px 0;
}

.product-content p {
    color: #81746d;
    font-size: 14px;
    min-height: 67px;
}

.price {
    font-size: 20px;
    font-weight: 800;
    color: #5b3327;
    margin: 15px 0;
}


/* =========================
   COMBO
========================= */

.combo-section {
    margin: 20px 7% 80px;

    background: #5b3327;
    color: white;

    border-radius: 35px;

    padding: 60px;

    display: grid;
    grid-template-columns: 1fr 0.7fr;
    align-items: center;

    overflow: hidden;
}

.combo-content {
    max-width: 600px;
}

.combo-content h2 {
    margin-top: 15px;
}

.combo-content p {
    color: #eadfd9;
}

.combo-price {
    font-size: 30px;
    font-weight: 800;
    margin: 18px 0;
}

.combo-visual {
    text-align: center;
    font-size: 100px;
}

.quantity-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.quantity-box button,
.modal-quantity button {
    width: 38px;
    height: 38px;

    border: none;
    border-radius: 50%;

    font-size: 20px;
    font-weight: bold;

    background: #e28b45;
    color: white;
}

.quantity-box span {
    font-size: 20px;
    font-weight: bold;
}


/* =========================
   FEATURES
========================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: white;
    padding: 28px;
    border-radius: 22px;

    text-align: center;

    box-shadow: 0 10px 30px rgba(91, 51, 39, 0.07);
}

.feature-icon {
    font-size: 42px;
    margin-bottom: 12px;
}

.feature-card h3 {
    margin-bottom: 8px;
}

.feature-card p {
    color: #81746d;
    font-size: 14px;
}


/* =========================
   ABOUT
========================= */

.about-section {
    padding: 90px 7%;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;

    background: #fff1df;
}

.about-text p {
    color: #756963;
    margin-bottom: 15px;
}

.target-box {
    background: white;
    padding: 35px;
    border-radius: 25px;
}

.target-box h3 {
    margin-bottom: 20px;
}

.target-box ul {
    list-style: none;
}

.target-box li {
    margin: 12px 0;
}


/* =========================
   CONTACT
========================= */

.contact-section {
    background: #fff9ee;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-card {
    background: white;

    padding: 25px;

    border-radius: 20px;

    display: flex;
    gap: 17px;
    align-items: center;

    box-shadow: 0 8px 25px rgba(91, 51, 39, 0.07);

    transition: 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 35px;
}

.contact-card h3 {
    margin-bottom: 4px;
}

.contact-card p {
    color: #81746d;
    font-size: 14px;
}


/* =========================
   MODAL
========================= */

.modal {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.55);

    display: none;
    align-items: center;
    justify-content: center;

    z-index: 2000;

    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-content {
    width: 100%;
    max-width: 450px;

    background: white;

    padding: 35px;

    border-radius: 25px;

    position: relative;
}

.close-modal {
    position: absolute;
    right: 18px;
    top: 15px;

    border: none;
    background: transparent;

    font-size: 30px;
}

.modal-content h2 {
    margin-bottom: 5px;
}

.modal-content > p {
    color: #81746d;
    margin-bottom: 25px;
}

.modal-content label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin: 15px 0 6px;
}

.modal-content input,
.modal-content select {
    width: 100%;

    padding: 12px 14px;

    border: 1px solid #ddd3cb;
    border-radius: 10px;

    outline: none;
}

.modal-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-quantity input {
    text-align: center;
    width: 70px;
}

.order-total {
    display: flex;
    justify-content: space-between;

    margin: 25px 0;

    padding: 15px;

    background: #fff1df;
    border-radius: 12px;
}

.order-total strong {
    color: #d87531;
}

.full {
    width: 100%;
}


/* =========================
   TOAST
========================= */

.toast {
    position: fixed;

    bottom: 25px;
    right: 25px;

    background: #5b3327;
    color: white;

    padding: 14px 20px;

    border-radius: 12px;

    transform: translateY(100px);
    opacity: 0;

    transition: 0.3s;

    z-index: 3000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}


/* =========================
   FOOTER
========================= */

footer {
    background: #3b231c;
    color: white;

    text-align: center;

    padding: 50px 20px;
}

.footer-logo {
    color: white;
    margin-bottom: 8px;
}

footer p {
    color: #d8c9c2;
    margin-bottom: 20px;
}

footer small {
    color: #aa9991;
}


/* =========================
   DARK MODE
========================= */

body.dark {
    background: #201815;
    color: #f5eee9;
}

body.dark .navbar {
    background: rgba(32, 24, 21, 0.95);
    border-color: #3b2c27;
}

body.dark .logo {
    color: white;
}

body.dark .navbar nav a {
    color: #f5eee9;
}

body.dark .section-title p:last-child,
body.dark .hero p,
body.dark .product-content p,
body.dark .feature-card p,
body.dark .contact-card p {
    color: #c5b8b1;
}

body.dark .product-card,
body.dark .feature-card,
body.dark .contact-card,
body.dark .modal-content,
body.dark .target-box,
body.dark .hero-product {
    background: #2c211d;
    color: white;
}

body.dark .price {
    color: white;
}

body.dark .secondary {
    background: #2c211d;
    color: white;
    border-color: #4c3a33;
}

body.dark .about-section {
    background: #2a1e1a;
}

body.dark .contact-section {
    background: #201815;
}

body.dark .modal-content input,
body.dark .modal-content select {
    background: #211916;
    color: white;
    border-color: #4c3a33;
}

body.dark .order-total {
    background: #3a2922;
}

body.dark .theme-toggle {
    color: white;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 850px) {

    .navbar {
        padding: 16px 5%;
    }

    .menu-toggle {
        display: block;
    }

    .navbar nav {
        display: none;

        position: absolute;

        top: 70px;
        left: 5%;
        right: 5%;

        background: white;

        padding: 20px;

        border-radius: 15px;

        flex-direction: column;
        align-items: stretch;

        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .navbar nav.open {
        display: flex;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;

        padding: 60px 5%;
    }

    .hero-content {
        margin: auto;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .mini-stats {
        justify-content: center;
    }

    .hero-visual {
        height: 400px;
    }

    .combo-section {
        grid-template-columns: 1fr;
        padding: 40px;
        margin-left: 5%;
        margin-right: 5%;
    }

    .combo-visual {
        margin-top: 30px;
    }

    .about-section {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================
   HP KECIL
========================= */

@media (max-width: 520px) {

    .section {
        padding: 70px 5%;
    }

    .product-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-circle {
        width: 280px;
        height: 280px;
    }

    .hero-product {
        width: 220px;
        height: 260px;
    }

    .mini-stats {
        gap: 18px;
    }

    .section-title h2,
    .about-text h2,
    .combo-content h2 {
        font-size: 32px;
    }

    .combo-section {
        padding: 30px;
    }

    .combo-visual {
        font-size: 70px;
    }

    .modal-content {
        padding: 25px;
    }

}