/* --- 1. DEĞİŞKENLER VE SIFIRLAMA --- */
:root {
    --ana-koyu: #121212;
    --vurgu-renk: #BC7354;
    --vurgu-hover: #a35d40;
    --yazi-beyaz: #FFFFFF;
    --yazi-gri: #A0A0A0;
    --serif-font: 'Playfair Display', serif;
    --sans-font: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--ana-koyu);
    color: var(--yazi-beyaz);
    font-family: var(--sans-font);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Açılış Animasyonu */
#page-loader {
    position: fixed;
    inset: 0;
    background: #121212; /* Sitenin arka plan rengiyle aynı olsun */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999; /* Her şeyin en üstünde durmalı */
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-content {
    text-align: center;
    animation: amblemMove 2s infinite ease-in-out;
}

.loader-content img {
    width: 300px;
    height: auto;
}

.loader-line {
    width: 0%;
    height: 3px;
    background: var(--vurgu-renk);
    margin: 15px auto 0;
    animation: lineGrow 2s infinite;
}

@keyframes amblemMove {
    0%, 100% { transform: scale(0.9) translateX(-15px); opacity: 0.6; }
    50% { transform: scale(1.1) translateX(15px); opacity: 1; }
}

@keyframes lineGrow {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 0; }
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

img {
    max-width: 100%;
    display: block;
}

/* --- 2. NAVİGASYON (NAVBAR) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 10%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--yazi-beyaz);
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--vurgu-renk);
}

.nav-cta {
    background: var(--vurgu-renk);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--vurgu-hover) !important;
    color: white !important;
}

@media (max-width: 768px) {

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 260px;
        background: #000;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: right 0.4s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .burger {
        display: block;
        z-index: 1100;
    }

    .burger div {
        width: 25px;
        height: 3px;
        background: white;
        margin: 5px;
        transition: 0.3s;
    }
}


/* --- 3. HERO (GİRİŞ) BÖLÜMÜ --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
                url('../images/hero-bg.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    position: relative;
}

.hero-content {
    z-index: 2;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: var(--serif-font);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 4s ease-out forwards;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--yazi-gri);
    margin-bottom: 40px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-section { /* Veya senin kullandığın sınıf ismi neyse */
    /* ÖNEMLİ: Başına mutlaka ../ ekle */
    background-image: url('../images/hero-bg.jpg') !important; 
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Mobilde yükseklik görünmemesi sorununa karşı: */
    width: 100%;
    min-height: 400px; 
    display: block;
}

/* iPhone/Safari için özel düzeltme */
@media (max-width: 768px) {

    .hero {
        background-attachment: scroll;  /* fixed kaldır */
        height: 87vh;                   /* daha dengeli */
        min-height: 500px;              /* çok küçülmesin */
    }

}


/* ===== AKADEMİK LAYOUT ===== */

.akademik-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Görsel */
.akademik-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    border: 1px solid #333;
    display: block;
}

/* Ders Kartı */
.akademik-card > div {
    margin-top: 20px;
    background: #1a1a1a;
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid var(--vurgu-renk);
}

/* ===== MOBİL DÜZENLEME ===== */

/* --- MOBİL DÜZENLEME (992px ve altı) --- */
@media (max-width: 992px) {
    .akademik-layout {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .detay-ust-alan {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        margin-bottom: 40px !important;
    }

    /* Kapsayıcıyı şeffaflaştırarak içindeki her şeyi ana grid'in parçası yapıyoruz */
    .akademik-content {
        display: contents; 
        order: 1;
    }

    /* 1. GRUP: TÜM METİN ELEMANLARI */
    /* Content içindeki her metin parçasını 1. sıraya sabitliyoruz */
    .akademik-content h3, 
    .akademik-content h4, 
    .akademik-content p, 
    .akademik-content ul {
        order: 1;
    }

    /* 2. GRUP: GÖRSEL */
    .akademik-image {
        order: 2;
        width: 100%;
        margin: 10px 0;
    }

    .akademik-image img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

    /* 3. GRUP: DERS SAATLERİ KARTI */
    .akademik-card {
        order: 3;
        width: 100%;
        margin-top: 0;
    }

    /* Liste görünümü iyileştirme */
    .akademik-content ul li {
        margin-bottom: 12px;
        display: flex;
        align-items: flex-start;
        line-height: 1.5;
    }
    
    .akademik-content ul li i {
        margin-top: 4px;
        margin-right: 12px;
    }

.zeka-galeri {
        grid-template-columns: 1fr !important; /* Mobilde kesinlikle TEK SÜTUN (alt alta) */
        gap: 15px;
    }

    .zeka-galeri img {
        height: 250px;
        object-fit: cover; /* Resmin bozulmasını engeller */
    }

.zeka-galeri div {
        padding: 25px !important; /* Mobilde kutu iç boşluğunu daralt */
        text-align: center; /* Mobilde metni ortalamak daha şık durur */
    }
}

/* --- EKSTRA KÜÇÜK TELEFONLAR (480px) --- */
/* Küçük telefonlar (iPhone SE vb.) */
@media (max-width: 480px) {
    .section-padding {
        padding: 50px 15px;
    }

    .akademik-layout {
        gap: 25px;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .akademik-card > div a {
        width: 100%;
        display: block;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .gallery-grid img {
        height: 180px !important;
    }
    
    .yas-gruplari-grid {
        grid-template-columns: 1fr !important; /* Yaş grupları kartları alt alta */
    }
}
/* --- Zeka Oyunları Bölümü Mobil Uyumluluk --- */
@media (max-width: 992px) {
    /* Üst Bölüm: Metin ve Görsel */
    .detay-ust-alan {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        margin-bottom: 40px !important;
    }

    .akademik-content {
        order: 1; /* Metin üstte */
    }

    .akademik-image {
        order: 2; /* Görsel altta */
        width: 100%;
    }

    /* Kategori Kartları: 3'lü yapıyı 1 veya 2 sütuna düşürür */
    .yas-gruplari-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr)) !important;
        gap: 20px !important;
    }

    /* Alt Galeri (Satranç ve Turuncu Kutu) */
    .zeka-galeri {
        grid-template-columns: 1fr !important; /* Alt alta getir */
        margin-top: 40px !important;
    }

    .zeka-galeri img {
        height: 250px;
        object-fit: cover; /* Resmin bozulmasını engeller */
    }

    .zeka-galeri div {
        padding: 30px !important; /* Mobilde iç boşluğu daralt */
    }
}

/* Küçük telefonlar için buton ve metin ayarları */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.6rem !important;
    }

    .kazanim-box {
        font-size: 0.9rem;
    }

    .btn-primary {
        width: 100%; /* Butonu tam genişlik yapar, tıklamayı kolaylaştırır */
        padding: 15px 10px !important;
    }
}

@media (max-width: 992px) {
    .zeka-galeri {
        grid-template-columns: 1fr !important; /* Yan yana yapıyı alt alta getirir */
        gap: 30px !important;
    }

    .reels-container {
        max-width: 320px; /* Mobilde videonun çok yayılmasını engeller, Reels formunda tutar */
        order: 1; /* Videoyu mobilde üste alır */
    }

    .zeka-galeri div:last-child {
        order: 2; /* Metin kutusunu videonun altına alır */
        padding: 30px 20px !important;
    }
}

/* --- 4. GENEL YAPILAR (LAYOUT) --- */
.section-padding {
    padding: 100px 10%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--serif-font);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--vurgu-renk);
}

h3 {
    font-family: var(--serif-font);
    color: var(--vurgu-renk);
    margin-bottom: 15px;
}


/* --- 5. BUTONLAR --- */
.btn {
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.4s ease;
    display: inline-block;
    cursor: pointer;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: 2px solid var(--vurgu-renk);
}

.btn-primary, .btn-secondary {
    background-color: var(--vurgu-renk);
    color: white;
}

@media (max-width: 576px) {

    .btn-primary,
    .btn-secondary {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 12px;
    }

}

.btn:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(188, 115, 84, 0.2);
}

/* --- 6. EĞİTİM KARTLARI (GRID) --- */
.program-grid {
    display: grid;
    /* Ekran genişliğine bakmaksızın 2 sütun oluşturur */
    grid-template-columns: 1fr 1fr; 
    gap: 30px;
    max-width: 1000px; /* Kartların çok yayılmaması için ideal genişlik */
    margin: 0 auto;    /* Grid'i sayfada ortalar */
}

/* Mobil uyum için: Ekran küçüldüğünde kartlar tek sütun olsun */
@media (max-width: 768px) {
    .program-grid {
        grid-template-columns: 1fr;
    }
}

#egitimler {
    padding: 100px 0;
    background: linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)), 
                url('../images/art-texture.jpg');
    background-size: cover;
    background-position: center;
}

/* --- 4. EĞİTİM KARTLARI (2x2 GRID VE ARKA PLANLAR) --- */
.program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.program-card {
    position: relative;
    padding: 40px 25px;
    color: #fff;
    border-radius: 12px;
    overflow: hidden;
    min-height: 380px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.program-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    transition: background 0.3s ease;
    z-index: 1;
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-card:hover::before {
    background: rgba(0,0,0,0.5);
}

.program-card i,
.program-card h3,
.program-card p,
.program-card .card-footer {
    position: relative;
    z-index: 2;
}

#akademik-karti { 
    background-image: url('../images/akademik-bg1.jpg');
}

#hobi-karti { 
    background-image: url('../images/akademik-bg.jpg');
}

#cocuk-resim-karti { 
    background-image: url('../images/ressam-çocuk.jpg');
}

#zeka-oyunlari-karti { 
    background-image: url('../images/zekaoyunları.jpg');
}

.card-footer {
    margin-top: 20px;
}

.btn-detail {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--vurgu-renk);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-detail:hover {
    color: #fff;
    transform: translateX(5px);
}

.program-card i {
    font-size: 40px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover olduğunda ikon büyür */
.program-card:hover i {
    transform: scale(1.2) translateY(-5px);
    color: var(--vurgu-renk);
}


/* --- 7. GALERİ VE MEZUNLAR Anasayfa --- */

/* Ortak Grid Yapısı */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Genel Öge Kuralları */
.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    height: 350px; /* PC Yüksekliği */
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* --- MOBİL DÜZENLEME (Öğrenci Çalışmaları Odaklı) --- */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    /* Sadece Overlay İÇERMEYEN galeri öğelerini küçült (Öğrenci Çalışmaları) */
    .gallery-item:not(.instructor-card) {
        height: 180px !important; /* Aradaki boşluğu yok eden sihirli dokunuş */
    }

    /* Mezun kartlarını (instructor-card) mobilde biraz daha uzun tut ki yazılar sığsın */
    .gallery-item.instructor-card {
        height: 280px !important; 
    }
}

/* --- MEZUNLAR ÖZEL (Overlay Ayarları) --- */
.instructor-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    
    padding: 20px 10px 10px 10px !important; 
    background: linear-gradient(to top, rgba(0,0,0,0.9) 30%, transparent);
    text-align: center;
    
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.instructor-card h3 {
    margin: 0 !important; 
    padding: 0 !important;
    font-size: 1rem !important;
    line-height: 1.2;
}

.instructor-card p {
    margin: 2px 0 !important; 
    padding: 0 !important;
    font-size: 0.85rem !important;
    line-height: 1.2;
}

.instructor-card span {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.8rem !important;
    display: block;
    line-height: 1.1;
}

@media (max-width: 768px) {
    .gallery-item img {
        display: block; /* Resmin altındaki hayali 3-4px boşluğu siler */
    }
}

/* Ana Sayfa Galeri Altı Buton Stili */
.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--yazi-beyaz);
    font-family: var(--sans-font);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 8px;
    transition: 0.4s ease;
}

/* Alt Çizgi Efekti */
.btn-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px; /* Başlangıç genişliği */
    height: 2px;
    background-color: var(--vurgu-renk);
    transition: 0.4s ease;
}

.btn-more:hover {
    color: var(--vurgu-renk);
}

.btn-more:hover::after {
    width: 100%; /* Üzerine gelince çizgi uzar */
}

.btn-more i {
    transition: transform 0.4s ease;
}

.btn-more:hover i {
    transform: translateX(10px); /* Ok sağa kayar */
}

@media (max-width: 768px) {
    /* 1. Üstteki galeri bölümünün alt boşluğunu azaltıyoruz */
    #tasarimlar.section-padding {
        padding-bottom: 20px !important; /* Standart 80px-100px'den 20px'e düşürdük */
    }

    /* 2. "Devamını Gör" butonunun etrafındaki fazla boşluğu alıyoruz */
    #tasarimlar .btn-more, 
    #tasarimlar div[style*="margin-top: 50px"] {
        margin-top: 20px !important; 
        margin-bottom: 10px !important;
    }

    /* 3. Alttaki "Mezunlar" bölümünün üst boşluğunu daraltıyoruz */
    #mezunlar.section-padding {
        padding-top: 20px !important; 
    }

    /* 4. Başlıkların altındaki boşlukları biraz daha makul seviyeye çekelim */
    .section-title {
        margin-bottom: 25px !important;
    }
}

@media (max-width: 768px) {
    /* 1. Bir önceki bölümün (Öğrenci Çalışmaları) alt boşluğunu sıfıra yakın çekiyoruz */
    #tasarimlar.section-padding {
        padding-bottom: 10px !important;
    }

    /* 2. Reels bölümünün üst boşluğunu daraltıyoruz */
    #reels.section-padding {
        padding-top: 10px !important;
    }

    /* 3. Reels Grid yapısını mobilde yan yana 2'li veya tekli yaparak alanı sıkıştırıyoruz */
    .reels-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Videolar mobilde yan yana 2 tane */
        gap: 10px;
        margin-top: 20px;
    }

    .reel-item video {
        width: 100%;
        border-radius: 10px;
        aspect-ratio: 9 / 16; /* Reels formatını korur */
        background: #000;
    }
}

/* Çok küçük ekranlarda videoların çok küçülmemesi için tek sütuna düşebilir */
@media (max-width: 480px) {
    .reels-grid {
        grid-template-columns: 1fr; 
        gap: 20px;
    }
}

/* --- GALERİ SAYFASI ANA GRID YAPISI --- */
.gallery-container {
    display: grid;
    /* Masaüstünde tam 3 sütun yapar */
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px; /* Görseller arası boşluk */
    padding: 40px 0;
}

.gallery-card {
    position: relative;
    aspect-ratio: 4 / 3; /* Görsellerin kutularını eşit boyda tutar */
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #333;
    cursor: pointer;
    background-color: #1a1a1a;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi bozmadan kutuya sığdırır */
    transition: transform 0.6s ease;
}

/* Hover Efektleri */
.gallery-card:hover {
    transform: translateY(-8px);
    border-color: var(--vurgu-renk);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.gallery-card:hover img {
    transform: scale(1.1); /* Resim kutunun içinde büyür (Zoom) */
}

/* Resim Üzerindeki Mercek Overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(188, 115, 84, 0.7); /* Atölye rengi şeffaf hali */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: white;
    font-size: 2.5rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-card:hover .gallery-overlay i {
    transform: translateY(0);
}




/* Lightbox Ana Alanı */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px); /* Arka planı bulanıklaştırarak netliği öne çıkarır */
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* BÜYÜK RESİM AYARLARI */
.lightbox-content {
    /* Zorla genişletmeyi (width: 90vw gibi) sildik */
    /* Bunun yerine resmin kendi boyutunda açılmasını sağlayan ayarlar: */
    
    display: block;
    margin: auto;
    
    /* Resim orijinal boyutundan daha büyük açılmasın (Kaliteyi korur) */
    width: auto; 
    height: auto;
    
    /* Ama ekranın dışına da taşmasın (Responsive koruma) */
    max-width: 95%; 
    max-height: 90vh;
    
    /* Netlik artırıcı tarayıcı komutları */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    
    /* Şık sunum detayları */
    border-radius: 4px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 1);
    
    /* Yumuşak bir giriş animasyonu */
    animation: simpleFadeIn 0.3s ease-out;
}

@keyframes simpleFadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* --- MOBİL UYUMLULUK (RESPONSIVE) --- */

/* Tablet Görünümü: Yan yana 2 görsel */
@media (max-width: 1024px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Telefon Görünümü: Yan yana 1 görsel (Tam ekran genişliği) */
@media (max-width: 600px) {
    .gallery-container {
        grid-template-columns: 1fr; 
        gap: 15px;
    }
    
    .gallery-card {
        aspect-ratio: 1 / 1; /* Mobilde kare görseller daha iyi durur */
    }
}

/* --- Öğrencilerimizden Kareler Efect --- */
/* --- Detay Üst Görsel Efekti --- */
.detay-gorsel {
    overflow: hidden;
    border-radius: 20px; /* Görselin köşelerini CSS ile de koruyalım */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.detay-gorsel img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.detay-gorsel:hover {
    transform: translateY(-5px); /* Hafif yukarı kalkma */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.detay-gorsel:hover img {
    transform: scale(1.05); /* Çok hafif zoom */
}

/* --- Yaş Grupları Kart Efekti --- */
.yas-gruplari-grid > div {
    transition: all 0.3s ease;
    cursor: default;
}

.yas-gruplari-grid > div:hover {
    background: #252525 !important; /* Rengi hafif açar */
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* --- Alt Galeri (Öğrencilerimizden Kareler) Efekti --- */
.gallery-grid img {
    transition: all 0.4s ease;
    cursor: pointer;
    filter: grayscale(20%); /* Normalde hafif mat durur */
}

.gallery-grid img:hover {
    transform: scale(1.08); /* Belirgin yakınlaşma */
    filter: grayscale(0%) brightness(1.1); /* Renklenir ve parlar */
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    z-index: 10;
    position: relative;
}


/* --- 8. REELS VİDEO BÖLÜMÜ --- */
.reels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.reel-item {
    aspect-ratio: 9 / 16;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333;
}

.reel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- 9. İLETİŞİM VE SOSYAL MEDYA --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.social-links-minimal {
    display: flex;
    gap: 25px;
    margin-top: 20px;
    align-items: center;
}

.social-links-minimal a {
    color: var(--yazi-beyaz);
    font-size: 2.2rem; /* Büyük ikonlar */
    transition: all 0.4s ease;
}

.social-links-minimal a:hover {
    color: var(--vurgu-renk);
    transform: scale(1.1) translateY(-3px);
}

/* --- 10. FORM GİRİŞ ALANLARI --- */
.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
    color: white;
    background: transparent;
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
    transition: 0.3s;
}

.input-group label {
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--yazi-gri);
    pointer-events: none;
    transition: 0.3s;
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label {
    top: -15px;
    font-size: 0.8rem;
    color: var(--vurgu-renk);
}

/* --- 11. MOBİL VE ANİMASYON --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes navLinkFade {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 768px) {
    .contact-wrapper { grid-template-columns: 1fr; }
    .reels-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
}

#vizyon {
    position: relative;
    overflow: hidden;
}

/* Arka plana hafif bir sanatsal doku eklemek istersen */
#vizyon::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(188, 115, 84, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.btn-location {
    display: inline-block;
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid var(--vurgu-renk);
    color: var(--vurgu-renk);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-location i {
    margin-left: 5px;
}

.btn-location:hover {
    background-color: var(--vurgu-renk);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(188, 115, 84, 0.3);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 5px;
}

/* WhatsApp Sabit Buton Stilleri */
.whatsapp-fixed {
    position: fixed;
    bottom: 30px; /* Alttan mesafe */
    right: 30px;  /* Sağdan mesafe */
    background-color: #25d366; /* WhatsApp yeşili */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    z-index: 100001; /* Loader'ın bile üstünde durması için */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Hafif Nabız/Parlama Efekti */
.whatsapp-fixed::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.5;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-fixed:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #128c7e; /* Koyu yeşil hover */
}

/* Yanındaki küçük "Bize Yazın" yazısı */
.tooltip-text {
    position: absolute;
    right: 75px;
    background-color: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.whatsapp-fixed:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}

/* Mobilde butonu biraz küçültelim */
@media (max-width: 768px) {
    .whatsapp-fixed {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
    .tooltip-text {
        display: none; /* Mobilde yazıyı gizleyebiliriz */
    }
}
