/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;900&display=swap');

/* Değişkenler */
:root {
    --bg-dark: #0a0a0c;
    --card-bg: rgba(255, 255, 255, 0.05);
    --accent-color: #6366f1;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigasyon */
.navbar {
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
    padding: 1.2rem 8%;
    display: flex; justify-content: space-between; align-items: center;
    backdrop-filter: blur(15px);
    background: rgba(10, 10, 12, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo { font-weight: 900; font-size: 1.5rem; letter-spacing: -1px; }
.logo span { color: var(--accent-color); }

.nav-links { display: flex; list-style: none; }
.nav-links a { 
    color: var(--text-main); text-decoration: none; 
    margin-left: 2rem; font-weight: 500; font-size: 0.9rem;
    transition: 0.3s;
}
.nav-links a:hover { color: var(--accent-color); }

/* Hero Alanı */
.hero {
    padding: 180px 8% 80px;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.1), transparent);
}

.badge {
    background: var(--accent-gradient);
    padding: 6px 14px; border-radius: 50px;
    font-size: 0.7rem; font-weight: 800;
    text-transform: uppercase; display: inline-block; margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1.1; margin-bottom: 1.5rem; font-weight: 900;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    max-width: 600px; font-size: 1.1rem;
    color: var(--text-muted); margin-bottom: 2.5rem;
}

/* Butonlar */
.btn-glow {
    padding: 14px 32px; background: var(--accent-gradient);
    color: white; text-decoration: none; border-radius: 10px;
    font-weight: 700; box-shadow: 0 8px 15px rgba(99, 102, 241, 0.2);
    transition: 0.3s; display: inline-block;
}

.btn-outline {
    margin-left: 15px; padding: 14px 32px;
    border: 1px solid rgba(255,255,255,0.2); color: white;
    text-decoration: none; border-radius: 10px; transition: 0.3s;
}

.btn-glow:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(99, 102, 241, 0.4); }

/* Kartlar */
.grid-container {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px; padding: 40px 8%;
}

.feature-card {
    background: var(--card-bg); border: 1px solid rgba(255,255,255,0.08);
    padding: 40px 30px; border-radius: 20px;
    text-decoration: none; color: white; transition: 0.4s;
}

.feature-card:hover { border-color: var(--accent-color); transform: translateY(-8px); background: rgba(255,255,255,0.08); }
.feature-card .icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.feature-card h3 { margin-bottom: 0.8rem; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* Stats */
.stats-container {
    display: flex; justify-content: space-around; flex-wrap: wrap;
    padding: 60px 5%; background: rgba(255,255,255,0.02);
    border-radius: 30px; margin: 40px 8%; gap: 20px;
}

.stat-item { text-align: center; min-width: 150px; }
.stat-number { display: block; font-size: 2.5rem; font-weight: 900; color: var(--accent-color); }
.stat-label { color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; }

/* About & FAQ */
.about-seo { padding: 60px 8%; }
.content-box { background: var(--card-bg); padding: 40px; border-radius: 24px; border: 1px solid rgba(255,255,255,0.05); }
.content-box h2 { margin-bottom: 20px; }
.content-box p { color: var(--text-muted); margin-bottom: 15px; }

.faq-section { padding: 40px 8% 100px; }
.section-title { text-align: center; margin-bottom: 40px; }
.faq-item { background: rgba(255,255,255,0.02); padding: 20px; border-radius: 12px; margin-bottom: 15px; border-left: 3px solid var(--accent-color); }
.faq-item h4 { margin-bottom: 8px; }
.faq-item p { color: var(--text-muted); font-size: 0.9rem; }

/* Footer */
footer { padding: 40px 8%; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); font-size: 0.8rem; }

/* --- DUYURULAR VE HABERLER BÖLÜMÜ --- */
.news-section { 
    padding: 60px 8%; 
    background: rgba(0, 0, 0, 0.2); /* Arka planı hafif koyulaştırıp ayırıyoruz */
}
.news-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}
.news-card { 
    background: var(--card-bg); 
    padding: 30px; 
    border-radius: 16px; 
    border: 1px solid rgba(255,255,255,0.05); 
    transition: 0.3s; 
}
.news-card:hover { 
    transform: translateY(-5px); 
    border-color: var(--accent-color); 
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.1);
}
.news-date { 
    font-size: 0.85rem; 
    color: var(--accent-color); 
    font-weight: 800; 
    margin-bottom: 10px; 
}
.news-card h4 { 
    margin-bottom: 15px; 
    font-size: 1.2rem; 
    color: var(--text-main);
}
.news-card p { 
    color: var(--text-muted); 
    font-size: 0.95rem; 
    margin-bottom: 20px; 
}
.read-more { 
    color: var(--text-main); 
    text-decoration: none; 
    font-size: 0.9rem; 
    font-weight: bold; 
    transition: 0.3s; 
}
.read-more:hover { color: var(--accent-color); }

/* --- ÖĞRENCİ YORUMLARI BÖLÜMÜ --- */
.testimonials-section { padding: 80px 8%; }
.testimonial-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 30px; 
}
.testimonial-card { 
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%); 
    padding: 40px; 
    border-radius: 20px; 
    border-left: 4px solid var(--accent-color); 
    position: relative; 
}
/* Arka plana kocaman havalı bir tırnak işareti koyuyoruz */
.testimonial-card::before { 
    content: '"'; 
    font-size: 8rem; 
    position: absolute; 
    top: 20px; 
    right: 20px; 
    color: rgba(255,255,255,0.03); 
    font-family: serif; 
    line-height: 1; 
}
.testimonial-card p { 
    font-style: italic; 
    color: var(--text-muted); 
    margin-bottom: 25px; 
    position: relative; 
    z-index: 1; 
    font-size: 1.05rem;
}
.student-info strong { 
    display: block; 
    color: var(--text-main); 
    font-size: 1.1rem; 
}
.student-info span { 
    color: var(--accent-color); 
    font-size: 0.85rem; 
    font-weight: 600;
}
/* --- HARITA VE KONUM BÖLÜMÜ --- */
.map-section {
    padding: 80px 8%;
    background: linear-gradient(to bottom, transparent, rgba(99, 102, 241, 0.03));
}

.map-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

/* Harita Bilgi Kısmı */
.map-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.map-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item .icon {
    font-size: 1.5rem;
    background: var(--card-bg);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item strong {
    display: block;
    color: var(--text-main);
}

.contact-item p {
    margin: 0;
    font-size: 0.9rem;
}

/* Harita Çerçevesi */
.map-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid rgba(99, 102, 241, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.map-frame iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%); /* Haritayı Dark Mode yapar */
    display: block;
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .map-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .contact-item {
        justify-content: center;
        text-align: left;
    }
    .map-frame {
        height: 300px;
    }
}
/* --- ÜCRET TABLOSU TASARIMI --- */
.pricing-section .table-container {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.table-responsive {
    overflow-x: auto; /* Telefondan girilince tablo sağa sola kaydırılabilsin */
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.05rem;
    text-align: left;
    white-space: nowrap;
}

.styled-table thead tr {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.styled-table th, .styled-table td {
    padding: 18px 20px;
}

.styled-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.styled-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03); /* Fareyle üstüne gelince hafif parlar */
}

.styled-table tbody tr:last-of-type {
    border-bottom: none;
}

.styled-table td.price {
    font-weight: 900;
    color: var(--text-main);
    font-size: 1.15rem;
}

.styled-table td.free {
    color: #10b981; /* Ücretsiz yazısını havalı bir yeşil yapar */
}

/* =========================================
   📱 MOBİL UYUM (RESPONSIVE) AYARLARI
   ========================================= */

@media screen and (max-width: 768px) {
   /* 1. Menü (Navbar) Düzenlemesi - YENİ KAYDIRMALI YAPI */
    .navbar {
        flex-direction: column;
        padding: 10px 15px;
    }
    .nav-links {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto; /* Sağa sola kaydırma özelliği eklendi */
        gap: 10px;
        padding-top: 10px;
        padding-bottom: 5px;
        width: 100%;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch; /* Mobilde yağ gibi kaysın diye */
    }
    /* Mobildeki o çirkin kaydırma çubuğunu tamamen gizler */
    .nav-links::-webkit-scrollbar {
        display: none;
    }
    .nav-links li {
        width: auto;
    }
    .nav-links a {
        display: inline-block;
        padding: 8px 16px;
        font-size: 0.9rem;
        white-space: nowrap; /* Yazıların iki satıra bölünmesini engeller */
        background: rgba(255, 255, 255, 0.05);
        border-radius: 20px; /* Daha modern, oval kapsül butonlar */
    }

    /* 2. Ana Başlık (Hero) Düzenlemesi */
    .hero {
        padding: 40px 20px;
    }
    .hero h1 {
        font-size: 2.2rem; /* Başlığı telefona göre küçülttük */
        line-height: 1.2;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column; /* Butonları alt alta aldık */
        gap: 15px;
        width: 100%;
    }
    .hero-buttons a {
        width: 100%;
        text-align: center;
    }

    /* 3. Tüm Kutulu Tasarımları (Grid) Tek Sütuna Düşürme */
    .grid-container, 
    .news-grid, 
    .testimonial-grid {
        grid-template-columns: 1fr; /* Yanyana olanları alt alta dizer */
        padding: 20px;
        gap: 20px;
    }

    /* 4. Duyurular / Haberler Kartı Düzeni */
    .news-item {
        flex-direction: column; /* Tarih ve yazıyı alt alta al */
        text-align: center;
    }
    .news-date {
        margin-right: 0 !important;
        margin-bottom: 15px;
        width: 100%;
    }

    /* 5. Footer (En Alt Kısım) */
    .footer-content {
        padding: 20px;
        text-align: center;
    }
    .footer-content div[style*="display: flex"] {
        flex-direction: column !important; /* Alt linkleri alt alta yap */
        gap: 10px !important;
    }
    /* Mobilde Header'ın yazıları yutmasını engelleme */
    main {
        padding-top: 140px !important;
    }

    /* Mobilde butonların üst üste binmesini kesin olarak çözen kod */
    .btn-glow, .btn-outline {
        display: block !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 15px !important;
        box-sizing: border-box;
        text-align: center;
    }
}
/* 🚀 SAYFA GEÇİŞ EFEKTİ (SMOOTH TRANSITION) */
body {
    animation: fadeIn 0.6s ease-out;
}
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}
html { scroll-behavior: smooth; }

/* 🚀 PREMIUM ÖZEL KAYDIRMA ÇUBUĞU (SCROLLBAR) */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #6366f1, #a855f7); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #ec4899; }

/* 🚀 YAN YANA TASARIM: SOLDA YAZI, SAĞDA DÖNEN SLIDER (HERO SPLIT) */
.hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 8% 60px; 
    gap: 50px;
    min-height: 60vh;
}

/* Sol taraftaki yazı alanı */
.hero-split .hero-content {
    flex: 1;
    position: relative;
    text-align: left;
    transform: none;
    top: auto;
    left: auto;
    padding: 0;
    max-width: 100%;
}

.hero-split .hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero-split .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Sağ taraftaki dönen resim alanı */
.slider-container {
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 550px;
    height: 380px; /* Resimlerin çok devasa olmasını engeller */
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.slider-wrapper {
    display: flex;
    width: 200%;
    height: 100%;
    animation: slideAnimation 10s infinite ease-in-out;
}

.slide {
    width: 50%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Çerçeveye jilet gibi oturur */
}

/* 🚀 CSS3 OTOMATİK DÖNME ANİMASYONU */
@keyframes slideAnimation {
    0%, 45% { transform: translateX(0); }
    50%, 95% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Mobil Uyum: Mobilde yan yana sığmayacağı için alt alta geçerler */
@media screen and (max-width: 992px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
        gap: 30px;
    }
    .hero-split .hero-content {
        text-align: center;
    }
    .hero-split .hero-content h1 {
        font-size: 2.8rem;
    }
    .slider-container {
        height: 300px;
    }
}
