.projeler-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.projeler-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.projeler-header h1 {
    color: #000000;
    font-family: 'Open Sans', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    text-align: left;
    position: relative;
    display: inline-block;
}

.projeler-title-line {
    width: 11%;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
    margin: 0 auto 20px auto;
}

.durum-filtreleri {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.durum-btn {
    padding: 10px 20px;
    border: 2px solid #255938;
    border-radius: 25px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #255938;
    white-space: nowrap;
    min-width: 120px;
    text-align: center;
}

.durum-btn:hover,
.durum-btn.active {
    color: #ffffff;
}

.durum-btn.tamamlanan:hover,
.durum-btn.tamamlanan.active {
    background-color: #28a745;
    border-color: #28a745;
}

.durum-btn.devam-eden:hover,
.durum-btn.devam-eden.active {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #333;
}

.durum-btn.planlanan:hover,
.durum-btn.planlanan.active {
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.projeler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.proje-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.proje-card:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

.proje-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.proje-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.durum-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 15px;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.durum-badge.tamamlanan {
    background-color: #28a745;
}

.durum-badge.devam-eden {
    background-color: #ffc107;
}

.durum-badge.planlanan {
    background-color: #17a2b8;
}

.proje-content {
    padding: 20px;
}

.proje-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    max-height: 84px; /* 3 satır için (20px * 1.4 * 3) */
}

.proje-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.proje-date i {
    margin-right: 5px;
}

.proje-excerpt {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 58.5px; /* 3 satır için (13px * 1.5 * 3) */
    min-height: 58.5px;
}

.detay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    background-color: #255938;
    color: white;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(37, 89, 56, 0.2);
}

.detay-btn:hover {
    background-color: #1e4730;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 89, 56, 0.3);
}

.detay-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(37, 89, 56, 0.2);
}

/* Sayfalama Stilleri */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #255938;
    border-radius: 50%;
    color: #255938;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
}

.page-btn:hover {
    background: #255938;
    color: white;
}

.page-btn.active {
    background: #255938;
    color: white;
}

/* Responsive tasarım için */
@media (max-width: 992px) {
    .projeler-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .durum-filtreleri {
        gap: 10px;
        padding: 0 15px;
    }

    .durum-btn {
        padding: 12px 15px;
        font-size: 14px;
        min-width: 110px;
    }
}

@media (max-width: 768px) {
    .durum-filtreleri {
        gap: 8px;
        padding: 0 10px;
    }

    .durum-btn {
        padding: 10px 12px;
        font-size: 13px;
        min-width: 100px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .pagination {
        gap: 6px;
        margin-top: 30px;
    }

    .page-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .projeler-grid {
        grid-template-columns: 1fr;
    }

    .durum-filtreleri {
        gap: 6px;
        padding: 0 5px;
    }

    .durum-btn {
        padding: 8px 10px;
        font-size: 12px;
        min-width: 90px;
        height: 36px;
    }
    .pagination {
        gap: 4px;
        margin-top: 25px;
    }

    .page-btn {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    .projeler-header h1 {
        font-size: 1.5rem;
    }
}