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

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
}


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

:root {
    --brown-dark: #241c17;
    --brown: #5b4030;
    --brown-light: #8a6650;

    --cream: #f7f3ed;
    --cream-dark: #eee6db;

    --gold: #c59b63;

    --white: #ffffff;

    --container: 1180px;
}


/* ================================
   GENERAL
================================ */

.container {
    width: min(90%, var(--container));
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

.eyebrow {
    display: inline-block;

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;

    color: var(--gold);

    margin-bottom: 18px;
}


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

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(247, 243, 237, 0.92);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(36, 28, 23, 0.08);
}

.navbar {
    height: 80px;

    display: flex;

    align-items: center;
    justify-content: space-between;
}

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

    font-size: 1.8rem;
    font-weight: 700;

    letter-spacing: 2px;
}

.logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;

    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.menu-toggle {
    display: none;

    border: none;
    background: none;

    font-size: 1.7rem;

    cursor: pointer;
}


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

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding-top: 80px;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(197, 155, 99, 0.18),
            transparent 35%
        );
}

.hero-content {
    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 80px;
}

.hero-text {
    animation: fadeUp 0.8s ease forwards;
}

.hero h1 {
    font-family: "Playfair Display", serif;

    font-size: clamp(3.5rem, 7vw, 6.5rem);

    line-height: 0.95;

    margin-bottom: 30px;
}

.hero h1 span {
    display: block;

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

.hero-text > p {
    max-width: 500px;

    font-size: 1.1rem;

    color: #665950;

    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


/* ================================
   BUTTONS
================================ */

.btn {
    display: inline-flex;

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

    padding: 14px 25px;

    border-radius: 50px;

    font-weight: 600;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

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

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

.btn-primary:hover {
    box-shadow: 0 10px 25px rgba(36, 28, 23, 0.2);
}

.btn-secondary {
    border: 1px solid rgba(36, 28, 23, 0.2);
}

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


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

.hero-image {
    display: flex;
    justify-content: center;
}

.coffee-card {
    width: 380px;
    height: 500px;

    border-radius: 200px 200px 30px 30px;

    background:
        linear-gradient(
            145deg,
            #8b654f,
            #3a2920
        );

    display: flex;
    flex-direction: column;

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

    position: relative;

    box-shadow:
        30px 30px 0 rgba(197, 155, 99, 0.15),
        0 30px 60px rgba(36, 28, 23, 0.2);

    animation: float 5s ease-in-out infinite;
}

.coffee-cup {
    width: 190px;
    height: 190px;

    border-radius: 50%;

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

    font-size: 6rem;

    background: rgba(255, 255, 255, 0.1);

    backdrop-filter: blur(5px);

    margin-bottom: 40px;
}

.coffee-info {
    text-align: center;

    color: white;
}

.coffee-info span {
    display: block;

    font-size: 0.7rem;

    letter-spacing: 3px;

    color: #d8b27b;

    margin-bottom: 10px;
}

.coffee-info strong {
    display: block;

    font-family: "Playfair Display", serif;

    font-size: 2rem;

    margin-bottom: 8px;
}

.coffee-info small {
    color: rgba(255, 255, 255, 0.65);
}


/* ================================
   SECTION HEADING
================================ */

.section-heading {
    max-width: 650px;

    margin: 0 auto 60px;

    text-align: center;
}

.section-heading h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(2.5rem, 5vw, 4rem);

    line-height: 1;

    margin-bottom: 20px;
}

.section-heading p {
    color: #75685f;
}


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

.menu-section {
    background: var(--cream-dark);
}

.products-grid {
    display: grid;

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

    gap: 20px;
}

.product-card {
    background: var(--cream);

    padding: 30px;

    border-radius: 20px;

    display: flex;
    gap: 20px;

    border: 1px solid rgba(36, 28, 23, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

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

    box-shadow:
        0 20px 40px rgba(36, 28, 23, 0.08);
}

.product-card.featured {
    background: var(--brown-dark);
    color: white;
}

.product-card.featured p {
    color: rgba(255, 255, 255, 0.6);
}

.product-card.featured .product-category {
    color: var(--gold);
}

.product-icon {
    min-width: 55px;
    height: 55px;

    border-radius: 50%;

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

    background: rgba(197, 155, 99, 0.15);

    font-size: 1.5rem;
}

.product-category {
    display: block;

    color: var(--gold);

    font-size: 0.65rem;
    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 5px;
}

.product-card h3 {
    font-family: "Playfair Display", serif;

    font-size: 1.5rem;

    margin-bottom: 8px;
}

.product-card p {
    color: #75685f;

    font-size: 0.85rem;

    margin-bottom: 15px;
}

.product-card strong {
    font-size: 1rem;
}


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

.about {
    background: var(--cream);
}

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 100px;
}

.about-image {
    height: 550px;

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            #3b2b22,
            #87634c
        );

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;
}

.about-decoration {
    width: 250px;
    height: 250px;

    border: 1px solid rgba(255, 255, 255, 0.3);

    border-radius: 50%;

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

    color: white;

    font-family: "Playfair Display", serif;

    font-size: 3rem;

    letter-spacing: 5px;
}

.about-content h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(2.5rem, 5vw, 4rem);

    line-height: 1;

    margin-bottom: 30px;
}

.about-content h2 span {
    color: var(--brown-light);
}

.about-content p {
    color: #75685f;

    margin-bottom: 20px;
}

.stats {
    display: flex;

    gap: 40px;

    margin-top: 40px;

    padding-top: 30px;

    border-top: 1px solid rgba(36, 28, 23, 0.1);
}

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

.stats strong {
    font-family: "Playfair Display", serif;

    font-size: 2rem;
}

.stats span {
    font-size: 0.75rem;

    color: #75685f;
}


/* ================================
   REVIEWS
================================ */

.reviews {
    background: var(--cream-dark);
}

.reviews-grid {
    display: grid;

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

    gap: 20px;
}

.review-card {
    background: var(--cream);

    padding: 35px;

    border-radius: 20px;
}

.stars {
    color: var(--gold);

    letter-spacing: 3px;

    margin-bottom: 20px;
}

.review-card p {
    font-family: "Playfair Display", serif;

    font-size: 1.15rem;

    margin-bottom: 25px;
}

.review-card strong {
    display: block;
}

.review-card > span {
    color: #75685f;

    font-size: 0.8rem;
}


/* ================================
   CTA
================================ */

.cta {
    background: var(--brown-dark);

    color: white;

    text-align: center;
}

.cta-content {
    display: flex;
    flex-direction: column;

    align-items: center;
}

.cta h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(3rem, 6vw, 5rem);

    line-height: 1;

    max-width: 700px;

    margin-bottom: 25px;
}

.cta h2 span {
    color: var(--gold);
}

.cta p {
    color: rgba(255, 255, 255, 0.6);

    margin-bottom: 35px;
}


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

.footer {
    background: #17110e;

    color: white;

    padding-top: 70px;
}

.footer-grid {
    display: grid;

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

    gap: 50px;

    padding-bottom: 60px;
}

.footer-logo {
    display: inline-block;

    margin-bottom: 20px;
}

.footer p {
    color: rgba(255, 255, 255, 0.5);

    font-size: 0.85rem;

    margin-bottom: 10px;
}

.footer h4 {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.5);

    font-size: 0.85rem;

    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding: 25px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    display: flex;
    justify-content: space-between;

    color: rgba(255, 255, 255, 0.35);

    font-size: 0.75rem;
}


/* ================================
   ANIMATIONS
================================ */

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

}


/* ================================
   SCROLL REVEAL
================================ */

.reveal {
    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.active {
    opacity: 1;

    transform: translateY(0);
}


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

@media (max-width: 900px) {

    .nav-links {
        position: absolute;

        top: 80px;
        left: 0;

        width: 100%;

        background: var(--cream);

        flex-direction: column;

        align-items: center;

        gap: 0;

        max-height: 0;

        overflow: hidden;

        transition: max-height 0.3s ease;
    }

    .nav-links.active {
        max-height: 400px;

        border-bottom: 1px solid rgba(36, 28, 23, 0.1);
    }

    .nav-links li {
        width: 100%;

        text-align: center;
    }

    .nav-links a {
        display: block;

        padding: 15px;
    }

    .menu-toggle {
        display: block;
    }

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

        text-align: center;

        gap: 60px;
    }

    .hero-text > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

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

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

        gap: 60px;
    }

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

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

}


@media (max-width: 600px) {

    .section {
        padding: 80px 0;
    }

    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .coffee-card {
        width: 280px;
        height: 380px;
    }

    .coffee-cup {
        width: 140px;
        height: 140px;

        font-size: 4rem;
    }

    .coffee-info strong {
        font-size: 1.5rem;
    }

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

    .about-image {
        height: 400px;
    }

    .stats {
        gap: 20px;
    }

    .stats strong {
        font-size: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 10px;
    }

}