/* ============================================================
   DLS AYDINLATMA — Header CSS
   Mevcut header.html'den WordPress tema için uyarlandı
   ============================================================ */

#dls-header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999999;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-font-smoothing: antialiased;
}

/* ---- Top Bar ---- */
#dls-header-wrapper .dls-topbar {
  width: 100%;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
  overflow: hidden;
  max-height: 44px;
}

#dls-header-wrapper.is-scrolled .dls-topbar {
  max-height: 0;
  opacity: 0;
  border-bottom: none;
  pointer-events: none;
}

#dls-header-wrapper .dls-topbar-inner {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 28px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

#dls-header-wrapper .dls-topbar-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

#dls-header-wrapper .dls-social-link {
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: all 0.25s ease;
}

#dls-header-wrapper .dls-social-link:hover {
  color: #E30913;
  transform: translateY(-1px);
}

#dls-header-wrapper .dls-social-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  display: block;
}

#dls-header-wrapper .dls-topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

#dls-header-wrapper .dls-topbar-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

#dls-header-wrapper .dls-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

#dls-header-wrapper .dls-contact-item:hover { color: #FFFFFF; }

#dls-header-wrapper .dls-contact-item svg {
  width: 13px;
  height: 13px;
  stroke: #E30913;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

#dls-header-wrapper .dls-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

#dls-header-wrapper .dls-btn-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

#dls-header-wrapper .dls-btn-top svg {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

#dls-header-wrapper .dls-btn-quote {
  background-color: #E30913;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(227, 9, 19, 0.35);
}

#dls-header-wrapper .dls-btn-quote:hover {
  background-color: #C20710;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(227, 9, 19, 0.45);
}

#dls-header-wrapper .dls-btn-track {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

#dls-header-wrapper .dls-btn-track:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ---- Main Nav ---- */
#dls-header-wrapper .dls-main-nav {
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid #ECEFF2;
  transition: all 0.35s ease;
  position: relative;
}

#dls-header-wrapper.is-scrolled .dls-main-nav {
  background: #FFFFFF;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid #ECEFF2;
}

#dls-header-wrapper .dls-nav-inner {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 28px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transition: height 0.35s ease;
}

#dls-header-wrapper.is-scrolled .dls-nav-inner { height: 72px; }

/* ---- Logo ---- */
#dls-header-wrapper .dls-logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

#dls-header-wrapper .dls-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.3s ease, height 0.35s ease;
}

#dls-header-wrapper.is-scrolled .dls-logo-img { height: 42px; }

#dls-header-wrapper .dls-logo--dark  { display: block; }
#dls-header-wrapper .dls-logo--white { display: none; }
#dls-header-wrapper.is-scrolled .dls-logo--white { display: none; }
#dls-header-wrapper.is-scrolled .dls-logo--dark  { display: block; }

/* ---- Desktop Menu ---- */
#dls-header-wrapper .dls-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#dls-header-wrapper .dls-menu-item { position: relative; }

#dls-header-wrapper .dls-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1E293B;
  text-shadow: none;
  padding: 24px 0;
  position: relative;
  transition: color 0.25s ease;
}

#dls-header-wrapper .dls-menu-link:hover,
#dls-header-wrapper .dls-menu-item.current-menu-item .dls-menu-link {
  color: #E30913 !important;
}

#dls-header-wrapper .dls-menu-link::after {
  content: '';
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 100%;
  height: 2px;
  background-color: #E30913;
  transition: right 0.25s ease;
}

#dls-header-wrapper .dls-menu-link:hover::after,
#dls-header-wrapper .dls-menu-item.current-menu-item .dls-menu-link::after {
  right: 0;
}

#dls-header-wrapper .dls-menu-link svg {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  transition: transform 0.25s ease;
}

#dls-header-wrapper .dls-menu-item:hover > .dls-menu-link svg {
  transform: rotate(180deg);
}

/* ---- Dropdown ---- */
#dls-header-wrapper .dls-dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 260px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  padding: 10px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1000;
}

#dls-header-wrapper .dls-menu-item:hover .dls-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

#dls-header-wrapper .dls-dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 22px;
  color: #334155;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

#dls-header-wrapper .dls-dropdown-link:hover {
  background: #F8FAFC;
  color: #E30913;
  padding-left: 26px;
}

#dls-header-wrapper .dls-dropdown-link svg {
  width: 12px;
  height: 12px;
  stroke: #E30913;
  fill: none;
  stroke-width: 2;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.2s ease;
}

#dls-header-wrapper .dls-dropdown-link:hover svg {
  opacity: 1;
  transform: translateX(0);
}

/* ---- Nav Tools ---- */
#dls-header-wrapper .dls-nav-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

#dls-header-wrapper .dls-search-btn {
  background: none;
  border: none;
  padding: 8px;
  color: #1E293B;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  border-radius: 50%;
}

#dls-header-wrapper .dls-search-btn:hover {
  color: #E30913;
  transform: scale(1.1);
}

#dls-header-wrapper .dls-search-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

#dls-header-wrapper .dls-lang-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #1E293B;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

#dls-header-wrapper .dls-lang-flag {
  width: 16px;
  height: 11px;
  border-radius: 2px;
  display: inline-block;
}

#dls-header-wrapper .dls-mobile-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 10px;
  color: #0F172A;
  border-radius: 8px;
  transition: all 0.25s ease;
  outline: none;
}

#dls-header-wrapper .dls-mobile-toggle svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.3;
  stroke-linecap: round;
  display: block;
}

/* ---- Mobile Overlay ---- */
#dls-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

#dls-mobile-overlay.is-active { opacity: 1; visibility: visible; }

/* ---- Mobile Drawer ---- */
#dls-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 380px;
  background: #FFFFFF;
  z-index: 9999999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#dls-mobile-drawer.is-active { transform: translateX(0); }

.dls-drawer-head {
  padding: 24px 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #F1F5F9;
}

.dls-drawer-head img { height: 38px; width: auto; object-fit: contain; }

.dls-drawer-close {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #475569;
  transition: all 0.2s ease;
}

.dls-drawer-close:hover { background: #E30913; border-color: #E30913; color: #FFFFFF; }

.dls-drawer-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.dls-drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }

.dls-mob-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }

.dls-mob-item { border-bottom: 1px solid #F1F5F9; }

.dls-mob-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1E293B;
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}

.dls-mob-link:hover { color: #E30913; }

.dls-mob-arrow {
  width: 28px;
  height: 28px;
  background: #F8FAFC;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.dls-mob-arrow svg { width: 12px; height: 12px; stroke: #64748B; fill: none; stroke-width: 2.2; }

.dls-mob-item.open .dls-mob-arrow { transform: rotate(180deg); background: #E30913; }
.dls-mob-item.open .dls-mob-arrow svg { stroke: #FFFFFF; }

.dls-mob-sub {
  max-height: 0;
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0 0 0 16px;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dls-mob-item.open .dls-mob-sub { max-height: 400px; padding-bottom: 12px; }

.dls-mob-sub-link {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
  color: #64748B;
  text-decoration: none;
  transition: color 0.2s ease;
}

.dls-mob-sub-link:hover { color: #E30913; }

.dls-drawer-footer {
  padding: 20px 24px 28px;
  border-top: 1px solid #F1F5F9;
  background: #F8FAFC;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dls-mob-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  background-color: #E30913;
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(227, 9, 19, 0.30);
}

.dls-mob-contact-row { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }

.dls-mob-contact-row a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  text-decoration: none;
  font-weight: 500;
}

.dls-mob-contact-row a:hover { color: #E30913; }

.dls-mob-contact-row svg {
  width: 14px;
  height: 14px;
  stroke: #E30913;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1199px) {
  #dls-header-wrapper .dls-menu { gap: 18px; }
  #dls-header-wrapper .dls-menu-link { font-size: 12.5px; }
  #dls-header-wrapper .dls-topbar-contacts .dls-contact-email { display: none; }
}

@media (max-width: 991px) {
  #dls-header-wrapper .dls-topbar { display: none; }
  #dls-header-wrapper .dls-menu { display: none; }
  #dls-header-wrapper .dls-lang-select { display: none; }
  #dls-header-wrapper .dls-search-btn { display: none; }
  #dls-header-wrapper .dls-mobile-toggle { display: flex; align-items: center; justify-content: center; }
  #dls-header-wrapper .dls-nav-inner { height: 70px; padding: 0 20px; }
  #dls-header-wrapper.is-scrolled .dls-nav-inner { height: 64px; }
  #dls-header-wrapper .dls-logo-img { height: 38px; }
  #dls-header-wrapper.is-scrolled .dls-logo-img { height: 34px; }
}
