
*{
    margin: 0 ; 
    padding: 0;
    box-sizing: border-box;
}

:root{
    --background : #E9E9E9;
    --background-secondary : #D9D9D9;
}



/* Container  */
.container{
    padding: 0 15px;
    margin: 0 auto;
}



@media (min-width:768px){
    .container {
        width: 750px ;
    }
}

@media (min-width:992px){
    .container {
        width: 950px ;
    }
}
@media (min-width:1200px){
    .container {
        width: 1150px ;
    }
}

@media (max-width:767px){
    .container {
        width: 95% ;
    }
}

/* Rules  */
body{
background-color: var(--background);
font-family: Tahoma , Arial , sans-serif;
}
img , video{
    max-width: 100%;
    max-height: 100%;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}


/* Start header  */
header{
    background-color: var(--background-secondary);
    height: 80px;
}
header .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    position: relative;
}


header .menu-icon{
    display: block;
    width: 35px;
    height: 25px;
    cursor: pointer;
}
@media (min-width:768px) {
    header .menu-icon{
        display: none;
    }

}    
   

header .menu-icon span{
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: black;
}
header .menu-icon span:first-child{
    top: 0;
}
header .menu-icon span:nth-child(2){
    bottom: 50%;
    transform: translateY(50%);
}
header .menu-icon span:last-child{
    bottom: 0;
}

header .links{
    display: none;
    transition: 0.3s;
}
header nav {
    position: relative;
}
header .links > li{
    padding:7px  15px;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}
@media (min-width:768px) {
    header .links {
        display: flex;
    }
}
@media (max-width:767px) {
    header nav:hover .links{
        display: flex;
        position: absolute;
        padding: 10px;
        right: 0;
        flex-direction: column;
        top: 200% ;
        background-color: #FCEFDB;
        border-radius: 6px;
        z-index: 999;
    }
    header .links::before{
        content: '';
        position: absolute;
        right: 6px;
        top: 0;
        border : 15px solid ;
        border-color: transparent transparent #FCEFDB transparent;
        transform: translateY(-100%);
    }
    header  .links li {
        margin: 5px 0;
    }
} 
header .links li a{
    font-size: 18px;
    transition: 0.3s;
    color: #000;
}
header .links li.active > a , header .links li:hover > a{
    color: #FFA92E;
}

header .links li:hover , header .links li.active{
    border-bottom-color: #FFA92E;
}
header .links li:has(ul){
    position: relative;
}
header .links li:has(ul) a{
    display: flex;
    align-items: center;
    gap: 5px;
}

header .links li .products-list{
    display: none;
    flex-direction: column;
    position: absolute;
    background-color: #FCEFDB;
    padding: 10px 5px;
    top: calc(100%  );
    right: 0;
    border-radius: 6px;
    line-height: 1.5;
}
header .links li:hover .products-list{
    display: block;
    z-index: 1000;
}
header .links li .products-list li{
    margin: 5px 0;
    border-bottom: 1px solid var(--background);
    padding: 7px 10px ;
}
header .links li .products-list li:hover{
    border-bottom-color: #FFA92E;
}
@media (max-width : 767px){
    header .links li .products-list{
        right: 100% ;
        top: 0;
        position: static;
    }
    header .links li .products-list li{
        padding: 0;
    }
}

/* End header  */


/* Start Into  */

.intro .container{
    display: flex;
    gap: 50px;
    align-items: center;
}
@media (max-width:991px){
    .intro .container{
        flex-direction: column;
        gap: 30px;
    }

}
.intro .right{
    flex: 1 0;
}
.intro .left{
    flex: 1 0;
}
.intro .right .box-holder{
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 20px 0;
}
.intro .box{
    position: relative;
    color: #fff;
}
.intro .box img{
    width: 100%;
}
.intro .box .info {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0 ,0 ,0, 0.6);
    gap: 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.intro .box:not(.left) .info {
    align-items: center;
}
.intro .box.left .info {
    align-items: flex-start;
    padding-left: 30px;
}
.intro .box .info p{
    text-align: center;
}
.intro .box .info .button{
    padding: 5px 7px;
    border:1px solid #fff;
    color: #fff;
    transition: 0.3s;

}
.intro .box .info .button:hover{
    transform: translateY(-5px);
    box-shadow:   0 0 10px #000;
}
/* End Into  */



















.container .products{
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit , minmax(350px , 1fr));
}
.item{
    background-color: #D9D9D9;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
}
.item .image {
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.item .info{
    margin-top: 10px;

}
.item .info > div{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.item .info .icons  i{
    display: inline-block;
    cursor: pointer;
    font-size: 20px;
    margin:  0 5px;
    pointer-events: none;
}
.item .info .icons .heart  i{
    color: red;
}






footer{
    color: #fff;
}
footer .footer{
    padding: 20px 0;
    background-color: #1E1E1E;
}
footer .footer .container{
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

footer .footer .container > div{
    flex:  1 0 250px;
}
@media (max-width:767px){
    footer .footer .container{
        flex-direction: column;
        gap: 20px;
    }
    footer .footer .container > div{
        flex: 1 0 auto;
    }
}
footer .footer h3{
    margin-bottom: 15px;
}
@media (max-width:767px){
    footer .footer h3 {
        font-size: 16px ;
    }
}
footer .footer p{
    margin: 7px 0;
    font-size: 14px;
}
footer .footer ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
footer .footer ul li a{
    font-size: 14px;
    color: #fff;
    transition: 0.3s;
}
footer .footer ul li a:hover{
    color: #FFA92E;
}

footer .copyright{
    background-color: #000;
    padding: 10px;
    text-align: center;
}