*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    background:#f5f5f5;

    font-family:Arial,sans-serif;

    color:#111;

}

/* HERO */

.hero{

    height:520px;

    background-size:cover;

    background-position:center;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    color:white;

    padding:20px;

}

.hero-overlay{

    width:100%;
    height:100%;

    background:
    linear-gradient(
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.55)
    );

    display:flex;

    justify-content:center;

    align-items:center;

}

.hero h1{

    font-size:72px;

    font-weight:900;

    letter-spacing:-2px;

    margin-bottom:20px;

}

.hero p{

    font-size:22px;

}

/* SEARCH */

.search-wrap{

    max-width:1200px;

    margin:auto;

    margin-top:-45px;

    position:relative;

    z-index:20;

    padding:0 20px;

}

.search-box{

    background:white;

    border-radius:24px;

    padding:24px;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.12);

}

.search-grid{

    display:grid;

    grid-template-columns:
    2fr 1fr 1fr auto;

    gap:14px;

}

.search-grid input,
.search-grid select{

    height:56px;

    border:1px solid #ddd;

    border-radius:14px;

    padding:0 16px;

    font-size:15px;

}

.search-grid button{

    border:none;

    border-radius:14px;

    background:#111;

    color:white;

    padding:0 28px;

    font-weight:700;

    min-height:56px;

    width:100%;

    cursor:pointer;

    font-size:15px;

}

/* SECTION */

.section{

    max-width:1300px;

    margin:auto;

    padding:60px 20px;

}

.section-title{

    font-size:42px;

    margin-bottom:35px;

}

/* CATEGORY */

.category-row{

    display:flex;

    gap:18px;

    overflow:auto;

    padding-bottom:10px;

}

.category{

    min-width:170px;

    background:white;

    border-radius:22px;

    padding:30px;

    text-align:center;

    font-weight:700;

    box-shadow:
    0 4px 14px rgba(0,0,0,0.08);

}

/* GRID */

.grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(290px,1fr));

    gap:24px;

}

/* CARD */

.card{

    background:white;

    border-radius:28px;

    overflow:hidden;

    text-decoration:none;

    color:#111;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.08);

    transition:0.25s;

}

.card:hover{

    transform:translateY(-6px);

}

.card-image{

    height:240px;

    overflow:hidden;

    position:relative;

}

.card-image img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.featured{

    position:absolute;

    top:14px;

    left:14px;

    background:#ffba00;

    color:#111;

    padding:8px 12px;

    border-radius:999px;

    font-size:12px;

    font-weight:700;

}

.card-body{

    padding:24px;

}

.card-title{

    font-size:21px;

    font-weight:800;

    line-height:1.5;

}

.price{

    color:#d0011b;

    font-size:34px;

    font-weight:900;

    margin-top:12px;

}

.location{

    margin-top:12px;

    color:#777;

}


/* MOBILE */

@media(max-width:900px){

    .search-grid{

        grid-template-columns:1fr;

    }

    .hero h1{

        font-size:48px;

    }
    
    .search-grid button{

        width:100%;
    
    }

}

@media(max-width:768px){

    .hero{

        height:420px;

    }

    .hero h1{

        font-size:38px;

    }

    .hero p{

        font-size:18px;

    }

    .section-title{

        font-size:32px;

    }

}

/* =====================================
CREATE PAGE
===================================== */

.create-wrap{

    max-width:1000px;

    margin:40px auto;

    padding:0 20px;

}

.create-card{

    background:white;

    border-radius:28px;

    padding:36px;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.08);

}

.create-title{

    font-size:42px;

    font-weight:900;

    margin-bottom:10px;

}

.create-subtitle{

    color:#777;

    margin-bottom:35px;

    line-height:1.7;

}

.form-grid{

    display:grid;

    grid-template-columns:
    repeat(2,minmax(0,1fr));

    gap:22px;

}

.form-group{

    display:flex;

    flex-direction:column;

}

.full{

    grid-column:1/-1;

}

.form-group label{

    margin-bottom:10px;

    font-weight:700;

}

.form-group input,
.form-group textarea,
.form-group select{

    border:1px solid #ddd;

    border-radius:16px;

    padding:16px;

    font-size:15px;

    background:white;

}

.form-group textarea{

    min-height:180px;

    resize:vertical;

}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus{

    outline:none;

    border-color:#111;

}

.note{

    margin-top:10px;

    color:#777;

    font-size:14px;

    line-height:1.6;

}

.submit-btn{

    height:58px;

    border:none;

    border-radius:16px;

    background:#111;

    color:white;

    font-size:17px;

    font-weight:800;

    padding:0 32px;

    cursor:pointer;

    margin-top:10px;

}

.alert{

    padding:18px 20px;

    border-radius:16px;

    margin-bottom:25px;

}

.success{

    background:#e9fff1;

    color:#0b7d37;

}

.error{

    background:#ffe9e9;

    color:#c10000;

}

/* MOBILE */

@media(max-width:900px){

    .form-grid{

        grid-template-columns:1fr;

    }

}

@media(max-width:768px){

    .create-wrap{

        padding:0 14px;

        margin:20px auto;

    }

    .create-card{

        padding:22px;

        border-radius:22px;

    }

    .create-title{

        font-size:30px;

    }

    .submit-btn{

        width:100%;

    }

}

/* =====================================
AUTH / CREATE
===================================== */

.create-wrap{

    max-width:900px;

    margin:40px auto;

    padding:0 20px;

}

.create-card{

    background:white;

    border-radius:28px;

    padding:36px;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.08);

}

.create-title{

    font-size:42px;

    font-weight:900;

    margin-bottom:10px;

}

.create-subtitle{

    color:#777;

    margin-bottom:35px;

    line-height:1.7;

}

.form-grid{

    display:grid;

    grid-template-columns:1fr;

    gap:22px;

}

.form-group{

    display:flex;

    flex-direction:column;

}

.form-group label{

    margin-bottom:10px;

    font-weight:700;

}

.form-group input{

    border:1px solid #ddd;

    border-radius:16px;

    padding:16px;

    font-size:15px;

}

.form-group input:focus{

    outline:none;

    border-color:#111;

}

.submit-btn{

    height:58px;

    border:none;

    border-radius:16px;

    background:#111;

    color:white;

    font-size:17px;

    font-weight:800;

    padding:0 32px;

    cursor:pointer;

    margin-top:10px;

}

.alert{

    padding:18px 20px;

    border-radius:16px;

    margin-bottom:25px;

}

.success{

    background:#e9fff1;

    color:#0b7d37;

}

.error{

    background:#ffe9e9;

    color:#c10000;

}

@media(max-width:768px){

    .create-wrap{

        padding:0 14px;

        margin:20px auto;

    }

    .create-card{

        padding:22px;

        border-radius:22px;

    }

    .create-title{

        font-size:30px;

    }

    .submit-btn{

        width:100%;

    }

}



/* =====================================
CATEGORY
===================================== */

.category-row{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(160px,1fr));

    gap:18px;

}

/* CATEGORY CARD */

.category{

    background:white;

    border-radius:22px;

    padding:26px 20px;

    text-align:center;

    font-weight:700;

    text-decoration:none;

    color:#111;
    
    transition:0.25s;

    box-shadow:
    0 4px 14px rgba(0,0,0,0.08);

    transition:0.25s;

    display:flex;

    justify-content:center;

    align-items:center;

    min-height:110px;

    line-height:1.6;

}

/* HOVER */

.category:hover{

    transform:translateY(-5px);

    box-shadow:
    0 12px 28px rgba(0,0,0,0.12);

}

/* MOBILE */

@media(max-width:768px){

    .category-row{

        grid-template-columns:
        repeat(2,minmax(0,1fr));

        gap:14px;

    }

    .category{

        min-height:90px;

        padding:18px 12px;

        font-size:14px;

        border-radius:18px;

    }

}

@media(max-width:480px){

    .category{

        min-height:82px;

        font-size:13px;

    }

}



/* =====================================
ADSENSE
===================================== */

.adsense-card{

    margin-bottom:24px;

}

.adsense-label{

    font-size:11px;

    font-weight:700;

    color:#999;

    text-transform:uppercase;

    letter-spacing:1px;

    margin-bottom:10px;

    padding-left:4px;

}

.adsense-wrap{

    width:100%;

    overflow:visible;

}

.adsense-wrap ins{

    display:block !important;

    width:100% !important;

    max-width:100% !important;

}

/* MOBILE */

@media(max-width:768px){

    .adsense-card{

        margin-bottom:18px;

    }

}
/* =====================================
FOOTER
===================================== */

.footer{

    background:#111;

    color:white;

    margin-top:80px;

    padding:70px 20px 30px;

}

/* GRID */

.footer-grid{

    max-width:1300px;

    margin:auto;

    display:grid;

    grid-template-columns:
    1.5fr 1fr 1fr 1fr;

    gap:50px;

}

/* LOGO */

.footer-logo{

    display:inline-flex;

    align-items:center;

    gap:14px;

    text-decoration:none;

    color:white;

    font-size:34px;

    font-weight:900;

    letter-spacing:-1px;

    line-height:1;

    white-space:nowrap;

}

/* IMAGE */

.footer-logo img{

    width:52px;

    height:52px;

    object-fit:contain;

    display:block;

    flex-shrink:0;

}

/* TEXT */

.footer-logo > span{

    display:inline-flex;

    align-items:center;

}

/* YELLOW */

.footer-logo span span{

    color:#39B97F;

}

/* HOVER */

.footer-logo:hover,
.footer-logo:focus,
.footer-logo:visited{

    text-decoration:none;

    color:white;

}

/* TEXT */

.footer-text{

    color:#bbb;

    line-height:1.9;

    font-size:15px;

}

/* TITLE */

.footer-title{

    font-size:18px;

    margin-bottom:18px;

    font-weight:800;

}

/* LINKS */

.footer a{

    color:#bbb;

    text-decoration:none;

    margin-bottom:14px;

    transition:0.25s;

    font-size:15px;

}

.footer-grid > div a:not(.footer-logo){

    display:block;

}

.footer a:hover{

    color:white;

    transform:translateX(4px);

}

/* BOTTOM */

.footer-bottom{

    max-width:1300px;

    margin:50px auto 0;

    padding-top:24px;

    border-top:1px solid rgba(255,255,255,0.08);

    color:#999;

    font-size:14px;

}

/* TABLET */

@media(max-width:900px){

    .footer-grid{

        grid-template-columns:
        repeat(2,minmax(0,1fr));

        gap:40px;

    }

}

/* MOBILE */

@media(max-width:768px){

    .footer{

        padding:50px 20px 25px;

    }

    .footer-grid{

        grid-template-columns:1fr;

        gap:35px;

    }

    .footer-logo{

        font-size:26px;

    }

    .footer-logo img{

        width:42px;

        height:42px;

    }

    .footer-title{

        margin-bottom:14px;

    }

    .footer a{

        margin-bottom:12px;

    }

    .footer-bottom{

        margin-top:35px;

        text-align:center;

    }

}

