/* ===== PROJE GRID ===== */
.tatar-proje-wrapper {
    font-family: 'Poppins', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
}

/* Filtre */
.tatar-proje-filtreler {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
    margin-bottom: 40px;
}
.tatar-filtre-btn {
    padding: 14px 36px !important;
    background: #E8C840 !important;
    color: #202020 !important;
    border: none !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}
.tatar-filtre-btn.active {
    background: #fff !important;
    color: #202020 !important;
}
.tatar-filtre-btn:hover:not(.active) {
    background: #fff !important;
    color: #202020 !important;
}

/* Grid */
.tatar-proje-grid {
    display: grid;
    gap: 6px;
}
.tatar-proje-grid.sutun-2 { grid-template-columns: repeat(2, 1fr); }
.tatar-proje-grid.sutun-3 { grid-template-columns: repeat(3, 1fr); }
.tatar-proje-grid.sutun-4 { grid-template-columns: repeat(4, 1fr); }

/* Kart */
.tatar-proje-kart {
    position: relative;
    overflow: hidden;
}
.tatar-proje-kart.hidden {
    display: none;
}
.tatar-proje-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Görsel - kare */
.tatar-proje-gorsel {
    position: relative;
    overflow: hidden;
}
.tatar-proje-gorsel img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.tatar-proje-kart:hover .tatar-proje-gorsel img {
    transform: scale(1.05);
}

/* Badge */
.tatar-proje-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    z-index: 3;
}
.tatar-proje-badge.durum-tamamlandi { background: #22c55e; }
.tatar-proje-badge.durum-devam-ediyor { background: #E8C840; color: #202020; }
.tatar-proje-badge.durum-planlaniyor { background: #3b82f6; }

/* Overlay */
.tatar-proje-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(32,32,32,0.85) 0%, rgba(32,32,32,0.3) 40%, transparent 70%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}
.tatar-proje-kart:hover .tatar-proje-overlay {
    opacity: 1;
}

.tatar-proje-overlay-baslik {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.3;
}
.tatar-proje-overlay-aciklama {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}
.tatar-proje-overlay-meta {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.tatar-proje-overlay-meta span {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
}

.tatar-proje-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E8E6E0;
    color: #999;
    font-size: 48px;
}

/* Özellikler Listesi */
.tatar-ozellik-liste {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    columns: 2;
    column-gap: 40px;
}
.tatar-ozellik-liste li {
    padding: 10px 0;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    border-bottom: 1px solid #E8E6E0;
    display: flex;
    align-items: center;
    gap: 10px;
    break-inside: avoid;
}
.tatar-ozellik-liste li::before {
    content: '✓';
    font-weight: 700;
    color: #E8C840;
    font-size: 16px;
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .tatar-ozellik-liste {
        columns: 1;
    }
}

/* Pagination */
.tatar-proje-pagination {
    margin-top: 50px;
    text-align: center;
}
.tatar-proje-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
}
.tatar-proje-pagination li {
    display: inline-block;
}
.tatar-proje-pagination a,
.tatar-proje-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #202020;
    background: #fff;
    border: 1px solid #E8E6E0;
    transition: all 0.3s;
}
.tatar-proje-pagination a:hover {
    background: #E8C840;
    color: #202020;
    border-color: #E8C840;
}
.tatar-proje-pagination .current {
    background: #E8C840;
    color: #202020;
    border-color: #E8C840;
}
.tatar-proje-pagination .prev,
.tatar-proje-pagination .next {
    width: auto;
    padding: 0 20px;
}

/* Responsive */
@media (max-width: 900px) {
    .tatar-proje-grid.sutun-3,
    .tatar-proje-grid.sutun-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .tatar-proje-filtreler {
        width: 100%;
        flex-wrap: nowrap;
    }
    .tatar-filtre-btn {
        flex: 1;
        padding: 12px 4px !important;
        font-size: 10px !important;
        text-align: center;
        white-space: nowrap;
    }
}
@media (max-width: 640px) {
    .tatar-proje-grid.sutun-2,
    .tatar-proje-grid.sutun-3,
    .tatar-proje-grid.sutun-4 {
        grid-template-columns: 1fr;
    }
}