:root {
    --coffee: #6F4E37;
    --coffee-light: #8B5E3C;
    --green: #556B2F;
    --cream: #F8F5F1;
    --dark: #222222;
    --white: #ffffff;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(111, 78, 55, .5);
    border-radius: 50px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: var(--cream);
    color: #333;
    margin: 0;
    overflow-x: hidden;
}

/* HEADER */

header {
    position: fixed;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: transparent;
    transition: .4s ease;
    z-index: 1000;
}

header.scrolled {
    background: rgba(34, 34, 34, 0.75);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow: 0 2px 20px rgba(0, 0, 0, .1);
}

.logo {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: .3s;
}

.brand {
    display: flex;
    gap: 0.5em;
}

.logo img {
    height: 2rem;
}

header.scrolled .logo {
    transform: scale(.95);
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--green);

    transition: .3s;
}

nav a:hover::after {
    width: 100%;
}

/* HERO */

.hero {
    min-height: 100vh;

    background:
        linear-gradient(to right,
            rgba(0, 0, 0, .55) 0%,
            rgba(0, 0, 0, .35) 35%,
            rgba(0, 0, 0, .15) 100%),
        url('https://ik.imagekit.io/ngassett/Kopi-eLeL/hero.png');

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;

    padding: 0 8%;

    color: white;
}

.hero-content {
    max-width: 600px;
}

.conten {
    margin-top: 2rem;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 30px;

    text-shadow:
        0 4px 20px rgba(0, 0, 0, .8);
}

.hero p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;

    text-shadow:
        0 2px 10px rgba(0, 0, 0, .8);
}

/* BUTTON */

.hero-buttons {
    display: flex;
    justify-content: end;
    margin-right: 4rem;
    gap: 1.5em;
;
    flex-wrap: wrap;
}

.btn-primary {
    background: #A97945;
    color: white;
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .5);
    color: white;
}

.btn {
    padding: 16px 32px;
    border-radius: 50px;

    text-decoration: none;

    transition: .3s;
}

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

/* SECTION */

section {
    padding: 60px 8%;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;

    font-size: 2.5rem;
    color: var(--coffee);
}

/* CARDS */

.cards {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 30px;
}

.card {
    background: white;

    padding: 40px 30px;

    border-radius: 20px;

    text-align: center;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);

    transition: .3s;
}

.card img {
    width: 50%;
    height: 220px;

    object-fit: cover;

    border-radius: 15px;

    margin-bottom: 20px;
}

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

.card h3 {
    /* margin-bottom: 15px; */
    color: var(--coffee);
}

.button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}


/* REVIEW */

.maps-section {
    padding: 80px 8%;
    background: #f8f8f8;
}

.maps-header {
    padding: 40px;
    text-align: center;
}

.maps-header h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #2f3e2f;
}

/* LOCATION */

.review-action {
    margin-top: 2rem;
}

.review-btn {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;

    padding: 14px 28px;

    background: linear-gradient(135deg,
            #A97945,
            #8B5E3C);

    color: white;
    text-decoration: none;

    border-radius: 50px;

    font-weight: 600;
    letter-spacing: .5px;

    box-shadow: 0 8px 20px rgba(111, 78, 55, .25);

    transition: .3s ease;
}

.review-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(111, 78, 55, .35);
}

/* FOOTER */

footer {
    background: #1d1d1d;
    color: white;
    padding: 70px 8% 30px;
}

.footer-container {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 40px;
}

footer h3 {
    margin-bottom: 15px;
    color: #A97945;
}

footer p {
    line-height: 1.8;
    opacity: .85;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-brand img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.footer-brand h3 {
    margin-bottom: 5px;
}

.tagline {
    margin-top: 15px;
    max-width: 300px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.social-icons a {
    color: white;
    font-size: 1.6rem;
    transition: .3s;
}

.social-icons a:hover {
    color: var(--coffee-light);
    transform: translateY(-4px);
}



footer hr {
    margin: 40px 0 20px;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.copyright {
    text-align: center;
}

/* MOBILE */

@media(max-width:768px) {

    .hero {
        padding: 0 5%;
    }

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

    .hero-content {
        padding: 30px;
    }

    .section-title {
        font-size: 2rem;
    }

    nav {
        display: none;
    }

    footer {
        display: grid;
    }

    .hero-buttons {
        justify-content: center;
        margin-right: 0;
    }
}