/* ==========================
   Google Font
========================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Poppins:wght@300;400;500;600&display=swap');

/* ==========================
   Root
========================== */

:root{

    --coffee:#6F4E37;
    --coffee-light:#8B5E3C;
    --green:#556B2F;
    --cream:#F8F5F1;
    --dark:#222;
    --gray:#777;

}


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

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

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

/* ==========================
   Reset
========================== */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

body{

    font-family:'Poppins',sans-serif;
    background:var(--cream);
    color:var(--dark);
    line-height:1.7;

}

img{

    width:100%;
    display:block;

}

a{

    text-decoration:none;

}

.container{

    width:min(1150px,90%);
    margin:auto;

}

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

.hero{

    padding:120px 0 90px;
    text-align:center;

}

.label{

    display:inline-block;
    color:var(--green);
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:20px;

}

.hero h1{

    font-family:'Playfair Display',serif;
    font-size:clamp(2.5rem,5vw,4rem);
    color:var(--coffee);
    margin-bottom:20px;

}

.hero p{

    max-width:700px;
    margin:auto;
    color:var(--gray);

}

/* ==========================
   Beans
========================== */

.beans{

    padding:80px 0;

}

.beans .container{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
    gap:40px;

}

.bean-card{

    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.35s;

}

.bean-card:hover{

    transform:translateY(-8px);

}

.bean-card img{

    height:270px;
    object-fit:cover;

}

.bean-card h2{

    font-family:'Playfair Display',serif;
    color:var(--coffee);
    padding:25px 30px 10px;

}

.bean-card p{

    color:var(--gray);
    padding:0 30px 25px;

}

.bean-card ul{

    list-style:none;
    padding:0 30px 30px;

}

.bean-card li{

    padding:10px 0;
    border-bottom:1px solid #eee;
    color:#444;

}

.bean-card li:last-child{

    border:none;

}



.bean-card a:hover{

    background:var(--green);

}

/* ==========================
   Story
========================== */

.story{

    padding:100px 0;
    text-align:center;

}

.story h2{

    font-family:'Playfair Display',serif;
    font-size:2.4rem;
    color:var(--coffee);
    margin-bottom:20px;

}

.story p{

    max-width:760px;
    margin:auto;
    color:var(--gray);

}
.btnmenu{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}
.btn {
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;

    text-decoration: none;

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

.btn:hover {
    transform: translateY(-3px);
}
.btn:active{
    background: #c62828; /* merah */
    transform: scale(0.97);
}

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


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

.cta{

    padding:90px 0;
    background:var(--coffee);
    color:#fff;
    text-align:center;

}

.cta h2{

    font-family:'Playfair Display',serif;
    font-size:2.5rem;
    margin-bottom:20px;

}

.cta p{

    max-width:650px;
    margin:auto auto 35px;

}

.cta a{

    display:inline-block;
    padding:14px 34px;
    background:#fff;
    color:var(--coffee);
    border-radius:50px;
    font-weight:600;
    transition:.3s;

}

.cta a:hover{

    background:var(--green);
    color:#fff;

}
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;
}
/* ==========================
   Responsive
========================== */

@media(max-width:768px){

.hero{

    padding:90px 0 60px;

}

.beans .container{

    grid-template-columns:1fr;

}

.bean-card img{

    height:220px;

}

.story h2,
    .btnmenu{
        padding: 0 16px;
    }

    .btnmenu .btn{
        width: 100%;
        text-align: center;
    }

}