/* =========================================
   1. GENEL AYARLAR & DEĞİŞKENLER
   ========================================= */
:root {
    --bg-color: #FBFAF3; /* Krem/Fil Dişi */
    --white: #ffffff;
    --primary: #4A4A4A; /* Koyu Gri Metin */
    --gold: #A08C5B; /* Bronz/Altın Logo */
    --sand: #E6CCAB; /* Sahil Kumu (Butonlar) */
    --sand-hover: #D6B995;
    --whatsapp: #25D366;
    
    --font-head: 'Lora', serif;
    --font-body: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-color);
    color: var(--primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }

/* Başlık Stilleri */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-family: var(--font-head); font-size: 2.5rem; color: var(--gold); margin-bottom: 10px; }
.section-header p { color: #666; font-size: 1.1rem; }

/* Sayfa İçi Beyaz Başlık Alanları */
.intro-text-section {
    padding-top: 140px; padding-bottom: 20px; text-align: center; max-width: 800px; margin: 0 auto;
}
.intro-text-section h1 { font-family: var(--font-head); font-size: 2.8rem; color: var(--primary); margin-bottom: 15px; }
.intro-text-section p { font-size: 1.1rem; color: #666; line-height: 1.8; }

/* =========================================
   2. PRELOADER (YÜKLEME EKRANI)
   ========================================= */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-color); z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    /* Güvenlik Kilidi: Kod çalışmasa bile 2.5s sonra kapanır */
    animation: forceHide 0.5s ease-out 2.5s forwards;
    pointer-events: none;
}

.loader-content { text-align: center; }
.psi-logo {
    font-size: 4rem; color: var(--gold); display: block;
    animation: spinPsi 2s infinite ease-in-out;
}

@keyframes spinPsi {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 0.5; }
}

@keyframes forceHide {
    to { opacity: 0; visibility: hidden; }
}

/* =========================================
   3. NAVBAR (MENÜ)
   ========================================= */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; height: 90px; /* Logo sığsın diye */
    background: rgba(251, 250, 243, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex; align-items: center;
    transition: all 0.3s;
}

/* Sticky Header Efekti */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 80px;
}

.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }

/* LOGO YAPISI (GÜNCELLENDİ) */
.logo {
    display: flex; align-items: center; gap: 15px; text-decoration: none;
}
.psi-icon {
    font-size: 2.8rem; color: var(--gold); font-family: 'Times New Roman', serif; line-height: 1;
}

.logo-text-group {
    display: flex; align-items: center; gap: 15px;
}

.logo-brand {
    display: flex; flex-direction: column; line-height: 1.2;
}

.brand-name {
    font-family: 'Lora', serif; font-size: 1.3rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px;
}
.brand-title {
    font-family: 'Poppins', sans-serif; font-size: 0.75rem; font-weight: 500; color: #888; letter-spacing: 1px; text-transform: uppercase;
}

/* Ayırıcı Çizgi */
.separator {
    font-size: 2rem; color: #e0e0e0; font-weight: 300; margin-top: -4px;
}

/* Alanya Psikolog Yazısı (İNCELTİLDİ) */
.location-title {
    font-family: 'Poppins', sans-serif; 
    font-size: 0.9rem; 
    font-weight: 300; /* İnce */
    color: #666; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    margin-top: 2px;
}

.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-links a { font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.btn-nav {
    background: var(--gold); color: #fff !important;
    padding: 10px 25px; border-radius: 25px; transition: 0.3s;
}
.btn-nav:hover { background: var(--primary); }

.hamburger { display: none; font-size: 1.5rem; cursor: pointer; }

/* =========================================
   4. HERO & PAGE HEADER
   ========================================= */
.hero {
    position: relative; height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--white);
}
/* Video Arka Plan */
.hero-bg-video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: -2;
}
/* Resim Arka Plan (Yedek) */
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; z-index: -2;
}

.overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); z-index: -1;
}
.hero-content { position: relative; z-index: 2; padding: 0 20px; }
.hero-content h1 {
    font-family: var(--font-head); font-size: 3.5rem; margin-bottom: 20px;
    line-height: 1.2; text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }

/* Alt Sayfalar Header */
.page-header {
    background-image: url('images/hero-bg.jpg');
    background-size: cover; background-position: center;
    padding: 150px 0 80px 0; text-align: center; color: #fff; position: relative;
}
.page-header::before {
    content:''; position:absolute; top:0; left:0; width:100%; height:100%;
    background:rgba(0,0,0,0.5);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { font-family: var(--font-head); font-size: 3rem; margin-bottom: 10px; }

/* Mouse Scroll İkonu */
.scroll-down { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3;}
.mouse { width: 30px; height: 50px; border: 2px solid #fff; border-radius: 20px; position: relative; }
.wheel {
    width: 4px; height: 8px; background: #fff; position: absolute;
    top: 10px; left: 50%; transform: translateX(-50%); border-radius: 2px;
    animation: scrollWheel 1.5s infinite;
}
@keyframes scrollWheel { 0% { top: 10px; opacity: 1; } 100% { top: 30px; opacity: 0; } }

/* =========================================
   5. BUTONLAR
   ========================================= */
.btn-primary {
    background: var(--sand); color: var(--primary); padding: 15px 40px; border-radius: 30px;
    font-weight: 600; display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary:hover { background: var(--white); transform: translateY(-3px); }

.btn-secondary {
    background: transparent; border: 2px solid var(--white); color: var(--white);
    padding: 13px 30px; border-radius: 30px; margin-left: 10px; font-weight: 600;
}
.btn-secondary:hover { background: var(--white); color: var(--primary); }

.btn-outline {
    display: inline-block; border: 2px solid var(--gold); color: var(--gold);
    padding: 12px 35px; border-radius: 30px; font-weight: 600;
}
.btn-outline:hover { background: var(--gold); color: #fff; }

.read-more-btn { color: var(--gold); font-weight: 600; margin-top: 20px; display: inline-block; }

/* =========================================
   6. HAKKIMDA & EKİP & TIMELINE
   ========================================= */
.about-wrapper { display: flex; align-items: center; gap: 50px; margin-top: 40px; }
.about-img { flex: 1; position: relative; }
.about-img img { border-radius: 20px; box-shadow: 20px 20px 0 var(--sand); }

.exp-badge {
    position: absolute; bottom: -20px; right: -20px;
    background: var(--white); padding: 20px; border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); text-align: center;
}
.exp-badge .number { display: block; font-size: 2rem; font-weight: 700; color: var(--gold); }
.exp-badge .text { font-size: 0.8rem; font-weight: 600; }

.about-text { flex: 1; }
.sub-title { color: var(--gold); letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 10px; }
.about-text h2 { font-family: var(--font-head); font-size: 2.2rem; margin-bottom: 20px; line-height: 1.3; }
.about-list li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.about-list i { color: var(--gold); }

/* Timeline */
.timeline-section { background-color: #fff; }
.timeline-container { max-width: 1000px; margin: 0 auto; position: relative; }
.timeline-container::after { content: ''; position: absolute; width: 4px; background-color: var(--sand); top: 0; bottom: 0; left: 50%; margin-left: -2px; border-radius: 2px; }
.timeline-item { padding: 10px 40px; position: relative; background-color: inherit; width: 50%; box-sizing: border-box; }
.timeline-item::after { content: ''; position: absolute; width: 20px; height: 20px; right: -10px; background-color: var(--white); border: 4px solid var(--gold); top: 20px; border-radius: 50%; z-index: 1; }
.left { left: 0; } .right { left: 50%; }
.left::before { content: " "; height: 0; position: absolute; top: 22px; width: 0; z-index: 1; right: 30px; border: medium solid white; border-width: 10px 0 10px 10px; border-color: transparent transparent transparent #fff; }
.right::before { content: " "; height: 0; position: absolute; top: 22px; width: 0; z-index: 1; left: 30px; border: medium solid white; border-width: 10px 10px 10px 0; border-color: transparent #fff transparent transparent; }
.right::after { left: -10px; }
.content-box { padding: 25px; background-color: #fff; position: relative; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border: 1px solid #eee; }
.content-box h4 { font-family: 'Lora', serif; color: var(--primary); font-size: 1.2rem; margin-bottom: 5px; }
.content-box .date { font-size: 0.85rem; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.content-box p { font-size: 0.95rem; color: #666; line-height: 1.6; }

/* Ekip Kartları */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 50px; margin-top: 20px; justify-content: center; }
.team-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #f0f0f0; transition: transform 0.4s ease; display: flex; flex-direction: column; }
.team-card:hover { transform: translateY(-10px); box-shadow: 0 25px 60px rgba(0,0,0,0.1); border-color: var(--sand); }
.team-img-wrapper { height: 450px; overflow: hidden; position: relative; }
.team-img-wrapper img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.6s ease; }
.team-card:hover .team-img-wrapper img { transform: scale(1.05); }
.team-info { padding: 35px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.team-name { font-family: var(--font-head); font-size: 1.6rem; color: var(--primary); margin-bottom: 5px; }
.team-role { font-size: 0.85rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; display: block; }
.team-bio { font-size: 0.95rem; color: #666; line-height: 1.7; margin-bottom: 25px; }
.team-socials { margin-top: auto; padding-top: 20px; border-top: 1px solid #f5f5f5; display: flex; justify-content: center; gap: 15px; }
.team-socials a { width: 45px; height: 45px; background-color: var(--bg-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); transition: 0.3s; font-size: 1.2rem; }
.team-socials a:hover { background-color: var(--gold); color: #fff; transform: translateY(-3px); }


/* =========================================
   7. HİZMETLER & ESKİ SLIDER & PATHOLOGY
   ========================================= */
.services-grid, .pathology-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card, .pathology-card { background: #fff; padding: 30px; border-radius: 15px; text-align: center; border: 1px solid #eee; transition: 0.3s; position: relative; overflow: hidden; }
.service-card:hover, .pathology-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); border-color: var(--sand); }
.pathology-card::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.pathology-card:hover::after { transform: scaleX(1); }

.service-icon, .pathology-card i { font-size: 2.5rem; color: var(--gold); margin-bottom: 20px; display: inline-block; }
.pathology-card i { width: 70px; height: 70px; line-height: 70px; background: var(--bg-color); border-radius: 50%; transition: 0.3s; }
.pathology-card:hover i { background: var(--sand); color: #fff; }

.service-card h3, .pathology-card h3 { font-family: var(--font-head); margin-bottom: 15px; font-size: 1.4rem; color: var(--primary); }
.service-card p, .pathology-card p { font-size: 0.95rem; color: #666; margin-bottom: 20px; line-height: 1.7; }
.card-link { font-weight: 600; color: var(--gold); font-size: 0.9rem; display: inline-flex; align-items: center; gap: 5px; transition: 0.3s; }
.card-link:hover { gap: 10px; color: var(--primary); }

/* Slider (Anasayfa Eski) */
.slider-wrapper { position: relative; display: flex; align-items: center; padding: 20px 0; }
.slider-track { display: flex; gap: 30px; overflow-x: auto; scroll-behavior: smooth; padding: 20px 5px; scrollbar-width: none; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-card { min-width: 320px; background: var(--white); border-radius: 15px; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center; border: 1px solid #eee; }
.card-img-area { height: 200px; border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
.card-img-area img { width: 100%; height: 100%; object-fit: cover; }
.slider-card h3 { font-family: var(--font-head); margin-bottom: 10px; color: var(--primary); }
.slider-card p { font-size: 0.9rem; color: #777; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.btn-detail { display: inline-block; background: var(--sand); padding: 8px 25px; border-radius: 5px; font-size: 0.9rem; font-weight: 600; }
.slider-btn { position: absolute; width: 40px; height: 40px; background: var(--white); border: none; border-radius: 50%; box-shadow: 0 5px 15px rgba(0,0,0,0.1); cursor: pointer; z-index: 10; color: var(--primary); display: flex; align-items: center; justify-content: center; }
.prev-btn { left: -20px; } .next-btn { right: -20px; }

/* Terapi Ekolleri */
.approach-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.approach-card { background: #fff; padding: 30px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center; transition: 0.3s; border: 1px solid #eee; position: relative; overflow: hidden; }
.approach-card:hover { transform: translateY(-5px); border-color: var(--sand); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.approach-card::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--gold); }
.approach-card i { font-size: 2.2rem; color: var(--gold); margin-bottom: 15px; display: block; }
.approach-card h4 { font-family: 'Lora', serif; margin-bottom: 10px; font-size: 1.2rem; color: var(--primary); }
.approach-card p { font-size: 0.95rem; color: #666; line-height: 1.6; }


/* =========================================
   8. YENİLENMİŞ MODERN SLIDER (HİZMETLERİMİZ)
   ========================================= */
.services-section-modern { padding: 100px 0; background: var(--bg-color); position: relative; }
.section-header-modern { text-align: center; margin-bottom: 60px; }
.section-header-modern h2 { font-family: var(--font-head); font-size: 2.8rem; color: var(--primary); margin-bottom: 15px; position: relative; display: inline-block; }
.section-header-modern h2::after { content: ''; display: block; width: 70px; height: 3px; background: var(--gold); margin: 20px auto 0; border-radius: 2px; }
.section-header-modern p { color: #666; font-size: 1.15rem; max-width: 650px; margin: 0 auto; line-height: 1.8; }

.slider-wrapper-modern { position: relative; padding: 0 60px; }
.slider-track-modern { display: flex; gap: 35px; overflow-x: auto; scroll-behavior: smooth; padding: 30px 5px; scrollbar-width: none; }
.slider-track-modern::-webkit-scrollbar { display: none; }

.service-card-modern { min-width: 380px; background: #fff; border-radius: 25px; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.06); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); border: 1px solid rgba(0,0,0,0.03); position: relative; top: 0; display: flex; flex-direction: column; height: 520px; }
.service-card-modern:hover { transform: translateY(-15px); box-shadow: 0 25px 50px rgba(0,0,0,0.12); border-color: rgba(160, 140, 91, 0.2); }

.card-img-modern { height: 240px; overflow: hidden; position: relative; flex-shrink: 0; }
.card-img-modern::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.4), transparent); opacity: 0; transition: 0.4s; }
.service-card-modern:hover .card-img-modern::after { opacity: 1; }
.card-img-modern img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.215, 0.610, 0.355, 1.000); }
.service-card-modern:hover .card-img-modern img { transform: scale(1.08); }

.card-content-modern { padding: 30px; text-align: center; display: flex; flex-direction: column; flex-grow: 1; justify-content: space-between; }
.card-content-modern h3 { font-family: var(--font-head); font-size: 1.6rem; color: var(--primary); margin-bottom: 18px; }
.card-content-modern p { font-size: 1rem; color: #666; line-height: 1.7; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.btn-modern { display: inline-flex; align-items: center; padding: 14px 38px; background: linear-gradient(45deg, var(--gold), #cbb486); color: #fff; border-radius: 50px; font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: all 0.4s ease; box-shadow: 0 8px 20px rgba(160, 140, 91, 0.3); letter-spacing: 0.5px; }
.btn-modern:hover { background: linear-gradient(45deg, var(--primary), #5a5a5a); transform: translateY(-4px); box-shadow: 0 12px 25px rgba(74, 74, 74, 0.3); }
.card-footer { margin-top: auto; } /* Butonu alta it */

.slider-btn-modern { position: absolute; top: 50%; transform: translateY(-50%); width: 55px; height: 55px; background: #fff; border: none; border-radius: 50%; box-shadow: 0 8px 25px rgba(0,0,0,0.1); cursor: pointer; color: var(--primary); font-size: 1.3rem; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; z-index: 10; }
.slider-btn-modern:hover { background: var(--gold); color: #fff; transform: translateY(-50%) scale(1.1); }
.prev-btn-modern { left: 0; }
.next-btn-modern { right: 0; }


/* =========================================
   9. BLOG & TEK MAKALE
   ========================================= */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.blog-card { background: var(--white); border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; border: 1px solid #eee; }
.blog-card:hover { transform: translateY(-10px); }
.blog-img { height: 220px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.blog-card:hover .blog-img img { transform: scale(1.1); }
.blog-content { padding: 25px; }
.blog-content .meta { font-size: 0.85rem; color: #888; margin-bottom: 15px; }
.blog-content h3 { font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 15px; line-height: 1.4; }
.blog-content p { color: #666; font-size: 0.95rem; margin-bottom: 20px; }
.read-more { font-weight: 600; color: var(--gold); font-size: 0.9rem; }

.single-post { padding-top: 120px; background-color: var(--white); }
.post-container { max-width: 800px; margin: 0 auto; }
.post-header { text-align: center; margin-bottom: 40px; }
.post-header h1 { font-family: var(--font-head); font-size: 2.5rem; margin: 20px 0; }
.post-image img { width: 100%; border-radius: 15px; margin-bottom: 40px; }
.post-content { font-size: 1.1rem; line-height: 1.8; color: #444; }
.post-content h3 { margin-top: 30px; font-family: var(--font-head); }

/* =========================================
   10. YORUMLAR (MARQUEE SLIDER)
   ========================================= */
.reviews-section { background: var(--white); padding-bottom: 100px; overflow: hidden; }
.google-badge { display: inline-flex; align-items: center; gap: 8px; background: #f8f8f8; padding: 8px 20px; border-radius: 30px; font-size: 0.95rem; border: 1px solid #eee; margin-top: 10px; }

.marquee-slider { width: 100%; overflow: hidden; white-space: nowrap; position: relative; margin-top: 40px; padding: 20px 0; }
.marquee-slider::before, .marquee-slider::after { content: ''; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2; pointer-events: none; }
.marquee-slider::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.marquee-slider::after { right: 0; background: linear-gradient(to left, var(--white), transparent); }

.marquee-track { display: inline-block; animation: scroll 60s linear infinite; }
.marquee-slider:hover .marquee-track { animation-play-state: paused; }

.review-card {
    display: inline-block; width: 350px; height: 280px;
    background: var(--bg-color); margin: 0 15px; padding: 30px; border-radius: 15px;
    white-space: normal; vertical-align: top; position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s;
}
.review-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); background: #fff; }
.review-card .stars { color: var(--gold); letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 15px; }
.review-text {
    font-style: italic; color: #555; line-height: 1.6; font-size: 0.95rem; margin-bottom: 15px;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.review-card h5 {
    font-family: var(--font-head); color: var(--primary); font-size: 1rem; margin: 0;
    position: absolute; bottom: 30px; left: 30px; font-weight: 600;
}
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =========================================
   11. İLETİŞİM, HARİTA & FOOTER
   ========================================= */
.map-section-wrapper { background-color: var(--bg-color); padding-bottom: 60px; }
.map-contact-box {
    display: flex; background: #fff; border-radius: 20px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
/* Sol Taraf */
.contact-details { flex: 1; padding: 50px; min-width: 350px; }
.contact-details h3 { font-family: var(--font-head); font-size: 2rem; color: var(--primary); margin-bottom: 10px; }
.contact-desc { color: #666; margin-bottom: 30px; font-size: 0.95rem; }
.info-list li { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; }
.icon-circle { width: 50px; height: 50px; background: var(--bg-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.2rem; flex-shrink: 0; transition: 0.3s; }
.wp-bg { color: #25D366; background: #e8fdf0; } .insta-bg { color: #E1306C; background: #fdeef4; }
.info-list li:hover .icon-circle { transform: scale(1.1); }
.info-text span { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: #999; font-weight: 600; margin-bottom: 3px; }
.info-text a, .info-text p { font-size: 1.05rem; font-weight: 500; color: var(--primary); margin: 0; line-height: 1.4; }
.info-text a:hover { color: var(--gold); }
.btn-map-link { margin-top: 10px; width: 100%; text-align: center; border-color: var(--primary); color: var(--primary); }
.btn-map-link:hover { background: var(--primary); color: #fff; }
.map-embed { flex: 1.5; min-height: 500px; position: relative; }

/* İletişim Form Kutusu */
.contact-page-wrapper { display: flex; gap: 50px; margin-bottom: 60px; align-items: flex-start; }
.contact-info-box { flex: 1; background: #fff; padding: 40px; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); border: 1px solid #f0f0f0; }
.contact-info-box h3 { font-family: var(--font-head); font-size: 1.8rem; margin-bottom: 25px; color: var(--primary); }
.contact-form-box { flex: 1.2; background: #fff; padding: 40px; border-radius: 20px; box-shadow: 0 15px 50px rgba(0,0,0,0.08); border: 1px solid #eee; position: relative; overflow: hidden; }
.contact-form-box::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--gold); }
.form-header h3 { font-family: var(--font-head); font-size: 1.8rem; margin-bottom: 10px; color: var(--primary); }
.form-header p { color: #666; margin-bottom: 30px; font-size: 0.95rem; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.9rem; color: var(--primary); }
.form-group input, .form-group textarea { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 8px; font-family: 'Poppins', sans-serif; transition: 0.3s; background: #fcfcfc; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); outline: none; background: #fff; box-shadow: 0 0 0 4px rgba(160, 140, 91, 0.1); }
.btn-submit { background: var(--gold); color: #fff; border: none; padding: 15px 40px; border-radius: 8px; font-weight: 600; cursor: pointer; width: 100%; transition: 0.3s; letter-spacing: 1px; }
.btn-submit:hover { background: var(--primary); transform: translateY(-3px); }
.full-map { width: 100%; height: 450px; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #eee; }

/* Footer */
footer.site-footer { background: #fff; border-top: 1px solid #eee; padding: 40px 0; margin-top: 0; }
.footer-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-logo { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 5px; }
.footer-logo span { color: var(--gold); font-size: 1.5rem; }
.footer-nav a { margin: 0 15px; font-size: 0.9rem; color: #666; font-weight: 500; }
.footer-nav a:hover { color: var(--gold); }
.footer-copy p { font-size: 0.85rem; color: #999; margin: 0; }
.cta-section { background-color: var(--bg-color); padding: 80px 0; text-align: center; border-top: 1px solid #e5e5e5; }
.cta-content h2 { font-family: var(--font-head); font-size: 2.2rem; color: var(--primary); margin-bottom: 15px; }
.cta-content p { max-width: 700px; margin: 0 auto 30px auto; font-size: 1.1rem; color: #666; }

/* =========================================
   11. YÜZEN BUTONLAR & ANİMASYONLAR
   ========================================= */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px; background: var(--whatsapp); color: #fff;
    width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); z-index: 999;
    animation: pulse 2s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); } 70% { box-shadow: 0 0 0 20px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.mobile-action-bar {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%;
    background: var(--white); box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 999; padding: 10px 15px; gap: 15px;
}
.action-btn { flex: 1; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-weight: 600; color: #fff; gap: 8px; }
.btn-wp { background: var(--whatsapp); } .btn-call { background: var(--gold); }

.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   12. RESPONSIVE (MOBİL UYUM)
   ========================================= */
@media (max-width: 900px) {
    .map-contact-box, .contact-page-wrapper { flex-direction: column; }
    .map-embed { min-height: 350px; }
    .contact-details { padding: 30px; }
    .contact-info-box, .contact-form-box { width: 100%; }
    .footer-container { flex-direction: column; text-align: center; }
    .footer-nav { margin: 10px 0; }
    .resume-grid { grid-template-columns: 1fr; gap: 40px; } 
    .compact-box { flex-direction: column; }
    .compact-map { min-height: 300px; }
    .compact-info { padding: 30px; }
    .timeline-container::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item::before { left: 60px; border: medium solid white; border-width: 10px 10px 10px 0; border-color: transparent white transparent transparent; }
    .left::after, .right::after { left: 21px; }
    .right { left: 0%; }
    .masonry-grid { column-count: 2; }
    
    .slider-wrapper-modern { padding: 0; }
    .slider-btn-modern { display: none; }
    .slider-track-modern { padding: 20px; gap: 20px; }
    .service-card-modern { min-width: 320px; }
    .section-header-modern h2 { font-size: 2.2rem; }
    .card-content-modern { padding: 25px; }
}

@media (max-width: 768px) {
    .navbar .nav-links {
        display: none; position: absolute; top: 80px; left: 0; width: 100%;
        background: var(--bg-color); flex-direction: column; padding: 20px;
        text-align: center; box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .navbar .nav-links.active { display: flex; }
    .hamburger { display: block; }
    
    .hero-content h1 { font-size: 2.2rem; }
    .about-wrapper, .about-content { flex-direction: column; }
    .intro-text-section { padding-top: 100px; }
    .intro-text-section h1 { font-size: 2rem; }
    
    .mobile-action-bar { display: flex; }
    .desktop-only { display: none; }
    .slider-btn { display: none; }
    
    .review-card { width: 300px; height: auto; min-height: 300px; }
    .marquee-slider::before, .marquee-slider::after { width: 50px; }
    .masonry-grid { column-count: 1; }
    .team-grid, .pathology-grid, .services-grid { grid-template-columns: 1fr; }
    .team-img-wrapper { height: 400px; }
    
    /* Mobilde Logo Ayarı (İnce font ve boyutlar) */
    .psi-icon { font-size: 2.2rem; }
    .logo-text-group { gap: 8px; }
    .brand-name { font-size: 1rem; }
    .brand-title { font-size: 0.6rem; letter-spacing: 0.5px; }
    .separator { font-size: 1.2rem; }
    .location-title { font-size: 0.7rem; letter-spacing: 0.5px; font-weight: 400; }
}