/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 2rem;
    color: #3498db;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255,255,255,0.2);
    color: #3498db;
}



/* Hero Section - Removed */

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0;
}

/* Programs Section */
.programs {
    padding: 100px 0 80px;
    background-color: white;
}

.search-filters-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
}

.filters-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.search-input {
    position: relative;
    flex: 1;
    max-width: none;
    margin: 0;
}

.search-input i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
}

.search-input input {
    width: 100%;
    padding: 14px 14px 14px 45px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8fafc;
}

.search-input input:focus {
    outline: none;
    border-color: #3498db;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
    flex-shrink: 0;
}

.filter-btn {
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.85rem;
    color: #64748b;
    white-space: nowrap;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
}

.filter-btn:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
}

.filter-btn.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.category-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
    margin-top: 0;
    flex: 1;
}

.program-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(241, 245, 249, 0.7);
    position: relative;
    height: 220px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(5px);
}

.program-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
    border-color: rgba(226, 232, 240, 0.7);
}

.program-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    text-align: left;
    width: 100%;
    height: 100px;
    background: rgba(230, 240, 250, 0.9);
    position: relative;
    overflow: hidden;
    padding: 0 0.5rem;
    border-bottom: 1px solid rgba(241, 245, 249, 0.7);
}

.program-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--category-color, #3498db), var(--category-color-dark, #2980b9));
    opacity: 0.1;
    transition: opacity 0.2s ease;
}

.program-header:hover::before {
    opacity: 0.15;
}

.program-header i {
    font-size: 1.8rem;
    margin: 0;
    color: var(--category-color, #3498db);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.program-header .program-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    margin: 0;
    padding: 0;
    text-align: left;
    word-wrap: break-word;
    flex: 1;
    position: relative;
    z-index: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-right: 0.5rem;
}



.program-link {
    color: #1e293b;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.program-link:hover {
    color: #22c55e;
}

.program-content {
    padding: 0.75rem 0.5rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.5rem;
    background: rgba(245, 245, 245, 0.8);
    min-height: 100px;
}

.program-meta {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.75rem;
    color: #64748b;
    justify-content: flex-start;
    padding: 0.5rem 0;
    flex-wrap: nowrap;
    width: 100%;
}

.program-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(241, 245, 249, 0.9);
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    border: none;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 1;
    color: #475569;
    line-height: 1.2;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    min-width: 0;
    overflow: hidden;
}

/* Program Actions */
.program-actions {
    margin-top: auto;
    padding-top: 0.5rem;
}

.download-btn {
    width: 100%;
    padding: 0.6rem 1rem;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 2px 6px rgba(44, 62, 80, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.download-btn:hover {
    background: #e74c3c;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.4);
}

.download-btn:active {
    background: #c0392b;
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.3);
}

.download-btn.loading {
    background: #95a5a6;
    cursor: not-allowed;
    pointer-events: none;
}

.download-btn.loading i {
    animation: spin 1s linear infinite;
}





@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.download-btn.secondary {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.download-btn.secondary:hover {
    background: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(100, 116, 139, 0.1);
}

/* About Section */
.about {
    padding: 60px 0;
    background-color: #f8fafc;
}

.about-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.about-text > p {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 2.5rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background-color: white;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #3498db;
    color: white;
}

.contact-item i {
    font-size: 2rem;
    color: #3498db;
}

.contact-item:hover i {
    color: white;
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
}

.contact-item:hover p {
    color: white;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #3498db;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}



/* Responsive Design */
@media (max-width: 1400px) {
    .programs-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}

@media (max-width: 1200px) {
    .programs-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 992px) {
    .programs-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-filters-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filters-layout {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        min-width: auto;
    }
    
    .filter-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        min-width: 80px;
        gap: 6px;
        width: auto;
        text-align: center;
        justify-content: center;
    }
    
    .category-color {
        width: 14px;
        height: 14px;
    }
    
    .programs-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1rem;
    }
    
    .program-card {
        height: 230px;
    }
    
    .program-image {
        height: 70px;
    }
    
    .program-header i {
        font-size: 1.6rem;
    }
    
    .program-header .program-title {
        font-size: 0.9rem;
        padding: 0;
    }
    
    .program-meta {
        gap: 0.15rem;
        padding-bottom: 1rem;
    }
    
    .program-meta span {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
        gap: 4px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .program-info {
        flex-direction: column;
        text-align: center;
    }
    
    .download-links {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .filter-buttons {
        justify-content: flex-start;
        gap: 0.4rem;
    }
    
    .filter-btn {
        padding: 6px 10px;
        font-size: 0.75rem;
        min-width: 70px;
        gap: 4px;
    }
    
    .category-color {
        width: 12px;
        height: 12px;
    }
    
    .search-input input {
        padding: 12px 12px 12px 40px;
        font-size: 0.9rem;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .program-card {
        height: 180px;
    }
    
    .program-header {
        padding: 0 0.75rem;
        gap: 0.5rem;
    }
    
    .program-header i {
        font-size: 1.4rem;
    }
    
    .program-header .program-title {
        font-size: 0.85rem;
        -webkit-line-clamp: 1;
    }
    
    .program-content {
        padding: 0.5rem 0.75rem 0.75rem;
    }
    
    .download-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    

}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.program-card {
    animation: fadeIn 0.6s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
} 