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

html{
    scroll-behavior:smooth;
}


body{
    font-family:Inter, sans-serif;
    background:#fff;
    color:#111;
}


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


img{
    display:block;
    width:100%;
}


.wrapper{
    width:min(1400px,92%);
    margin:auto;
}



/* HEADER */

.header{
    background:#fff;
    border-bottom:1px solid #ececec;
}


.navbar{
    height:90px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}


.logo{
    display:flex;
    flex-direction:column;
    text-decoration:none;
}


.logo-main{
    font-size:32px;
    font-weight:900;
    color:#111;
    line-height:1;
}


.logo-sub{
    font-size:12px;
    color:#777;
    letter-spacing:1px;
    margin-top:4px;
}


.nav-menu{
    display:flex;
    align-items:center;
    gap:40px;
    list-style:none;
}


.nav-menu a{
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;
    transition:.25s;
}


.nav-menu a:hover{
    color:#666;
}


.nav-right{
    display:flex;
    align-items:center;
    gap:18px;
}


.header-btn{
    background:#111;
    color:#fff;
    padding:14px 24px;
    border-radius:6px;
    font-size:13px;
    font-weight:700;
}


.header-btn:hover{
    background:#333;
}


.nav-icon{
    font-size:22px;
    transition:.25s;
}


.nav-icon:hover{
    transform:scale(1.1);
}

.nav-menu a{
    font-weight:600;
    transition:.25s;
}


.nav-menu a:hover{
    opacity:.6;
}



/* HERO */


.hero{
    width:min(1500px,95%);
    margin:40px auto 0;
    display:grid;
    grid-template-columns:45% 55%;
    align-items:center;
    gap:0;
    min-height:760px;
}


.hero-label{
    display:inline-block;
    margin-bottom:25px;
    font-size:12px;
    letter-spacing:4px;
    color:#777;
}


.hero h1{
    font-size:110px;
    line-height:.88;
    font-weight:900;
    letter-spacing:-5px;
    margin-bottom:35px;
    text-transform:uppercase;
}


.hero p{
    font-size:18px;
    color:#666;
    line-height:1.8;
    max-width:500px;
    margin-bottom:35px;
}


.hero-actions{
    display:flex;
    gap:20px;
}



.btn-dark,
.btn-light{
    padding:18px 40px;
    border-radius:6px;
    transition:.25s ease;
}


.btn-dark{
    background:#111;
    color:#fff;
}


.btn-light{
    border:1px solid #111;
}



.btn-dark:hover,
.card-body a:hover{
    transform:translateY(-3px);
    opacity:.85;
}


.btn-light:hover{
    background:#111;
    color:#fff;
}




.hero-right{
    height:760px;
    overflow:hidden;
}


.hero-right img{
    width:100%;
    height:100%;
    object-fit:cover;
}



/* SECTION */


.section{
    width:min(1400px,92%);
    margin:100px auto;
}


.section-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:40px;
}


.section-head h2{
    font-size:42px;
    letter-spacing:-1px;
}



/* CARDS */


.cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}



.card{
    border:1px solid #eaeaea;
    border-radius:20px;
    overflow:hidden;
    background:#fff;
    transition:.35s ease;
}



.card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(0,0,0,.08);
}



.card img{
    height:260px;
    object-fit:cover;
}



.card-body{
    padding:24px;
}



.card-body span{
    color:#888;
    font-size:14px;
}



.card-body h3{
    margin:15px 0;
    font-size:22px;
}



.card-body h4{
    font-size:28px;
    font-weight:800;
    letter-spacing:-1px;
    margin-bottom:10px;
}



.card-body p{
    color:#777;
    margin-bottom:20px;
}



.card-body a{
    display:inline-block;
    background:#111;
    color:#fff;
    padding:12px 24px;
    border-radius:6px;
    transition:.25s ease;
}



/* FOOTER */


.footer{
    border-top:1px solid #ececec;
    padding:50px 0;
    margin-top:80px;
}


.footer-top{
    margin-bottom:25px;
}


.footer-bottom{
    display:flex;
    justify-content:space-between;
}




/* TABLET */


@media(max-width:1000px){


.hero{
    grid-template-columns:1fr;
}


.cards{
    grid-template-columns:1fr 1fr;
}


.hero-right{
    height:450px;
}


}



/* MOBILE */


@media(max-width:700px){


.cards{
    grid-template-columns:1fr;
}


.navbar{
    flex-direction:column;
    gap:20px;
}


.nav-menu{
    flex-wrap:wrap;
    justify-content:center;
}


.hero h1{
    letter-spacing:-1px;
}


}/* PROFILE */


.profile-page{
    width:min(1200px,92%);
    margin:80px auto;
}


.profile-box{
    text-align:center;
    padding:50px;
    border:1px solid #eee;
    border-radius:25px;
    margin-bottom:80px;
}


.profile-avatar{
    width:130px;
    height:130px;
    margin:auto;
    margin-bottom:25px;
}


.profile-avatar img,
.profile-avatar{
    border-radius:50%;
}


.profile-avatar img{
    width:130px;
    height:130px;
    object-fit:cover;
}



.profile-box h1{
    font-size:42px;
    margin-bottom:10px;
}


.profile-box p{
    color:#777;
    margin-bottom:10px;
}


.profile-box span{
    display:block;
    color:#777;
    margin-bottom:30px;
}



.profile-section{
    margin-bottom:80px;
}


.profile-section h2{
    font-size:40px;
    margin-bottom:40px;
}



.favorite-item{
    border:1px solid #eee;
    border-radius:15px;
    padding:25px;
    margin-bottom:20px;
}


.favorite-item h3{
    margin-bottom:10px;
}


.favorite-item a{
    display:inline-block;
    margin-top:15px;
    background:#111;
    color:#fff;
    padding:12px 25px;
    border-radius:6px;
}/* ADS PAGE */


.ads-layout{
    display:grid;
    grid-template-columns:280px 1fr;
    gap:50px;
}


.filters{
    border:1px solid #eee;
    padding:30px;
    border-radius:20px;
    height:max-content;
}


.filters h3{
    font-size:25px;
    margin-bottom:25px;
}


.filters input,
.filters select{
    width:100%;
    padding:15px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:15px;
}


.filters button{
    border:none;
    cursor:pointer;
    width:100%;
}



.ads-layout .cards{
    grid-template-columns:repeat(3,1fr);
}



@media(max-width:1000px){

.ads-layout{
    grid-template-columns:1fr;
}


.ads-layout .cards{
    grid-template-columns:1fr 1fr;
}

}


@media(max-width:700px){

.ads-layout .cards{
    grid-template-columns:1fr;
}

}/* CREATE AD */


.create-page{
    width:min(800px,92%);
    margin:80px auto;
}


.create-box{
    border:1px solid #eee;
    border-radius:25px;
    padding:50px;
}


.create-box h1{
    font-size:45px;
    margin-bottom:15px;
}


.create-box p{
    color:#777;
    margin-bottom:40px;
}



.create-box form p{
    margin-bottom:20px;
}


.create-box label{
    display:block;
    font-weight:600;
    margin-bottom:8px;
}



.create-box input,
.create-box textarea,
.create-box select{
    width:100%;
    padding:15px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
}



.create-box textarea{
    min-height:150px;
    resize:vertical;
}



.create-btn{
    border:none;
    cursor:pointer;
    margin-top:20px;
}/* DETAIL PAGE */


.detail-page{

    width:min(1200px,92%);
    margin:80px auto;

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;

    align-items:start;

}



.detail-image{

    border-radius:25px;
    overflow:hidden;

}



.detail-image img{

    width:100%;
    height:600px;
    object-fit:cover;

}



.detail-info span{

    color:#888;
    font-size:14px;

}



.detail-info h1{

    font-size:55px;
    line-height:1;
    margin:20px 0;

}



.detail-info h2{

    font-size:38px;
    margin-bottom:30px;

}



.description{

    color:#555;
    font-size:18px;
    line-height:1.7;
    margin-bottom:30px;

}



.location{

    margin-bottom:35px;
    font-size:18px;

}



.seller{

    border-top:1px solid #eee;
    padding-top:25px;
    margin-bottom:35px;

}



.seller h3{

    margin-bottom:15px;

}



@media(max-width:900px){


.detail-page{

    grid-template-columns:1fr;

}


.detail-image img{

    height:400px;

}


.detail-info h1{

    font-size:40px;

}


}/* SEARCH */

.search-section{
    width:min(1400px,92%);
    margin:-30px auto 90px;
    position:relative;
    z-index:20;
}

.search-box{
    display:grid;
    grid-template-columns:2fr 1.2fr 1.2fr 1fr 1fr auto;
    background:#fff;
    border:5px solid #111;
}

.search-box input,
.search-box select{
    border:none;
    border-right:1px solid #ddd;
    padding:24px;
    font-size:15px;
    outline:none;
    background:#fff;
}

.search-box button{
    border:none;
    background:#111;
    color:#fff;
    padding:0 35px;
    font-weight:700;
    cursor:pointer;
}

.search-box button:hover{
    background:#333;
}