/* --- css/global.css --- */

/* TÜM SİTENİN GENEL AYARLARI */
body {
    margin: 0; padding: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #000; color: #f1d5ba;
    overflow-x: hidden;
}

/* --- ORTAK HEADER (BEYAZ MENÜ) --- */
.site-header {
    position: fixed;
    top: 20px; /* Üstten biraz boşluk (köşeler belli olsun diye) */
    right: 40px; /* Sağa sabitlendi (left/transform YOK, karışıklık çıkarmasın) */
    width: auto; /* Kaç link olursa olsun otomatik genişlesin */
    max-width: 92vw; /* Çok dar ekranlarda taşmayı önle */
    min-height: 60px;
    background-color: #e2ab6d;
    border-radius: 30px; /* Hap şeklinde yuvarlak köşeler */
    z-index: 999;

    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 12px 35px;
    box-sizing: border-box;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: nowrap; /* KRİTİK SATIR: bu olmadan kutu yanlış genişlik hesaplıyor */
}
.header-nav a {
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* Düz site linkleri: Ana Sayfa, Hakkımızda */
.nav-link {
    color: #4d2600; /* eskiden siyahtı, artık temanın koyu kahvesi */
    font-size: 1.05rem;
    font-weight: 600;
}
.nav-link:hover { color: #000000; }

/* Ayırıcı çizgi: site linkleri ile Hasta/Klinik butonlarını görsel olarak ayırır */
.nav-divider {
    width: 1px;
    height: 22px;
    background: rgba(77, 38, 0, 0.3);
}

/* Hasta / Klinik: ikonlu, belirgin küçük butonlar — düz linklerden ayrışsın diye */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(77, 38, 0, 0.1);
    color: #4d2600;
    font-size: 0.95rem;
    font-weight: 700;
}
.nav-cta i { font-size: 0.85em; }
.nav-cta:hover { background: #4d2600; color: #f2dbb5; }

@media (max-width: 900px) {
    .site-header {
        left: 50%; right: auto; transform: translateX(-50%);
        width: 90%; max-width: none; height: auto; padding: 15px 20px;
        justify-content: center;
    }
    .header-nav { gap: 10px; flex-wrap: wrap; justify-content: center; }
    .nav-link { font-size: 0.85rem; }
    .nav-divider { display: none; }
    .nav-cta { font-size: 0.85rem; padding: 7px 13px; }
}
