@charset "UTF-8";

/* ==========================================================================
   1. LOKAL GOOGLE FONTLARI (IP Sızdırmaz - KVKK Uyumlu)
   ========================================================================== */
@font-face {
    font-family: 'Jost'; font-style: normal; font-weight: 300; font-display: swap;
    src: url('../fonts/Jost-Light.ttf') format('truetype');
}
@font-face {
    font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap;
    src: url('../fonts/Jost-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap;
    src: url('../fonts/Jost-Medium.ttf') format('truetype');
}
@font-face {
    font-family: 'Jost'; font-style: normal; font-weight: 600; font-display: swap;
    src: url('../fonts/Jost-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Playfair Display'; font-style: normal; font-weight: 500; font-display: swap;
    src: url('../fonts/PlayfairDisplay-Medium.ttf') format('truetype');
}
@font-face {
    font-family: 'Playfair Display'; font-style: italic; font-weight: 500; font-display: swap;
    src: url('../fonts/PlayfairDisplay-MediumItalic.ttf') format('truetype');
}
@font-face {
    font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap;
    src: url('../fonts/PlayfairDisplay-SemiBold.ttf') format('truetype');
}
@font-face {
    font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap;
    src: url('../fonts/PlayfairDisplay-Bold.ttf') format('truetype');
}

/* ==========================================================================
   2. GENEL DEĞİŞKENLER VE GÖVDE
   ========================================================================== */
:root {
    --primary-color: #003a63; 
    --secondary-color: #0088c2;
    --accent-color: #d4af37; 
    --bg-light: #f8fafd;
    --text-dark: #2c3e50;
}

body { 
    font-family: 'Jost', sans-serif; 
    color: var(--text-dark); 
    background-color: #fff; 
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
    color: var(--primary-color);
}

.tracking-wide { letter-spacing: 1.5px; }

/* ==========================================================================
   3. HEADER & NAVBAR STİLLERİ
   ========================================================================== */
.top-bar { 
    background-color: #001f3f; color: rgba(255,255,255,0.8); font-size: 13px; 
    padding: 10px 0; font-weight: 400; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.top-bar a { color: rgba(255,255,255,0.9); text-decoration: none; transition: color 0.3s ease; }
.top-bar a:hover { color: #fff; }
.top-bar i { color: var(--secondary-color); margin-right: 6px; }

.social-icons a { 
    display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px;
    border-radius: 50%; background-color: rgba(255,255,255,0.1); color: #fff;
    margin-left: 8px; font-size: 12px; transition: all 0.3s ease;
}
.social-icons a i { margin: 0; color: #fff; }
.social-icons a:hover { background-color: var(--secondary-color); transform: translateY(-2px); }

.navbar { background: #ffffff; box-shadow: 0 4px 20px rgba(0,0,0,0.04); padding: 15px 0; transition: all 0.4s ease; }
.navbar-brand img { max-height: 54px; transition: transform 0.4s ease; }
.navbar-brand:hover img { transform: scale(1.03); }

.nav-link { 
    font-weight: 500; font-size: 15px; color: var(--primary-color) !important; 
    margin: 0 10px; text-transform: capitalize; letter-spacing: 0.5px; 
    transition: 0.3s ease; position: relative; padding-bottom: 5px;
}
.nav-link:hover, .nav-item.show > .nav-link { color: var(--secondary-color) !important; }

.menu-icon { font-size: 13px; margin-right: 6px; opacity: 0.6; color: var(--secondary-color); transition: 0.3s ease; }
.nav-link:hover .menu-icon { opacity: 1; transform: scale(1.1); }

.nav-link::after { 
    content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 50%; 
    background: var(--secondary-color); transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateX(-50%);
}
.nav-link:hover::after { width: 100%; }

/* DİL SEÇİCİ & DROPDOWN */
.lang-dropdown .dropdown-toggle { 
    border: none; background: rgba(0, 58, 99, 0.05); color: var(--primary-color) !important;
    padding: 8px 18px; border-radius: 30px; font-size: 13px; font-weight: 500;
    display: flex; align-items: center; transition: all 0.3s;
}
.lang-dropdown .dropdown-toggle:hover { background: rgba(0, 58, 99, 0.1); }

.dropdown-menu { 
    border: none; border-radius: 12px; padding: 10px 0; box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    margin-top: 15px !important; border-top: 3px solid var(--secondary-color);
    display: block; visibility: hidden; opacity: 0; transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.dropdown:hover > .dropdown-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.dropdown-item { font-size: 14px; font-weight: 400; padding: 8px 25px; color: var(--text-dark); transition: all 0.2s ease; }
.dropdown-item:hover { background-color: transparent; color: var(--secondary-color); padding-left: 30px; }

/* ==========================================================================
   4. ORTAK UI BİLEŞENLERİ (Kartlar, Butonlar, Efektler)
   ========================================================================== */
/* Biyografi Badge Animasyonu */
.floating-badge { animation: float-badge 4s ease-in-out infinite; }
@keyframes float-badge {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Ok (Arrow) Hover Efekti */
.btn-read-more .transition-arrow { transition: transform 0.3s ease; }
.btn-read-more:hover .transition-arrow { transform: translateX(8px); }

/* Hizmet ve Rehber Kartları */
.service-card, .guide-card { transition: all 0.4s ease; }
.service-card:hover, .guide-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,74,124,0.1) !important; }
.transition-zoom { transition: transform 0.6s ease; }
.service-card:hover .transition-zoom, .guide-card:hover .transition-zoom { transform: scale(1.08); }

/* Akademik Üyelikler */
.membership-item { transition: 0.3s ease; cursor: default; opacity: 0.7; }
.membership-item:hover { opacity: 1; transform: translateY(-3px); }

/* Süreç İkonları */
.icon-circle.transition-hover { transition: all 0.3s ease; }
.icon-circle.transition-hover:hover { background-color: var(--secondary-color) !important; border-color: var(--secondary-color) !important; transform: translateY(-5px); }

/* SSS Accordion Özel Stili */
.custom-accordion .accordion-button { background-color: transparent; transition: all 0.3s ease; box-shadow: none !important; }
.custom-accordion .accordion-button:not(.collapsed) { background-color: transparent; }
.custom-accordion .accordion-button::after { filter: grayscale(100%); opacity: 0.5; }
.custom-accordion .accordion-button:not(.collapsed)::after { filter: invert(30%) sepia(80%) saturate(1500%) hue-rotate(180deg); opacity: 1; }

/* ==========================================================================
   5. ÇEREZ VE WHATSAPP ARAÇLARI
   ========================================================================== */
/* Çerez Kutusu */
.cookie-box {
    position: fixed; bottom: -200px; left: 30px; width: 340px; background: #ffffff;
    border-left: 5px solid var(--primary-color); border-radius: 12px; z-index: 1050;
    transition: bottom 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.6s ease; opacity: 0;
}
.cookie-box.show { bottom: 30px; opacity: 1; }
.cookie-box .icon-circle { background-color: rgba(0, 168, 232, 0.1); padding: 10px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* WhatsApp Butonu */
.whatsapp-float {
    position: fixed; width: auto; height: 60px; bottom: 52px; right: 30px; background-color: #25d366; color: #FFF;
    border-radius: 50px; text-align: center; font-size: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000; display: flex; align-items: center; padding: 0 20px; text-decoration: none;
    transition: all 0.3s ease; animation: pulse-wa 2s infinite;
}
.wa-text { font-size: 15px; font-family: 'Jost', sans-serif; font-weight: 600; margin-left: 10px; display: none; }
.whatsapp-float:hover { background-color: #128c7e; color: #FFF; transform: scale(1.05); }
@keyframes pulse-wa { 
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } 
}

/* ==========================================================================
   6. FOOTER STİLLERİ
   ========================================================================== */
.clinical-footer { background-color: var(--primary-color); color: #ffffff; font-size: 15px; }
.clinical-footer a { color: #ffffff; text-decoration: none; transition: all 0.3s ease; }
.clinical-footer a:hover { color: var(--secondary-color); padding-left: 5px; }
.footer-title { color: #ffffff; font-weight: 700; font-size: 18px; margin-bottom: 1.5rem; letter-spacing: 1px; }
.footer-socials a { display: inline-block; width: 40px; height: 40px; line-height: 38px; text-align: center; border: 1px solid #ffffff; border-radius: 50%; color: #ffffff; margin-right: 8px; margin-bottom: 8px; font-size: 18px; }
.footer-socials a:hover { background-color: #ffffff; color: var(--primary-color); transform: translateY(-3px); }
.footer-bottom-bar { background-color: rgba(0, 0, 0, 0.2); padding: 15px 0; font-size: 14px; }

/* ==========================================================================
   7. SAYFA ÖZEL STİLLERİ (Sayfaların içinden çekilen CSS'ler)
   ========================================================================== */

/* --- HERO BÖLÜMÜ (index.php) --- */
.btn-hover-grow { transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.btn-hover-grow:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 30px rgba(0,74,124,0.2) !important; }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-slow { animation: pulse 8s infinite; }
@keyframes pulse {
    0% { transform: scale(1.15); opacity: 0.5; }
    50% { transform: scale(1.25); opacity: 0.2; }
    100% { transform: scale(1.15); opacity: 0.5; }
}
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); }
.carousel-item img { transition: transform 6s linear; }
.carousel-item.active img { transform: scale(1.1); } 

/* --- 404 HATA SAYFASI --- */
.min-vh-75 { min-height: 70vh; }
.btn-hover-effect { transition: all 0.3s ease-in-out; }
.btn-hover-effect:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important; }

/* --- GALERİ SAYFASI --- */
.gallery-card { border-radius: 8px; }
.transition-hover { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.transition-hover:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important; z-index: 2; }
.transition-hover:hover .img-wrapper img { transform: scale(1.05); }

/* --- HAKKIMDA SAYFASI --- */
.biography-text p { text-align: justify; }
.biography-text strong { color: var(--primary-color); font-weight: 700; }
.vision-box { position: relative; }
.vision-box p { padding-left: 30px; padding-right: 30px; }

/* --- İLETİŞİM SAYFASI --- */
.map-section iframe { display: block; width: 100%; height: 450px; filter: grayscale(10%) contrast(1.05); border: none !important; }
.contact-section .form-control:focus, .contact-section .form-select:focus { box-shadow: 0 0 0 0.25rem rgba(0, 168, 232, 0.25); }
.contact-section .form-check-input:checked { background-color: var(--secondary-color); border-color: var(--secondary-color); }
.contact-section input[name="captcha_answer"]:focus { border: 2px solid var(--secondary-color) !important; }

/* --- REHBER & UZMANLIK DETAY SAYFALARI --- */
.font-playfair { font-family: 'Playfair Display', serif; }
.sidebar-menu .last-no-border:last-child { border-bottom: none !important; margin-bottom: 0 !important; padding-bottom: 0 !important; }
.sidebar-menu a { transition: all 0.3s ease; }
.sidebar-menu a:hover span { color: var(--primary-color) !important; }
.sidebar-menu a:hover i { transform: translateX(5px); color: var(--primary-color) !important; }
.sidebar-menu a.bg-light { border: 1px solid transparent; transition: all 0.3s ease; }
.sidebar-menu a.bg-light:hover { background-color: #fff !important; border-color: var(--secondary-color) !important; color: var(--primary-color) !important; transform: translateX(8px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

.page-content img { max-width: 100%; height: auto !important; border-radius: 12px; margin: 25px 0; box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.page-content h2, .page-content h3, .page-content h4 { color: var(--primary-color); margin-top: 35px; margin-bottom: 15px; font-family: 'Playfair Display', serif; font-weight: bold; }
.page-content ul, .page-content ol { margin-bottom: 25px; padding-left: 20px; }
.page-content li { margin-bottom: 10px; }

/* --- YASAL SAYFALAR (KVKK & GİZLİLİK) --- */
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.legal-content li { margin-bottom: 0.5rem; }

/* ==========================================================================
   8. MOBİL UYUMLULUK (MEDIA QUERIES)
   ========================================================================== */
@media (min-width: 992px) { 
    .border-end-lg { border-right: 1px solid rgba(0,0,0,0.1); } 
    .wa-text { display: inline-block; }
    .process-step:not(:last-child)::after {
        content: '\f061'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
        position: absolute; top: 35px; right: -15px; font-size: 20px; color: rgba(255,255,255,0.2);
    }
    .sticky-lg-top { position: sticky; top: 120px; }
}

@media (max-width: 991.98px) {
    .navbar { padding: 15px 0; }
    .nav-link { margin: 10px 0; padding-left: 0; display: inline-block; font-size: 16px;}
    .nav-link::after { left: 0; transform: translateX(0); }
    .dropdown-menu { box-shadow: none; border-top: none; padding-left: 15px; visibility: visible; opacity: 1; transform: none; display: none; }
    .dropdown.show .dropdown-menu { display: block; }
    .navbar-collapse { padding-top: 20px; padding-bottom: 20px; }
    
    .hero-section .display-3 { font-size: 2.8rem; }
    #heroCarousel { margin-top: 30px; height: 400px; }
    .carousel-item img { height: 400px !important; }
}

@media (max-width: 767px) { 
    .border-end-md { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.05); padding-bottom: 15px; margin-bottom: 15px; } 
    .error-404-section h1.display-1 { font-size: 8rem !important; margin-bottom: 1rem !important; }
    .error-404-section h3.fw-bold { font-size: 2rem !important; }
}

@media (max-width: 576px) { 
    .cookie-box { width: calc(100% - 40px); left: 20px; right: 20px; } 
}