/* =========================================================
   1. GENEL AYARLAR VE TİPOGRAFİ
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@700;900&family=Nunito:wght@400;600;700&family=Source+Sans+Pro:wght@400;600&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-y: scroll; }
body { 
  background: #F7F7F7; 
  font-family: 'Source Sans Pro', sans-serif; 
  color: #222; 
  line-height: 1.5; 
  overflow-x: hidden; 
}

/* =========================================================
   2. ÜST MENÜ (NAVİGASYON) - 14ch SABİT GENİŞLİK
========================================================= */
nav { 
  position: fixed; top: 0; left: 0; width: 100%; 
  height: 56px; 
  background: #1A237E; z-index: 1001; box-shadow: none; border: none;
}

.nav-container { 
  max-width: 1400px; height: 100%; display: flex; align-items: center; 
  justify-content: space-between; padding: 0 80px; margin: 0 auto; 
}

.mobile-brand { display: none; }

nav ul.nav-links { list-style: none; display: flex; gap: 5px; height: 100%; margin-left: 0; align-items: center; }

/* Menü Öğesi Kapsayıcısı: Genişlik burada 14 karakter olarak kilitlenir */
nav ul.nav-links li { 
  width: 14ch; 
  height: 100%; 
  flex-shrink: 0; 
  display: flex; 
  align-items: center; 
  justify-content: center;
}

nav ul.nav-links li a { 
  text-decoration: none; color: rgba(255, 255, 255, 0.85); font-family: 'Lato', sans-serif; 
  font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; 
  width: 100%; height: 100%; 
  display: flex; align-items: center; justify-content: center; text-align: center;
  
  /* İki kelimeli öğelerin dikey olarak üst üste binmesini sağlar */
  white-space: normal; 
  line-height: 1.1; 
  padding: 0 1ch; 
  
  position: relative;
  transition: all 0.3s ease; 
}

nav ul.nav-links li a::after {
  content: ''; position: absolute; bottom: 12px; left: 50%; width: 0; height: 2px;
  background-color: #42A5F5; transition: width 0.3s ease; transform: translateX(-50%);
}
nav ul.nav-links li a:hover { color: #FFFFFF; }
nav ul.nav-links li a:hover::after { width: 60%; }

nav ul.nav-links li a.active { background-color: #F7F7F7; color: #1A237E; border-radius: 4px 4px 0 0; }
nav ul.nav-links li a.active::after { display: none; }

.lang-switcher { display: flex; align-items: center; gap: 8px; font-size: 13px; font-family: 'Nunito', sans-serif; font-weight: 700; color: #FFFFFF; }
.lang-switcher a { text-decoration: none; color: rgba(255, 255, 255, 0.6); padding: 2px 8px; transition: all 0.3s ease; border-radius: 4px; }
.lang-switcher a.active-lang { color: #FFFFFF; background-color: #42A5F5; }

.nav-toggle, .nav-toggle-label { display: none; }

/* =========================================================
   3. ANA İÇERİK ALANI (LAYOUT)
========================================================= */
.main-wrapper { display: flex; gap: 40px; padding: 106px 80px 40px 80px; max-width: 1400px; margin: 0 auto; align-items: flex-start; }
.text-area { flex: 2; width: 100%; min-width: 0; background: #FFFFFF; padding: 30px; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

.text-area h1 { margin: 10px 0; font-family: 'Nunito', sans-serif; font-size: 2.2rem; font-weight: 700; color: #1A237E; } 
.text-area h3 { margin-top: 50px; margin-bottom: 15px; color: #1A237E; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 1.5rem; border-bottom: 1px solid #ddd; padding-bottom: 10px; }
.page-description { color: #666; margin-bottom: 25px; font-size: 1.05rem; line-height: 1.6; }

.main-wrapper img { flex: 1; max-width: 450px; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); align-self: flex-start; margin-left: auto; }

/* =========================================================
   4. AKADEMİK KARTLAR (GRID SİSTEMİ)
========================================================= */
.academic-grid { display: flex; flex-direction: column; gap: 20px; width: 60%; }
.academic-grid article { width: 100%; }

.academic-card { 
    background: #FFFFFF; border: 1px solid #eee; padding: 0; border-radius: 12px; overflow: hidden; 
    display: grid; grid-template-columns: 1fr 160px; grid-template-rows: auto auto 1fr; height: 160px; 
    text-decoration: none; box-shadow: 0 4px 6px rgba(0,0,0,0.02); transition: all 0.3s ease;
    max-width: 800px; 
}

.academic-card h3 { 
    grid-column: 1; margin: 0; padding: 25px 20px 5px 20px; font-size: 1.15rem; 
    color: #1A237E; border-bottom: none !important; line-height: 1.3;
    text-transform: uppercase; 
}
.academic-card img { 
    grid-column: 2; grid-row: 1 / -1; width: 100%; height: 100%; 
    object-fit: cover; background-color: #fcfcfc; margin: 0; border-left: none !important; 
}
.academic-card p { grid-column: 1; margin: 0; padding: 0 20px; font-size: 0.9rem; color: #666; line-height: 1.4; border: none !important; }
.academic-card span.arrow { grid-column: 1; padding: 0 20px 20px 20px; font-weight: 700; color: #42A5F5; font-size: 1rem; align-self: end; border: none !important; }

/* =========================================================
   5. PROFİL TABLOSU VE İKONLAR
========================================================= */
.profile-container { background: #FFFFFF; border: 1px solid #eee; border-radius: 12px; padding: 20px; margin-bottom: 40px; max-width: 900px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.profile-table { width: 100%; border-collapse: collapse; }
.profile-table tr { border-bottom: 1px solid #f0f0f0; }
.profile-table td { padding: 15px; vertical-align: middle; }
.icon-cell { width: 50px; text-align: center; color: #1A237E; }
.label-cell { width: 180px; font-family: 'Nunito', sans-serif; font-weight: 700; color: #1A237E; }

.academic-orcid-card { margin-top: 30px; }
.academic-orcid-card .profile-table tr { border-bottom: none !important; } 
.academic-orcid-card .profile-table td { padding: 8px 15px !important; } 

.academic-orcid-card .link-cell a {
    display: inline-block; padding: 8px 18px; background-color: #f8f9fa;
    color: #1A237E !important; text-decoration: none; font-size: 0.95rem; font-weight: 700;
    border: 1px solid #1A237E; border-radius: 24px; transition: all 0.3s ease;
}
.academic-orcid-card .link-cell a:hover { background-color: #1A237E; color: #FFFFFF !important; }

.academic-icon {
    display: inline-block; width: 24px; height: 24px; vertical-align: middle;
    background-color: #1A237E; mask-size: contain; mask-repeat: no-repeat;
    -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat;
}
.icon-orcid { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 0C5.372 0 0 5.372 0 12s5.372 12 12 12 12-5.372 12-12S18.628 0 12 0zM7.369 4.378c.525 0 .947.422.947.947s-.422.947-.947.947a.948.948 0 0 1-.947-.947c0-.525.422-.947.947-.947zm-.722 3.038h1.444v10.041H6.647V7.416zm3.562 0h3.9c3.712 0 5.344 2.653 5.344 5.025 0 2.578-2.016 5.025-5.325 5.025h-3.919V7.416zm1.444 1.306v7.419h2.197c1.641 0 3.056-1.116 3.056-3.706 0-2.591-1.334-3.713-3.056-3.713h-2.197z"/></svg>'); }
.icon-wos { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V5C21,3.9,20.1,3,19,3z M9,17H7v-7h2V17z M13,17h-2V7h2V17z M17,17h-2v-4h2V17z"/></svg>'); }
.icon-academia { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5,13.18v4L12,21l7-3.82v-4L12,17L5,13.18z M12,3L1,9l11,6l9-4.91V17h2V9L12,3z"/></svg>'); }

/* =========================================================
   6. BAĞLANTILAR SAYFASI
========================================================= */
.professional-links { 
    list-style: none; padding: 0; margin: 25px 0; 
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; 
}
.professional-links li { margin-bottom: 0; }
.professional-links li a {
    display: flex; align-items: center; padding: 12px 15px; background: #FFFFFF; border: 1px solid #eee;
    border-radius: 8px; text-decoration: none; color: #1A237E; font-weight: 600; font-family: 'Nunito', sans-serif;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02); transition: all 0.3s ease; height: 100%; font-size: 0.95rem;
}
.professional-links li a:hover {
    border-color: #42A5F5; transform: translateY(-3px); color: #42A5F5; box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.professional-links li a::before { content: '→'; margin-right: 10px; color: #42A5F5; font-weight: bold; }

/* =========================================================
   7. İLETİŞİM SAYFASI
========================================================= */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.contact-card {
    background: #FFFFFF; border: 1px solid #eee; padding: 20px; border-radius: 12px;
    min-height: 240px; display: flex; flex-direction: column; 
    justify-content: center; align-items: center; text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.contact-icon { background: #f0f2ff; width: 60px; height: 60px; border-radius: 50%; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; }
.contact-icon svg { width: 28px; height: 28px; fill: #1A237E; }

/* Kart içi başlıklar h4 başlığıdır (hastane ismi dahil) */
.contact-card h4 { 
    display: block; 
    font-family: 'Nunito', sans-serif; 
    font-size: 1.1rem; 
    color: #1A237E; 
    margin-bottom: 5px; 
    font-weight: 700; 
}

/* Linklerin Linktree Buton Formatı */
.linktree-btn, .contact-card .copyable-link { 
  display: inline-block; padding: 8px 16px; background-color: #f8f9fa; 
  color: #1A237E !important; text-decoration: none; font-size: 0.9rem; 
  font-weight: 700; border: 1px solid #1A237E; border-radius: 20px; 
  transition: all 0.3s ease; margin-top: 5px;
}
.linktree-btn:hover, .contact-card .copyable-link:hover { 
  background-color: #1A237E; color: #FFFFFF !important; 
}

.social-icons-wrapper { display: flex; justify-content: center; gap: 10px; margin-top: 10px; margin-bottom: 15px; }
.social-icon { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.social-icon svg { width: 18px; height: 18px; fill: #FFFFFF; }
.twitter { background-color: #000; } .facebook { background-color: #1877F2; } .instagram { background-color: #E4405F; } .youtube { background-color: #FF0000; } .linkedin { background-color: #0A66C2; }

/* =========================================================
   8. ÖRNEK HASTALAR VE OLGU SAYFALARI (ÖZEL DÜZENLEMELER)
========================================================= */
.text-area.cases-page h1 { margin-bottom: 13px !important; }
.cases-page .cases-layout-container { display: flex; flex-direction: column; gap: 0; width: 100%; }
.cases-page .search-sidebar { width: 100%; max-width: 800px; margin-bottom: 25px; }
.cases-page .search-box-wrapper h3 { border-bottom: none !important; margin-top: 10px !important; margin-bottom: 10px !important; padding-bottom: 0; }
#searchInput { width: 100%; padding: 12px 15px; border: 1px solid #ccc; border-radius: 6px; }

.case-navigation { margin-bottom: 25px; }

/* =========================================================
   9. RESİM BÜYÜTME ÖZELLİĞİ (ZOOM X1.62 - PC & MOBİL)
========================================================= */
.case-content img { cursor: zoom-in; transition: transform 0.2s ease; }
.case-content img:active {
    position: fixed !important; top: 50% !important; left: 50% !important;
    transform: translate(-50%, -50%) scale(1.62) !important;
    z-index: 3000; box-shadow: 0 0 100px rgba(0,0,0,0.9);
    outline: 5000px solid rgba(0,0,0,0.85); cursor: zoom-out;
}

/* =========================================================
   10. ALT BİLGİ (FOOTER) - %50 DARALTILDI
========================================================= */
.site-footer { 
    display: block; width: 100%; background-color: #1A237E !important; color: #FFFFFF; 
    text-align: center; 
    padding: 10px 20px; /* İstediğiniz üzere 10px'e düşürüldü */
    margin-top: 40px; 
    border-top: 4px solid #42A5F5; 
    clear: both; line-height: 1.2; 
}
.site-footer a { color: #90CAF9; text-decoration: none; border-bottom: 1px solid rgba(144, 202, 249, 0.3); }
.site-footer .copyright-text { margin-top: 5px; padding-top: 5px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* =========================================================
   11. MOBİL UYUMLULUK (SADECE 1000px ALTI)
========================================================= */
@media (max-width: 1000px) {
  .text-area img { max-width: 100% !important; height: auto !important; display: block; margin: 15px auto; }
  .nav-container { padding: 0 20px; justify-content: space-between; }
  .mobile-brand { display: block; font-weight: 700; font-size: 1.2rem; color: #FFFFFF; order: 1; }
  .lang-switcher { margin-left: auto; margin-right: 15px; order: 2; }
  .nav-toggle-label { display: block; order: 3; cursor: pointer; padding: 10px 0; }
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after { display: block; background: #FFFFFF; height: 3px; width: 25px; position: relative; transition: all 0.3s ease; }
  .nav-toggle-label span::before { content: ''; position: absolute; bottom: 8px; }
  .nav-toggle-label span::after { content: ''; position: absolute; top: 8px; }
  nav ul.nav-links { position: absolute; top: 56px; left: 0; width: 100%; background: #1A237E; flex-direction: column; max-height: 0; overflow: hidden; transition: max-height 0.4s; }
  .nav-toggle:checked ~ .nav-links { max-height: 500px; }
  nav ul.nav-links li { width: 100%; }
  nav ul.nav-links li a { width: 100% !important; padding: 15px !important; justify-content: center !important; }
  .main-wrapper { flex-direction: column; padding: 76px 20px 30px 20px; }
  .contact-grid, .professional-links { grid-template-columns: 1fr; }
  .academic-card { height: auto; grid-template-columns: 1fr; width: 100% !important; }
  .academic-card img { display: none; } 
}