*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    overflow-y:scroll;
}

body{
    margin:0;
    min-height:100vh;
    font-family:Arial,sans-serif;
    background:#f3f5f9;
    color:#111827;
    font-size:16px;
    line-height:1.6;
    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    max-width:100%;
    display:block;
}

/* HEADER */

.topbar{
    background:#0f172a;
    color:#fff;
    padding:18px 20px;
    min-height:72px;
}

.topbar-inner{
    max-width:1180px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.logo a{
    color:#fff;
    font-size:24px;
    font-weight:900;
    text-decoration:none;
}

.logo span{
    color:#facc15;
}

.top-nav{
    display:flex;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
}

.top-nav a{
    color:#f8fafc;
    font-weight:700;
    text-decoration:none;
}

.top-nav a:hover{
    color:#facc15;
}


/* HERO */

.hero{
    background:linear-gradient(135deg,#0f172a,#1e293b);
    color:#fff;
    padding:55px 20px;
    text-align:center;
    min-height:210px;
}

.hero h1{
    font-size:40px;
    line-height:1.2;
    margin:0 0 12px;
    color:#fff;
}

.hero p{
    color:#e2e8f0;
    font-size:18px;
    line-height:1.6;
    margin:0;
}

@media(max-width:768px){
    .hero{
        padding:38px 14px;
        min-height:180px;
    }

    .hero h1{
        font-size:28px;
    }

    .hero p{
        font-size:16px;
    }
}


/* CONTAINER */

.container{
    max-width:1180px;
    margin:35px auto;
    padding:0 15px;
}

/* ANA SAYFA YATAY İLAN */

.yatay-alan{
    display:grid;
    gap:18px;
    margin-bottom:28px;
}

.yatay-ilan{
    width:100%;
    aspect-ratio:1140/350;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 4px 12px rgba(15,23,42,.06);
    position:relative;
    line-height:0;
}

.yatay-ilan a{
    width:100%;
    height:100%;
    display:block;
    position:relative;
}

.yatay-ilan img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
    background:#fff;
    display:block;
}

.yatay-icerik{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    padding:6px 10px;
    background:linear-gradient(90deg,rgba(15,23,42,.96),rgba(15,23,42,.74));
    display:flex;
    align-items:center;
    gap:8px;
    overflow:hidden;
    z-index:10;
    line-height:1.15;
}

.yatay-icerik span{
    color:#fde047;
    font-size:11px;
    font-weight:800;
    line-height:1.1;
    white-space:nowrap;
    flex-shrink:0;
}

.yatay-icerik h2{
    margin:0;
    color:#fff;
    font-size:14px;
    font-weight:800;
    line-height:1.1;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    flex:1;
}

/* DİKEY İLAN */

.dikey-grid,
.related-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    margin-bottom:28px;
}

.related-grid{
    margin-top:18px;
}

.dikey-card{
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 4px 12px rgba(15,23,42,.06);
    position:relative;
    line-height:0;
}

.dikey-card > a{
    display:block;
    position:relative;
    width:100%;
}

.dikey-card img{
    width:100%;
    aspect-ratio:4/5;
    object-fit:cover;
    object-position:center center;
    background:#f8fafc;
    display:block;
}

.dikey-body{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    padding:5px 7px;
    background:linear-gradient(90deg,rgba(15,23,42,.96),rgba(15,23,42,.72));
    z-index:5;
    line-height:1.15;
}

.dikey-badges{
    display:flex;
    flex-wrap:nowrap;
    gap:4px;
    margin-bottom:3px;
    overflow:hidden;
}

.dikey-badges span{
    color:#fde047;
    background:transparent;
    padding:0;
    font-size:10px;
    font-weight:800;
    line-height:1.1;
    white-space:nowrap;
}

.dikey-card h3{
    margin:0;
}

.dikey-card h3 a,
.ilan-link{
    color:#fff;
    font-size:13px;
    font-weight:800;
    line-height:1.15;
    padding:0;
    display:block;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.dikey-card h3 a span,
.ilan-link span{
    display:block;
    width:100%;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

/* İLAN DETAY */

.breadcrumb{
    max-width:1180px;
    margin:20px auto 0;
    padding:0 15px;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    font-size:14px;
    color:#64748b;
}

.breadcrumb a{
    color:#2563eb;
    font-weight:700;
}

.product-page{
    max-width:1180px;
    margin:30px auto;
    padding:0 15px;
    display:grid;
    grid-template-columns:1.4fr .9fr;
    gap:24px;
}

.gallery-box,
.info-box,
.seller-box,
.desc-box{
    background:#fff;
    border-radius:18px;
    padding:20px;
    box-shadow:0 4px 14px rgba(15,23,42,.08);
}

.gallery-box{
    grid-column:1/2;
}

.info-side{
    grid-column:2/3;
    display:flex;
    flex-direction:column;
    gap:18px;
}

.desc-box{
    grid-column:1/-1;
}

.slider-wrapper{
    position:relative;
    overflow:hidden;
    border-radius:16px;
    background:#f8fafc;
}

.main-image{
    position:relative;
    width:100%;
    aspect-ratio:4/3;
    background:#f8fafc;
}

.slide{
    display:none;
    width:100%;
    height:100%;
    object-fit:cover;
}

.slide.active{
    display:block;
}

.slider-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:5;
    width:42px;
    height:42px;
    border:none;
    border-radius:999px;
    background:rgba(15,23,42,.75);
    color:#fff;
    font-size:30px;
    cursor:pointer;
}

.slider-btn.prev{
    left:12px;
}

.slider-btn.next{
    right:12px;
}

.thumbs{
    display:flex;
    gap:8px;
    margin-top:12px;
    overflow-x:auto;
    padding-bottom:4px;
}

.thumbs img{
    width:82px;
    height:64px;
    object-fit:cover;
    border-radius:10px;
    cursor:pointer;
    border:2px solid transparent;
}

.badge-row{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:14px;
}

.badge{
    display:inline-flex;
    padding:6px 10px;
    border-radius:999px;
    background:#e2e8f0;
    color:#0f172a;
    font-size:12px;
    font-weight:800;
}

.badge.gold{
    background:#facc15;
    color:#111827;
}

.premium-info h1{
    margin:0 0 12px;
    font-size:30px;
    line-height:1.2;
    color:#111827;
}

.ilan-tarih,
.firma,
.seller-meta{
    color:#475569;
}

.cta{
    display:grid;
    gap:10px;
    margin-top:16px;
}

.btn{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    padding:12px 16px;
    border-radius:12px;
    font-weight:800;
    text-decoration:none;
    border:none;
    cursor:pointer;
}

.btn.call{
    background:#2563eb;
    color:#fff;
}

.btn.whatsapp{
    background:#22c55e;
    color:#fff;
}

.btn.site{
    background:#0f172a;
    color:#fff;
}

.share-box{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:16px;
}

.share-box a{
    background:#f1f5f9;
    color:#334155;
    padding:8px 12px;
    border-radius:10px;
    font-weight:700;
}

.side-title,
.desc-box h2{
    margin-top:0;
    color:#111827;
}

.desc-box h3{
    margin:18px 0 6px;
    color:#0f172a;
    font-size:18px;
    line-height:1.35;
}

.ilan-aciklama{
    color:#374151;
    line-height:1.8;
}

.features{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:18px;
}

.feature{
    background:#f1f5f9;
    color:#0f172a;
    padding:10px 12px;
    border-radius:12px;
    font-weight:700;
}

.yorum-form{
    display:grid;
    gap:12px;
    margin-bottom:18px;
}

.yorum-form input,
.yorum-form textarea{
    width:100%;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:12px;
    font-size:15px;
    font-family:Arial,sans-serif;
}

/* ADMIN ÖNİZLEME */

.image-preview-box{
    margin-top:12px;
}

.image-preview-img{
    max-width:320px;
    width:100%;
    height:auto;
    border-radius:14px;
    display:block;
}

/* RESPONSIVE */

@media(max-width:900px){
    .product-page{
        grid-template-columns:1fr;
    }

    .gallery-box,
    .info-side,
    .desc-box{
        grid-column:1/-1;
    }

    .premium-info h1{
        font-size:24px;
    }
}

@media(max-width:768px){
    .topbar-inner{
        flex-direction:column;
        gap:10px;
        text-align:center;
    }

    .top-nav{
        justify-content:center;
        gap:12px;
    }

    .container{
        padding:0 6px;
        margin:18px auto;
    }

    .yatay-alan{
        gap:10px;
    }

    .yatay-ilan{
        border-radius:12px;
        aspect-ratio:1140/350;
    }

    .yatay-icerik{
        padding:4px 7px;
        gap:5px;
        line-height:1.05;
    }

    .yatay-icerik span{
        font-size:9px;
        line-height:1;
    }

    .yatay-icerik h2{
        font-size:11px;
        line-height:1;
    }

    .dikey-grid,
    .related-grid{
        grid-template-columns:repeat(4,minmax(0,1fr));
        gap:4px;
    }

    .dikey-card{
        border-radius:8px;
    }

    .dikey-body{
        padding:3px 4px;
        line-height:1.05;
    }

    .dikey-badges{
        display:flex;
        gap:3px;
        margin-bottom:2px;
    }

    .dikey-badges span{
        font-size:7px;
        line-height:1;
    }

    .dikey-card h3 a,
    .ilan-link{
        font-size:8px;
        line-height:1.05;
    }
}

@media(max-width:600px){
    .product-page{
        margin:18px auto;
        padding:0 8px;
        gap:14px;
    }

    .gallery-box,
    .info-box,
    .seller-box,
    .desc-box{
        padding:14px;
        border-radius:14px;
    }

    .slider-btn{
        width:34px;
        height:34px;
        font-size:24px;
    }

    .thumbs img{
        width:64px;
        height:50px;
    }
}

@media(max-width:420px){
    .dikey-grid,
    .related-grid{
        gap:4px;
    }

    .dikey-card h3 a,
    .ilan-link{
        font-size:7px;
    }

    .dikey-badges span{
        font-size:6px;
    }

    .yatay-icerik h2{
        font-size:10px;
    }

    .yatay-icerik span{
        font-size:8px;
    }
}



/* FİRMALAR LİSTE SAYFASI */

.firma-card{
    background:#fff;
    border-radius:16px;
    padding:20px;
    box-shadow:0 4px 14px rgba(15,23,42,.08);
    display:flex;
    flex-direction:column;
    gap:10px;
    min-height:190px;
}

.firma-card h2{
    margin:0;
    font-size:20px;
    line-height:1.3;
    color:#111827;
}

.firma-card h2 a{
    color:#111827;
}

.firma-card h2 a:hover{
    color:#2563eb;
}

.firma-card p{
    margin:0;
    color:#475569;
    font-size:15px;
}

.firma-card .btn{
    margin-top:auto;
}

.btn-primary{
    background:#2563eb;
    color:#fff;
}

@media(max-width:768px){
    .firma-card{
        padding:14px;
        border-radius:12px;
        min-height:160px;
    }

    .firma-card h2{
        font-size:16px;
    }

    .firma-card p{
        font-size:13px;
    }
}


.firmalar-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

@media(max-width:900px){
    .firmalar-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:600px){
    .firmalar-grid{
        grid-template-columns:1fr;
    }
}


.firma-yorumlari{
    max-width:1180px;
    margin:40px auto;
    padding:20px;
}

.firma-rating-box{
    display:flex;
    gap:12px;
    align-items:center;
    background:#fff7ed;
    border:1px solid #fed7aa;
    padding:14px 18px;
    border-radius:14px;
    margin-bottom:20px;
}

.yorum-karti{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:18px;
    margin-bottom:16px;
    box-shadow:0 8px 24px rgba(15,23,42,.06);
}

.yorum-puan{
    color:#f59e0b;
    margin:6px 0;
}

.yorum-form{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:20px;
    margin-top:24px;
}

.yorum-form input,
.yorum-form select,
.yorum-form textarea{
    width:100%;
    padding:13px 14px;
    margin-bottom:12px;
    border:1px solid #d1d5db;
    border-radius:10px;
    font-size:15px;
}

.yorum-form textarea{
    min-height:120px;
    resize:vertical;
}

.yorum-form button{
    background:#0f172a;
    color:#fff;
    border:0;
    padding:13px 22px;
    border-radius:10px;
    cursor:pointer;
    font-weight:700;
}


.firma-rating-box{
    text-align:center;
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:14px;
    padding:20px;
    margin:20px 0;
}

.rating-score{
    font-size:32px;
    font-weight:800;
    color:#f59e0b;
    margin-bottom:8px;
}

.rating-stars{
    font-size:22px;
    color:#f59e0b;
    margin-bottom:8px;
}

.rating-text{
    color:#64748b;
    font-size:14px;
    font-weight:600;
}

.yorum-yok{
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:14px;
    padding:20px;
    text-align:center;
    margin:20px 0;
}

.yorum-karti{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:18px;
    margin-bottom:15px;
}

.yorum-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
}

.yorum-ad{
    font-size:16px;
    font-weight:700;
}

.yorum-puan{
    color:#f59e0b;
    font-size:18px;
    font-weight:700;
}

.yorum-icerik{
    line-height:1.7;
    color:#334155;
    margin-bottom:10px;
}

.yorum-tarih{
    color:#94a3b8;
    font-size:13px;
}

.reklam-alani{
    margin:20px 0;
    text-align:center;
    overflow:hidden;
}

.reklam-alani img{
    width:100%;
    height:auto;
    display:block;
    border-radius:12px;
}

.reklam-alani span{
    display:block;
    margin-top:8px;
    font-size:14px;
    color:#666;
}

.reklam-alani a{
    text-decoration:none;
}

.site-footer{
    margin-top:40px;
    padding:30px 16px;
    background:#0f172a;
    color:#fff;
    text-align:center;
}

.footer-inner{
    max-width:1180px;
    margin:0 auto;
}

.site-footer p{
    margin:10px 0;
    font-size:14px;
}

.footer-seo-text{
    margin-top:14px;
    color:#cbd5e1;
    font-size:14px;
    line-height:1.7;
}

.ilan-suresi-doldu{
    display:inline-block;
    background:#dc2626;
    color:#fff;
    font-size:12px;
    font-weight:700;
    padding:4px 8px;
    border-radius:8px;
    margin-bottom:8px;
}
.ilan-suresi-doldu-card{
    opacity:.78;
}

.btn.telegram{
    background:#229ED9;
    color:#fff;
    border:1px solid #229ED9;
}

.btn.telegram:hover{
    background:#168ac0;
    border-color:#168ac0;
    color:#fff;
    transform:translateY(-1px);
}


.image-preview-box{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:10px;
}

.image-preview-item{
    width:140px;
    text-align:center;
}

.image-preview-img{
    width:140px;
    height:140px;
    object-fit:cover;
    border-radius:8px;
    border:1px solid #ddd;
    display:block;
}

.image-preview-item small{
    display:block;
    margin-top:6px;
    font-size:12px;
    word-break:break-word;
}


.home-blog-section{
    max-width:1180px;
    margin:35px auto;
    padding:0 16px;
}

.home-blog-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-bottom:16px;
}

.home-blog-head h2{
    margin:0;
    font-size:26px;
    color:#111827;
}

.home-blog-head a{
    color:#2563eb;
    font-weight:700;
    text-decoration:none;
}

.home-blog-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:14px;
}

.home-blog-card{
    background:#fff;
    border-radius:16px;
    padding:16px;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
    border:1px solid #e5e7eb;
}

.home-blog-date{
    display:block;
    font-size:12px;
    color:#6b7280;
    margin-bottom:8px;
}

.home-blog-card h3{
    font-size:17px;
    line-height:1.35;
    margin:0 0 8px;
}

.home-blog-card h3 a{
    color:#111827;
    text-decoration:none;
}

.home-blog-card p{
    font-size:14px;
    color:#4b5563;
    margin:0 0 12px;
}

.home-blog-read{
    color:#2563eb;
    font-weight:700;
    text-decoration:none;
}

@media(max-width:1100px){
    .home-blog-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media(max-width:700px){
    .home-blog-head{
        align-items:flex-start;
        flex-direction:column;
    }

    .home-blog-grid{
        grid-template-columns:1fr;
    }
}