/* GünlükKiralıkOfis.com - Header & Navigasyon Stilleri */

/* ==========================================================================
   Üst Bilgi Çubuğu (Top Utility Bar)
   ========================================================================== */
.top-bar {
    background: #07101e;
    color: #94a3b8;
    font-size: 0.8125rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 18px;
}
.top-bar-badge {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
    padding: 2px 8px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.75rem;
}
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.top-bar-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.top-bar-link:hover {
    color: #ffffff;
}
.top-bar-link.ecosystem-link {
    color: #38bdf8;
    font-weight: 500;
}

/* ==========================================================================
   Ana Header (Marka & Logo Satırı)
   ========================================================================== */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.header-brand-row {
    max-width: 1320px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #0b192c;
}
.logo-icon-box {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0b192c 0%, #1e3e62 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f97316;
    box-shadow: 0 4px 10px rgba(11, 25, 44, 0.2);
}
.logo-icon-box svg {
    width: 24px;
    height: 24px;
}
.logo-text-group {
    display: flex;
    flex-direction: column;
}
.logo-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0b192c;
    line-height: 1.15;
}
.logo-title span {
    color: #f97316;
}
.logo-slogan {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 2px;
}

/* Masaüstü Üst Butonlar & İletişim */
.header-actions-desktop {
    display: flex;
    align-items: center;
    gap: 16px;
}
.header-phone-box {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 8px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s;
}
.header-phone-box:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}
.phone-icon-wrap {
    width: 32px;
    height: 32px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.phone-text-wrap {
    display: flex;
    flex-direction: column;
}
.phone-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.04em;
}
.phone-number {
    font-size: 0.9375rem;
    font-weight: 800;
    color: #0b192c;
}

.btn-header-add {
    background: #f97316;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}
.btn-header-add:hover {
    background: #ea580c;
    transform: translateY(-1px);
}

.btn-header-login {
    background: transparent;
    color: #0b192c;
    border: 1px solid #cbd5e1;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-header-login:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

/* ==========================================================================
   Masaüstü Navigasyon Çubuğu (LOGONUN ALTINDA YER ALIR)
   Menü uzun olduğu için logo altında tam genişlikte yerleştirilmiştir.
   ========================================================================== */
.site-nav-bar {
    background: #0b192c;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.main-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}
.nav-item {
    position: relative;
}
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 14px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}
.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
    border-bottom-color: #f97316;
}
.nav-badge-ai {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #ffffff;
    font-size: 0.6875rem;
    padding: 2px 6px;
    border-radius: 9999px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Dropdown Menüler */
.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
}
.dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.84375rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}
.dropdown-link:hover {
    background: #f8fafc;
    color: #f97316;
}
.dropdown-link svg {
    color: #94a3b8;
    width: 16px;
    height: 16px;
}

/* Nav Sağ Hızlı Arama Butonu */
.nav-right-quick {
    display: flex;
    align-items: center;
}
.quick-ai-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.2s;
}
.quick-ai-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Mobil Hamburger Butonu (Masaüstünde Gizli)
   ========================================================================== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #0b192c;
    border-radius: 8px;
}
.mobile-menu-toggle:focus {
    outline: 2px solid #f97316;
}
.hamburger-icon {
    width: 26px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hamburger-line {
    display: block;
    height: 2.5px;
    width: 100%;
    background: #0b192c;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   Mobil Menü Çekmecesi (Mobile Drawer)
   MOBİLDE HEADER'DA ASLA BUTON OLMAZ, TÜM BUTONLAR BURADADIR!
   ========================================================================== */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 25, 44, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: #ffffff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 2001;
    overflow-y: auto;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.mobile-drawer.active {
    right: 0;
}
.drawer-header {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
}
.drawer-close-btn {
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #475569;
}

/* Çekmece İçi Butonlar (MOBİL BUTONLAR BURADA YER ALIR) */
.drawer-action-buttons {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.drawer-btn-add {
    background: #f97316;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.drawer-btn-call {
    background: #0b192c;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.drawer-btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.drawer-nav-list {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}
.drawer-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
}
.drawer-nav-link:hover {
    background: #f8fafc;
    color: #f97316;
}
.drawer-footer {
    margin-top: auto;
    padding: 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 0.8125rem;
    color: #64748b;
    text-align: center;
}

/* ==========================================================================
   RESPONSIVE KURALLAR
   ========================================================================== */
@media (max-width: 991px) {
    /* Mobilde üst barı basitleştir */
    .top-bar {
        display: none;
    }
    /* Masaüstü menü çubuğunu gizle */
    .site-nav-bar {
        display: none;
    }
    /* Mobilde header alanındaki butonları ve telefonu KESİNLİKLE GİZLE! */
    .header-actions-desktop {
        display: none !important;
    }
    /* Sadece logo ve hamburger menü göster */
    .mobile-menu-toggle {
        display: flex;
    }
    .header-brand-row {
        padding: 12px 16px;
    }
    .logo-title {
        font-size: 1.15rem;
    }
    .logo-slogan {
        display: none;
    }
}
