/* ==========================================================================
   1. CSS DEĞİŞKENLERİ (LOGO RENK PALETİ)
   ========================================================================== */
:root {
    /* Logo Renkleri */
    --clr-mor: #7E3F98;
    --clr-fusya: #D81B60;
    --clr-turuncu: #F57C00;
    --clr-sari: #EAC100;
    --clr-koyu: #1C1C1C;

    /* Web Sitesi Rolleri */
    --primary-color: var(--clr-mor);
    --secondary-color: var(--clr-turuncu);
    --action-color: var(--clr-fusya);

    --bg-color: #FFFFFF;
    --text-color: var(--clr-koyu);
    --card-bg: #FFFFFF;
}

/* ==========================================================================
   2. GENEL SIFIRLAMALAR VE GÖVDE (BODY)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* ==========================================================================
   3. NAVİGASYON VE LOGO (HEADER)
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* DEĞİŞTİ: Üst/Alt boşluğu 15px'ten 5px'e düşürdük. Sağ/Sol 5% aynı kaldı. */
    padding: 5px 5%;
    background-color: var(--bg-color);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    /* YENİ: Navbar'ın kendi yüksekliğini sabitliyoruz ki şişmesin */
    height: 80px;
}

/* Logoyu Taklit Etme */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    /* YENİ: Alanı tam kaplamasını sağlıyoruz */
    height: 100%;
}

.logo img {
    /* DEĞİŞTİ: 50px olan yüksekliği 70px'e çıkardık */
    height: 70px;
    width: auto;

    /* YENİ HİLE: Eğer resmin etrafındaki beyazlıklar hala logoyu küçük gösteriyorsa 
       scale ile navbar'ı şişirmeden sadece görüntüyü %40 (1.4) büyütüyoruz. */
    transform: scale(3.5);
    transform-origin: left center;
    /* Büyürken sağa doğru değil, olduğu yerde sol kenara yaslı büyüsün */
}

.logo span:nth-child(1) {
    color: var(--clr-mor);
}

.logo span:nth-child(2) {
    color: var(--clr-fusya);
}

.logo span:nth-child(3) {
    color: var(--clr-turuncu);
}

.logo span:nth-child(4) {
    color: var(--clr-sari);
}

.logo .academy-text {
    font-weight: 400;
    font-size: 20px;
    color: var(--clr-koyu);
    margin-left: 5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--action-color);
}

.nav-cta {
    background-color: var(--action-color);
    color: var(--bg-color) !important;
    padding: 10px 20px;
    border-radius: 20px;
    transition: background-color 0.3s;
}

.nav-cta:hover {
    background-color: #C2185B;
}

/* ==========================================================================
   4. DİNAMİK HERO SLIDER
   ========================================================================== */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 65vh;
    /* Ekranda kaplayacağı alan */
    min-height: 500px;
    overflow: hidden;
    background-color: var(--clr-koyu);
}

.hero-slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    /* Başlangıçta görünmez */
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    /* Aktif slaytı göster */
    z-index: 2;
}

/* Arka planı koyulaştıran ve yazıyı öne çıkaran şık mor degrade */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(126, 63, 152, 0.9) 0%, rgba(28, 28, 28, 0.3) 100%);
    z-index: 3;
}

/* Slayt İçerik Konteyneri (Sola Dayalı Modern Görünüm) */
.hero-slide-content {
    position: relative;
    z-index: 4;
    max-width: 800px;
    padding: 40px;
    margin-left: 10%;
    /* Yazıları ekranın soluna daha yakın tutar */
}

/* Ufak Renkli Etiketler */
.slide-badge {
    display: inline-block;
    background-color: var(--clr-mor);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.slide-badge.bg-fusya {
    background-color: var(--clr-fusya);
}

.slide-badge.bg-turuncu {
    background-color: var(--clr-turuncu);
}

/* Yazı Animasyonları */
.hero-slide-content h1 {
    font-size: 3.5rem;
    color: var(--bg-color);
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
}

.hero-slide-content p {
    font-size: 1.2rem;
    color: #F3F4F6;
    margin-bottom: 35px;
    max-width: 600px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.5s;
}

/* Butonun yeni stili (Beyaz Çizgili) */
.btn-outline-white {
    display: inline-block;
    border: 2px solid white;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 30px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.7s, background-color 0.3s, color 0.3s;
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--clr-mor);
}

.hero-slide .btn-primary {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.7s, background-color 0.3s, transform 0.2s;
}

/* Aktif slaytta yazılar süzülerek yerine gelsin */
.hero-slide.active h1,
.hero-slide.active p,
.hero-slide.active .btn-primary,
.hero-slide.active .btn-outline-white {
    transform: translateY(0);
    opacity: 1;
}

/* Yön Okları */
.hero-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
    backdrop-filter: blur(5px);
}

.hero-btn:hover {
    background-color: var(--clr-fusya);
}

.prev-hero {
    left: 5%;
}

.next-hero {
    right: 5%;
}

/* Alt Noktalar (Pagination) */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: var(--clr-turuncu);
    width: 30px;
    border-radius: 10px;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .hero-slide-content {
        margin-left: 5%;
        padding: 20px;
    }

    .hero-slide-content h1 {
        font-size: 2.2rem;
    }

    .hero-btn {
        display: none;
        /* Mobilde yer kaplamaması için okları gizle, noktalar yeterli */
    }
}

/* ==========================================================================
   5. NEDEN BİZ? (ÖZELLİKLER KARTLARI)
   ========================================================================== */
.features {
    padding: 20px 5%;
    text-align: center;
    background-color: #FAFAFA;
    /* Çok açık gri arka plan */
}

.features h2 {
    color: var(--clr-mor);
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 4px solid transparent;
}

/* Alt kenarlıkları logonun renkleriyle canlandırma */
.feature-card:nth-child(1) {
    border-bottom-color: var(--clr-mor);
}

.feature-card:nth-child(2) {
    border-bottom-color: var(--clr-fusya);
}

.feature-card:nth-child(3) {
    border-bottom-color: var(--clr-sari);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--clr-koyu);
}


/* ==========================================================================
   5.5 EĞİTİMLERİMİZ (PROGRAM KARTLARI)
   ========================================================================== */
.programs {
    padding: 30px 5%;
    text-align: center;
    background-color: var(--bg-color);
    /* Neden Biz kısmı gri olduğu için bura beyaz, güzel ayrışır */
}

.programs h2 {
    color: var(--clr-mor);
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.program-card {
    background-color: #FAFAFA;
    /* Kartın içi çok hafif gri */
    padding: 40px 30px;
    border-radius: 20px;
    /* Logonun yapısına uygun yuvarlak hatlar */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.program-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.program-card h3 {
    margin-bottom: 15px;
    color: var(--clr-koyu);
    font-size: 1.4rem;
}

.program-card p {
    margin-bottom: 30px;
    color: #555;
    flex-grow: 1;
    /* Kart boyları farklı olsa da butonları hep en alta hizalar */
}

/* Çizgili İnceleme Butonları */
.btn-outline {
    padding: 10px 25px;
    border: 2px solid;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    background: transparent;
    transition: all 0.3s;
}

/* Kartlara Özel Logo Renklendirmeleri */
.card-mor .program-icon {
    background-color: var(--clr-mor);
}

.card-mor .btn-outline {
    color: var(--clr-mor);
    border-color: var(--clr-mor);
}

.card-mor .btn-outline:hover {
    background-color: var(--clr-mor);
    color: var(--bg-color);
}

.card-fusya .program-icon {
    background-color: var(--clr-fusya);
}

.card-fusya .btn-outline {
    color: var(--clr-fusya);
    border-color: var(--clr-fusya);
}

.card-fusya .btn-outline:hover {
    background-color: var(--clr-fusya);
    color: var(--bg-color);
}

.card-turuncu .program-icon {
    background-color: var(--clr-turuncu);
}

.card-turuncu .btn-outline {
    color: var(--clr-turuncu);
    border-color: var(--clr-turuncu);
}

.card-turuncu .btn-outline:hover {
    background-color: var(--clr-turuncu);
    color: var(--bg-color);
}

/* ==========================================================================
   5.8 VELİ YORUMLARI (OKLU SLIDER)
   ========================================================================== */
.testimonials {
    padding: 30px 5%;
    background-color: #F3F4F6;
    text-align: center;
}

.testimonials h2 {
    color: var(--clr-mor);
    margin-bottom: 40px;
    font-size: 2.2rem;
}

/* Slider'ı ve Okları İçine Alan Taşıyıcı */
.slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ok Butonları */
.slider-btn {
    background-color: var(--clr-mor);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.2s;
    z-index: 10;
}

.slider-btn:hover {
    background-color: var(--clr-fusya);
    /* Üzerine gelince fuşya olur */
    transform: scale(1.1);
}

.slider-btn:active {
    transform: scale(0.95);
}

.prev-btn {
    margin-right: 20px;
}

.next-btn {
    margin-left: 20px;
}

/* Kartların Göründüğü Çerçeve */
.slider-container {
    overflow: hidden;
    width: 100%;
}

/* Kartların Dizildiği Şerit (Animasyon İptal Edildi, JS Yönetecek) */
.slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    /* Yumuşak kayma efekti */
}

/* Tekil Yorum Kartı */
.testimonial-card {
    min-width: calc(33.333% - 20px);

    background-color: var(--card-bg);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    position: relative;
    /* YENİ EKLENENLER: Kartı yukarıdan aşağıya esnek bir sütun yapar */
    display: flex;
    flex-direction: column;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 80px;
    color: rgba(126, 63, 152, 0.08);
    line-height: 1;
    font-family: serif;
    font-weight: bold;
}

.stars {
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-card p {
    color: #4B5563;
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.7;
    /* YENİ EKLENEN: Yorum kısa bile olsa, aradaki boşluğu bu eleman kaplar */
    flex-grow: 1;
}

.parent-info {
    display: flex;
    align-items: center;
    gap: 15px;
    /* YENİ EKLENEN: Bu kutuyu flex konteynerinin en altına yapıştırır */
    margin-top: auto;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.bg-mor {
    background-color: var(--clr-mor);
}

.bg-fusya {
    background-color: var(--clr-fusya);
}

.bg-turuncu {
    background-color: var(--clr-turuncu);
}

.bg-sari {
    background-color: var(--clr-sari);
    color: var(--clr-koyu);
}

.parent-details h4 {
    color: var(--clr-koyu);
    font-size: 1rem;
    margin-bottom: 2px;
}

.parent-details span {
    color: #888;
    font-size: 0.85rem;
}

/* Mobilde tek kart göstermek için ayar */
@media (max-width: 900px) {
    .testimonial-card {
        min-width: calc(50% - 15px);
        /* Ekranda 2 kart */
    }
}

@media (max-width: 600px) {
    .testimonial-card {
        min-width: 100%;
        /* Mobilde 1 kart */
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .prev-btn {
        margin-right: 10px;
    }

    .next-btn {
        margin-left: 10px;
    }
}

/* ==========================================================================
   5.6 İŞBİRLİKLERİMİZ / KURUMLAR (SONSUZ LOGO BANDI)
   ========================================================================== */
.partners {
    padding: 60px 0;
    /* Yan boşlukları sildik ki logolar ekrandan tam çıksın */
    background-color: #FFFFFF;
    text-align: center;
    border-top: 1px solid #F3F4F6;
    /* Üst kısımla arasına çok hafif bir çizgi */
}

.partners h2 {
    color: var(--clr-mor);
    margin-bottom: 40px;
    font-size: 2rem;
}

/* Slider'ın dış kutusu (Kenarlara beyazdan şeffafa gölge verir) */
.partners-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.partners-slider::before,
.partners-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.partners-slider::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.partners-slider::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

/* Logoların Dizin Şeridi ve Animasyonu */
.partners-track {
    display: flex;
    align-items: center;
    gap: 80px;
    /* Logolar arası boşluk */
    width: max-content;
    /* 25 saniyede bir tur atar, 'linear' ile hiç takılmadan aynı hızda akar */
    animation: scrollPartners 25s linear infinite;
}

/* Üzerine gelince animasyon dursun ki veli logoyu inceleyebilsin */
.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }

    /* Tam yarısına (-50%) geldiğinde başa sarar (Kusursuz illüzyon) */
    100% {
        transform: translateX(-50%);
    }
}

/* Tekil Logo Konteyneri */
.partner-logo {
    width: 160px;
    /* Logoların standart genişliği */
    flex-shrink: 0;
    /* Logoların sıkışmasını engeller */
    display: flex;
    justify-content: center;
    align-items: center;

    /* GÖRSEL EFEKT: Başlangıçta logolar gri ve biraz soluk görünür */
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s ease;
    cursor: pointer;
}

/* Veli farenin imlecini logoya getirdiğinde orijinal rengine döner ve hafif büyür */
.partner-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    /* Logoların dikeyde çok patlamaması için sınır */
    object-fit: contain;
    /* Resmin en-boy oranını bozmadan sığdırır */
}

/* Mobil uyum: Mobilde logoları biraz küçültelim */
@media (max-width: 768px) {
    .partners-track {
        gap: 40px;
    }

    .partner-logo {
        width: 120px;
    }
}

/* ==========================================================================
   6. İLETİŞİM VE ÖN KAYIT FORMU
   ========================================================================== */
.contact-section {
    padding: 100px 5%;
    background-color: var(--clr-mor);
    color: var(--bg-color);
    display: flex;
    justify-content: center;
}

.form-container {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 50px;
    border-radius: 20px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.form-container h2 {
    color: var(--clr-fusya);
    margin-bottom: 10px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--clr-mor);
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 14px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus,
.input-group select:focus {
    border-color: var(--clr-fusya);
}

.form-btn {
    width: 100%;
    font-size: 1.2rem;
    padding: 15px;
    background-color: var(--clr-fusya);
    color: var(--bg-color);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(216, 27, 96, 0.3);
    transition: background-color 0.3s;
}

.form-btn:hover {
    background-color: #C2185B;
}

/* ==========================================================================
   7. FOOTER (ALT BİLGİ) VE MOBİL UYUM
   ========================================================================== */
footer {
    text-align: center;
    padding: 25px;
    background-color: #101010;
    color: #A0A0A0;
}

@media (max-width: 768px) {
    .hero-content {
        max-width: 90%;
        padding: 30px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .nav-links {
        display: none;
    }
}

/* ==========================================================================
   8. HAKKIMIZDA SAYFASI STİLLERİ (GÜNCELLENMİŞ VERSİYON)
   ========================================================================== */

/* Sayfa Üst Banner'ı */
.page-header {
    background: linear-gradient(135deg, var(--clr-mor) 0%, #4A1D5E 100%);
    color: var(--bg-color);
    text-align: center;
    padding: 100px 5%;
    border-bottom: 5px solid var(--clr-fusya);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Genel Başlık Stili */
.section-title {
    color: var(--clr-mor);
    font-size: 2.2rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--clr-turuncu);
    border-radius: 2px;
}

.text-center {
    text-align: center;
    display: block;
}

.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Hikayemiz Alanı */
.about-content {
    padding: 80px 5%;
    background-color: var(--bg-color);
}

.about-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
}

.about-text p {
    color: #4B5563;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(126, 63, 152, 0.15);
    transform: rotate(2deg);
    transition: transform 0.3s;
}

.about-image img:hover {
    transform: rotate(0deg);
}

/* =========================================================
   EKİP VE EĞİTMEN KARTLARI (YENİ DÜZEN)
   ========================================================= */
.team-section {
    padding: 80px 5%;
    background-color: #F8FAFC;
}

/* Ekip Bölümü Genel Düzenleme */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
}

/* Kurucuları Yan Yana Merkezleme (Veya Tek Kişiyse Ortalar) */
.founders-grid {
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(280px, 350px));
}

/* Kurucu Kartı Stili (Fotoğraflı ve Fuşya Vurgulu) */
.team-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
    border-bottom: 4px solid var(--clr-fusya);
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
}

.team-info {
    padding: 30px 20px;
}

/* Eğitim Kadrosu Izgarası */
.instructors-grid {
    margin-top: 50px;
}

/* Eğitmen Kartları İçin Özel Stil (Mert Aksu Dahil - Turuncu Vurgulu) */
.instructor-card {
    border-bottom: 4px solid var(--clr-turuncu) !important;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.instructor-card:hover {
    box-shadow: 0 10px 25px rgba(245, 124, 0, 0.1);
}

.instructor-card .team-info {
    padding: 30px;
}

/* İsim, Rol ve Açıklama Metinleri */
.team-info h3 {
    color: var(--clr-koyu);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.team-role {
    display: block;
    color: var(--clr-turuncu);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.team-info p {
    color: #6B7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Menüde Hangi Sayfada Olduğumuzu Belirten Stil */
.active-link {
    color: var(--clr-fusya) !important;
    border-bottom: 2px solid var(--clr-fusya);
    padding-bottom: 5px;
}

/* Mobil Uyum */
@media (max-width: 900px) {
    .about-grid {
        flex-direction: column;
    }

    .about-image img {
        transform: rotate(0);
    }
}

/* ==========================================================================
   9. İLETİŞİM SAYFASI STİLLERİ
   ========================================================================== */

/* İletişim Bilgi Kartları */
.contact-info-cards {
    padding: 80px 5%;
    background-color: var(--bg-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background-color: #FAFAFA;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: transform 0.3s;
    border-bottom: 4px solid transparent;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* Kartların alt kenarlık renkleri */
.info-card.card-mor {
    border-bottom-color: var(--clr-mor);
}

.info-card.card-fusya {
    border-bottom-color: var(--clr-fusya);
}

.info-card.card-turuncu {
    border-bottom-color: var(--clr-turuncu);
}

.info-icon {
    font-size: 45px;
    margin-bottom: 20px;
}

.info-card h3 {
    color: var(--clr-koyu);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.info-card p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Harita Bölümü */
.map-section {
    width: 100%;
    line-height: 0;
    /* İframe altındaki boşluğu sıfırlar */
}

/* Haritayı biraz grileştirip daha şık bir filtre eklersek (isteğe bağlı) */
.map-section iframe {
    filter: grayscale(20%) contrast(1.1);
}

/* ==========================================================================
   10. EĞİTİMLERİMİZ SAYFASI STİLLERİ (9'LU GRID)
   ========================================================================== */
.courses-section {
    padding: 80px 5%;
    background-color: #F8FAFC;
}

.page-header-2 {
    background: linear-gradient(135deg, var(--clr-mor) 0%, #4A1D5E 100%);
    color: var(--bg-color);
    text-align: center;
    padding: 50px 5%;
    /* Üst ve alt boşlukları yarı yarıya azalttık */
    border-bottom: 5px solid var(--clr-fusya);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.course-card {
    background-color: var(--bg-color);
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
}

.course-header {
    display: flex;
    align-items: center;
    padding: 25px;
    color: white;
    gap: 15px;
}

.course-icon {
    font-size: 2.2rem;
    background: rgba(255, 255, 255, 0.25);
    min-width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.course-body {
    padding: 30px;
    flex-grow: 1;
}

/* Kart İçindeki Paragraf (Düzenlendi) */
.course-body p {
    color: #4B5563;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px; /* Buton ile etiketler arasına biraz nefes boşluğu koyduk */
}

.course-tags span {
    background-color: #F1F5F9;
    color: #475569;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.border-mor {
    border-bottom: 5px solid var(--clr-mor);
}

.border-fusya {
    border-bottom: 5px solid var(--clr-fusya);
}

.border-turuncu {
    border-bottom: 5px solid var(--clr-turuncu);
}

/* ==========================================================================
   11. BLOG SAYFASI STİLLERİ
   ========================================================================== */

.blog-section {
    padding: 80px 5%;
    background-color: #F3F4F6;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tekil Blog Kartı */
.blog-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Blog Görseli ve Yakınlaşma Efekti */
.blog-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    /* Dışarı taşan resmi gizle */
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
    /* Üzerine gelince resmi %10 büyüt */
}

/* Resim Üzerindeki Kategori Etiketi */
.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* İçerik Kısmı */
.blog-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* İçerik boyları farklı olsa da butonu aşağı iter */
}

.blog-date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
    display: block;
}

.blog-content h3 {
    color: var(--clr-koyu);
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-content p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

/* Devamını Oku Linki */
.read-more {
    text-decoration: none;
    color: var(--clr-mor);
    font-weight: 700;
    font-size: 1.05rem;
    transition: color 0.3s;
    display: inline-block;
    align-self: flex-start;
}

.read-more:hover {
    color: var(--clr-fusya);
}

/* Daha Fazla Yükle Butonu */
.load-more-container {
    text-align: center;
    margin-top: 60px;
}

/* Detay Butonu Stili */
.btn-detail {
    margin-top: auto;
    padding: 10px 0;
    background: transparent;
    border: 2px solid var(--clr-mor);
    color: var(--clr-mor);
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-detail:hover {
    background-color: var(--clr-mor);
    color: white;
}

/* Modal (Arka Plan) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

/* Modal Kutusu */
.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: modalFade 0.4s ease;
}

@keyframes modalFade {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 30px;
    cursor: pointer;
    color: #888;
}

/* Modal İçindeki Başlık ve Ücret */
.modal-price-box {
    background-color: #FDF2F8;
    padding: 20px;
    border-radius: 15px;
    border: 2px dashed var(--clr-fusya);
    margin-top: 25px;
    text-align: center;
}

.modal-price-box h4 {
    color: var(--clr-fusya);
    margin-bottom: 5px;
}

.modal-price-box span {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--clr-koyu);
}

/* =========================================================
   EĞİTİM KARTLARI DETAY BUTONU (Blog ile çakışmaması için özel isim)
   ========================================================= */

.course-detail-btn {
    /* --- YERLEŞİM --- */
    margin-top: auto; /* SİHİRLİ KOD: Butonu her zaman kartın en altına iter */
    align-self: center; 
    margin-bottom: 25px; /* Kartın zemininden 25px yukarıda sabitler */

    /* --- ESTETİK --- */
    padding: 12px 35px; 
    background-color: var(--clr-mor); 
    color: #fff !important; 
    border: none; 
    border-radius: 30px; 
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(126, 63, 152, 0.2); 
    transition: all 0.3s ease; 
}

.course-detail-btn:hover {
    background-color: var(--clr-fusya); 
    color: #fff !important; 
    transform: translateY(-2px); 
    box-shadow: 0 6px 15px rgba(216, 27, 96, 0.3); 
}

/* Modal İçi Ön Kayıt Butonu */
.modal-cta-btn {
    display: block;
    width: 100%;
    background-color: var(--clr-turuncu); /* Dikkat çekici turuncu */
    color: #ffffff !important;
    text-align: center;
    padding: 16px 20px;
    margin-top: 25px;
    border-radius: 12px; /* Kutuyla uyumlu modern köşeler */
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(245, 124, 0, 0.3);
    transition: all 0.3s ease;
}

.modal-cta-btn:hover {
    background-color: #E66A00;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 124, 0, 0.4);
}

/* =========================================================
   BLOG DETAY MODALI (AÇILIR PENCERE)
   ========================================================= */

/* Blog Modal İçeriği (Daha Geniş ve Uzun yazılar için kaydırmalı) */
.blog-modal-content {
    background-color: #fff;
    margin: 5% auto; /* Ekrana biraz daha yukarıdan başlar */
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 800px; /* Okuma kolaylığı için daha geniş */
    max-height: 85vh; /* Ekranın %85'ini kaplar, uzunsa içine kaydırma çubuğu ekler */
    overflow-y: auto; /* Yazı uzunsa aşağı kaydırmayı açar */
    position: relative;
    animation: modalFade 0.4s ease;
}

/* Kapatma Butonu (Sabit Kalması İçin) */
.blog-close-modal {
    position: absolute;
    top: 20px; right: 25px;
    font-size: 30px;
    cursor: pointer;
    color: #888;
    z-index: 10;
    background: white; /* Arkasından resim/yazı geçerse karışmasın diye */
    border-radius: 50%;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Ekip kartları içindeki açıklama metinleri */
.member-info p {
    font-size: 0.9rem;
    color: #64748B;
    margin-top: 12px;
    line-height: 1.6;
}
/* =========================================================
   13. HAKKIMIZDA SAYFASI STİLLERİ
   ========================================================= */

/* Vizyon ve Misyon Bölümü */
.vision-section { padding: 80px 5%; background-color: var(--bg-color); }
.vision-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 60px; }
.vision-image { flex: 1; position: relative; }
.vision-image img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.experience-badge { position: absolute; bottom: -20px; right: -20px; background-color: var(--clr-turuncu); color: white; padding: 20px 30px; border-radius: 15px; box-shadow: 0 10px 20px rgba(245, 124, 0, 0.3); text-align: center; display: flex; flex-direction: column; }
.experience-badge span:first-child { font-size: 1.5rem; font-weight: 800; }
.experience-badge span:last-child { font-size: 1rem; font-weight: 600; }
.vision-content { flex: 1; }
.section-subtitle { color: var(--clr-fusya); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.vision-content h2 { font-size: 2.5rem; color: var(--clr-koyu); line-height: 1.2; margin-bottom: 25px; }
.vision-content p { font-size: 1.1rem; color: #555; line-height: 1.7; margin-bottom: 20px; }

/* Altyapı ve Donanım Bölümü */
.infrastructure-section { padding: 80px 5%; background-color: #F8FAFC; }
.infra-header { text-align: center; max-width: 700px; margin: 0 auto 50px auto; }
.infra-header h2 { font-size: 2.2rem; color: var(--clr-koyu); margin-bottom: 15px; }
.infra-header p { font-size: 1.1rem; color: #666; }
.infra-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; }
.infra-card { background: white; padding: 40px 30px; border-radius: 20px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.04); transition: transform 0.3s; border-top: 5px solid var(--clr-turuncu); }
.infra-card:hover { transform: translateY(-10px); }
.infra-icon { font-size: 3rem; margin-bottom: 20px; }
.infra-card h4 { font-size: 1.3rem; color: var(--clr-mor); margin-bottom: 15px; }
.infra-card p { color: #555; line-height: 1.6; }

/* Ekip Bölümü */
.team-section { padding: 80px 5%; background-color: white; }
.team-header { text-align: center; margin-bottom: 50px; }
.team-header h2 { font-size: 2.2rem; color: var(--clr-koyu); margin-bottom: 15px; }
.team-header p { font-size: 1.1rem; color: #666; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.team-member { text-align: center; background-color: #F8FAFC; border-radius: 20px; overflow: hidden; transition: box-shadow 0.3s; }
.team-member:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.team-member img { width: 100%; height: 280px; object-fit: cover; }
.member-info { padding: 25px 20px; }
.member-info h4 { font-size: 1.3rem; color: var(--clr-koyu); margin-bottom: 5px; }
.member-info span { font-size: 0.95rem; color: var(--clr-fusya); font-weight: 600; }
.member-info p { font-size: 0.9rem; color: #64748B; margin-top: 12px; line-height: 1.6; }

/* Mobil Uyum */
@media (max-width: 900px) {
    .vision-container { flex-direction: column; }
    .experience-badge { right: 20px; bottom: 20px; }
}