@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
:root{
    --main-color:#d3ad7f;
    --black:#13131a;
    --bg:#010103;
    --border:.1rem solid rgba(255,255,255,.3);

}
*{
    font-family: "Playfair Display", serif;
    margin: 0;padding: 0;
    box-sizing: border-box;
    outline:none ;border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: .2s linear;
}
html{
    font-size: 62.5%;
    
    scroll-padding-top:9rem ;
    scroll-behavior: smooth;

}
html::-webkit-scrollbar{
    width: .8rem;
}
html::-webkit-scrollbar-track{
    background: transparent;

}
html::-webkit-scrollbar-thumb{
    background: lavender;
    border-radius: 5rem;
}

body{
    background: black;
   color: aliceblue;
   min-height: 200vh;
}
section{
    padding: 2rem 7%;
}
.heading{
    text-align: center;
    color: aliceblue;
    text-transform: uppercase;
    padding-bottom: 3.5rem;
    font-size: 4rem;

}
.heading span{
    color: #fe840a;
    text-transform: uppercase;
}
.btn{
    margin-top: 1rem;
    display: inline-block;
    padding:.7rem 3rem;
    font-size:1.7rem;
    color: aliceblue;
    background: #d3ad7f;
    cursor: pointer;

}
.btn:hover{
    letter-spacing: .2rem;

}
.header{
    background: #010103;
    display: flex;
    align-items: center;
    justify-content:space-between;
    padding: 1.5rem 7%;
    border-bottom: #010103;
    position: fixed;
    top: 0;left: 0;right: 0;
    z-index: 1000;
    width: 100%;
}
.header .logo img {
  height: 10rem;
}
.header .navbar a{
    margin: 0.1rem;
    font-size: 1.6rem;
    color: aliceblue;
    margin: 20px;
}
.header .navbar a:hover{
    color: rgb(128, 103, 35);
    border-bottom: .1rem solid navajowhite;
    padding-bottom: .5rem;
}
.header .navbar.active {
    right: 0;
}
.header .icons div{
    color: aliceblue;
    font-size:1.5rem;
    margin-left:1.5rem;
    
    cursor:pointer;
}
.header .icons div:hover{
    color: #d3ad7f;
    
}
#menu-btn{
    display: none;
}
.header .search-form{
    position: absolute;
    top:115%;right: 7%;
    background: lavender;
    width: 50rem;
    height: 5rem;
    display: flex;
    align-items: center;
    transform: scaleY(0);
    transform-origin: top;

}
.header .search-form.active {
    transform: scaleY(1);
}

.header .search-form input{
    height: 100%;
    width: 100%;
    font-size: 1.6rem;
    color: var(--black);
    padding: 1rem;
    text-transform: none;
}

.header .search-form label{
    cursor: pointer;
    font-size: 2.2rem;
    margin-right: 1.5rem;
    color: #13131a;
}
.header .search-form label:hover{
    color: var(--main-color);
}
.header .cart-items-container{
    position: absolute;
    top: 100%;right: -100%;
    height: calc(100vh -9.5rem);
    width: 35rem;
    background: rgb(92, 62, 8);
    padding: 0 1.5rem;
}

.header .cart-items-container.active{
    right: 0;

}
.header .cart-items-container .cart-item{
    position: relative;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;

}
.header .cart-items-container .cart-item .fa-times{
    position: absolute;
    top:1rem; right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: aliceblue;

}
.header .cart-items-container .cart-item .fa-times:hover{
    color: rgb(13, 9, 4);
}
.header .cart-items-container .cart-item  img{
    height: 5rem;

}
 h3{
    font-size: 1.6rem;
    color: lavender;
    padding-bottom: .5rem;
}
 .price{
    font-size: 1.5rem;
    color: #fe840a;
   
}

.home{
   height: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url(cofe8.jpg) no-repeat;
    background-size:cover ;
    background-position:  center;
}
.home .content{
    max-width: 60rem;
}
.home .content h3{
    font-size: 6rem;
    text-transform: uppercase;
    color: aliceblue;
}
.home .content p{
    font-size: 1rem;
    font-weight: lighter;
    line-height: 1.8;
    padding: 1rem 0;
    color: aliceblue;
}

.about .row {
    display: flex;
    align-items: center;
    background: #010103;
    flex-wrap: wrap;
}
.about .row .image{
    flex: 1 1 45rem;
}
.about .row .image img{
    width: 40%;
}
.about .row .content{
    flex: 1 1 45rem;
    padding: 2rem;
}
.about .row .content h3{
    font-size: 3rem;
    color: aliceblue;
}
.about .row .content p{
    font-size: 1.6rem;
    color: #ccc;
  padding: 1rem 0 ;
line-height: 1.8;
}

.menu .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* يجعل المنتجات تتوزع تلقائيًا */
    gap: 2rem;
}
.menu .box-container .box{
    padding: 5rem;
    text-align: center;
    border:#d3ad7f;
    

}
.menu .box-container .box img{
    height: 10rem;
}
.menu .box-container .box h3{
    color: #ccc;
    font-size: 2rem;
    padding: 1rem 0;
}
.menu .box-container .box .price{
    color: #ccc;
    font-size: 2.5rem;
    padding: .5rem 0;
}
.menu .box-container .box .price span{
    color: #ccc;
    font-size: 1.5rem;
    text-decoration: line-through;
}
.menu .box-container .box:hover{
    background:#fff ;
}
.menu .box-container .box > *{
    background:rgb(14, 10, 7) ;
    
}
.products .box-container{
    
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(3rem.1fr));
    gap: 1,5rem;
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    
}
.products .heading h1{
    color: #b68314;
}
.products .box-container .box {
    padding: 1rem;
    text-align: center;
    border: #13131a;


}
 

.products .box-container .box .icons a{
    height: 2rem;
    width: 2rem; 
    line-height: 2rem;  
    font-size: 2rem;
    border: #13131a;
    color: #ccc;
    margin: 1rem;
}
.products .box-container .box .icons a:hover{
    background:rgb(10, 9, 9);
}
.products .box-container .box .image{
    padding: 0.5rem 0;
}

.products .box-container .box .image img{
    padding: 0.5rem ;
}
.products .box-container .box .content h3{
    color: #ccc;
    font-size: 2.5rem;
}
.products .box-container .box .content h3:hover{
    color: #0f0b0b;}
.products .box-container .box .content .stars{

    padding: 1.5rem;
}
.products .box-container .box .content .stars i{
font-size: 1.7rem;
color: #b68314;
}
.products .box-container .box .content .price{
    color: #ccc;
    font-size: 2.5rem;
}
.products .box-container .box .content .price span{
    font-size: 1.5rem;
    text-decoration: line-through;
    font-weight: lighter;

}

.products .box-container .box:hover{
    background: #614a0b;
}
.contact .row{
    display: flex;
    align-items: center;
    background: #010103;
    flex-wrap: wrap;
    gap: 1rem;
}
.contact .row .map{
    flex: 1 1 45rem;
    width: 100%;
    object-fit: cover;
}
.contact .row form{
    flex:1 1 45rem ;
    padding: 5rem 2rem;
    text-align: center;
}

.contact .row form h3{

text-transform: uppercase;
font-size: 3.5rem;
color: #ccc;
}
.contact .row form .inputBox{                    
    display: flex;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    background: #010103;
    border: #b68314;
}
.contact .row form .inputBox span{
    color: #ccc;
    font-size: 2rem;
    padding-left: 2rem;
}
.contact .row form .inputBox input{
    width: 100%;
    padding: 2rem;
    font-size: 1.7rem;
    color: #ccc;
    text-transform: none;
    background: none;
}
.blogs .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* يجعل المنتجات تتوزع تلقائيًا */
    gap:2rem;

}

.blogs .box-container .box{
    border: #b68314;
}
.blogs .box-container .box:hover .image {
    height: 24rem;
    overflow: hidden;
    width: 100%;
}

.blogs .box-container .box .image img{
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.blogs .box-container .box:hover .image img{

   transition: scale(1.2);

}

.blogs .box-container .box .content{
    padding: 2rem;
}

.blogs .box-container .box .content .title{
    font-size: 2.5rem;
    line-height: 1.5;
    color: #ccc;
}

.blogs .box-container .box .content .title:hover{
    color: #fe840a;
}

.blogs .box-container .box .content span{

color: #b68314;
display: block;
font-size: 2rem;
}

.blogs .box-container .box .content p{
    font-size: 1.6rem;
    line-height: 1.8;
    color: #fff;
    padding: 1rem 0;
}
.footer{
    background: #010103;
    text-align: center;
}
.footer .share{
    padding: 1rem 0;
}


.footer .share a{
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    color: #fff;
    border: #b68314;
    margin: .3rem;
    border-radius: 50%;

}
.footer .share a:hover{
    background-color: #b68314;
}
.footer .links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1rem 0;
    gap: 1rem;
}

.footer .links a{

    padding: 2rem 2rem;
    color: #fff;
    border: #b68314;
    font-size: 2rem;
}

.footer .links a:hover{
    background:#b68314;
}

.footer .credit{
    font-size: 2rem;
    color: #fff;
    font-weight: lighter;  
    padding: 1.5rem;
}
.footer .credit span{
    color: #b68314;
}








/*media queries */
@media(max-width:991px){
   
        html{
            font-size: 55%;
           
        }
        .header{
            padding: 1.5rem 2rem;
        }
        section{
            padding: 2rem ;
        }
    
    

}
@media(max-width:768px){
   #menu-btn{
    display:inline-block ;
   }
   .header .navbar{
    position: absolute;
    top: 100%;right: -100%;
    background: lavender;
    width: 30rem;
    height: calc(100vh - 9.5rem );
   }
   .header .navbar .active {
    right: 0;

   }
   .header .navbar a {
    color:black ;
    display: block;
    margin: 1.5rem;
    padding: .5rem;
    font-size: 2rem;
   }
   .header .search-form{
    width: 90%;
    right: 2rem;
   }
   .home{
    background-position: left;
    justify-content: center;

   }
   .home .content h3 {
    font-size: 7.5rem;
   }
   .home .content p{
    font-size: 2.5rem;
   }
}
@media(max-width:450px){
   
        html{
            font-size: 50%;
           
        }
       
    
    }