/* ==========================================================
   BerHijab Premium Ecommerce
   File : css/style.css
   Author : ChatGPT
   ========================================================== */

/* ===============================
   GOOGLE FONT
================================= */

:root{

    --primary:#B78A92;
    --primary-dark:#9F727C;

    --secondary:#728C78;

    --light:#FAF7F5;

    --white:#FFFFFF;

    --dark:#343434;

    --gray:#777;

    --border:#ECECEC;

    --shadow:0 15px 40px rgba(0,0,0,.08);

    --radius:18px;

    --transition:.35s ease;

}

/* ===============================
RESET
================================= */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:var(--light);

    color:var(--dark);

    overflow-x:hidden;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

    transition:var(--transition);

}

button{

    transition:var(--transition);

}

.section-title{

    font-family:'Playfair Display',serif;

    font-size:42px;

    font-weight:700;

    color:var(--dark);

}

.section-subtitle{

    color:#888;

    margin-top:10px;

}

/* ===============================
ANNOUNCEMENT
================================= */

.announcement{

    background:var(--primary);

    color:#fff;

    text-align:center;

    padding:10px;

    font-size:14px;

    letter-spacing:.4px;

}

/* ===============================
NAVBAR
================================= */

.navbar{

    padding:18px 0;

    background:#fff !important;

    box-shadow:0 5px 20px rgba(0,0,0,.05);

}

.navbar-brand img{

    height:55px;

}

.nav-link{

    color:#555;

    font-weight:500;

    margin:0 10px;

}

.nav-link:hover{

    color:var(--primary);

}

.form-control{

    border-radius:40px;

    border:1px solid #ddd;

    padding:10px 18px;

}

.form-control:focus{

    border-color:var(--primary);

    box-shadow:none;

}

.btn-primary{

    background:var(--primary);

    border:none;

    border-radius:40px;

    padding:11px 28px;

}

.btn-primary:hover{

    background:var(--primary-dark);

}

.btn-light{

    border-radius:50%;

    width:45px;

    height:45px;

}

/* ===============================
HERO
================================= */

#hero{

    position:relative;

}

.carousel-item{

    height:85vh;

}

.carousel-item img{

    height:85vh;

    object-fit:cover;

    /*filter:brightness(.75);*/

}

.carousel-caption{

    bottom:18%;

    text-align:left;

    max-width:650px;

}

.carousel-caption h1{

    font-size:68px;

    font-family:'Playfair Display',serif;

    font-weight:700;

    margin-bottom:20px;

}

.carousel-caption p{

    font-size:22px;

    margin-bottom:35px;

}

/* ===============================
CATEGORY
================================= */

.category-card{

    background:#fff;

    border-radius:20px;

    box-shadow:var(--shadow);

    padding:35px;

    transition:var(--transition);

    text-align:center;

    cursor:pointer;

}

.category-card:hover{

    transform:translateY(-10px);

}

.category-card i{

    font-size:50px;

    color:var(--primary);

    margin-bottom:20px;

}

.category-card h5{

    font-weight:600;

}

/* ===============================
PRODUCT
================================= */

.product-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:var(--transition);

    margin-bottom:30px;

}

.product-card:hover{

    transform:translateY(-8px);

}

.product-image{

    position:relative;

    overflow:hidden;

}

.product-image img{

    transition:.5s;

}

.product-card:hover img{

    transform:scale(1.08);

}

.badge-sale{

    position:absolute;

    top:15px;

    left:15px;

    background:#dc3545;

    color:#fff;

    padding:8px 15px;

    border-radius:40px;

    font-size:13px;

}

.product-action{

    position:absolute;

    right:15px;

    top:20px;

    display:flex;

    flex-direction:column;

    gap:12px;

    opacity:0;

    transition:.3s;

}

.product-card:hover .product-action{

    opacity:1;

}

.product-action button{

    width:42px;

    height:42px;

    border:none;

    background:#fff;

    border-radius:50%;

    box-shadow:var(--shadow);

}

.product-body{

    padding:22px;

}

.product-category{

    color:var(--secondary);

    font-size:14px;

}

.product-title{

    font-size:20px;

    font-weight:600;

    margin:10px 0;

}

.product-price{

    color:var(--primary);

    font-size:26px;

    font-weight:700;

}

.product-rating{

    color:#f5b301;

    margin-top:10px;

}

/* ===============================
FLASH SALE
================================= */

#flashsale{

    padding:90px 0;

}

#countdown{

    background:#fff;

    padding:10px 25px;

    border-radius:40px;

    box-shadow:var(--shadow);

    font-weight:600;

    color:var(--primary);

}

/* ===============================
PROMO BANNER
================================= */

.banner{

    margin:100px 0;

    background:linear-gradient(
        135deg,
        #B78A92,
        #728C78
    );

    color:#fff;

    border-radius:30px;

    padding:100px 40px;

    text-align:center;

}

.banner h2{

    font-family:'Playfair Display';

    font-size:56px;

}

.banner p{

    font-size:20px;

    margin-top:20px;

}

/* ===============================
NEWSLETTER
================================= */

.newsletter{

    background:#fff;

    padding:80px 0;

    margin-top:100px;

}

.newsletter h2{

    text-align:center;

    margin-bottom:35px;

    font-family:'Playfair Display';

}

.newsletter .input-group{

    max-width:650px;

    margin:auto;

}

/* ===============================
FOOTER
================================= */

footer{

    margin-top:100px;

    background:#252525;

    color:#fff;

    padding:70px 0;

}

footer h4,
footer h5{

    margin-bottom:20px;

}

footer ul{

    list-style:none;

    padding:0;

}

footer li{

    margin-bottom:10px;

    color:#ccc;

}

footer i{

    font-size:24px;

    margin-right:15px;

    cursor:pointer;

}

footer i:hover{

    color:var(--primary);

}

/* ===============================
BACK TO TOP
================================= */

#backToTop{

    position:fixed;

    right:30px;

    bottom:30px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    font-size:22px;

    display:none;

    z-index:999;

    box-shadow:var(--shadow);

}

#backToTop:hover{

    background:var(--primary-dark);

}

/* ===============================
UTILITY
================================= */

.shadow-soft{

    box-shadow:var(--shadow);

}

.rounded-xl{

    border-radius:25px;

}

.bg-primary-soft{

    background:#F8F0F2;

}