/*
Theme Name: Klinik
Theme URI: 
Author: Klinik
Description: Diş kliniği siteleri için özel tema. Legacy tasarımın birebir WordPress uyarlaması; içerik ve ayarlar klinik-core eklentisinden gelir.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: klinik
*/

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&family=Playfair+Display:wght@700&display=swap');

/* CSS Değişkenleri (Renk Paleti) */
:root {
    --primary-color: #0a2540; /* Koyu Mavi */
    --secondary-color: #c89a58; /* Altın/Sarı */
    --text-color: #333;
    --light-gray: #f8f9fa;
    --white-color: #ffffff;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Prevent horizontal overflow */
.container, .container-fluid {
    max-width: 100%;
}

/* Masaüstü görünümde container için sağ ve sol padding */
@media (min-width: 768px) {
    .container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* Büyük ekranlarda daha fazla boşluk */
@media (min-width: 992px) {
    .container {
        padding-left: 60px;
        padding-right: 60px;
    }
}

/* Çok büyük ekranlarda daha da fazla boşluk */
@media (min-width: 1200px) {
    .container {
        padding-left: 80px;
        padding-right: 80px;
    }
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
}


/* --- YENİ: Şeffaf ve Küçülen Navbar Stilleri --- */
#main-navbar {
    padding-top: 25px;
    padding-bottom: 25px;
    transition: all 0.4s ease-in-out;
    width: 100%;
    left: 0;
    right: 0;
}

/* Sayfa en üstteyken (şeffaf) durum */
#main-navbar.navbar-transparent {
    background-color: transparent;
}
#main-navbar.navbar-transparent .nav-link {
    color: var(--white-color) !important; /* Şeffafken linkler beyaz */
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.8),
        0 2px 6px rgba(0, 0, 0, 0.6),
        0 0 8px rgba(0, 0, 0, 0.5); /* Çoklu katmanlı gölge - daha yumuşak ve okunabilir */
}
#main-navbar.navbar-transparent .navbar-toggler-icon {
     background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
#main-navbar.navbar-transparent .navbar-toggler {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 1))
            drop-shadow(0 3px 8px rgba(0, 0, 0, 0.8))
            drop-shadow(0 0 10px rgba(0, 0, 0, 0.6)); /* Hamburger menü butonuna daha güçlü gölge efekti */
}

/* Sayfa aşağı kaydırıldığında (opak) durum */
#main-navbar.navbar-scrolled {
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
#main-navbar.navbar-scrolled .nav-link {
    color: var(--primary-color) !important; /* Opakken linkler koyu renk */
}
#main-navbar.navbar-scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2810, 37, 64, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobil görünümde scroll ile küçülme efekti */
@media (max-width: 767.98px) {
    #main-navbar {
        transition: all 0.3s ease-in-out;
    }

    /* Sayfa en üstteyken normal boyut */
    #main-navbar.navbar-transparent {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }

    /* Scroll yapıldığında küçülmüş boyut */
    #main-navbar.navbar-scrolled {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    /* Logo boyutlarını da scroll'da küçült */
    #main-navbar.navbar-scrolled .navbar-brand img {
        height: 32px !important;
        transition: height 0.3s ease-in-out;
    }

    #main-navbar.navbar-transparent .navbar-brand img {
        height: 40px !important;
        transition: height 0.3s ease-in-out;
    }
}

/* Header'ın altındaki içeriğin header'ın arkasında kalmaması için */
main {
    padding-top: 90px; /* En büyük header boyutu kadar boşluk */
}

/* --- YENİ: Yandan Açılır Menü (Off-Canvas) Stilleri --- */
.offcanvas {
    background-color: var(--primary-color);
    max-height: 100vh;
    overflow-y: auto;
    width: 300px !important; /* Sağda 300px genişlik, solda boşluk bırak */
}

.offcanvas-body {
    overflow-y: auto;
    max-height: calc(100vh - 60px); /* Header yüksekliği çıkarılır */
    position: relative;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.offcanvas-title {
    color: var(--white-color);
}
.offcanvas .btn-close {
    filter: invert(1) grayscale(100) brightness(200); /* Kapatma butonunu beyaz yapar */
}
.offcanvas .navbar-nav {
    position: relative;
    z-index: 1;
}

.offcanvas .nav-item {
    position: relative;
    z-index: 1;
}

.offcanvas .nav-link {
    color: var(--white-color) !important;
    font-size: 1.1rem;
    padding: 10px 0;
    text-shadow: none !important; /* Mobil menüde gölge olmasın */
    display: block;
    position: relative;
}
.offcanvas .dropdown-menu {
    background-color: rgba(255,255,255, 0.1);
    border: none;
    position: static !important; /* Dropdown'u statik konumda tut, sağa kaçmasın */
    transform: none !important; /* Bootstrap'ın transform özelliğini devre dışı bırak */
    width: 100% !important; /* Tam genişlik */
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 15px; /* İçeriden biraz girinti */
}
.offcanvas .dropdown-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* Li elementlerine çizgi */
}
.offcanvas .dropdown-menu li:last-child {
    border-bottom: none; /* Son li'de çizgi olmasın */
}
.offcanvas .dropdown-item {
    color: #ddd;
    white-space: normal; /* Uzun metinler alt satıra geçsin */
    word-wrap: break-word; /* Kelime kırılması */
    padding-top: 10px;
    padding-bottom: 10px;
}
.offcanvas .dropdown-item:hover {
    color: var(--white-color);
    background-color: rgba(255,255,255, 0.2);
}


/* --- Hero Section & Slider --- */
.hero-section {
    position: relative;
    height: 100vh;
    color: var(--white-color);
    overflow: hidden;
    margin-top: -90px; /* Header'ın kapladığı alanı geri almak için */
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
    animation: kenburns 20s infinite;
}
.slide.active {
    opacity: 1;
}

@keyframes kenburns {
    0% {
        transform: scale(1.0);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 37, 64, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0s 0.5s;
    z-index: 1;
}
.hero-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.5s ease, visibility 0s 0s;
    z-index: 2;
}
.hero-content {
    animation: fadeInDown 1.5s;
}
.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
}
.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1.5rem auto;
}
.btn-hero {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}
.btn-hero:hover {
    background-color: #b08442;
    color: var(--white-color);
}
.play-button {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Genel Bölüm Stilleri --- */
.section-padding {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary-color);
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
}

/* text-start sınıfı ile birlikte kullanıldığında çizgiyi sola hizala */
.section-title.text-start::after {
    margin: 10px 0 0;
}

/* --- İstatistikler Bölümü --- */
.stats-section .stat-item {
    text-align: center;
}
.stat-item .icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.stat-item .counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}
.stat-item .text {
    font-size: 1.1rem;
    color: #666;
}

/* --- 4 Adım Bölümü --- */
.process-card {
    background-color: var(--white-color);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}
.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.process-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.process-card h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* --- Tedavi Korkusu Bölümü --- */
.fear-section .checklist {
    list-style: none;
    padding-left: 0;
}
.fear-section .checklist li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
}
.fear-section .checklist li::before {
    content: '\f00c'; /* Font Awesome Check Icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #28a745;
    font-size: 1.2rem;
}
.fear-section img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- SSS Bölümü --- */
.faq-section {
    background-color: var(--light-gray);
}
.accordion-button {
    font-size: 1.1rem;
    font-weight: 500;
}
.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: #e7f1ff;
}
.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* --- Info Section (Footer Öncesi) --- */
.info-section {
    padding: 60px 0;
    background-color: var(--light-gray);
}
.info-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 100%;
}
.assistant-card {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.assistant-card .info-title, .assistant-card .info-text, .assistant-card .info-icon {
    color: var(--white-color);
}
.assistant-card .btn-outline-primary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}
.assistant-card .btn-outline-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}
.info-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.info-title {
    font-weight: 700;
    margin-bottom: 15px;
}
.social-icons a {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}
.social-icons a:hover {
    color: var(--secondary-color);
}

/* --- Yol Tarifi Al Butonu (Info-Card) --- */
.btn-directions-info {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white-color) !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-directions-info:hover {
    background-color: #b08442;
    color: var(--white-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-directions-info i {
    margin-right: 5px;
}

/* --- Yol Tarifi Al Butonu (Footer-Top - Mobil) --- */
.footer-top .btn-directions {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white-color) !important;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    margin: 10px 0 0 0;
    white-space: nowrap;
}

.footer-top .btn-directions:hover {
    background-color: #b08442;
    color: var(--white-color) !important;
}

.footer-top .btn-directions i {
    margin-right: 5px;
}

/* Mobilde footer-top düzeni */
@media (max-width: 767.98px) {
    .footer-top {
        padding: 12px 0; /* Dikey padding 20px'den 12px'e düşürüldü */
    }

    .footer-top .container {
        flex-direction: column;
        gap: 6px; /* Elementler arası boşluk 8px'den 6px'e düşürüldü */
        text-align: center;
        align-items: center;
        position: static; /* Mobilde relative/absolute kullanma */
    }

    .footer-top-row-1 {
        display: flex;
        gap: 12px; /* Gap 15px'den 12px'e düşürüldü */
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Telefon butonu - mobil görünüm */
    .footer-top-row-1 > a:first-child {
        display: inline-block;
        background-color: var(--secondary-color);
        color: var(--white-color) !important;
        padding: 5px 12px;
        border-radius: 5px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.8rem;
        transition: all 0.3s ease;
        white-space: nowrap;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    .footer-top-row-1 > a:first-child:hover {
        background-color: #b08442;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }

    .footer-top-row-1 > a:first-child i {
        margin-right: 6px;
    }

    .footer-address {
        position: static !important; /* Mobilde absolute iptal */
        transform: none !important; /* Transform iptal */
        margin: 0 !important;
    }

    .footer-top .btn-directions {
        width: auto;
        margin-top: 5px;
    }

    .social-icons-footer {
        margin-left: 0; /* Mobilde sağa yaslama iptal */
    }
}

/* ==============================================================================
   ÇALIŞMA SAATLERİ BİLGİLENDİRME ÇUBUĞU (FOOTER-TOP ÜSTÜNDE, ARKASINDAN YÜKSELİR)
   ============================================================================== */

/* Footer-top wrapper - footer-top ve bilgilendirmeyi birlikte içerir */
.footer-top-wrapper {
    position: relative;
    width: 100%;
}

/* Ana bildirim konteyneri - footer-top'un ÜSTÜNDE, absolute pozisyonlu */
.clinic-status-notification {
    position: absolute;
    bottom: 100%; /* Footer-top'un tam üstünde başlar */
    left: 0;
    right: 0;
    width: 100%;
    z-index: 998; /* Footer-top'un (999) altında kalır */

    background-color: var(--primary-color); /* Footer ile aynı renk */
    color: var(--white-color);
    overflow: hidden;

    /* ÜST köşeleri oval yap (yukarıdan geliyor) */
    border-radius: 12px 12px 0 0;

    /* Hafif gölge efekti */
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);

    /* Başlangıç durumu - gizli, aşağıda (footer-top'un arkasında) */
    opacity: 0;
    transform: translateY(100%); /* Tam olarak footer-top'un arkasında */
    max-height: 0;
    padding: 0;
    transition: opacity 0.6s ease,
                transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55),
                max-height 0.6s ease,
                padding 0.3s ease;
}

/* Görünür hale geldiğinde - YUKARIYA doğru yükselir */
.clinic-status-notification.show {
    opacity: 1;
    transform: translateY(0); /* Footer-top'un üstünde konumlanır */
    max-height: 45px; /* İnce yükseklik */
    padding: 8px 0; /* İnce dikey padding */
}

/* İçerik container'ı */
.clinic-status-notification .container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Bildirim içeriği - flex layout */
.notification-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* YEŞİL durum göstergesi (animasyonlu) */
.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #00C851; /* Yeşil renk */
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 200, 81, 0.7);
    animation: pulse-notification 2s infinite;
}

/* Pulse animasyonu - yeşil */
@keyframes pulse-notification {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 200, 81, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 200, 81, 0);
    }
}

/* Bildirim metni - küçük font */
.notification-text {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Notification scroll ile küçülme - TÜM EKRANLAR İÇİN */
/* Footer scroll olduğunda notification da küçülür */
.footer-top.footer-scrolled ~ .clinic-status-notification.show,
.footer-top-wrapper:has(.footer-top.footer-scrolled) .clinic-status-notification.show {
    max-height: 32px !important;
    padding: 4px 0 !important;
    transition: all 0.3s ease-in-out;
}

.footer-top.footer-scrolled ~ .clinic-status-notification .notification-content,
.footer-top-wrapper:has(.footer-top.footer-scrolled) .notification-content {
    gap: 6px;
}

.footer-top.footer-scrolled ~ .clinic-status-notification .status-indicator,
.footer-top-wrapper:has(.footer-top.footer-scrolled) .status-indicator {
    width: 7px;
    height: 7px;
}

.footer-top.footer-scrolled ~ .clinic-status-notification .notification-text,
.footer-top-wrapper:has(.footer-top.footer-scrolled) .notification-text {
    font-size: 0.75rem !important;
}

/* Mobil responsive ayarlar */
@media (max-width: 767.98px) {
    /* Normal durum - daha ince */
    .clinic-status-notification.show {
        max-height: 38px;
        padding: 6px 0;
    }

    .notification-content {
        gap: 8px;
    }

    .status-indicator {
        width: 8px;
        height: 8px;
    }

    .notification-text {
        font-size: 0.8rem;
    }
}

/* Masaüstü için ek stil */
@media (min-width: 768px) {
    .clinic-status-notification.show {
        max-height: 45px;
        padding: 8px 0;
    }

    .notification-text {
        font-size: 0.95rem;
    }

    .status-indicator {
        width: 10px;
        height: 10px;
    }
}

/* --- Footer --- */
.footer-main {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding-top: 20px;
    position: relative;
}
.footer-top {
    padding: 20px 0; /* Padding'i dikey olarak ayarlıyoruz */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    transition: all 0.3s ease-in-out;
}
/* Footer container - temel düzen */
.footer-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Genel footer linkleri */
.footer-top a {
    color: var(--white-color);
    text-decoration: none;
}

/* Adres - temel stiller (artık tıklanabilir link) */
.footer-address {
    color: var(--white-color);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-address:hover {
    color: var(--secondary-color);
}

.footer-address i {
    margin-right: 5px;
}

/* Mobilde footer-address buton stili */
@media (max-width: 767.98px) {
    .footer-address {
        display: inline-block;
        background-color: var(--secondary-color);
        color: var(--white-color) !important;
        padding: 5px 12px;
        border-radius: 5px;
        font-weight: 600;
        font-size: 0.8rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        transition: all 0.3s ease;
    }

    .footer-address:hover {
        background-color: #b08442;
        color: var(--white-color) !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }

    .footer-address i {
        margin-right: 6px;
    }
}

/* Sosyal medya ikonları - temel stiller */
.social-icons-footer a {
    color: var(--white-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons-footer a:hover {
    color: var(--secondary-color);
}

/* ===================================================================
   MASAÜSTÜ GÖRÜNÜM (768px ve üzeri) - FOOTER ÖZEL DÜZENİ
   =================================================================== */
@media (min-width: 768px) {
    /* Container - absolute pozisyonlama için referans */
    .footer-top .container {
        position: relative;
    }

    /* Telefon-Adres grubu */
    .footer-top-row-1 {
        display: flex;
        align-items: center;
        flex: 1;
    }

    /* Telefon - Sol tarafta, normal link stili */
    .footer-top-row-1 > a:first-child {
        white-space: nowrap;
        flex-shrink: 0;
        color: var(--white-color);
        text-decoration: none;
    }

    .footer-top-row-1 > a:first-child:hover {
        color: var(--secondary-color);
    }

    /* Adres - Container'ın TAM ORTASINDA (absolute + transform) */
    .footer-address {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        white-space: nowrap; /* Uzun adresler için tek satır */
    }

    /* Sosyal medya ikonları - Sağ tarafta */
    .social-icons-footer {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-left: auto;
    }
}

.footer-bottom {
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Footer bottom içerik - Copyright sol, Linkler sağ */
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright-text {
    margin: 0;
    text-align: left;
}

/* Footer Tedaviler - İç Linkleme (SEO++) */
.footer-treatments-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 12px;
    margin-bottom: 10px;
}

.footer-treatments-links a {
    color: #c89a58;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 3px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.footer-treatments-links a:hover {
    color: #fff;
    background-color: #c89a58;
    border-color: #c89a58;
}

/* Footer Kurumsal Linkler (KVKK, Gizlilik, Çerez) */
.footer-corporate-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 18px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(200, 154, 88, 0.2);
}

.footer-corporate-links a {
    color: #c89a58;
    text-decoration: none;
    font-size: 0.72rem;
    padding: 4px 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.footer-corporate-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #c89a58;
    transition: width 0.3s ease;
}

.footer-corporate-links a:hover {
    color: #fff;
}

.footer-corporate-links a:hover::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .copyright-text {
        text-align: center;
        width: 100%;
    }

    .footer-treatments-links {
        justify-content: center;
        width: 100%;
    }

    .footer-treatments-links a {
        font-size: 0.8rem;
        padding: 3px 8px;
    }

    .footer-corporate-links {
        justify-content: center;
        width: 100%;
        gap: 8px 14px;
    }

    .footer-corporate-links a {
        font-size: 0.7rem;
    }
}

.disclaimer {
    background-color: #f1f1f1;
    padding: 15px 0;
    font-size: 0.8rem;
    color: #555;
    text-align: center;
}

/* --- GÜNCELLENDİ: WhatsApp Butonu --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, bottom 0.3s ease-in-out;
    text-decoration: none !important;
}

/* Mobilde WhatsApp float pozisyon ayarları */
@media (max-width: 767.98px) {
    .whatsapp-float {
        bottom: 90px; /* Sayfa üstteyken yüksekte */
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
        transition: transform 0.3s ease, bottom 0.3s ease-in-out;
    }

    /* Sayfa scroll edildiğinde aşağı in */
    .whatsapp-float.scrolled {
        bottom: 40px; /* Footer küçülünce normal pozisyon */
    }
}

/* WhatsApp Float - Online Durum Işığı (Sağ üst köşe) */
.whatsapp-float::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background-color: #00C851; /* Koyu yeşil */
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(0, 200, 81, 0.4);
    animation: pulse-float 2s infinite;
    z-index: 1;
}

/* Mesai dışı - durum ışığı gizle */
.whatsapp-float.offline::after {
    display: none;
}

/* Online durum için pulse animasyonu (float için) */
@keyframes pulse-float {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 200, 81, 0.7);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(0, 200, 81, 0);
    }
}

.whatsapp-float:hover {
    color: #fff;
    text-decoration: none !important;
}


/* Animasyonlar için */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -50px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sticky Footer Bar Stilleri - Artık footer-top-wrapper'a uygulanacak */
.footer-top-wrapper.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    background-color: var(--primary-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

/* Footer-top sticky değilken normal yapı */
.footer-top {
    background-color: var(--primary-color);
}

/* Tüm ekranlarda footer scroll ile küçülme */
.footer-top {
    transition: all 0.3s ease-in-out;
}

/* Scroll yapıldığında küçülmüş footer - TÜM EKRANLAR */
.footer-top.footer-scrolled {
    padding: 8px 0 !important;
}

/* Scroll yapıldığında footer içeriğini küçült - TÜM EKRANLAR */
.footer-top.footer-scrolled .container {
    font-size: 0.85rem;
}

.footer-top.footer-scrolled a {
    font-size: 0.85rem;
}

.footer-top.footer-scrolled .footer-address {
    padding: 4px 15px !important;
    font-size: 0.8rem !important;
}

/* Telefon butonu scroll ile küçülme - SADECE MOBİL */
.footer-top.footer-scrolled .footer-top-row-1 > a:first-child {
    padding: 4px 15px !important;
    font-size: 0.8rem !important;
}

.footer-top.footer-scrolled .social-icons-footer a {
    font-size: 0.9rem;
}


/* --- İletişim Sayfası Stilleri --- */

/* Sayfa üstü hero alanı - Banner + Breadcrumb (DİNAMİK VIEWPORT-BASED) */
.page-header {
    position: relative;
    /* Dinamik yükseklik: viewport'a göre otomatik ayarlama
       - Küçük ekran: min 140px
       - Viewport yüzdesi: 18vh (ekran yüksekliğinin %18'i)
       - Büyük ekran: max 280px */
    height: clamp(140px, 18vh, 280px);

    /* Navbar yüksekliğini tam kapsaması için sabit negatif margin */
    margin-top: -100px;

    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header .hero-overlay {
    opacity: 1 !important;
    pointer-events: none !important;
    background-color: rgba(10, 37, 64, 0.4) !important;
}

.page-header-content {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    text-align: center;
}

/* Breadcrumb Navigation - DİNAMİK RESPONSIVE */
.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--white-color) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
    /* Dinamik font: min 0.8rem, viewport %, max 1rem */
    font-size: clamp(0.8rem, 1.2vw + 0.5rem, 1rem);
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.8),
        0 2px 6px rgba(0, 0, 0, 0.6),
        0 0 8px rgba(0, 0, 0, 0.5);
}

.breadcrumb-item a:hover {
    color: var(--secondary-color) !important;
}

.breadcrumb-item .breadcrumb-current {
    color: var(--white-color);
    font-weight: 400;
    font-size: clamp(0.8rem, 1.2vw + 0.5rem, 1rem);
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.8),
        0 2px 6px rgba(0, 0, 0, 0.6),
        0 0 8px rgba(0, 0, 0, 0.5);
}

.breadcrumb-separator {
    /* Dinamik separator aralığı: viewport'a göre */
    margin: 0 clamp(6px, 0.8vw, 12px);
    color: var(--white-color);
    font-weight: 300;
    opacity: 0.8;
    font-size: clamp(0.8rem, 1.2vw + 0.5rem, 1rem);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Responsive Google Harita Konteyneri */
.google-maps-container {
    position: relative;
    overflow: hidden;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.google-maps-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* İletişim Detayları Listesi */
.contact-details-list {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.contact-details-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.contact-details-list .icon-wrapper {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    min-width: 30px;
    text-align: center;
}

.contact-details-list .text-wrapper p {
    margin-bottom: 0;
    color: #555;
    line-height: 1.6;
}

.contact-details-list .text-wrapper a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details-list .text-wrapper a:hover {
    color: var(--secondary-color);
}

/* YENİ: İletişim sayfası başlığını sol alta hizalamak için eklendi */
.page-header .hero-overlay,
.page-header .container {
    height: 100%; /* Dikey hizalama için ebeveyn yüksekliklerinin %100 olması gerekir */
}

.page-header .container {
    display: flex;
    align-items: flex-end; /* İçeriği dikeyde en alta hizalar */
    justify-content: flex-start; /* İçeriği yatayda sola hizalar (varsayılan) */
}

/* --- Hakkımızda Sayfası Stilleri --- */

/* Hikaye/Değerler Bölümü */
.about-section-text p {
    color: #555;
    margin-bottom: 1.5rem;
}

.about-section-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Hekimler Bölümü */
.team-section {
    background-color: var(--light-gray);
}

.doctor-card {
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    text-align: center;
    overflow: hidden; /* Resmin kartın yuvarlak köşelerini bozmamasını sağlar */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.doctor-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* Resimleri kare yapar */
    object-fit: cover; /* Resmin orantısını bozmadan kareye sığdırır */
}

.doctor-info {
    padding: 25px 20px;
}

.doctor-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.doctor-info .doctor-specialty {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.doctor-info .doctor-bio {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.doctor-social {
    margin-top: 15px;
}

.doctor-social a {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.doctor-social a:hover {
    color: var(--secondary-color);
}

/* Harekete Geçirici Mesaj (CTA) Bölümü */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 60px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
}

.cta-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem auto 0;
    opacity: 0.9;
}

/* ==============================================================================
   MASAÜSTÜ DROPDOWN MENÜ OKUNABİLİRLİK VE POZİSYONLAMA DÜZELTMESİ
   ============================================================================== */

/* Sadece 992px ve üzeri ekranlarda (masaüstü) geçerli olacak kurallar */
@media (min-width: 992px) {

    /* Dropdown parent'ına relative pozisyon ver - dropdown'un referans noktası olsun */
    #main-navbar .nav-item.dropdown {
        position: relative;                           /* Dropdown için referans noktası */
    }

    /* Açılır menünün kendisine stil veriyoruz */
    #main-navbar .dropdown-menu {
        background-color: var(--white-color);         /* Arka planı daima beyaz yap */
        border-radius: 0 0 8px 8px;                   /* Alt köşeleri yuvarlak yap */
        border: none;                                 /* Varsayılan kenarlığı kaldır */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);    /* Daha belirgin bir gölge ekle */
        padding: 10px 0;                              /* İçerik boşlukları */
        position: absolute;                            /* Dropdown'un absolute pozisyonu */
        top: 100%;                                     /* Parent'ın tam altında başla */
        left: 50%;                                     /* Ortalama için başlangıç */
        transform: translateX(-50%);                   /* Tam ortala */
        margin-top: 0;                                 /* Üstten margin kaldır */
        min-width: 220px;                              /* Minimum genişlik */
        max-width: 320px;                              /* Maksimum genişlik */
        z-index: 1050;                                 /* Diğer elementlerin üstünde */
        max-height: calc(100vh - 140px);               /* Ekran altına taşan menüler için sınır */
        overflow-y: auto;                              /* Uzun listelerde scroll göster */
        overscroll-behavior: contain;                  /* Sayfa yerine menü scroll olsun */
        display: none;                                 /* Başlangıçta gizli */
    }

    /* Dropdown açıkken göster */
    #main-navbar .dropdown-menu.show {
        display: block;                                /* Bootstrap tarafından eklenen show class'ı */
    }

    /* Bootstrap click davranışı overlay veya odak sorunuyla tetiklenmese bile menüyü erişilebilir tut */
    #main-navbar .nav-item.dropdown:hover > .dropdown-menu,
    #main-navbar .nav-item.dropdown:focus-within > .dropdown-menu {
        display: block;
    }

    /* Açılır menüdeki liste öğeleri */
    #main-navbar .dropdown-menu li {
        list-style: none;                             /* Liste işaretlerini kaldır */
    }

    /* Açılır menüdeki her bir linkin stilini ayarlıyoruz */
    #main-navbar .dropdown-item {
        color: var(--text-color) !important;          /* Yazı rengini daima koyu yap */
        padding: 10px 20px;                           /* Linklerin tıklama alanını genişlet */
        transition: all 0.2s ease-in-out;             /* Yumuşak bir geçiş efekti ekle */
        white-space: normal;                          /* Uzun metinleri alt satıra taşı */
        word-wrap: break-word;                        /* Kelime kırılması */
        display: block;                                /* Tam genişlik tıklama alanı */
    }

    /* Linklerin üzerine gelince olacak stili belirliyoruz */
    #main-navbar .dropdown-item:hover {
        color: var(--primary-color) !important;       /* Üzerine gelince yazı rengini ana renge çevir */
        background-color: #f8f9fa;                    /* Hafif bir arka plan rengi ver */
        padding-left: 25px;                           /* Sağa doğru hafif bir kayma animasyonu */
    }

    /* Dropdown açıkken dropdown-toggle ok işareti dönme animasyonu */
    #main-navbar .nav-item.dropdown.show .dropdown-toggle::after {
        transform: rotate(180deg);
        transition: transform 0.3s ease;
    }

}

/* --- Makaleler Sayfası Stilleri --- */

/* Makale Kartı Genel Stili */
.article-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.article-card .article-image-link img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.article-card .article-content {
    padding: 20px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-card .article-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.article-card .article-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.article-card .article-title a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.article-card .article-title a:hover {
    color: var(--secondary-color);
}

.article-card .article-excerpt {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.article-card .btn-read-more {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: bold;
    align-self: flex-start; /* Butonu en sola yaslar */
}

/* Tek Makale Detay Sayfası Stilleri */
.single-article-container .article-main-title {
    font-size: 2.8rem;
    color: var(--primary-color);
    line-height: 1.3;
}

.single-article-container .article-meta {
    margin: 15px 0 25px 0;
    color: #777;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.single-article-container .article-meta span {
    margin-right: 20px;
}

.single-article-container .article-featured-image {
    border-radius: 8px;
    margin-bottom: 30px;
}

.content-insight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin: 0 0 30px;
}

.content-insight-grid--compact {
    margin-top: 25px;
}

.content-insight-card {
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.05), rgba(200, 154, 88, 0.12));
    border: 1px solid rgba(10, 37, 64, 0.08);
    border-radius: 14px;
    padding: 16px 18px;
}

.content-insight-label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 6px;
}

.content-insight-card strong {
    color: var(--primary-color);
    font-size: 1.05rem;
}

.content-toc-box {
    background: #fff;
    border: 1px solid rgba(10, 37, 64, 0.08);
    border-radius: 18px;
    padding: 24px;
    margin: 0 0 30px;
    box-shadow: 0 12px 30px rgba(10, 37, 64, 0.06);
}

.content-toc-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.content-toc-header h2 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.content-toc-kicker {
    margin: 0 0 6px;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
}

.content-toc-count {
    color: #6c757d;
    font-size: 0.92rem;
    white-space: nowrap;
}

.content-toc-list,
.sidebar-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.content-toc-list li,
.sidebar-toc-list li {
    margin-bottom: 10px;
}

.content-toc-list a,
.sidebar-toc-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.content-toc-list a:hover,
.sidebar-toc-list a:hover {
    color: var(--secondary-color);
}

.content-toc-list .toc-level-3,
.sidebar-toc-list .toc-level-3 {
    padding-left: 18px;
    font-size: 0.95rem;
}

.inline-cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(135deg, var(--primary-color), #11385d);
    color: var(--white-color);
    border-radius: 18px;
    padding: 28px;
    margin: 0 0 32px;
}

.inline-cta-kicker {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
}

.treatment-content .inline-cta-panel h2 {
    color: #ffffff;
    margin: 0 0 10px;
    font-size: 1.7rem;
}

.inline-cta-panel p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.inline-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.article-body-content {
    color: #333;
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-body-content h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body-content p {
    margin-bottom: 1.5rem;
}

/* --- Tedavi Detay Sayfası Stilleri --- */

.treatment-feature-image {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
}

.treatment-content .lead {
    font-size: 1.2rem;
    color: #555;
    font-weight: 400;
}

/* SEO: h1 ana başlık (tedavi başlığı) */
.treatment-content h1 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.3;
}

.treatment-content h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.article-body-content h2,
.article-body-content h3,
.treatment-content h2,
.treatment-content h3 {
    scroll-margin-top: 120px;
}

.treatment-content ul {
    list-style: none;
    padding-left: 0;
}

.treatment-content ul li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
}

.treatment-content ul li::before {
    content: '\f058'; /* Font Awesome Solid Check Circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Galeri Stilleri */
.treatment-gallery {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
}

.treatment-gallery h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.gallery-thumbnails .gallery-thumbnail img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-thumbnails .gallery-thumbnail img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Modal Stilleri */
.modal-content {
    border: none;
    border-radius: 8px;
}

.modal-header {
    border-bottom: 1px solid #eee;
}

#galleryModalImage {
    width: 100%;
    border-radius: 5px;
}

/* ==============================================================================
   NAVBAR ALTI BİLGİLENDİRME ÇUBUĞU (SCROLL İLE GÖRÜNÜR/KAYBOLUR)
   ============================================================================== */

.navbar-notification-bar {
    /* Navbar altında fixed pozisyon */
    position: fixed;
    top: 0; /* Navbar yüksekliği kadar aşağıda olacak (JS ile ayarlanacak) */
    left: 12px;
    right: 12px;
    z-index: 999; /* Navbar'ın (1000) altında */

    /* Başlangıçta gizli - yukarıda */
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s ease,
                visibility 0.35s;

    /* Şık ve minimal arka plan */
    background: rgba(10, 37, 64, 0.98); /* Primary color ile hafif transparan */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    /* İnce gölge ve yuvarlatılmış köşeler */
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    border-radius: 8px;

    /* Sadece mobil cihazlarda göster */
    display: none;
}

/* Mobil görünümde aktif */
@media (max-width: 767.98px) {
    .navbar-notification-bar {
        display: block;
    }
}

/* Scroll yapıldığında görünür hale gelir */
.navbar-notification-bar.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* İçerik container - Minimal ve şık */
.notification-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    /* Daha kompakt padding */
    padding: 12px 20px;

    /* Link/Button stil sıfırlama */
    background: none;
    border: none;
    color: var(--white-color);
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
    width: 100%;

    /* Şık metin stilleri */
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.3px;

    transition: all 0.25s ease;
}

.notification-bar-content:hover {
    background-color: rgba(200, 154, 88, 0.12); /* Hafif altın glow */
    color: var(--secondary-color);
}

/* İkon - sade ve dengeli */
.notification-bar-content i {
    font-size: 1.1rem;
    color: var(--secondary-color);
    transition: transform 0.25s ease;
}

.notification-bar-content:hover i {
    transform: scale(1.1);
}

/* Metin */
.notification-bar-content span {
    flex: 1;
    text-align: center;
    line-height: 1.4;
}


/* ==============================================================================
   WHATSAPP SOHBET BALONU (WIDGET) STİLLERİ
   ============================================================================== */

#whatsapp-chat-widget {
    position: fixed;
    bottom: 120px; /* WhatsApp ikonunun biraz üzerinde */
    right: 30px;
    width: 350px;
    max-width: 90vw;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    z-index: 1020; /* Diğer elementlerin üzerinde */
    overflow: hidden;

    /* Başlangıçta gizli olması için */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

#whatsapp-chat-widget.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Balon açıldığında alttaki WhatsApp ikonunu gizle */
#whatsapp-chat-widget.is-visible + .whatsapp-float {
    transform: scale(0);
}
.whatsapp-float {
    transition: transform 0.3s ease;
}


/* Başlık Alanı */
.chat-header {
    background-color: #075E54; /* WhatsApp yeşili */
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-content { display: flex; align-items: center; }
.header-logo { width: 50px; height: 50px; border-radius: 50%; margin-right: 10px; }
.clinic-name { display: block; font-weight: bold; }
/* Klinik Durumu - SEO ve Accessibility optimized */
.clinic-status {
    font-size: 0.8rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Online/Offline durumu için renk kodları */
.clinic-status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 3px;
    animation: pulse 2s infinite;
}

/* Online durumu - yeşil */
.clinic-status-online::before {
    background-color: #25D366; /* WhatsApp yeşili */
    box-shadow: 0 0 0 rgba(37, 211, 102, 0.4);
}

/* Offline durumu - gri */
.clinic-status-offline::before {
    background-color: #95a5a6;
    animation: none; /* Offline'da pulse animasyonu olmasın */
}

/* Online durum için pulse animasyonu */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
    }
}

/* Accessibility: Screen reader için gizli metin */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
.btn-close-widget {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
}

/* Mesajlar Alanı */
.chat-body {
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png'); /* WhatsApp arka plan deseni */
    padding: 20px;
    height: 250px;
    overflow-y: scroll; /* Scrollbar'ı her zaman göster - layout shift önlenir */
    overflow-x: hidden;
    scroll-behavior: smooth; /* Smooth scrolling desteği */
}

/* Özel scrollbar stili (WebKit tarayıcılar için) */
.chat-body::-webkit-scrollbar {
    width: 6px;
}

.chat-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.chat-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.chat-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Firefox için özel scrollbar */
.chat-body {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.05);
}

/* Mesajlar container'ı - scrollbar görünse de genişlik sabit kalsın */
.chat-messages {
    width: 100%;
    box-sizing: border-box;
}

.chat-message {
    background-color: #E1F8D1; /* Gelen mesaj rengi */
    padding: 10px 15px;
    border-radius: 8px;
    max-width: 85%;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.5s ease-out;
    word-wrap: break-word; /* Uzun kelimeleri kır */
    overflow-wrap: break-word; /* Modern tarayıcılar için */
    box-sizing: border-box;
}
.chat-message.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.chat-typing {
    background-color: #E1F8D1;
    padding: 12px 15px;
    border-radius: 8px;
    max-width: 72px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-sizing: border-box;
}

.chat-typing span {
    width: 6px;
    height: 6px;
    background-color: #6b8e5d;
    border-radius: 50%;
    opacity: 0.45;
    animation: whatsappTyping 1s infinite ease-in-out;
}

.chat-typing span:nth-child(2) {
    animation-delay: 0.15s;
}

.chat-typing span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes whatsappTyping {
    0%, 80%, 100% {
        opacity: 0.35;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

/* Mesai dışı mesaj - farklı renk ve ikon */
.chat-message-offline {
    background-color: #FFF4E6; /* Açık turuncu/bej ton */
    border-left: 4px solid #FF9800; /* Sol kenarda turuncu çizgi */
    position: relative;
    padding-left: 20px;
}

.chat-message-offline::before {
    content: '\f017'; /* Font Awesome clock icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 5px;
    top: 12px;
    color: #FF9800;
    font-size: 0.9rem;
}

.chat-message-time {
    display: block;
    text-align: right;
    font-size: 0.75rem;
    color: #888;
    margin-top: 5px;
}

/* Alt Kısım ve Buton */
.chat-footer {
    padding: 15px;
    background-color: #f0f0f0;
    text-align: center;
}
.btn-start-chat {
    background-color: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s;
}
.btn-start-chat:hover {
    background-color: #128C7E;
    color: #fff;
}

/* ==============================================================================
   SİDEBAR WIDGET STİLLERİ (Blog ve Faydalı Bilgiler İçin)
   ============================================================================== */

/* Genel Widget Konteyneri */
.sidebar-widget {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    transition: box-shadow 0.3s ease;
}

.sidebar-widget:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* Widget Başlıkları */
.sidebar-widget .widget-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
    font-weight: 600;
}

/* Widget İçeriği */
.sidebar-widget .widget-content {
    color: #555;
}

@media (max-width: 991.98px) {
    .content-insight-grid {
        grid-template-columns: 1fr;
    }

    .content-toc-header,
    .inline-cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .inline-cta-actions {
        width: 100%;
    }
}

/* En Çok Okunan / İlgili Yazılar Listesi */
.popular-posts-list,
.related-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-post-item,
.related-post-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.popular-post-item:last-child,
.related-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Yazı Linkleri */
.popular-post-link,
.related-post-link {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.popular-post-link:hover,
.related-post-link:hover {
    transform: translateX(5px);
}

/* Küçük Resimler */
.popular-post-thumbnail,
.related-post-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.popular-post-link:hover .popular-post-thumbnail,
.related-post-link:hover .related-post-thumbnail {
    transform: scale(1.05);
}

/* Yazı Bilgileri */
.popular-post-info,
.related-post-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.related-post-type {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(8, 116, 142, 0.12);
    color: var(--secondary-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.popular-post-info h6,
.related-post-info h6 {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.popular-post-link:hover .popular-post-info h6,
.related-post-link:hover .related-post-info h6 {
    color: var(--secondary-color);
}

/* Görüntülenme ve Tarih Bilgileri */
.post-views,
.post-date {
    font-size: 0.8rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-views i {
    color: var(--secondary-color);
}

.related-content-card .article-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-content-card {
    overflow: hidden;
}

.related-content-card .article-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 220px;
    overflow: hidden;
    background: var(--light-gray);
}

.related-content-card .article-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content-card .article-content p {
    margin-bottom: 0;
}

.related-content-card .article-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #6b7280;
}

/* Breadcrumb Stilleri */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #888;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: #888;
}

/* Makale Etiketleri */
.article-tags {
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-tags .badge {
    margin-right: 8px;
    margin-bottom: 8px;
    padding: 8px 15px;
    font-weight: 500;
    font-size: 0.85rem;
}

/* Makale Navigasyonu */
.article-navigation {
    padding-top: 30px;
    border-top: 2px solid #eee;
}

/* Responsive Düzenlemeler */
@media (max-width: 991.98px) {
    .sidebar-widget {
        margin-top: 40px;
    }
    
    .popular-post-thumbnail,
    .related-post-thumbnail {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 575.98px) {
    .popular-post-thumbnail,
    .related-post-thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .popular-post-info h6,
    .related-post-info h6 {
        font-size: 0.9rem;
    }
}

/* ===================================================
   Hero Slider Navigation Dots (SEO & Accessibility)
   =================================================== */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white-color);
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.slider-dot.active {
    background-color: var(--white-color);
    transform: scale(1.3);
}

/* Mobil responsive */
@media (max-width: 768px) {
    .slider-dots {
        bottom: 20px;
        gap: 8px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
}

/* ===================================================
   Hero Buton Stilleri - Yuvarlak ve Dikdörtgen
   =================================================== */

/* Yuvarlak play buton - medya için */
.play-button {
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform: translate(-50%, 50%);
    width: 80px;
    height: 80px;
    background: rgba(200, 154, 88, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.play-button:hover {
    background: var(--secondary-color);
    transform: translate(-50%, 50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Dikdörtgen CTA buton - hero content içinde */
.btn-hero {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--white-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-hero:hover {
    background: #b88948;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    color: var(--white-color);
}

/* Responsive */
@media (max-width: 768px) {
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .btn-hero {
        padding: 12px 30px;
        font-size: 14px;
    }
}

/* ==============================================================================
   TEDAVİLER LİSTESİ SAYFA STİLLERİ
   ============================================================================== */

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}

/* Section Intro */
.section-intro {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 1rem;
    }
}

/* Treatment Card */
.treatment-card {
    background: var(--white-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.treatment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Treatment Image */
.treatment-image-link {
    position: relative;
    display: block;
    overflow: hidden;
    height: 250px;
    background: var(--light-gray);
}

.treatment-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.treatment-card:hover .treatment-image {
    transform: scale(1.1);
}

.treatment-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e9ecef 100%);
    color: #ccc;
}

/* Treatment Content */
.treatment-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.treatment-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.treatment-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.treatment-title a:hover {
    color: var(--secondary-color);
}

.treatment-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Treatment Meta */
.treatment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.treatment-meta-item {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    color: #777;
}

.treatment-meta-item i {
    margin-right: 6px;
    color: var(--secondary-color);
}

/* Treatment Detail Button */
.btn-treatment-detail {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--white-color);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-treatment-detail:hover {
    background: var(--secondary-color);
    color: var(--white-color);
    transform: translateX(5px);
}

.btn-treatment-detail i {
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.btn-treatment-detail:hover i {
    margin-left: 12px;
}

/* Pagination */
.pagination {
    margin-top: 50px;
}

.page-item .page-link {
    color: var(--primary-color);
    border: 1px solid #dee2e6;
    padding: 10px 15px;
    margin: 0 3px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.page-item .page-link:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white-color);
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: var(--white-color);
    border-color: #dee2e6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #637a91 0%, #f8f9fa 100%);
    padding: 60px 30px;
    border-radius: 12px;
}

.cta-section h3 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
}

.cta-section p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
}

.cta-buttons .btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .treatment-image-link {
        height: 200px;
    }

    .treatment-content {
        padding: 20px;
    }

    .treatment-title {
        font-size: 1.2rem;
    }

    .cta-section {
        padding: 40px 20px;
    }

    .cta-section h3 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}
