/*======================================
    Glow Candle Store
======================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#faf8f5;
    color:#222;
    overflow-x:hidden;
}

/* Scrollbar */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#f5f5f5;
}

::-webkit-scrollbar-thumb{
    background:#8b5e3c;
    border-radius:50px;
}

::-webkit-scrollbar-thumb:hover{
    background:#6f472d;
}

/* Navbar */

.navbar{
    padding:15px 0;
    transition:.3s;
}

.navbar-brand{
    font-size:28px;
    font-weight:700;
}

.nav-link{
    color:#333 !important;
    margin:0 10px;
    font-weight:500;
    transition:.3s;
}

.nav-link:hover{
    color:#8b5e3c !important;
}

/* Buttons */

.btn-dark{
    background:#8b5e3c;
    border:none;
    border-radius:12px;
    padding:10px 22px;
    transition:.3s;
}

.btn-dark:hover{
    background:#6f472d;
    transform:translateY(-2px);
}

.btn-outline-dark{
    border-radius:12px;
}

/* Hero */

.hero{
    padding:80px 0;
}

.hero h1{
    font-size:52px;
    line-height:1.2;
}

.hero p{
    font-size:18px;
    line-height:1.8;
}

.hero img{
    max-width:100%;
    animation:float 4s ease-in-out infinite;
}

@keyframes float{
    0%{
        transform:translateY(0px);
    }
    50%{
        transform:translateY(-12px);
    }
    100%{
        transform:translateY(0px);
    }
}

/* Category */

.category-box{
    background:#fff;
    border-radius:20px;
    padding:40px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
    cursor:pointer;
}

.category-box:hover{
    transform:translateY(-8px);
}

.category-box{
    font-size:50px;
}

.category-box h4{
    margin-top:15px;
    font-weight:600;
}

/* Product */

.product-card{
    border:none;
    border-radius:20px;
    overflow:hidden;
    transition:.3s;
    box-shadow:0 10px 20px rgba(0,0,0,.08);
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.product-card img{
    height:250px;
    object-fit:cover;
}

.product-card .card-body{
    padding:20px;
}

.price{
    color:#8b5e3c;
    font-size:22px;
    font-weight:700;
}

/* Footer */

footer{
    margin-top:70px;
}

/* Titles */

section h2{
    font-weight:700;
    margin-bottom:40px;
}

/* Responsive */

@media(max-width:991px){

.hero{
    text-align:center;
}

.hero h1{
    font-size:38px;
}

.hero img{
    margin-top:40px;
}

}

@media(max-width:768px){

.hero{
    padding:50px 0;
}

.hero h1{
    font-size:30px;
}

.hero p{
    font-size:16px;
}

.category-box{
    padding:25px;
}

.product-card img{
    height:220px;
}

}

@media(max-width:576px){

.navbar-brand{
    font-size:22px;
}

.hero h1{
    font-size:26px;
}

.btn-dark{
    width:100%;
}

}