/* ============================================
   EĞİTİMLER SAYFASI STYLES
   ============================================ */

/* Hero Section */
.courses-hero {
    background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
    padding: 6rem 2rem 4rem;
    text-align: center;
    color: #ffffff;
}

.courses-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.courses-hero p {
    font-size: 1.125rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Filter Section */
.courses-filter-section {
    padding: 2.5rem 0 1.5rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.courses-filter-bar {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

/* Arama */
.courses-search {
    position: relative;
    flex: 0 0 400px;
}

.courses-search svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
}

.search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

/* Kategori Filtreleri */
.courses-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    flex: 1;
}

.category-btn {
    padding: 0.625rem 1.25rem;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover {
    border-color: #0f766e;
    color: #0f766e;
    background: rgba(15, 118, 110, 0.05);
}

.category-btn.active {
    background: #0f766e;
    border-color: #0f766e;
    color: #ffffff;
}

.category-btn:active,
.category-btn:focus {
    outline: none;
}

/* Mobil Filtre Butonu */
.mobile-filter-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #0f766e;
    color: #ffffff;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

.mobile-filter-toggle:active,
.mobile-filter-toggle:focus {
    outline: none;
    background: #115e59;
}

.mobile-filter-toggle svg {
    width: 20px;
    height: 20px;
}

/* Sonuç Bilgisi */
.courses-results-info {
    font-size: 0.9375rem;
    color: #6b7280;
    font-weight: 500;
}

.courses-results-info span {
    color: #0f766e;
    font-weight: 700;
}

/* Grid Section */
.courses-grid-section {
    padding: 3rem 0 2rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Sonuç Bulunamadı */
.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.no-results svg {
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.no-results h3 {
    font-size: 1.5rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: #6b7280;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
    margin-bottom: 0;
}

.cta-box {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 2rem 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.cta-content {
    flex: 1;
}

.cta-box h2 {
    font-size: 2rem;
    color: #111827;
    margin-bottom: 0.5rem;
    margin-left: 0;
    font-weight: 700;
    text-align: left;
}

.cta-box p {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 0;
    margin-left: 0;
    line-height: 1.6;
    text-align: left;
}

.cta-action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.cta-action .btn-primary:hover {
    background: #0f766e;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 992px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .courses-hero h1 {
        font-size: 2rem;
    }

    .cta-box h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .courses-hero {
        padding: 5rem 1.5rem 3rem;
    }

    .courses-hero h1 {
        font-size: 1.75rem;
    }

    .courses-hero p {
        font-size: 1rem;
    }

    /* Mobil filtre */
    .courses-filter-bar {
        flex-direction: column;
        position: relative;
    }

    .courses-search {
        flex: 1;
        width: 100%;
    }

    .mobile-filter-toggle {
        display: flex;
    }

    .courses-categories {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border: 2px solid #e5e7eb;
        border-radius: var(--radius-lg);
        padding: 1rem;
        margin-top: 0.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 10;
    }

    .courses-categories.show {
        display: flex;
    }

    .category-btn {
        justify-content: center;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .cta-box {
        padding: 2rem 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .cta-content {
        text-align: center;
    }

    .cta-box h2 {
        font-size: 1.5rem;
    }

    .cta-box p {
        font-size: 1rem;
    }

    .cta-action .btn {
        width: 100%;
    }
}
