/* 
 * Projeler Sayfası Özel Stilleri
 * Loyal Tech Enerji
 */

/* ===== Filtreleme Butonları ===== */
.project-filters {
    text-align: center;
    margin-bottom: 50px;
}

.filter-buttons {
    display: inline-flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #F57009;
    background-color: transparent;
    color: #1C1A30;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Heebo', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    background-color: #F57009;
    color: #FFF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 112, 9, 0.3);
}

.filter-btn.active {
    background-color: #F57009;
    color: #FFF;
    box-shadow: 0 3px 10px rgba(245, 112, 9, 0.4);
}

/* ===== Proje Grid ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

/* ===== Proje Kartı ===== */
.project-card {
    background: #FFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.project-card.hidden {
    display: none;
}

/* ===== Proje Slider ===== */
.project-slider-container {
    position: relative;
    overflow: hidden;
    background: #000;
}

.project-slider {
    width: 100%;
    height: 280px;
}

.project-slider .owl-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

/* Slider Kontrolleri */
.project-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 15px;
    pointer-events: none;
}

.project-slider .owl-nav button {
    background-color: rgba(245, 112, 9, 0.9) !important;
    color: #FFF !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px !important;
    line-height: 40px;
    pointer-events: all;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.project-slider .owl-nav button:hover {
    background-color: rgba(28, 26, 48, 0.9) !important;
    transform: scale(1.1);
}

.project-slider .owl-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.project-slider .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 5px;
}

.project-slider .owl-dots .owl-dot span {
    display: block;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.project-slider .owl-dots .owl-dot.active span,
.project-slider .owl-dots .owl-dot:hover span {
    background-color: #F57009;
    transform: scale(1.2);
}

/* ===== Proje Durumu Badge ===== */
.project-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.project-status-badge.completed {
    background-color: #28a745;
    color: #FFF;
}

.project-status-badge.ongoing {
    background-color: #F57009;
    color: #FFF;
}

/* ===== Proje İçerik ===== */
.project-content {
    padding: 25px;
}

.project-title {
    font-size: 20px;
    font-weight: 700;
    color: #1C1A30;
    margin-bottom: 10px;
    line-height: 1.6;
    font-family: 'Barlow', sans-serif;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.project-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #9B9B9B;
}

.project-meta-item i {
    color: #F57009;
    font-size: 14px;
}

.project-category {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(245, 112, 9, 0.1);
    color: #F57009;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.project-description {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 0;
}

/* ===== Responsive Tasarım ===== */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .filter-buttons {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .project-slider,
    .project-slider .owl-item img {
        height: 220px;
    }
    
    .project-content {
        padding: 20px;
    }
    
    .project-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .project-slider,
    .project-slider .owl-item img {
        height: 200px;
    }
    
    .project-slider .owl-nav button {
        width: 35px;
        height: 35px;
        font-size: 16px !important;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .project-status-badge {
        font-size: 10px;
        padding: 3px 10px;
    }
    
    .project-title {
        font-size: 16px;
    }
}

/* ===== Yükleme Animasyonu ===== */
.projects-loading {
    text-align: center;
    padding: 50px;
    color: #9B9B9B;
}

.projects-loading i {
    font-size: 40px;
    color: #F57009;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== Proje Bulunamadı Mesajı ===== */
.no-projects-message {
    text-align: center;
    padding: 60px 20px;
    color: #9B9B9B;
}

.no-projects-message i {
    font-size: 50px;
    color: #F57009;
    margin-bottom: 20px;
}

.no-projects-message h3 {
    font-size: 24px;
    color: #1C1A30;
    margin-bottom: 10px;
}

.no-projects-message p {
    font-size: 16px;
    color: #9B9B9B;
}

