/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#faf8f4;
    color:#333;
}

h1,h2,h3{
    font-family:'Cormorant Garamond',serif;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}



/* ===========================
   NAVBAR
=========================== */

header{
    position:absolute;
    width:100%;
    top:0;
    z-index:1000;
}


.navbar{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:25px 8%;

}



.logo{

    display:flex;
    align-items:center;
    gap:12px;

}


.logo img{

    width:65px;
    height:65px;

    border-radius:50%;

    object-fit:cover;

}



.logo h1{

    color:white;

    font-size:38px;

}



/* MAIN MENU */

.nav-links{

    display:flex;

    align-items:center;

    gap:30px;

    list-style:none;

}



.nav-links li{

    position:relative;

}



.nav-links a{

    color:white;

    font-size:15px;

    transition:.3s;

}



.nav-links a:hover{

    color:#d8b26e;

}



/* CART */

#cart-count{

    background:#d8b26e;

    color:white;

    padding:2px 7px;

    border-radius:50%;

    font-size:12px;

}




/* ===========================
   DROPDOWN
=========================== */


.dropdown-menu{

    position:absolute;

    top:30px;

    left:0;


    width:180px;

    background:white;


    border-radius:12px;


    padding:10px 0;


    opacity:0;

    visibility:hidden;


    transition:.3s;


    box-shadow:0 10px 30px rgba(0,0,0,.15);


}



.dropdown-menu li{

    list-style:none;

}



.dropdown-menu a{


    color:#333;

    display:block;

    padding:12px 20px;


}



.dropdown-menu a:hover{

    background:#faf3e7;

    color:#c9a45c;

}



.dropdown:hover .dropdown-menu{

    opacity:1;

    visibility:visible;

}



/* ===========================
   HERO
=========================== */


.hero{

    height:100vh;

    background:url("pictures/hero.jpg") center/cover no-repeat;

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

}



.hero-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.45);

}



.hero-content{

    position:relative;

    color:white;

    text-align:center;

}



.hero-content h2{

    font-size:75px;

    margin-bottom:20px;

}



.hero-content p{

    font-size:20px;

    margin-bottom:35px;

}



.shop-btn{

    background:#d8b26e;

    color:white;

    padding:15px 45px;

    border-radius:50px;

    display:inline-block;

    transition:.3s;

}



.shop-btn:hover{

    background:#b88d3d;

}



/* ===========================
 COLLECTIONS
=========================== */


.collections{

    padding:100px 8%;

}



.collections h2,
.featured h2{

    text-align:center;

    font-size:50px;

    margin-bottom:50px;

}



.collection-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}



.collection-card{

    background:white;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.3s;

    color:#333;

}



.collection-card:hover{

    transform:translateY(-8px);

}



.collection-card img{

    height:320px;

    width:100%;

    object-fit:cover;

}



.collection-card h3{

    text-align:center;

    padding:20px;

    font-size:30px;

}



/* ===========================
 PRODUCTS
=========================== */


.featured{

    padding:100px 8%;

}



.product-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}



.product{

    background:white;

    border-radius:20px;

    overflow:hidden;

    text-align:center;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}



.product img{

    height:300px;

    object-fit:cover;

}



.product h3{

    font-size:28px;

    margin:20px 0 10px;

}



.product p{

    color:#b88d3d;

    font-size:20px;

    font-weight:600;

}



.add-cart{

    margin:20px;

    padding:12px 35px;

    border:none;

    border-radius:30px;

    background:#d8b26e;

    color:white;

    cursor:pointer;

}



.add-cart:hover{

    background:#b88d3d;

}




/* ===========================
 ABOUT
=========================== */


.about{

    background:white;

    padding:100px 15%;

    text-align:center;

}



.about-box h2{

    font-size:50px;

    margin-bottom:25px;

}



.about-box p{

    font-size:18px;

    line-height:1.8;

}




/* ===========================
 FOOTER
=========================== */


footer{

    background:#222;

    color:white;

    text-align:center;

    padding:60px 20px;

}



footer h2{

    font-size:40px;

}



.footer-links{

    margin:25px;

    display:flex;

    justify-content:center;

    gap:30px;

}



.footer-links a{

    color:white;

}



/* ===========================
 MOBILE
=========================== */


@media(max-width:900px){


.navbar{

    flex-direction:column;

    gap:25px;

}


.nav-links{

    flex-wrap:wrap;

    justify-content:center;

}


.hero-content h2{

    font-size:45px;

}


}