@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Lora:ital,wght@0,400;0,500;0,600;1,400&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: #F8F9FA; color: #334155; line-height: 1.7; overflow-x: hidden; font-size: 16px; }
h1, h2, h3, h4, .logo { font-family: 'Lora', serif; color: #1E293B; font-weight: 600; line-height: 1.3; }
a { text-decoration: none; transition: all 0.3s ease; }

/* Header & Navigasyon */
header { position: absolute; top: 0; left: 0; width: 100%; padding: 40px 60px; z-index: 100; display: flex; align-items: center; gap: 30px; }
.solid-header { position: sticky; top: 0; background-color: #1E293B; padding: 20px 60px; box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
.logo { font-size: 24px; color: #F8F9FA; letter-spacing: 0.5px; }
.menu-icon { font-size: 32px; color: #F8F9FA; cursor: pointer; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.menu-icon:hover { color: #F97316; transform: scale(1.1); }

/* Pushbar */
.pushbar { position: fixed; top: 0; left: -350px; width: 320px; height: 100vh; background-color: #1E293B; z-index: 1000; padding: 100px 45px; transition: left 0.5s cubic-bezier(0.85, 0, 0.15, 1); }
.pushbar.active { left: 0; }
.pushbar ul { list-style: none; }
.pushbar ul li { margin-bottom: 35px; }
.pushbar ul li a { text-decoration: none; font-size: 22px; color: #F8F9FA; font-family: 'Lora', serif; transition: 0.3s ease; }
.pushbar ul li a:hover { color: #F97316; padding-left: 12px; }
.close-btn { position: absolute; top: 30px; right: 30px; font-size: 45px; color: white; cursor: pointer; }

/* Hero */
.hero { height: 100vh; background: linear-gradient(rgba(30, 41, 59, 0.75), rgba(30, 41, 59, 0.75)), url('images/healthcare.jpg') no-repeat center center/cover; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-content h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 25px; color: #F8F9FA !important; font-weight: 600; }
.hero-content p { font-size: clamp(18px, 2.2vw, 24px); font-weight: 300; color: #E2E8F0; }

/* Ortak Alanlar (Kartlar, Hakkımda) */
.featured-articles { padding: 100px 20px; background-color: #FFFFFF; text-align: center; }
.featured-articles h2 { font-size: 38px; margin-bottom: 50px; }
.cards-container { display: flex; justify-content: center; gap: 40px; max-width: 1300px; margin: 50px auto; flex-wrap: wrap; }
.card { background: white; width: 380px; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.06); transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); text-align: left; }
.card:hover { transform: translateY(-12px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.card-img { height: 240px; background-size: cover; background-position: center; }
.card-content { padding: 30px; }
.card h3 { font-size: 22px; margin-bottom: 15px; min-height: 56px; }
.card p { font-size: 16px; color: #64748B; margin-bottom: 30px; line-height: 1.6; }
.btn-outline { display: inline-block; padding: 10px 28px; border: 2px solid #F97316; color: #F97316; text-decoration: none; border-radius: 6px; font-weight: 600; font-size: 15px; transition: 0.3s; }
.btn-outline:hover { background: #F97316; color: white; }

/* Genişleyen Özel Buton (Turuncu Animasyonlu) */
.btn-wide-alt { display: inline-block; padding: 15px 70px; background-color: #F97316; color: #FFFFFF; text-decoration: none; border-radius: 60px; font-weight: 600; font-size: 17px; letter-spacing: 0.5px; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); border: 2px solid #F97316; }
.btn-wide-alt:hover { background-color: transparent; color: #F97316; padding: 15px 100px; box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3); }

/* Hakkımda Bölümü */
.about { padding: 120px 20px; text-align: center; max-width: 900px; margin: 0 auto; background-color: #F8F9FA; }
.about h2 { font-size: 40px; margin-bottom: 35px; }
.about p { font-size: 20px; line-height: 2; margin-bottom: 40px; color: #475569; }

/* Blog Sayfası */
.blog-hero { background-color: #E2E8F0; padding: 100px 20px; text-align: center; }
.search-box { display: flex; justify-content: center; max-width: 600px; margin: 30px auto 0; }
.search-box input { flex: 1; padding: 15px 25px; border: 1px solid #CBD5E1; border-radius: 8px 0 0 8px; font-size: 16px; outline: none; }
.btn-search { background: #F97316; color: white; border: none; padding: 0 30px; border-radius: 0 8px 8px 0; font-weight: 600; cursor: pointer; }
.blog-list-section { padding: 80px 20px; }
.blog-grid { display: flex; flex-direction: column; gap: 50px; max-width: 1100px; margin: 0 auto; }
.wide-blog-card { display: flex; background-color: white; border-radius: 15px; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.06); transition: all 0.3s ease; }
.wide-blog-card:hover { transform: scale(1.01); box-shadow: 0 20px 45px rgba(0,0,0,0.1); }
.wide-card-img { flex: 0 0 40%; min-height: 320px; background-size: cover; background-position: center; }
.wide-card-content { flex: 1; padding: 45px; display: flex; flex-direction: column; justify-content: center; text-align: left; }
.category-tag { color: #F97316; font-weight: 600; text-transform: uppercase; font-size: 13px; letter-spacing: 1.5px; margin-bottom: 15px; }
.card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid #F1F5F9; }

/* Akademik Yazı Sayfaları */
.article-container { max-width: 900px; margin: 80px auto; background: white; padding: 60px 80px; border-radius: 15px; box-shadow: 0 10px 40px rgba(0,0,0,0.06); }
.article-header { text-align: center; margin-bottom: 50px; }
.article-header h1 { font-size: 38px; margin: 15px 0; }
.article-content p { font-size: 19px; line-height: 2.1; margin-bottom: 30px; color: #334155; }
.article-content h2 { font-size: 28px; margin: 50px 0 20px; border-left: 5px solid #F97316; padding-left: 20px; }
.article-content ul { margin: 20px 0 30px 30px; }
.article-content li { font-size: 19px; margin-bottom: 15px; line-height: 1.9; }

/* Grafikler */
.chart-wrapper { background-color: #F1F5F9; padding: 40px; border-radius: 15px; margin: 50px 0; }
.canvas-container { height: 400px; width: 100%; position: relative; }

/* Footer & Copyright (Turuncu Telif) */
footer { background-color: #E2E8F0; padding-top: 80px; text-align: center; }
.contact-info { padding-bottom: 60px; }
.contact-info h3 { font-size: 28px; margin-bottom: 25px; }
.contact-info p { font-size: 17px; margin-bottom: 10px; color: #475569; }
.copyright-bar { background-color: #1E293B; padding: 28px 0; }
.copyright-bar p { color: #F97316 !important; font-size: 15px; letter-spacing: 1.2px; font-weight: 500; }

/* =========================================
   YENİ NESİL MOBİL & UYGULAMA UX (1, 2, 4, 6)
   ========================================= */

/* 2. Okuma İlerleme Çubuğu (Global) */
#progressBarContainer { position: fixed; top: 0; left: 0; width: 100%; height: 5px; background: transparent; z-index: 9999; pointer-events: none; }
#progressBar { height: 5px; background: #F97316; width: 0%; border-radius: 0 2px 2px 0; transition: width 0.1s ease; }

/* 6. Yüzen Buton (FAB) - Yukarı Çık */
#fabBtn { position: fixed; bottom: 30px; right: 30px; width: 55px; height: 55px; background-color: #F97316; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4); cursor: pointer; border: none; z-index: 1000; transition: all 0.3s ease; opacity: 0; visibility: hidden; }
#fabBtn.visible { opacity: 1; visibility: visible; }
#fabBtn:hover { transform: translateY(-5px); background-color: #ea580c; }

/* PC'de Alt Menüyü Gizle */
.bottom-nav { display: none; }

/* --- SADECE MOBİL İÇİN GEÇERLİ OLANLAR --- */
@media (max-width: 992px) { 
    .wide-blog-card { flex-direction: column; } 
    .wide-card-img { width: 100%; min-height: 250px; } 
    .article-container { padding: 50px 40px; } 
}

@media (max-width: 768px) {
    body { font-size: 15px; padding-bottom: 75px; /* Alt menü içeriği ezmesin diye */ }
    header { padding: 20px; gap: 15px; }
    .solid-header { padding: 15px 20px; }
    .logo { font-size: 20px; line-height: 1.2; }
    .menu-icon { font-size: 28px; }
    .pushbar { width: 280px; padding: 80px 30px; }
    .pushbar ul li a { font-size: 19px; }
    
    .hero-content h1 { font-size: clamp(28px, 8vw, 36px); }
    .featured-articles { padding: 60px 0; } /* Mobilde kenar boşluğunu sıfırladık ki kartlar rahat kaysın */
    .featured-articles h2, .about h2 { font-size: 30px; margin-bottom: 30px; }

    /* 4. Yatay Kaydırılabilir Kartlar (Swipeable Carousel) */
    .cards-container { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 15px; justify-content: flex-start; padding: 10px 20px 30px 20px; margin-top: 10px; }
    .cards-container::-webkit-scrollbar { display: none; }
    .card { flex: 0 0 85%; scroll-snap-align: center; } /* Kartlar ekranın %85'ini kaplar, diğeri ucdan gözükür */
    .card-img { height: 200px; }

    /* 1. Mobil Alt Menü (App-Like) */
    .bottom-nav { display: flex; position: fixed; bottom: 0; left: 0; width: 100%; height: 70px; background-color: #1E293B; justify-content: space-around; align-items: center; z-index: 1001; box-shadow: 0 -4px 20px rgba(0,0,0,0.2); border-top-left-radius: 20px; border-top-right-radius: 20px; }
    .bottom-nav a { color: #94A3B8; display: flex; flex-direction: column; align-items: center; font-size: 12px; gap: 4px; font-weight: 500; transition: 0.3s; }
    .bottom-nav a:hover, .bottom-nav a:active { color: #F97316; }
    .bottom-nav-icon { font-size: 22px; }

    /* FAB mobilde alt menünün üstünde dursun */
    #fabBtn { bottom: 90px; right: 20px; width: 50px; height: 50px; font-size: 20px; }

    .article-container { margin: 30px 15px; padding: 30px 20px; }
    .chart-wrapper { padding: 15px; }
    .canvas-container { height: 300px; }
}
/* --- RENKLERİ BOZMAYAN YUMUŞAK HAREKET (SOFT HOVER) EFEKTLERİ --- */

/* Kartların süzülerek kalkması */
.card, .wide-blog-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover, .wide-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08), 0 10px 10px rgba(0, 0, 0, 0.04);
}

/* Butonların turuncu ruhuna uygun yumuşak tepkisi */
.btn-outline, .btn-wide-alt {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn-outline:hover, .btn-wide-alt:hover {
    transform: translateY(-3px);
    /* Senin turuncu rengine (#F97316) uygun hafif bir parlama gölgesi */
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25); 
}
/* style.css DOSYASININ EN ALTINA EKLENECEK KODLAR */

/* 1. CAM TASARIM DİLİ (GLASSMORPHISM) */
header, .solid-header {
    background-color: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 3. AŞAĞI İNDİKÇE SÜZÜLEREK GELME (SCROLL REVEAL) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 4. DAKTİLO EFEKTİ (TYPEWRITER) */
.typewriter-text {
    border-right: 3px solid var(--accent-teal, #06B6D4);
    animation: blinkCursor 0.7s infinite normal;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    max-width: 100%;
}
@keyframes blinkCursor {
    from { border-right-color: var(--accent-teal, #06B6D4); }
    to { border-right-color: transparent; }
}
/* MODERN İMLEÇ TASARIMI (DOT & RING) */
@media (min-width: 1024px) {
    body { cursor: none; } /* Standart oku gizle */
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-teal, #06B6D4);
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent-teal, #06B6D4);
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.15s ease-out;
}

.cursor-outline.hover {
    width: 60px;
    height: 60px;
    background-color: rgba(6, 182, 212, 0.15);
    border-color: transparent;
}
/* --- MOBİL UYUMLULUK VE EKRANA SIĞDIRMA --- */
@media (max-width: 768px) {
    .hero h1, .blog-hero h1 {
        font-size: 1.8rem !important; /* Telefonlarda yazıyı ideal boyuta küçültür */
        line-height: 1.4;
    }
    
    .typewriter-text {
        white-space: normal !important; /* Daktilo yazısının tek satıra sıkışmasını engeller, kelime sığmazsa alt satıra zarifçe geçer */
    }
}
/* --- MOBİLDE ÖZEL İMLECİ GİZLEME --- */
@media (max-width: 991px) {
    .cursor-dot, 
    .cursor-outline {
        display: none !important;
    }
}