/* start global rules */
html {
    scroll-behavior: smooth;
}

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

:root {
    --maincolor: #D4AF37;
    --maincolor-alt: #FFD700;
    --main-transition-dur: 0.3s;
}

body {
    font-family: "cairo", sans-serif;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
    margin: auto;
}

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

@media (min-width:992px) {
    .container {
        width: 970px;
    }
}

@media (min-width:1200px) {
    .container {
        width: 1170px;
    }
}

a {
    text-decoration: none;
    color: black;
}

li {
    list-style: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-title {
    width: fit-content;
    text-transform: uppercase;
    margin: 0 auto 80px;
    letter-spacing: 1;
    position: relative;
    transition: var(--main-transition-dur);
    z-index: 1;
}

.main-title::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background-color: black;
}
.header{
    background-color: black;
    position: relative;
    padding: 0 10px 10px;
}
.header .top{
    display: flex;
    justify-content: space-between;
}
@media(max-width:767px){
    .header .top{
        flex-direction: column;
        gap: 10px;
    }
}
@media(max-width:767px){
    .header .top .bar{
        gap: 10px;
    }
}
.header .top .logo img{
    max-width: 100%;
}
.header .top .bar{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.header .top .bar ul{
    display: flex;
    gap: 20px;
    align-items: center;
}
.header .top .bar ul li a{
    color: white;
    transition: var(--main-transition-dur);
}
.header .top .bar ul li a:hover{
    color: var(--maincolor);
    transform: translateY(-20px);
}
.search-section{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.search-section .search{
    height: 30px;
        background-color: #ddd;
        width: 400px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding:10px;
        border-radius:30px;
        overflow: hidden;
}
@media (max-width:767px) {
    .search-section .search{
        width: 250px;
        margin-bottom: 20px;
    }
}
.search-section .search input{
    border: none;
        font-size: 14px;
    background-color: inherit;
    width: 100%;
}
.search-section .search input:focus{
    outline: none;
}
.search-section .search button{
    border: none;
    background-color: var(--maincolor);
    height: inherit;
    padding-right: 30px;
    padding-left: 5px;
    transform: translateX(30px);
}
.search-section .search button:hover{
    cursor: pointer;
}
.search-section .search button i{
    font-size: 22px;
}
.search-section .account a{
    color: var(--maincolor);
}
.search-section .account{
    display: flex;
    gap: 20px;
}
.search-section .account a i{
    font-size: 22px;
}
.header .bottom{
    width: 50%;
    margin: auto;
}
@media (max-width:767px) {
    .header .bottom{
        width: 100%;
    }
}
.header .bottom ul{
    display: flex;
    justify-content: space-evenly;
    /* gap: 30px; */
    align-items: center;
}
.header .bottom ul li a{
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}
.header .bottom ul li a:hover{
    color: var(--maincolor);
}
.header .bottom ul li a.active{
    color: var(--maincolor);
}
/* end header */
.ved video{
    width: 100%;
    height: 100%;
}
.best-seller{
    padding-top: 50px;
    padding-bottom: 50px;
}
.best-seller .container{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}
.container .box{
    text-align: center;
    font-weight: bold;
    min-height: 430px;
}
.container .box:hover img{
    transform: scale(1.1) rotate(5deg);
}
.container .box img{
    max-width: 100%;
    transition: var(--main-transition-dur);
}
.container .box p{
    color: var(--maincolor);
}
.container .box span{
    display: block;
    padding: 15px 0;
}
.container .box button{
    display: block;
    width: 100%;
    color: var(--maincolor);
    margin-bottom: 15px;
    border-radius: 20px;
    /* background-color: rgba(0, 0, 0, 0.808); */
    background-color: black;
    padding: 5px;
    text-transform: capitalize;
    font-weight: bold;
    transition: var(--main-transition-dur);
}
.container .box button:hover{
    cursor: pointer;
    transform: scale(1.1);
}
.landing {
    height: 600px;
    background-image: url("../images/landing2.png");
    background-size: cover;
    position: relative;
}
.landing::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.447);
}
.landing span{
    position: absolute;
    left: 20px;
    top: 20px;
    font-size: 40px;
    font-weight: bold;
    color: #ddd;
    text-transform: uppercase;
    word-spacing: 4px;
}
.top-brands{
    padding-top: 50px;
    padding-bottom: 50px;
}
.top-brands .container .brands{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
    gap: 30px;
    align-items: center;
    margin-top: -30px;
}
.top-brands .container .brands img{
    max-width: 100%;
}
@media (max-width:767px) {
    .top-brands .container .brands img {
            max-width: 100%;
            margin-right: 100%;
        }
}
.top-brands .content{
    display: flex;
}
.top-brands .content .image{
    width: 50%;
    position: relative;
    opacity: 0;
        transform: translateY(50px);
        transition: all 1s ease;
}
@media (max-width:767px) {
    .top-brands .content{
        flex-direction: column;
    }
}
@media (max-width:767px) {
    .top-brands .content .image{
        width: 100%;
    }
}
.top-brands .content .image.show {
    opacity: 1;
    transform: translateY(0);
}
.top-brands .content .image img{
    max-width: 100%;
    height: 100%;
}
.top-brands .content .image span{
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    display: block;
    z-index: 3;
    font-size: 25px;
    font-weight: bold;
    background-color: black;
    color: var(--maincolor);
    text-transform: uppercase;
}
/* end top brands */
.new-arrival .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}
/* end new arrival */
.about-us{
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: black;
}
.about-us .main-title h2{
    color: var(--maincolor);
}
.about-us .main-title::after{
    background-color: var(--maincolor-alt);
}
.about-us .container{
    display: flex;
    justify-content: space-between;
    gap: 50px;
}
@media (max-width:767px) {
    .about-us .container{
        flex-direction: column;
    }
        .about-us .container .photo img{
            max-width: 100%;
        }
}
.about-us .container .text{
    color: white;
    line-height: 1.6;
}
.about-us .container .text p{
    padding: 20px 0;
    font-size: 22px;
}
.about-us .container .text a{
    color: var(--maincolor);
    text-decoration: underline;
    font-size: 20px;
    text-transform: uppercase;
}
/* end about us */
.blogs{
    padding-top: 50px;
    padding-bottom: 50px;
}

.blogs .content{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(400px,1fr));
    gap: 20px;
    padding: 0 20px;
}
@media (max-width:767px) {
    .blogs .content {
        padding: 0 0;
    }
}
.blogs .content .box{
    border: 1px solid #777;
    background-color: black;
    color: white;
}
.blogs .content .box .photo{
    overflow: hidden;
}

@media (max-width:991px) {
    .blogs .content .box .photo img {
            width: 100%;   
        }
}
.blogs .content .box .info{
    padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.blogs .content .box img{
    max-width: 100%;
    transition: var(--main-transition-dur);
}
.blogs .content .box img:hover{
    transform: scale(1.1) rotate(5deg);
}
.blogs .content .box p{
    font-size: 25px;
    color: var(--maincolor);
    padding: 10px 0;
}
.blogs .content .box span{
    font-size: 14px;
}
.blogs .content .box a{
    background-color: var(--maincolor);
    font-size: 18px;
    padding: 0 10px;
    display: block;
    width: fit-content;
    margin: 10px 0;
    text-transform: capitalize;
}
/* end blogs */
.features{
    padding: 25px 0;
    background-color: black;
    color: white;
}
.features .container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-size: 18px;
}
@media (max-width:767px) {
    .features .container{
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}
.features .container span i{
    margin-right: 5px;
    color: var(--maincolor);
}
/* end features */
.contact-us{
    padding: 50px 0;
    background-color: black;
    color: var(--maincolor);
}
.contact-us .container .contain{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
    gap: 30px;
}
.contact-us .container .contain .column{
    display: flex;
    flex-direction: column;
}
.contact-us .container .contain .column a{
    color: white;
    font-size: 14px;
}
.contact-us .container .contain .column a i{
    margin-right: 5px;
}
.contact-us .container .contain .column a:hover{
    color: var(--maincolor-alt);
}
.contact-us .container .contain .column p{
    color: white;
}
.contact-us .container .contain .column input{
    width: 100%;
    padding: 10px;
    outline: none;
    margin-bottom: 20px;
    margin-top: 20px;
}
.contact-us .container .contain .column button{
    width: 100%;
        padding: 10px;
        background-color: var(--maincolor);
        font-weight: bold;
        text-transform: uppercase;
}
.contact-us .container .contain .column button:hover{
    cursor: pointer;
}
@media (max-width:767px) {
    .contact-us .container .contain .sub{
        width: 100%;
    }
}
footer{
    margin: auto;
    background-color: black;
    color: var(--maincolor);
    font-size: 14px;
    text-align: center;
    padding-bottom: 10px;
}