
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#faf6f0;
    color:#333;
    overflow-x:hidden;
    line-height:1.6;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

/* ===================================
   CONTAINER
=================================== */

.container{
    width:100%;
    max-width:1400px;
    margin:auto;
    padding:0 5%;
}

/* ===================================
   HEADER
=================================== */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100px;
    background:white;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 6%;
    z-index:999;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.logo img{
    width:190px;
    transition:.3s;
}

.logo img:hover{
    transform:scale(1.05);
}

/* MENU */

nav{
    display:flex;
    align-items:center;
    gap:35px;
}

nav a{
    color:#4b332c;
    font-weight:600;
    position:relative;
    transition:.3s;
}

nav a:hover,
nav a.active{
    color:#c84f1c;
}

nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:3px;
    background:#c84f1c;
    transition:.3s;
}

nav a:hover::after,
nav a.active::after{
    width:100%;
}

/* BUTTON */

.btn{
    background:linear-gradient(
    135deg,
    #e07a2d,
    #8f2d1c
    );

    color:white;
    padding:14px 30px;
    border-radius:50px;
    font-weight:600;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(143,45,28,.3);
}

/* ===================================
   BANNER
=================================== */

.hero-banner{
    margin-top:100px;
    position:relative;
    height:750px;
    overflow:hidden;
}

.hero-banner img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-banner::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}

.banner-content{
    position:absolute;
    top:50%;
    left:8%;
    transform:translateY(-50%);
    color:white;
    z-index:2;
}

.banner-content h1{
    font-size:90px;
    font-weight:800;
}

.banner-content p{
    font-size:24px;
    margin:25px 0;
}

.banner-content a{
    display:inline-block;
    background:#e07a2d;
    color:white;
    padding:15px 35px;
    border-radius:50px;
    transition:.3s;
}

.banner-content a:hover{
    background:#8f2d1c;
}

/* ===================================
   SECTION
=================================== */

.section{
    padding:100px 6%;
}

.section-title{
    text-align:center;
    font-size:42px;
    color:#8f2d1c;
    margin-bottom:20px;
}

.section-desc{
    text-align:center;
    color:#777;
    margin-bottom:50px;
}

/* ===================================
   CARD GRID
=================================== */

.grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.card{
    background:white;
    padding:35px;
    border-radius:25px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-10px);
}

.icon{
    font-size:45px;
    margin-bottom:15px;
}

.card h3{
    color:#8f2d1c;
    margin-bottom:15px;
}

/* ===================================
   INGREDIENT
=================================== */

.ingredient-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.ingredient-card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.ingredient-card img{
    height:220px;
    width:100%;
    object-fit:cover;
}

.ingredient-card h3{
    margin-top:15px;
    color:#8f2d1c;
}

.ingredient-card p{
    padding:15px;
}

/* ===================================
   PROCESS
=================================== */

.steps-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.step-card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    text-align:center;
    box-shadow:0 10px 20px rgba(0,0,0,.08);
}

.step-card img{
    height:220px;
    width:100%;
    object-fit:cover;
}

.step-card h3{
    margin:20px 0 10px;
    color:#8f2d1c;
}

.step-card p{
    padding:0 15px 25px;
}

/* ===================================
   PRODUCT SHOWCASE
=================================== */

.product-showcase{
    display:flex;
    align-items:center;
    gap:60px;
    padding:100px 6%;
    background:white;
}

.product-left,
.product-right{
    flex:1;
}

.product-left h2{
    font-size:42px;
    color:#8f2d1c;
    margin-bottom:25px;
}

.product-left ul{
    margin-top:20px;
}

.product-left li{
    margin-bottom:10px;
}

.product-right img{
    border-radius:25px;
}

/* ===================================
   FOOTER
=================================== */

footer{
    background:#261714;
    color:white;
    padding:70px 6%;
}

.footer-container{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:40px;
}

.footer-logo img{
    width:200px;
    margin-bottom:15px;
}

.footer-container h3{
    margin-bottom:20px;
    color:#f39a50;
}

.footer-container a{
    color:white;
    line-height:2;
}

.footer-container p{
    color:#ddd;
}

.copyright{
    text-align:center;
    margin-top:40px;
    border-top:1px solid rgba(255,255,255,.2);
    padding-top:20px;
}

/* ===================================
   TABLET
=================================== */

@media(max-width:1024px){

header{
    padding:0 4%;
}

nav{
    gap:20px;
}

.hero-banner{
    height:550px;
}

.banner-content h1{
    font-size:60px;
}

.grid{
    grid-template-columns:repeat(2,1fr);
}

.ingredient-grid{
    grid-template-columns:repeat(2,1fr);
}

.steps-grid{
    grid-template-columns:repeat(2,1fr);
}

.product-showcase{
    flex-direction:column;
}

.footer-container{
    grid-template-columns:1fr;
    text-align:center;
}

}

/* ===================================
   MOBILE
=================================== */

@media(max-width:768px){

header{
    flex-direction:column;
    height:auto;
    padding:15px;
}

nav{
    flex-wrap:wrap;
    justify-content:center;
    margin:15px 0;
}

.btn{
    display:none;
}

.hero-banner{
    margin-top:150px;
    height:450px;
}

.banner-content{
    left:5%;
}

.banner-content h1{
    font-size:42px;
}

.banner-content p{
    font-size:18px;
}

.grid,
.ingredient-grid,
.steps-grid{
    grid-template-columns:1fr;
}

.section{
    padding:60px 20px;
}

.section-title{
    font-size:30px;
}

.product-left h2{
    font-size:30px;
}

footer{
    padding:50px 20px;
}

}
.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    margin-top:30px;
}

.product-card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    text-align:center;
    padding:25px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.product-card:hover{
    transform:translateY(-8px);
}

.product-card img{
    width:220px;
    margin:auto;
}

.product-card h3{
    color:#8f2d1c;
    margin:15px 0 10px;
}

.price{
    font-size:24px;
    font-weight:700;
    color:#e07a2d;
    margin:15px 0;
}

.buy-btn{
    display:inline-block;
    background:#8f2d1c;
    color:white;
    padding:12px 25px;
    border-radius:30px;
}
/* =========================
   FIX KHOẢNG CÁCH TOÀN WEB
========================= */

.section{
    padding:45px 6% !important;
}

.section-title{
    margin-bottom:10px !important;
}

.section-desc{
    margin-bottom:25px !important;
}

.product-showcase{
    padding:50px 6% !important;
    gap:40px !important;
}

.product-left h2{
    margin-bottom:15px !important;
}

.product-left ul{
    margin-top:15px !important;
}

.product-left li{
    margin-bottom:6px !important;
}

.card{
    padding:25px !important;
}

.ingredient-card h3{
    margin-top:10px !important;
}

.ingredient-card p{
    padding:10px 15px 15px !important;
}

.step-card h3{
    margin:12px 0 8px !important;
}

.step-card p{
    padding:0 15px 15px !important;
}

footer{
    padding:40px 6% !important;
}

.footer-container{
    gap:25px !important;
}

.copyright{
    margin-top:25px !important;
}

/* MOBILE */

@media(max-width:768px){

.section{
    padding:30px 20px !important;
}

.product-showcase{
    padding:35px 20px !important;
}

footer{
    padding:30px 20px !important;
}

}