/* Google Fonts'tan Inter ve Montserrat (Başlıklar için) yüklüyoruz */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@700&display=swap');

/* Tüm projede geçerli kılıyoruz */
* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* Modal Başlıklarını daha vurucu yapmak için Montserrat kullanalım */
#modal-country-name, .dashboard-header h2, .info-column h3, .hospital-info-card h4 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

/* Panel içindeki paragrafları yumuşatalım */
#main-description p, .hospital-info-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    font-weight: 400;
}

/* Buton yazılarını netleştirelim */
.cat-card span {
    font-weight: 600 !important;
    font-size: 13px;
    margin-top: 8px;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

body, .dashboard-mode {
    font-family: 'Inter', sans-serif !important;
    color: #2c3e50;
    line-height: 1.6;
}

h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.5px;
}
body {
    margin: 0; padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #fcfaf5;
    color: #2c3e50;
    overflow-x: hidden;
}

header {
    background: #fff;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 5%;
    border-bottom: 4px solid #b38b1d;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 1.8rem; color: #1a3a3a; }
.logo span { color: #a93226; }

nav ul { list-style: none; display: flex; align-items: center; gap: 25px; }
nav ul li { font-weight: 600; cursor: pointer; text-transform: uppercase; font-size: 0.85rem; }

/* Dropdown */
.dropdown { position: relative; }
.lang-selected { display: flex; align-items: center; gap: 8px; background: #f4f1e6; padding: 5px 12px; border-radius: 20px; border: 1px solid #d4af37; }
.dropdown-menu { 
    position: absolute; top: 100%; right: 0; background: white; 
    list-style: none; padding: 10px 0; border-radius: 8px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); opacity: 0; visibility: hidden; transition: 0.3s;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; }
.dropdown-menu li { padding: 8px 15px; display: flex; align-items: center; gap: 10px; text-transform: none; }
.dropdown-menu li:hover { background: #fcfaf5; color: #b38b1d; }

/* Harita */
#map-container { text-align: center; padding: 40px 20px; }
#svg-wrapper { width: 100%; max-width: 1000px; margin: 20px auto; height: 500px; border: 1px solid #eee; border-radius: 15px; background: #fff; }
#world-svg-obj { width: 100%; height: 100%; }

/* Modal */
.modal { display: none; position: fixed; z-index: 999; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); align-items: center; justify-content: center; }
.modal-content { background: #fcfaf5; width: 80%; max-width: 800px; padding: 30px; border-radius: 15px; position: relative; animation: pop 0.3s ease; }
@keyframes pop { from { transform: scale(0.8); } to { transform: scale(1); } }
.close-modal { position: absolute; right: 20px; top: 15px; font-size: 28px; cursor: pointer; }

.slider-placeholder { width: 100%; height: 250px; background: #ddd; margin: 20px 0; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: bold; }
/* Harita Kontrolleri */
.map-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 15px;
    background: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #e0e0e0;
}

.control-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #b38b1d;
    letter-spacing: 1px;
}

/* Zoom Butonları */
.zoom-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zoom-buttons button {
    width: 35px;
    height: 35px;
    border: 2px solid #b38b1d;
    background: #fcfaf5;
    color: #b38b1d;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-buttons button:hover {
    background: #b38b1d;
    color: white;
}

/* Slider (Kaydırma Çubuğu) Tasarımı */
.pan-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

input[type=range] {
    -webkit-appearance: none;
    width: 200px;
    height: 6px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #b38b1d; /* Altın rengi top */
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Harita Taştığında Gizle */
#svg-wrapper {
    overflow: hidden; /* Harita büyüyünce kutudan taşmasın */
    position: relative;
    background: #ebf5fb; /* Okyanus rengi gibi hafif mavi */
}

/* SVG'nin kendisi (Hareket edecek olan parça) */
#svg-wrapper svg {
    transition: transform 0.3s ease-out; /* Yumuşak hareket etsin */
    transform-origin: center center; /* Ortadan büyüsün */
}
#svg-wrapper {
    overflow: hidden; /* Taşmaları gizle */
    position: relative;
    cursor: grab; /* Varsayılan el işareti */
    background-color: #ebf5fb; /* Deniz rengi */
    touch-action: none; /* Mobilde sayfanın kaymasını engelle harita üzerindeyken */
}

#svg-wrapper svg {
    transition: transform 0.1s ease-out; /* Sürükleme sırasında çok yavaş olmasın */
    user-select: none; /* Ülkelerin metin gibi seçilmesini engelle */
}
/* Slider Tasarımı */
.slider-container {
    position: relative;
    width: 100%;
    height: 300px;
    margin: 20px 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slides img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resimleri kutuya sığdırır */
    flex-shrink: 0;
}

/* Slider Butonları */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    transition: 0.3s;
}

.prev:hover, .next:hover { background: #b38b1d; }
.prev { left: 10px; }
.next { right: 10px; }

/* Bilgi Kartları */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.info-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    border-left: 5px solid #27ae60;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.info-card h4 { color: #1a3a3a; margin-top: 0; }
.info-card p { font-size: 0.9rem; color: #666; line-height: 1.4; }
.dashboard-mode {
    width: 90% !important;
    max-width: 1200px;
    height: 85vh;
    border-radius: 20px;
    padding: 30px !important;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.dashboard-header {
    border-bottom: 2px solid #b38b1d;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.dashboard-body {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Sol geniş, sağ dar */
    gap: 30px;
    height: 100%;
    overflow-y: auto;
}

/* Kategori Butonları */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.cat-card {
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 15px 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    font-weight: bold;
}

.cat-card:hover { background: #b38b1d; color: white; transform: translateY(-3px); }

/* Sağ Taraf - Hastane Kartı */
.hospital-info-card {
    background: #fff;
    border: 1px solid #b38b1d;
    border-radius: 15px;
    padding: 20px;
    margin-top: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.call-btn {
    display: block;
    background: #27ae60;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 15px;
    font-weight: bold;
}
.dashboard-mode {
    border: 1px solid rgba(179, 139, 29, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cat-card {
    border: 1px solid #edf2f7 !important;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.cat-card:hover {
    background: #b38b1d !important;
    border-color: #b38b1d !important;
    color: white !important;
    box-shadow: 0 10px 15px -3px rgba(179, 139, 29, 0.3);
}

#country-badge {
    background: #f1f5f9;
    color: #64748b;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}
/* --- GÜÇLÜ VE GÜVEN VERİCİ FONT GÜNCELLEMESİ --- */

/* Kategori kartlarının içindeki span (yazı) kısmını hedefliyoruz */
.cat-card span {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important; /* En kalın seviye */
    font-size: 14px !important;
    color: #1a202c !important; /* Net siyah/gri tonu */
    text-transform: uppercase !important; /* Büyük harf otorite sağlar */
    margin-top: 10px;
    letter-spacing: 0.5px;
}

/* Mevcut cat-card'ı biraz daha 'sağlam' gösterelim */
.cat-card {
    border: 2px solid #e2e8f0 !important; /* 1px yerine 2px daha güven verir */
    min-height: 100px;
    justify-content: center;
}

/* Hover durumunda yazı renginin beyaz olduğundan emin olalım */
.cat-card:hover span {
    color: #ffffff !important;
}

/* Modal içindeki ana başlıkları ciddileştirelim */
#modal-country-name, #main-description h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    color: #1a1a1a;
}
.dashboard-mode { width: 90%; max-width: 1100px; height: 80vh; font-family: 'Inter', sans-serif; }

.hospital-info-card {
    background: #fff;
    border: 1px solid #b38b1d;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hospital-info-card img {
    width: 100%;
    height: 180px; /* Sabit yükseklik */
    object-fit: cover; /* Kırpma yapar, resmi bozmaz */
    border-radius: 8px;
    margin-bottom: 12px;
}

.analysis-box {
    border-left: 5px solid #b38b1d;
    padding-left: 15px;
    background: #fcfcfc;
}

.call-btn {
    display: block;
    background: #27ae60;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 800;
    margin-top: 10px;
}
/* === PANEL İÇERİK DÜZENİ (SCROLL VE TİPOGRAFİ) === */
#main-description {
    max-height: 450px; /* Panelin maksimum boyu */
    overflow-y: auto;  /* Metin taşarsa kaydırma çubuğu çıkar */
    padding-right: 15px; /* Kaydırma çubuğu ile metin arasına boşluk */
    font-family: 'Inter', sans-serif;
}

/* Kaydırma Çubuğu Tasarımı (Premium Görünüm) */
#main-description::-webkit-scrollbar {
    width: 6px;
}
#main-description::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
#main-description::-webkit-scrollbar-thumb {
    background: #b38b1d; /* Altın rengi çubuk */
    border-radius: 4px;
}

/* Başlık ve Liste Tasarımları */
.analysis-content h4 {
    color: #b38b1d;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.analysis-content p {
    font-size: 14px;
    line-height: 1.7; /* Okunabilirlik için satır aralığı */
    color: #334155;
    margin-bottom: 15px;
    text-align: justify;
}

.analysis-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.analysis-content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 13.5px;
    color: #475569;
}

.analysis-content li::before {
    content: "•";
    color: #27ae60; /* Yeşil nokta */
    font-weight: bold;
    font-size: 18px;
    position: absolute;
    left: 0;
    top: -2px;
}
/* Kurumsal Stil - Sağlık Endeksi */
.ranking-section {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    max-width: 1100px;
    margin: 50px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.ranking-header {
    text-align: center;
    margin-bottom: 35px;
}

.ranking-header h2 {
    color: #1a365d;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.ranking-header p {
    color: #64748b;
    font-size: 1.1rem;
}

/* Seçici Alanı */
.filter-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

#categorySelect {
    width: 350px;
    padding: 12px 20px;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: #334155;
    background-color: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

#categorySelect:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Kart Yapısı */
.ranking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.rank-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
}

.rank-card.show {
    opacity: 1;
    transform: translateY(0);
}

.rank-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
    border-color: #3b82f6;
}

/* Derece Rozeti */
.rank-badge {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #3b82f6;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.rank-card h3 {
    color: #1e293b;
    margin: 15px 0 10px 0;
    font-size: 1.4rem;
}

.rank-card .description {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 60px;
}

/* Puanlama Alanı */
.score-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.score-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2563eb;
}

.score-label {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.world-status {
    font-size: 0.75rem;
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
}
/* Kıyaslama Merkezi Stilleri */
.compare-section {
    font-family: 'Inter', sans-serif;
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}

.compare-header {
    text-align: center;
    margin-bottom: 40px;
}

.compare-header h2 {
    color: #0f172a;
    font-size: 2.2rem;
    font-weight: 800;
}

/* Seçim Alanları */
.compare-selectors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.compare-select-box {
    display: flex;
    flex-direction: column;
}

.compare-select-box label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
}

.compare-select-box select {
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    color: #1e293b;
    outline: none;
    transition: 0.3s;
}

.compare-select-box select:focus {
    border-color: #3b82f6;
}

/* Kıyaslama Tablosu */
.compare-table-wrapper {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.compare-table th {
    background: #f8fafc;
    padding: 20px;
    text-align: left;
    font-weight: 700;
    color: #475569;
    border-bottom: 2px solid #e2e8f0;
}

.compare-table td {
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
}

.feature-title {
    font-weight: 700;
    color: #0f172a;
    width: 200px;
    background: #fdfdfd;
}

.compare-city-name {
    font-size: 1.5rem;
    color: #2563eb;
    margin-bottom: 10px;
}

.score-pill {
    display: inline-block;
    padding: 4px 12px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
}

.compare-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #475569;
    margin-top: 10px;
}

/* Kıyaslama İkonları */
.check-icon { color: #10b981; margin-right: 5px; }
/* Karşılaştırma Ekstraları */
.compare-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.pdf-btn {
    background: #1e293b;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.pdf-btn:hover { background: #0f172a; }

/* Yıldız Puanlama */
.star-rating {
    color: #fbbf24; /* Altın sarısı */
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Öne Çıkarılan Hücre (Highlight) */
.recommended-cell {
    background: rgba(37, 99, 235, 0.03) !important;
    border: 2px solid #3b82f6 !important;
    position: relative;
}

.recommended-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: #3b82f6;
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Tablo İçeriği Okunabilirlik */
.compare-table td strong {
    display: block;
    margin-bottom: 8px;
    color: #1e293b;
}
/* --- GENEL AYARLAR --- */
:root {
    --primary-blue: #003366; /* Derin Kurumsal Mavi */
    --accent-blue: #0056b3;  /* Canlı Mavi */
    --soft-gray: #f4f7f6;
    --text-dark: #2c3e50;
    --white: #ffffff;
}

/* Navbardaki Buton */
.nav-cta-btn {
    background: var(--primary-blue);
    color: white !important;
    padding: 8px 15px;
    font-size: 0.9rem;
    border-radius: 4px; /* Keskin köşeler kurumsaldır */
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-blue);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.nav-cta-btn:hover {
    background: white;
    color: var(--primary-blue) !important;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.2);
}

/* --- OVERLAY YAPISI --- */
.premium-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--white);
    z-index: 99999;
    overflow-y: auto;
    display: none; /* JS ile açılacak */
    animation: fadeInPage 0.5s ease-out;
}

@keyframes fadeInPage {
    from { opacity: 0; }
    to { opacity: 1; }
}

.close-overlay-btn {
    position: fixed;
    top: 30px; right: 30px;
    z-index: 10000;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    width: 50px; height: 50px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: 0.3s;
    font-size: 1.2rem;
}

.close-overlay-btn:hover { background: white; color: var(--text-dark); transform: rotate(90deg); }

/* --- VIDEO SLIDER BÖLÜMÜ --- */
.cinema-header {
    position: relative;
    width: 100%;
    height: 65vh; /* Ekranın %65'i video */
    overflow: hidden;
    background: #000;
}

.video-track {
    display: flex;
    width: 300%; /* 3 video yan yana */
    height: 100%;
    transition: transform 1s cubic-bezier(0.645, 0.045, 0.355, 1); /* Çok yumuşak geçiş */
}

.video-item {
    width: 33.333%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1); /* Hafif zoom efekti için */
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.15); } }

/* Video Üzeri Yazılar */
.video-overlay-gradient {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.hero-content {
    position: absolute;
    top: 50%; left: 10%;
    transform: translateY(-50%);
    z-index: 10;
    color: white;
    font-family: 'Montserrat', sans-serif;
    max-width: 600px;
}

.hero-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--accent-blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFade 0.8s 0.2s forwards;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 0.8s 0.4s forwards;
}

.hero-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 0.8s 0.6s forwards;
    border-left: 3px solid var(--accent-blue);
    padding-left: 15px;
}

@keyframes slideUpFade {
    to { opacity: 1; transform: translateY(0); }
}

/* --- FORM ALANI --- */
.form-section-wrapper {
    background: var(--soft-gray);
    padding: 60px 20px;
    margin-top: -50px; /* Video üzerine hafif binsin */
    position: relative;
    z-index: 20;
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 8px; /* Kurumsal yumuşaklık */
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.form-header h3 {
    color: var(--primary-blue);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-header p { color: #7f8c8d; margin-bottom: 40px; }

.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
}

.input-group label i { color: var(--accent-blue); margin-right: 8px; }

.input-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #dfe6e9;
    border-radius: 4px;
    background: #f9fbfb;
    font-size: 1rem;
    color: var(--text-dark);
    transition: 0.3s;
    outline: none;
}

.input-group select:focus {
    border-color: var(--accent-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}

.submit-premium-btn {
    width: 100%;
    padding: 18px;
    background: var(--primary-blue);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.submit-premium-btn:hover {
    background: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.15);
}

.security-note {
    text-align: center;
    margin-top: 15px;
    font-size: 0.8rem;
    color: #95a5a6;
}

/* --- MODAL (POPUP) --- */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 10, 30, 0.6); /* Koyu lacivert blur */
    backdrop-filter: blur(8px);
    z-index: 100000;
    justify-content: center;
    align-items: center;
}

.modal-box {
    background: white;
    padding: 40px;
    border-radius: 8px;
    max-width: 450px;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes zoomIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.modal-icon-circle {
    width: 70px; height: 70px;
    background: #e3f2fd;
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.modal-box h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.modal-box p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.modal-confirm-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.modal-confirm-btn:hover { background: var(--accent-blue); }
/* Rota Sonuç Kartı */
.route-result-card {
    margin-top: 40px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    animation: slideUpFade 0.5s ease-out;
}

/* Timeline Yapısı */
.timeline {
    position: relative;
    padding-left: 30px;
    border-left: 2px dashed #cbd5e1;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-icon {
    position: absolute;
    left: -46px; /* Çizginin üstüne oturtmak için */
    top: 0;
    width: 32px;
    height: 32px;
    background: #2c3e50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 0 0 5px white; /* Etrafına beyaz boşluk */
}

.timeline-content h4 {
    color: #2c3e50;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.timeline-content p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.live-map-btn {
    display: inline-block;
    margin-top: 20px;
    background: #27ae60;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: 0.3s;
}

.live-map-btn:hover {
    background: #219150;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.2);
}
/* Hamburger */
.corporate-hamburger {
    position: absolute; top: 30px; left: 30px; z-index: 999;
    cursor: pointer; display: flex; flex-direction: column; gap: 6px;
}
.corporate-hamburger span {
    width: 30px; height: 3px; background: #002d5b; border-radius: 2px; transition: 0.3s;
}

/* Yan Panel */
.side-menu-panel {
    position: fixed; top: 0; left: -350px; width: 320px; height: 100%;
    background: #ffffff; z-index: 1000; transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: 10px 0 50px rgba(0,0,0,0.05); padding: 40px 20px;
}
.side-menu-panel.open { left: 0; }
.menu-header h2 { color: #002d5b; font-family: 'Montserrat', sans-serif; font-weight: 800; }

.menu-items a {
    display: flex; align-items: center; gap: 15px; padding: 20px;
    text-decoration: none; color: #444; font-weight: 600; border-radius: 8px; transition: 0.3s;
}
.menu-items a:hover { background: #f0f4f8; color: #002d5b; }

/* Analiz Sayfası */
.full-page-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2000; background: #fff; display: none; overflow-y: auto;
}
.page-bg-video { position: fixed; width: 100%; height: 100%; z-index: -1; }
.page-bg-video video { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5) blur(15px); }

.glass-container {
    background: rgba(255, 255, 255, 0.95); padding: 50px; border-radius: 4px;
    max-width: 1000px; margin: 50px auto; border-top: 8px solid #002d5b;
}

/* Veri Kartları */
.data-card-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px; margin-top: 40px;
}
.val-card {
    padding: 30px; background: #f8fafc; border: 1px solid #e2e8f0; text-align: center;
}
.val-card.turkey { background: #002d5b; color: white; }
.val-card h3 { font-size: 2rem; margin: 10px 0; }
.savings-badge { color: #10b981; font-weight: 800; font-size: 1.2rem; }
/* ANALİZ SAYFASI ÖZEL TASARIMI */
.full-page-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2000; background: #ffffff; display: none; overflow-y: auto;
    font-family: 'Inter', sans-serif;
}

/* Şık Geri Dön Butonu */
.exit-btn {
    position: absolute; top: 30px; left: 40px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.9);
    color: #002d5b;
    border: 1px solid #002d5b;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex; align-items: center; gap: 10px;
}
.exit-btn:hover {
    background: #002d5b;
    color: #fff;
    transform: translateX(-5px);
    box-shadow: 0 10px 20px rgba(0,45,91,0.2);
}

/* Glassmorphism Konteyner */
.glass-container {
    background: rgba(255, 255, 255, 0.98);
    padding: 60px;
    border-radius: 20px;
    max-width: 1100px;
    margin: 100px auto 50px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    animation: slideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* Ultra Modern Select Box */
.selector-box select {
    width: 100%;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    appearance: none; /* Standart ok işaretini kaldırır */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23002d5b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 20px;
    transition: all 0.3s ease;
}
.selector-box select:focus {
    outline: none;
    border-color: #002d5b;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(0,45,91,0.1);
}

/* Veri Kartları */
.data-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.val-card {
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.val-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }

.val-card.turkey {
    background: linear-gradient(135deg, #002d5b 0%, #004a99 100%);
    color: #ffffff;
    border: none;
}

.val-card label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    opacity: 0.8;
}

.val-card h3 {
    font-size: 2.8rem;
    margin: 15px 0;
    font-weight: 800;
}

.diff-badge {
    display: inline-block;
    padding: 6px 15px;
    background: #fee2e2;
    color: #ef4444;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
}
/* --- FAQ Overlay (Tam Ekran Kaplama) --- */
.faq-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8f9fa; /* Hafif gri kurumsal arka plan */
    z-index: 9999; /* Her şeyin üstünde */
    transform: translateY(100%); /* Başlangıçta ekranın altında gizli */
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1); /* Havalı kayma efekti */
    overflow-y: auto; /* Çok soru olursa aşağı kaydırılsın */
    display: flex;
    flex-direction: column;
}

/* Aktif olunca yukarı kay */
.faq-overlay.active {
    transform: translateY(0);
}

/* --- Header Kısmı --- */
.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.faq-header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #003366; /* Kurumsal Lacivert */
    letter-spacing: 1px;
}

.close-btn {
    background: transparent;
    border: 2px solid #003366;
    color: #003366;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-btn:hover {
    background: #003366;
    color: #fff;
}

/* --- İçerik Alanı --- */
.faq-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    width: 100%;
}

.faq-container h2 {
    text-align: center;
    color: #003366;
    font-size: 2rem;
    margin-bottom: 10px;
}

.faq-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

/* --- Akordiyon (Açılır Kapanır Sorular) --- */
.accordion-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    overflow: hidden;
    transition: 0.3s;
}

.accordion-item:hover {
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    text-align: left;
}

.accordion-header i {
    transition: transform 0.3s ease;
    color: #00bcd4; /* Teal / Turkuaz detay rengi */
}

/* Soru açıldığında ikon dönsün ve renk değişsin */
.accordion-header.active {
    color: #003366;
}

.accordion-header.active i {
    transform: rotate(45deg); /* Artı işareti çarpı olsun */
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fafafa;
    border-top: 1px solid #eee;
}

.accordion-body p {
    padding: 20px;
    color: #555;
    line-height: 1.6;
}
/* --- Mobil Uyumluluk Ayarları (Ekran 768px'den küçükse çalışır) --- */
@media (max-width: 768px) {
    
    /* Konteynırları sıkıştır ve taşmayı önle */
    body, html {
        overflow-x: hidden; /* Sağa sola kaymayı engeller */
        width: 100%;
    }

    /* Menü ve Butonları alt alta diz veya küçült */
    .nav-links {
        display: none; /* Eğer kendi hamburger menün yoksa bunu kullanacağız */
    }

    /* Tüm butonları mobilde tam genişlik yap veya uygun boyuta getir */
    .btn, button {
        width: 90%; /* Butonlar ekrana sığsın */
        margin: 10px auto;
        display: block;
        font-size: 14px; /* Mobilde yazılar biraz küçülsün */
    }

    /* Yazı boyutlarını ayarla */
    h1 {
        font-size: 1.8rem !important; /* Başlıklar mobilde çok devasa olmasın */
        text-align: center;
    }

    p {
        font-size: 1rem;
        padding: 0 15px;
        text-align: center;
    }

    /* Eğer bir Flexbox veya Grid yapısı kullanıyorsan yan yana olanları alt alta al */
    .container, .row, .features {
        display: flex;
        flex-direction: column; /* Yan yana olan her şeyi alt alta dizer */
        align-items: center;
        padding: 10px;
    }

    /* SSS Sayfası mobilde tam sığsın */
    .faq-container {
        width: 95% !important;
        margin: 20px auto;
    }
}
/* Her şeyi kutu içine hapset, dışarı taşmasın */
* {
    box-sizing: border-box;
}

@media (max-width: 480px) {
    /* Ana taşıyıcıyı esnek yap ve dikey diz */
    .hero, .main-content, header, footer, .container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 10px !important;
        text-align: center !important;
    }

    /* Butonların sağa sola kaçmasını engelle */
    .button-group, .nav-links, .menu {
        display: flex !important;
        flex-direction: column !important; /* Alt alta diz */
        width: 100% !important;
        gap: 10px !important; /* Aralarına boşluk koy */
    }

    /* Butonları ekranın ortasına sabitle ve genişlet */
    button, .btn, a.button {
        width: 85% !important; /* Ekranın %85'ini kaplasın, yanlarda boşluk kalsın */
        margin: 5px auto !important;
        left: 0 !important;
        right: 0 !important;
        position: relative !important; /* Eğer 'absolute' varsa iptal eder */
    }

    /* Sağa sola kaymayı (horizontal scroll) tamamen öldür */
    html, body {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
}
/* DÜNYA BUTONU */
#culture-btn {
    position: fixed; bottom: 30px; left: 30px;
    width: 65px; height: 65px;
    background: linear-gradient(135deg, #003366, #00bcd4);
    color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; cursor: pointer; z-index: 10000;
    box-shadow: 0 5px 20px rgba(0, 188, 212, 0.4);
    animation: spinBtn 20s linear infinite, floatBtn 3s ease-in-out infinite;
}

@keyframes spinBtn { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes floatBtn { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* MODAL OVERLAY */
.culture-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none; align-items: center; justify-content: center;
    z-index: 10001; backdrop-filter: blur(10px);
}

.culture-modal {
    background: #ffffff; width: 95%; max-width: 650px;
    max-height: 85vh; padding: 25px; border-radius: 20px;
    position: relative; overflow-y: auto;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.modal-header { border-bottom: 2px solid #eee; margin-bottom: 20px; padding-bottom: 10px; }
.modal-header h2 { color: #003366; font-size: 1.6rem; }

/* LİSTE TASARIMI */
.list-item {
    display: flex; gap: 20px; background: #f9f9f9;
    padding: 15px; border-radius: 15px; margin-bottom: 20px;
    border: 1px solid #eee; text-align: left;
}

.item-img-container { flex-shrink: 0; width: 120px; height: 120px; }
.item-img-container img { width: 100%; height: 100%; border-radius: 12px; object-fit: cover; }

.item-text h4 { color: #00bcd4; margin-bottom: 5px; font-size: 1.1rem; }
.item-text p { font-size: 0.85rem; color: #444; line-height: 1.5; margin-bottom: 5px; }
.item-text strong { color: #003366; }

.panel-btn {
    background: #003366; color: white; border: none;
    padding: 12px 40px; border-radius: 50px; cursor: pointer;
    font-weight: 700; width: 100%; transition: 0.3s;
}

.panel-btn:hover { background: #00bcd4; }

/* MOBİL AYARI */
@media (max-width: 550px) {
    .list-item { flex-direction: column; }
    .item-img-container { width: 100%; height: 150px; }
}
/* --- 1. BUTONUN KENDİSİ (Normal Hali) --- */
#accessBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #003366; /* Kurumsal Lacivert */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 99999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: 2px solid white;
    transition: transform 0.2s;
}

#accessBtn:hover {
    transform: scale(1.1);
}

/* --- 2. MOD AKTİFKEN SİTENİN ALACAĞI HAL (SİYAH-SARI) --- */
body.high-contrast {
    background-color: #000000 !important; /* Arka plan Siyah */
    color: #FFFF00 !important;            /* Yazılar Neon Sarı */
}

/* Sitedeki tüm kutuların, kartların arka planını siyah yap */
body.high-contrast div, 
body.high-contrast section, 
body.high-contrast nav, 
body.high-contrast .card,
body.high-contrast .modal-content {
    background-color: #000000 !important;
    color: #FFFF00 !important;
    border-color: #FFFF00 !important; /* Çerçeveler Sarı */
}

/* Linkler ve Butonlar */
body.high-contrast a, 
body.high-contrast button {
    color: #00FF00 !important; /* Linkler Yeşil olsun ki ayrılsın */
    text-decoration: underline !important;
    font-weight: bold !important;
}

/* Resimleri Gri Yap (Göz yormaması için) */
body.high-contrast img {
    filter: grayscale(100%);
    border: 2px solid #FFFF00;
}

/* Mod açıkken butonun kendi rengini de değiştir */
body.high-contrast #accessBtn {
    background-color: #FFFF00 !important;
    color: #000000 !important;
    border-color: #000000 !important;
}
.review-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px; /* Diğer butonlarınla birebir aynı ölçü */
    background-color: #2c3e50; /* Kurumsal lacivert */
    color: #ffffff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    border: none;
}

.review-btn:hover {
    background-color: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Yıldız emojisinin boyutu */
.review-btn span {
    display: flex;
    align-items: center;
    gap: 8px;
}
