/* GENEL AYARLAR */
:root {
    --primary: #78C2AD; /* Pastel Yeşil */
    --primary-dark: #5fa592;
    --secondary: #F3969A; /* Yavruağzı */
    --secondary-dark: #e07b80;
    --text-dark: #2C3E50;
    --text-light: #7f8c8d;
    --bg-light: #F9FBFB;
    --white: #ffffff;
    --dark-footer: #1a252f;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body); color: var(--text-dark);
    line-height: 1.7; background-color: var(--bg-light); overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: var(--text-dark); }
a { text-decoration: none; color: inherit; transition: all 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 25px; }
.section-padding { padding: 5rem 0; }
.bg-white { background-color: var(--white); }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.section-title h2 { font-size: 2.5rem; margin-bottom: 15px; }
.section-title p { color: var(--text-light); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }
.title-separator { font-family: var(--font-heading); font-style: italic; color: var(--primary); opacity: 0.6; margin-top: 1rem; letter-spacing: 2px; }

/* NAVBAR */
.navbar {
    background: rgba(255, 255, 255, 0.98); padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(10px);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }

/* --- MODERN KURUMSAL & PATİLİ LOGO --- */
.logo {
    display: flex; align-items: center; gap: 12px; text-decoration: none; margin-top: 5px;
}
.logo-icon {
    font-size: 2.2rem; color: var(--primary); background: rgba(120, 194, 173, 0.1);
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; transition: 0.3s;
}
.logo:hover .logo-icon { background: var(--primary); color: white; transform: rotate(15deg); }
.logo-text { display: flex; flex-direction: column; line-height: 0.85; }
.logo-ust {
    font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.6rem;
    color: var(--text-dark); letter-spacing: -1px;
}
.logo-alt {
    font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 1.4rem;
    color: var(--secondary); margin-left: 18px; letter-spacing: 2px;
}
@media (max-width: 768px) {
    .logo-icon { width: 40px; height: 40px; font-size: 1.6rem; }
    .logo-ust { font-size: 1.3rem; }
    .logo-alt { font-size: 1.1rem; margin-left: 12px; }
}

.nav-links { display: flex; gap: 35px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 0.95rem; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--secondary); }
.btn-randevu {
    background: var(--secondary); color: var(--white) !important;
    padding: 12px 28px; border-radius: 50px; box-shadow: 0 5px 15px rgba(243, 150, 154, 0.3);
}
.btn-randevu:hover { background: var(--secondary-dark); transform: translateY(-3px); }
.hamburger { display: none; cursor: pointer; font-size: 1.6rem; color: var(--text-dark); }

/* HERO SECTION */
.hero {
    height: 90vh; min-height: 600px; position: relative; display: flex; align-items: center;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('resimler/anasayfafoto.jpg');
    background-size: cover; background-position: center; background-color: #ddd;
}
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 850px; padding-top: 4rem; }

/* "Çocuğunuz İçin" kısmı YEŞİL olacak */
.hero-content h1 { 
    font-size: 4rem; line-height: 1.1; margin-bottom: 1.5rem; 
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    color: var(--primary); 
}

/* "İkinci Bir Yuva" kısmı PEMBE olacak */
.hero-content h1 span { 
    font-style: italic; 
    color: var(--secondary);
}

.hero-content p { font-size: 1.25rem; margin-bottom: 2.5rem; opacity: 0.95; font-weight: 500; max-width: 700px; text-shadow: 1px 1px 5px rgba(0,0,0,0.3); }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 38px; border-radius: 50px; font-weight: 700; margin-right: 15px; margin-bottom: 15px; transition: all 0.3s; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 10px 20px -10px rgba(120, 194, 173, 0.5); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); }
.btn-outline { border: 2px solid rgba(255,255,255,0.9); color: white; }
.btn-outline:hover { background: white; color: var(--text-dark); border-color: white; }

/* --- DERS PROGRAMI SAYFASI (program.php) STİLLERİ --- */
.program-header {
    background: linear-gradient(135deg, rgba(120, 194, 173, 0.2), rgba(243, 150, 154, 0.2));
    padding: 60px 0 40px; margin-bottom: 20px;
}
.badge {
    background: var(--primary); color: white; padding: 5px 15px; border-radius: 20px;
    font-size: 0.9rem; font-weight: 600; display: inline-block; margin-bottom: 10px;
}
.schedule-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px;
}
.day-card {
    background: var(--white); border-radius: 15px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.05); transition: 0.3s;
}
.day-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.day-header {
    background: var(--text-dark); color: white; padding: 15px 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.day-header h3 { color: white; margin: 0; font-size: 1.2rem; }
.day-card.saturday .day-header { background: var(--secondary); }
.schedule-list { padding: 0; }
.schedule-list li {
    padding: 15px 20px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center;
}
.schedule-list li:last-child { border-bottom: none; }
.schedule-list .time { font-weight: 700; color: var(--primary); }
.schedule-list .group { font-size: 0.9rem; color: var(--text-light); }
.schedule-list li.english { background-color: #f0f9ff; padding-top: 25px; }
.schedule-list li.english .group { color: #2980b9; font-weight: 600; }
/* İngilizce Etiketi */
.right-content { position: relative; display: flex; flex-direction: column; align-items: flex-end; }
.english-tag {
    position: absolute; top: -18px; right: -5px; font-size: 0.7rem; font-weight: 900;
    color: #e74c3c; transform: rotate(-10deg); background: #fff; padding: 0 4px;
    letter-spacing: 0.5px; z-index: 10; box-shadow: 1px 1px 2px rgba(0,0,0,0.05); border-radius: 4px;
}

/* FEATURES & ABOUT */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 3rem; }
.feature-card { padding: 50px 30px; border-radius: 20px; background: var(--white); text-align: center; transition: all 0.4s ease; border: 1px solid rgba(0,0,0,0.04); }
.feature-card:hover { transform: translateY(-15px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: transparent; }
.icon-box { width: 80px; height: 80px; background: rgba(120, 194, 173, 0.15); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 25px; font-size: 2.5rem; transition: 0.3s; }
.feature-card:hover .icon-box { background: var(--primary); color: var(--white); }
.about-container { display: flex; align-items: center; gap: 70px; }
.about-img-wrapper { flex: 1; position: relative; }
.img-frame { position: absolute; top: -20px; left: -20px; width: 100%; height: 100%; border: 3px solid var(--primary); border-radius: 20px; z-index: -1; opacity: 0.3; }
.about-img { width: 100%; border-radius: 20px; box-shadow: 0 25px 50px rgba(0,0,0,0.15); z-index: 2; }
.about-text { flex: 1; }
.btn-text { color: var(--text-dark); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; border-bottom: 2px solid var(--secondary); padding-bottom: 5px; margin-top: 15px; }

/* GALERİ & YORUMLAR SLIDER */
.slider-wrapper { position: relative; max-width: 100%; margin: 40px auto; padding: 0 40px; overflow: hidden; }
.slider-track-container { overflow: hidden; width: 100%; }
.slider-track { display: flex; transition: transform 0.5s ease-in-out; padding: 10px 0 30px 0; }
.slider-slide { min-width: 33.333%; padding: 0 15px; list-style: none; }
.gallery-item { position: relative; border-radius: 15px; overflow: hidden; height: 300px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.05); }

/* YORUM KARTLARI */
.google-badge { display: inline-flex; align-items: center; gap: 10px; background: white; padding: 8px 20px; border-radius: 50px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-top: 15px; font-weight: bold; color: #555; }
.review-card { background: white; padding: 25px; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid #eee; height: 100%; display: flex; flex-direction: column; }
.review-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; position: relative; }
.review-body { flex-grow: 1; overflow-y: auto; max-height: 200px; padding-right: 5px; }
.review-body::-webkit-scrollbar { width: 5px; }
.review-body::-webkit-scrollbar-thumb { background: #ddd; border-radius: 5px; }
.avatar { width: 45px; height: 45px; border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.1rem; flex-shrink: 0; }
.stars { color: #fbc02d; font-size: 0.8rem; margin-top: 2px; }
.g-icon { width: 20px; position: absolute; top: 0; right: 0; opacity: 0.6; }
.slider-btn, .prev-btn-gal, .next-btn-gal {
    position: absolute; top: 50%; transform: translateY(-50%); background: var(--white); color: var(--text-dark);
    border: 1px solid #eee; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); z-index: 10; display: flex; align-items: center; justify-content: center; transition: 0.3s;
}
.slider-btn:hover { background: var(--primary); color: white; }
.prev-btn { left: 0; } .next-btn { right: 0; }
/* Galeri Butonları Özel */
.prev-btn-gal, .next-btn-gal { background: var(--primary); color: white; border: none; width: 45px; height: 45px; }
.prev-btn-gal { left: 0px; } .next-btn-gal { right: 0px; }

/* CONTACT & FOOTER */
.contact-wrapper { display: flex; gap: 50px; background: var(--white); padding: 40px; border-radius: 30px; box-shadow: 0 20px 60px rgba(0,0,0,0.05); }
.contact-info-box { flex: 2; padding-right: 20px; }
.info-item { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 25px; }
.info-item .icon { width: 50px; height: 50px; background: rgba(243, 150, 154, 0.15); color: var(--secondary); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.social-links { display: flex; gap: 15px; }
.social-btn { width: 45px; height: 45px; background: var(--bg-light); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--text-dark); font-size: 1.2rem; transition: 0.3s; }
.social-btn:hover { background: var(--primary); color: white; transform: translateY(-3px); }
.map-container { flex: 3; border-radius: 20px; overflow: hidden; height: 400px; border: 5px solid var(--white); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* GÜNCELLENEN FOOTER */
footer { background: var(--dark-footer); color: rgba(255,255,255,0.7); padding: 5rem 0 0; }
.footer-container { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 60px; margin-bottom: 0; padding-bottom: 4rem; }
/* Telif Hakkı (Copyright) Kısmı Düzeltmesi */
.copyright { 
    background: transparent !important; /* Arka planı temizle */
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* İnce çizgi ekle */
    padding: 25px 0; 
    text-align: center; 
    width: 100%; 
}
.copyright p {
    margin: 0 !important;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.whatsapp-float{ position:fixed; width:60px; height:60px; bottom:25px; right:25px; background-color:#25d366; color:#FFF; border-radius:50px; text-align:center; font-size:30px; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index:100; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.whatsapp-float:hover { transform: translateY(-5px); background-color: #20ba5a; }

/* RESPONSIVE */
@media (max-width: 968px) {
    .slider-slide { min-width: 100%; }
    .slider-wrapper { padding: 0 40px; }
    .hero-content h1 { font-size: 3rem; }
    .about-container { flex-direction: column; gap: 50px; }
    .about-img-wrapper { order: -1; }
    .contact-wrapper { flex-direction: column; padding: 30px; }
    .map-container { height: 350px; }
    .footer-container { grid-template-columns: 1fr; gap: 40px; }
    .prev-btn-gal, .next-btn-gal { display: flex; width: 35px; height: 35px; }
}
@media (max-width: 768px) {
    .nav-links { position: fixed; right: 0; top: 70px; background: var(--white); flex-direction: column; width: 60%; height: 100vh; transform: translateX(100%); transition: 0.4s ease-in-out; box-shadow: -5px 0 15px rgba(0,0,0,0.1); padding: 60px 30px; align-items: flex-start; }
    .nav-links.active { transform: translateX(0%); }
    .hamburger { display: block; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-btns { display: flex; flex-direction: column; }
    .btn { margin-right: 0; width: 100%; justify-content: center; }
}
/* --- KAYAN YAZI EFEKTİ (GÜNCELLENMİŞ) --- */
.kayan-yazi {
    display: inline-block;
    transition: transform 0.5s ease, opacity 0.5s ease; /* Hem hareket hem şeffaflık animasyonu */
    opacity: 1;
    transform: translateX(0);
}

/* Sola gidip kaybolma */
.gizle-sola {
    opacity: 0 !important;
    transform: translateX(-30px) !important;
}

/* Sağdan gelmek için hazırlık pozisyonu */
.sagda-bekle {
    opacity: 0 !important;
    transform: translateX(30px) !important;
    transition: none !important; /* Işınlanırken animasyon olmasın */
}

/* --- VİDEO SLIDER ÖZEL AYARLARI --- */

/* Video butonları (Mevcut galeri butonlarına benzesin diye) */
.prev-btn-vid, .next-btn-vid {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: var(--primary); color: white; /* Yeşil buton */
    border: none; width: 45px; height: 45px; border-radius: 50%;
    cursor: pointer; z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}
.prev-btn-vid { left: 0px; }
.next-btn-vid { right: 0px; }

.prev-btn-vid:hover, .next-btn-vid:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

/* Mobilde butonlar görünsün */
@media (max-width: 968px) {
    .prev-btn-vid, .next-btn-vid { display: flex; width: 35px; height: 35px; }
}