/*==============================
        BODY
==============================*/

body{

    background:#f7f7f7;

}

/*==============================
        HEADER
==============================*/

header{

    width:100%;

    height:90px;

    background:#ffffff;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 40px;

    box-shadow:0 5px 20px rgba(0,0,0,.06);

    position:sticky;

    top:0;

    z-index:1000;

}

.logo img{

    width:50px;

}

.header-buttons{

    display:flex;

    gap:15px;

}

.header-buttons button{

    width:50px;

    height:50px;

    border-radius:50%;

    background:#0B3D6E;

    color:white;

    font-size:18px;

    transition:.3s;

}

.header-buttons button:hover{

    background:#E8B04B;

    transform:translateY(-3px);

}

/*==============================
        HERO
==============================*/

.hero{

    width:100%;

    max-width:1400px;

    margin:30px auto;

    position:relative;

    border-radius:25px;

    overflow:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,.12);

}

.hero img{

    height:500px;

    object-fit:cover;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(to top,
    rgba(0,0,0,.65),
    rgba(0,0,0,.15));

}

.hero-content{

    position:absolute;

    bottom:50px;

    right:50px;

    color:white;

}

.hero-content h1{

    font-size:52px;

    margin-bottom:10px;

}

.hero-content p{

    font-size:22px;

}

/*==============================
        CATEGORIES
==============================*/

.categories{

    max-width:1400px;

    margin:25px auto;

    display:flex;

    gap:15px;

    overflow-x:auto;

    padding-bottom:10px;

}

.categories::-webkit-scrollbar{

    display:none;

}

.categories button{

    white-space:nowrap;

    padding:14px 28px;

    border-radius:50px;

    background:white;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

    font-size:16px;

    transition:.3s;

}

.categories button:hover{

    background:#0B3D6E;

    color:white;

}

.categories .active{

    background:#0B3D6E;

    color:white;

}
/*==============================
        PRODUCTS
==============================*/

.products{

    max-width:1400px;

    margin:50px auto;

    padding:0 20px;

}

.products h2{

    font-size:34px;

    margin-bottom:30px;

    color:#0B3D6E;

}

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.card{

    background:#ffffff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.35s;

}

.card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(0,0,0,.15);

}

.card img{

    height:220px;

    object-fit:cover;

    transition:.5s;

}

.card:hover img{

    transform:scale(1.08);

}

.card h3{

    font-size:24px;

    color:#0B3D6E;

    padding:18px 20px 10px;

}

.card p{

    color:#666;

    font-size:15px;

    line-height:1.8;

    padding:0 20px;

    min-height:70px;

}

.price{

    margin:20px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    font-size:22px;

    font-weight:bold;

    color:#E8B04B;

}
/*==============================
        ADD BUTTON
==============================*/

.price::after{

    content:"Add";

    background:#0B3D6E;

    color:white;

    padding:10px 22px;

    border-radius:40px;

    font-size:15px;

    cursor:pointer;

    transition:.3s;

}

.card:hover .price::after{

    background:#E8B04B;

    color:#222;

}
/*==============================
        FOOTER
==============================*/

footer{

    margin-top:70px;

    background:#0B3D6E;

    color:white;

    text-align:center;

    padding:50px 20px;

}

.footer-logo{

    width:140px;

    margin:auto;

    margin-bottom:20px;

}

footer p{

    margin:8px 0;

    font-size:16px;

}
/*==============================
        SCROLL BAR
==============================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#f2f2f2;

}

::-webkit-scrollbar-thumb{

    background:#0B3D6E;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#E8B04B;

}
/*======================================
            PRODUCT BADGE
======================================*/

.badge{

    position:absolute;

    top:18px;

    right:18px;

    background:#E8B04B;

    color:#fff;

    padding:6px 16px;

    border-radius:30px;

    font-size:12px;

    font-weight:bold;

    z-index:20;

}
/*======================================
            FAVORITE
======================================*/

.favorite{

    position:absolute;

    top:18px;

    left:18px;

    width:42px;

    height:42px;

    border-radius:50%;

    background:white;

    display:flex;

    align-items:center;

    justify-content:center;

    box-shadow:0 5px 15px rgba(0,0,0,.12);

    cursor:pointer;

    z-index:20;

    transition:.3s;

}

.favorite:hover{

    background:#E63946;

    color:white;

}
/*======================================
            CARD POSITION
======================================*/

.card{

    position:relative;

}
/*======================================
            OVERLAY
======================================*/

.overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.45);

    display:flex;

    justify-content:center;

    align-items:center;

    opacity:0;

    transition:.35s;

}

.card:hover .overlay{

    opacity:1;

}
/*======================================
            BUTTON
======================================*/

.overlay button{

    background:white;

    color:#0B3D6E;

    padding:14px 28px;

    border-radius:40px;

    font-size:15px;

    font-weight:bold;

    transition:.3s;

}

.overlay button:hover{

    background:#E8B04B;

    color:white;

}
/*======================================
            IMAGE ANIMATION
======================================*/

.card{

    overflow:hidden;

}

.card img{

    transition:.5s;

}

.card:hover img{

    transform:scale(1.12);

}
/*======================================
            TITLE
======================================*/

.card h3{

    transition:.3s;

}

.card:hover h3{

    color:#E8B04B;

}
/*======================================
            HERO ZOOM
======================================*/

.hero{

    overflow:hidden;

}

.hero img{

    transition:8s;

}

.hero:hover img{

    transform:scale(1.08);

}