/* isvizesi.net - Header & Navigasyon Stilleri */
/* Özel Gereksinim: Masaüstü görünümde menü logo altında yer alır. Mobilde hamburger menü kullanılır. */

.site-header {
  position: relative;
  background-color: var(--white);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  z-index: 1000;
}

/* 1. Üst İnce Bilgi Çubuğu (Top Bar) */
.header-top-bar {
  background: #070e1e;
  color: #94a3b8;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.top-bar-item a {
  color: #cbd5e1;
  font-weight: 500;
}

.top-bar-item a:hover {
  color: var(--gold-400);
}

.top-bar-phone {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.top-bar-phone svg {
  color: var(--gold-400);
}

.top-bar-badge {
  background: rgba(245, 158, 11, 0.2);
  color: var(--gold-400);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* 2. Logo ve Marka Satırı (Brand Bar) */
.header-brand-bar {
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
  background-color: var(--white);
}

.brand-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e3a8a 0%, #0284c7 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  position: relative;
  overflow: hidden;
}

.logo-badge::after {
  content: '★';
  position: absolute;
  top: 2px;
  right: 4px;
  font-size: 10px;
  color: #fbbf24;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary-900);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.logo-title span {
  color: var(--blue-600);
}

.logo-title .net-tag {
  color: var(--gold-500);
  font-size: 1.1rem;
}

.logo-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.2px;
}

.brand-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-contact-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px;
  background: var(--blue-50);
  border-radius: var(--radius-md);
  border: 1px solid #bfdbfe;
}

.brand-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--blue-600);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-contact-info {
  display: flex;
  flex-direction: column;
}

.brand-contact-label {
  font-size: 0.75rem;
  color: var(--gray-600);
  font-weight: 600;
}

.brand-contact-number {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-900);
}

/* 3. Menü Çubuğu: LOGONUN ALTINDA TAM GENİŞLİKTE (Navigation Bar) */
.header-nav-bar {
  background-color: #0f1e40;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.nav-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.desktop-nav {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 15px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #e2e8f0;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover, .nav-item.active .nav-link {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-link-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.nav-link-ai {
  color: #38bdf8 !important;
}

.nav-link-partner {
  color: #fbbf24 !important;
}

/* Açılır Menü (Dropdown) */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1050;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: var(--blue-50);
  color: var(--blue-600);
  padding-left: 24px;
}

.dropdown-item-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 400;
}

.nav-cta {
  margin-left: 12px;
}

/* 4. Mobil Hamburger Butonu & Menü Çekmecesi */
.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--primary-900);
  border-radius: var(--radius-sm);
}

.hamburger-btn:focus {
  outline: 2px solid var(--blue-600);
}

/* Mobil Menü Çekmecesi (Drawer) */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background-color: var(--white);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-600);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-content {
  padding: 20px;
  flex-grow: 1;
}

.mobile-nav-list {
  list-style: none;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-weight: 600;
  color: var(--gray-800);
  font-size: 1rem;
}

.mobile-nav-link:hover {
  color: var(--blue-600);
}

.mobile-submenu {
  list-style: none;
  padding-left: 16px;
  padding-bottom: 10px;
  display: none;
}

.mobile-submenu.open {
  display: block;
}

.mobile-submenu li a {
  display: block;
  padding: 8px 0;
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 500;
}

.mobile-submenu li a:hover {
  color: var(--blue-600);
}

.drawer-footer {
  padding: 20px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.mobile-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  background: var(--blue-600);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 700;
  margin-bottom: 12px;
}

/* Responsive Kontroller */
@media (max-width: 991px) {
  .header-nav-bar {
    display: none; /* Mobilde alt menü gizlenir, çekmeceye geçer */
  }
  
  .hamburger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .brand-contact-box {
    display: none; /* Mobilde üst marka satırında telefon kutusu yerine sade hamburger ve doğrudan arama butonu */
  }
  
  .header-top-bar .top-bar-left {
    display: none;
  }
  
  .header-top-bar .top-bar-inner {
    justify-content: center;
  }
}
