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

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#F8F4EE;
    color:#222;
    overflow-x:hidden;
}

img{
    width:100%;
    display:block;
}

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

ul{
    list-style:none;
}

.container{
    width:90%;
    max-width:1400px;
    margin:auto;
}

/* ===========================
   COLORS
=========================== */

:root{
    --cream:#F8F4EE;
    --gold:#B08D57;
    --olive:#556B2F;
    --dark:#222222;
    --white:#ffffff;
}

/* ===========================
   TOP BAR
=========================== */

.topbar{
    background:var(--olive);
    color:#fff;
    text-align:center;
    padding:12px;
    font-size:14px;
    letter-spacing:.5px;
}

/* ===========================
   HEADER
=========================== */

.header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:25px 60px;
    background:#fff;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
}

.logo h2{
    font-family:'Playfair Display',serif;
    font-size:32px;
    color:var(--gold);
}

nav ul{
    display:flex;
    gap:40px;
}

nav ul li a{
    font-size:15px;
    font-weight:500;
    transition:.3s;
}

nav ul li a:hover{
    color:var(--gold);
}

.icons{
    font-size:22px;
    display:flex;
    gap:15px;
    cursor:pointer;
}

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

.hero{
    height:90vh;

    background:
    linear-gradient(
    rgba(0,0,0,.15),
    rgba(0,0,0,.15)),
    url('../images/hero.jpg');

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

    display:flex;
    align-items:center;
}

.hero-content{
    width:650px;
    margin-left:8%;
}

.hero h1{
    font-family:'Playfair Display',serif;
    font-size:78px;
    line-height:1.1;
    color:white;
    margin-bottom:25px;
}

.hero p{
    color:white;
    font-size:22px;
    margin-bottom:35px;
}

.btn{
    background:var(--gold);
    color:white;
    padding:16px 40px;
    border-radius:50px;
    display:inline-block;
    transition:.4s;
    font-weight:600;
}

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

/* ===========================
   SECTION COMMON
=========================== */

section{
    padding:100px 8%;
}

section h2{
    text-align:center;
    font-size:42px;
    margin-bottom:60px;
    font-family:'Playfair Display',serif;
}

/* ===========================
   CATEGORY
=========================== */

.category-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.category-card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    transition:.4s;
    cursor:pointer;
}

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

.category-card img{
    height:300px;
    object-fit:cover;
}

.category-card h3{
    text-align:center;
    padding:25px;
    font-size:22px;
}

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

.product-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.product-card{
    background:white;
    padding:20px;
    border-radius:20px;
    transition:.4s;
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 30px rgba(0,0,0,.08);
}

.product-card img{
    height:320px;
    object-fit:contain;
}

.product-card h3{
    margin-top:20px;
    margin-bottom:10px;
}

.price{
    color:var(--gold);
    font-size:22px;
    font-weight:700;
    margin-bottom:15px;
}

.product-card button{
    width:100%;
    border:none;
    background:var(--olive);
    color:white;
    padding:15px;
    border-radius:50px;
    cursor:pointer;
}

/* ===========================
   STORY
=========================== */

.story{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
}

.story img{
    border-radius:20px;
}

.story-content h2{
    text-align:left;
}

.story-content p{
    font-size:18px;
    line-height:1.8;
    margin-bottom:30px;
}

/* ===========================
   CONCERNS
=========================== */

.concern-list{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:20px;
}

.concern-list span{
    padding:14px 30px;
    border:1px solid #ddd;
    border-radius:50px;
    background:white;
    transition:.3s;
}

.concern-list span:hover{
    background:var(--olive);
    color:white;
}

/* ===========================
   INGREDIENTS
=========================== */

.ingredient-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.ingredient-grid div{
    background:white;
    padding:60px 20px;
    text-align:center;
    border-radius:20px;
    font-size:22px;
    transition:.3s;
}

.ingredient-grid div:hover{
    background:var(--gold);
    color:white;
}

/* ===========================
   TESTIMONIALS
=========================== */

.testimonials{
    background:white;
    text-align:center;
}

.testimonials p{
    max-width:800px;
    margin:auto;
    font-size:22px;
    line-height:1.8;
}

/* ===========================
   NEWSLETTER
=========================== */

.newsletter{
    background:var(--olive);
    color:white;
    text-align:center;
}

.newsletter form{
    margin-top:30px;
    display:flex;
    justify-content:center;
}

.newsletter input{
    width:500px;
    padding:18px;
    border:none;
}

.newsletter button{
    background:var(--gold);
    color:white;
    border:none;
    padding:18px 35px;
    cursor:pointer;
}

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

footer{
    background:#1d1d1d;
    color:white;
    padding:80px;
}

.footer-cols{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:50px;
}

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

.footer-cols p{
    margin-bottom:10px;
    opacity:.8;
}

/* ===========================
   MOBILE
=========================== */

@media(max-width:991px){

.header{
    padding:20px;
}

nav{
    display:none;
}

.hero h1{
    font-size:45px;
}

.category-grid,
.product-grid,
.ingredient-grid{
    grid-template-columns:1fr 1fr;
}

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

.newsletter form{
    flex-direction:column;
}

.newsletter input{
    width:100%;
}

}

@media(max-width:576px){

.hero{
    height:70vh;
}

.hero h1{
    font-size:36px;
}

section h2{
    font-size:32px;
}

.category-grid,
.product-grid,
.ingredient-grid{
    grid-template-columns:1fr;
}

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

}