/* header.css — orijinal components/layout/Header.module.css
   Sınıf adları `hd-` önekiyle isimlendirilmiştir (CSS Module yerine düz CSS).
   Tüm stiller birebir korunmuştur. */

.hd-header { position: sticky; top: 0; z-index: 1000; transition: all 0.3s ease; }

.hd-top-bar {
  background: #1a1a2e;
  padding: 8px 0;
  font-size: 13px;
}
.hd-top-bar .hd-container { display: flex; justify-content: space-between; align-items: center; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.hd-top-left { display: flex; gap: 24px; }
.hd-top-left a { color: #a0aec0; text-decoration: none; display: flex; align-items: center; gap: 6px; transition: color 0.2s; }
.hd-top-left a:hover { color: #48cae4; }
.hd-top-right { display: flex; gap: 8px; }
.hd-top-right button { background: none; border: none; cursor: pointer; font-size: 18px; opacity: 0.6; transition: opacity 0.2s, transform 0.2s; padding: 2px; border-radius: 4px; }
.hd-top-right button:hover { opacity: 1; transform: scale(1.1); }
.hd-active-lang { opacity: 1 !important; box-shadow: 0 0 0 2px #48cae4; border-radius: 4px !important; }

.hd-main-nav {
  background: #ffffff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 0;
  transition: all 0.3s;
}
.hd-scrolled .hd-main-nav { box-shadow: 0 4px 30px rgba(0,0,0,0.15); }

.hd-container { display: flex; align-items: center; justify-content: space-between; max-width: 1280px; margin: 0 auto; padding: 0 24px; min-height: 72px; }

.hd-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.hd-logo img { height: 48px; object-fit: contain; }
.hd-logo-text { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 22px; color: #0077b6; letter-spacing: -0.5px; }

.hd-nav { display: flex; align-items: center; gap: 4px; }
.hd-nav-link {
  padding: 8px 14px;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.hd-nav-link:hover { color: #0077b6; background: #eff6ff; }
.hd-arrow { font-size: 10px; color: #9ca3af; }

.hd-contact-btn {
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  color: white !important;
  border-radius: 8px;
  padding: 8px 18px;
  margin-left: 8px;
}
.hd-contact-btn:hover { background: linear-gradient(135deg, #005f92, #0096b4); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,119,182,0.3); }

/* Dropdown */
.hd-dropdown { position: relative; }
.hd-dropdown:hover .hd-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
/* Tıklama / klavye ile açma (erişilebilirlik — mobil menüyle aynı davranış) */
.hd-dropdown.is-open .hd-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.hd-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 100;
}
.hd-dropdown-item {
  display: block;
  padding: 10px 14px;
  color: #374151;
  text-decoration: none;
  font-size: 14px;
  border-radius: 8px;
  transition: all 0.15s;
}
.hd-dropdown-item:hover { background: #eff6ff; color: #0077b6; }

/* Hamburger */
.hd-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; position: relative; z-index: 1000; }
.hd-hamburger span { display: block; width: 24px; height: 2px; background: #374151; border-radius: 2px; transition: all 0.3s; }

@media (max-width: 768px) {
  .hd-hamburger { display: flex; }
  .hd-top-left a:not(:first-child) { display: none; }
  .hd-nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 100px 0 60px;
    overflow-y: auto;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    transition: all 0.3s;
    z-index: 999;
  }
  .hd-nav-open { opacity: 1; pointer-events: all; transform: scale(1); }
  .hd-nav-link { font-size: 18px; padding: 14px 24px; width: 100%; text-align: center; justify-content: center; }
  .hd-dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: #f8fafc;
    margin-top: 4px;
    display: none;
  }
  .hd-dropdown-menu.hd-show-mobile {
    display: block;
  }
  .hd-dropdown.is-open .hd-dropdown-menu {
    display: block;
  }
  .hd-contact-btn { margin-left: 0; }
}
