/* ==============================
   RESET
============================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: #fffaf5;
    color: #2c211b;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

.container {
    width: min(1150px, 90%);
    margin: auto;
}


/* ==============================
   HEADER
============================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(255, 250, 245, 0.93);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(70, 42, 26, 0.08);
}

.navbar {
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: 700;
}

.logo span {
    color: #a65d2d;
}

.nav-menu {
    display: flex;
    gap: 34px;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;

    transition: 0.3s;
}

.nav-menu a:hover {
    color: #a65d2d;
}

.nav-button {
    padding: 11px 20px;

    border-radius: 40px;

    background: #2c211b;
    color: white;

    font-size: 13px;
    font-weight: 600;

    transition: 0.3s;
}

.nav-button:hover {
    background: #a65d2d;
}


/* ==============================
   HERO
============================== */

.hero {
    padding-top: 78px;

    min-height: 100vh;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 80% 45%,
            rgba(208, 142, 79, 0.25),
            transparent 32%
        ),
        #fffaf5;
}

.hero-container {
    min-height: calc(100vh - 78px);

    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    align-items: center;

    gap: 60px;
}

.badge {
    display: inline-block;

    padding: 9px 16px;

    background: #f2e2d1;

    color: #914e24;

    border-radius: 30px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(
        45px,
        5vw,
        72px
    );

    line-height: 1.08;

    margin-bottom: 24px;
}

.hero h1 span {
    color: #a65d2d;
}

.hero-content > p {
    max-width: 590px;

    color: #756860;

    font-size: 15px;

    line-height: 1.9;

    margin-bottom: 31px;
}

.hero-buttons {
    display: flex;
    gap: 14px;

    margin-bottom: 45px;
}

.btn-primary,
.btn-secondary {
    padding: 14px 24px;

    border-radius: 40px;

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s;
}

.btn-primary {
    background: #a65d2d;
    color: white;
}

.btn-primary i {
    margin-left: 8px;
}

.btn-primary:hover {
    background: #84431d;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid #a65d2d;

    color: #a65d2d;
}

.btn-secondary:hover {
    background: #a65d2d;
    color: white;
}

.hero-stats {
    display: flex;
    gap: 45px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    color: #a65d2d;

    font-size: 24px;
}

.hero-stats span {
    font-size: 11px;

    color: #8f8077;
}


/* ==============================
   HERO VISUAL
============================== */

.hero-visual {
    min-height: 520px;

    position: relative;

    display: flex;

    justify-content: center;
    align-items: center;
}

.coffee-circle {
    width: 420px;
    height: 420px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #f0d1ab,
            #ba6f37
        );

    display: flex;

    align-items: center;
    justify-content: center;

    box-shadow:
        0 30px 90px
        rgba(80, 45, 25, 0.24);
}

.coffee {
    font-size: 180px;

    filter:
        drop-shadow(
            0 25px 16px
            rgba(0, 0, 0, 0.15)
        );
}

.float-card {
    position: absolute;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 12px 18px;

    background: white;

    border-radius: 15px;

    box-shadow:
        0 15px 45px
        rgba(60, 36, 23, 0.15);
}

.float-icon {
    font-size: 26px;
}

.float-card strong {
    font-size: 13px;
}

.float-card p {
    font-size: 10px;
    color: #8b7d75;
}

.card-rating {
    left: 0;
    top: 18%;
}

.card-best {
    right: 0;
    bottom: 17%;
}


/* ==============================
   FEATURES
============================== */

.features {
    padding: 34px 0;

    background: #2c211b;

    color: white;
}

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 45px;
}

.feature {
    display: flex;
    align-items: center;

    gap: 18px;
}

.feature i {
    color: #e6a04b;

    font-size: 28px;
}

.feature h3 {
    font-size: 15px;
}

.feature p {
    color: #b8ada7;

    font-size: 11px;

    margin-top: 4px;
}


/* ==============================
   SECTIONS
============================== */

.menu-section,
.contact {
    padding: 105px 0;
}

.section-heading {
    text-align: center;

    margin-bottom: 48px;
}

.section-heading > span,
.small-title,
.promo-title {
    color: #a65d2d;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}

.section-heading h2 {
    font-size: 40px;

    margin:
        10px
        0;
}

.section-heading p {
    color: #81736b;
}


/* ==============================
   MENU
============================== */

.menu-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 24px;
}

.menu-card {
    background: white;

    border-radius: 22px;

    overflow: hidden;

    box-shadow:
        0 10px 40px
        rgba(70, 41, 23, 0.08);

    transition: 0.35s;
}

.menu-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 50px
        rgba(70, 41, 23, 0.14);
}

.menu-img {
    height: 205px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 92px;
}

.menu-img.brown {
    background: #e8c8a4;
}

.menu-img.dark {
    background: #c89160;
}

.menu-img.cream {
    background: #f0dfc9;
}

.menu-img.chocolate {
    background: #d4aa83;
}

.menu-content {
    padding: 20px;
}

.rating {
    color: #8f8179;

    font-size: 11px;

    margin-bottom: 7px;
}

.menu-content h3 {
    font-size: 15px;

    margin-bottom: 8px;
}

.menu-content p {
    color: #897c74;

    font-size: 11px;

    line-height: 1.65;

    min-height: 55px;
}

.menu-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-top: 18px;
}

.menu-footer strong {
    color: #a65d2d;
}

.order-button {
    width: 38px;
    height: 38px;

    border: none;

    border-radius: 50%;

    background: #2c211b;

    color: white;

    font-size: 20px;

    cursor: pointer;

    transition: 0.3s;
}

.order-button:hover {
    background: #a65d2d;

    transform: rotate(90deg);
}


/* ==============================
   ABOUT
============================== */

.about {
    padding: 105px 0;

    background: #f5e9dc;
}

.about-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 75px;

    align-items: center;
}

.about-image {
    min-height: 460px;

    border-radius: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #a65d2d,
            #e4b476
        );
}

.about-image div {
    font-size: 180px;
}

.about-content h2 {
    font-size: 43px;

    line-height: 1.2;

    margin:
        10px
        0
        22px;
}

.about-content h2 span {
    color: #a65d2d;
}

.about-content p {
    color: #776961;

    font-size: 14px;

    line-height: 1.85;

    margin-bottom: 14px;
}

.about-list {
    margin-top: 26px;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;
}

.about-list div {
    font-size: 13px;
}

.about-list i {
    color: #a65d2d;

    margin-right: 6px;
}


/* ==============================
   PROMO
============================== */

.promo {
    padding: 105px 0;
}

.promo-box {
    min-height: 310px;

    padding: 55px 70px;

    border-radius: 30px;

    background: #2c211b;

    color: white;

    display: flex;

    align-items: center;
    justify-content: space-between;

    overflow: hidden;
}

.promo-title {
    color: #e7a14b;
}

.promo-box h2 {
    font-size: 38px;

    max-width: 650px;

    margin:
        10px
        0
        12px;
}

.promo-box p {
    color: #c1b6b0;
}

.promo-code {
    display: inline-flex;

    align-items: center;

    gap: 25px;

    margin-top: 24px;

    padding:
        7px
        7px
        7px
        20px;

    border-radius: 40px;

    background: white;

    color: #2c211b;
}

.promo-code strong {
    letter-spacing: 2px;
}

.promo-code button {
    border: none;

    border-radius: 30px;

    padding: 11px 17px;

    background: #a65d2d;

    color: white;

    cursor: pointer;
}

.promo-coffee {
    font-size: 150px;

    transform: rotate(-12deg);
}


/* ==============================
   CONTACT
============================== */

.contact-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.contact-card {
    padding: 37px 30px;

    text-align: center;

    background: white;

    border-radius: 22px;

    box-shadow:
        0 10px 40px
        rgba(70, 41, 23, 0.08);
}

.contact-card i {
    width: 62px;
    height: 62px;

    margin-bottom: 18px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f3e2d2;

    color: #a65d2d;

    font-size: 22px;
}

.contact-card h3 {
    margin-bottom: 8px;
}

.contact-card p {
    color: #82756d;

    font-size: 12px;

    line-height: 1.8;
}


/* ==============================
   FOOTER
============================== */

footer {
    background: #211814;

    color: white;

    padding-top: 60px;
}

.footer-content {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-bottom: 45px;
}

.footer-logo {
    display: block;

    margin-bottom: 10px;
}

.footer-content p {
    color: #9e918b;

    font-size: 12px;
}

.social {
    display: flex;

    gap: 10px;
}

.social a {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #352823;

    transition: 0.3s;
}

.social a:hover {
    background: #a65d2d;
}

.copyright {
    text-align: center;

    padding: 21px;

    border-top:
        1px solid
        #382a24;

    color: #837771;

    font-size: 11px;
}


/* ==============================
   TOAST
============================== */

.toast {
    position: fixed;

    bottom: 30px;
    left: 50%;

    transform:
        translate(-50%, 100px);

    padding:
        12px
        22px;

    border-radius: 30px;

    background: #2c211b;

    color: white;

    font-size: 12px;

    z-index: 9999;

    opacity: 0;

    visibility: hidden;

    transition: 0.4s;
}

.toast.show {
    opacity: 1;

    visibility: visible;

    transform:
        translate(-50%, 0);
}


/* ==============================
   FALLBACK RESPONSIVE

   Normalnya HP sudah redirect,
   tetapi CSS ini tetap disediakan.
============================== */

@media (max-width: 1000px) {

    .menu-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 700px) {

    .nav-menu {
        display: none;
    }

    .menu-grid,
    .contact-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

}