/* ════════════════════════════════════════════════════════════
   OR-GI LOJİSTİK — MODERN KURUMSAL HEADER CSS
   Dosya: /Content/orgi-header.css
   Bu dosyayı _Layout.cshtml'de mevcut tüm CSS linklerin
   EN SONUNA ekleyin:
   <link href="/Content/orgi-header.css" rel="stylesheet" />
   ════════════════════════════════════════════════════════════ */

/* ── Değişkenler ──────────────────────────────────────────── */
:root {
  --oh-gold:       #9f9267;
  --oh-gold-lt:    #c4b484;
  --oh-gold-dk:    #7a6f4d;
  --oh-gold-glow:  rgba(159, 146, 103, 0.28);
  --oh-navy:       #01133c;
  --oh-navy-dk:    #080d1f;
  --oh-navy-mid:   #0c1e4a;
  --oh-white:      #ffffff;
  --oh-gray:       #f4f6f9;
  --oh-text-dim:   rgba(255,255,255,0.72);
  --oh-font:       "Archivo", "Segoe UI", sans-serif;
  --oh-top-h:      44px;
  --oh-nav-h:      84px;
  --oh-total-h:    128px;   /* top + nav */
  --oh-mobile-h:   68px;
  --oh-speed:      0.35s;
  --oh-ease:       cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ───────────────────────────────────────────────── */
.orgi-header *,
.orgi-header *::before,
.orgi-header *::after {
  box-sizing: border-box;
  margin: 0; padding: 0;
}
.orgi-header a { text-decoration: none; color: inherit; }
.orgi-header ul { list-style: none; }
.orgi-header button { cursor: pointer; border: none; outline: none; background: transparent; }

/* ════════════════════════════════════════════════════════════
   HEADER WRAPPER
   ════════════════════════════════════════════════════════════ */
.orgi-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  font-family: var(--oh-font);
  transition: box-shadow var(--oh-speed) var(--oh-ease);
}

/* Scroll sonrası daha güçlü gölge */
.orgi-header.scrolled {
  box-shadow: 0 4px 32px rgba(1, 19, 60, 0.18);
}

/* ════════════════════════════════════════════════════════════
   1. TOP BAR
   ════════════════════════════════════════════════════════════ */
.orgi-topbar {
  background: var(--oh-navy-dk);
  border-bottom: 1px solid rgba(159, 146, 103, 0.22);
  overflow: hidden;
  /* Scroll'da gizlenir */
  height: var(--oh-top-h);
  transition: height var(--oh-speed) var(--oh-ease),
              opacity var(--oh-speed) var(--oh-ease);
}

.orgi-header.scrolled .orgi-topbar {
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.orgi-topbar__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: var(--oh-top-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── İletişim Bilgileri ──────────────────────────────────── */
.orgi-topbar__left {
  display: flex;
  align-items: center;
  gap: 0;
}

.orgi-topbar__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--oh-text-dim);
    letter-spacing: 0.02em;
    padding: 0 20px;
    transition: color 0.25s;
    color: rgb(255 255 255 / 72%)!important;
}

.orgi-topbar__item:first-child { padding-left: 0; }

.orgi-topbar__item:hover { color: var(--oh-gold-lt); }

.orgi-topbar__icon {
  color: var(--oh-gold);
  font-size: 12px;
  flex: none;
  width: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dikey ayraç */
.orgi-topbar__sep {
  width: 1px;
  height: 18px;
  background: rgba(159, 146, 103, 0.20);
  flex: none;
}

/* ── Sosyal Medya ────────────────────────────────────────── */
.orgi-topbar__right { display: flex; align-items: center; }

.orgi-topbar__social {
  display: flex;
  align-items: center;
  gap: 4px;
}

.orgi-topbar__soc-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgb(255 255 255 / 72%);
    color: rgba(255,255,255,0.65);
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.28s var(--oh-ease);
    color: rgb(255 255 255 / 72%) !important;
}

.orgi-topbar__soc-btn:hover {
  background: var(--oh-gold);
  border-color: var(--oh-gold);
  color: var(--oh-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--oh-gold-glow);
}

/* ════════════════════════════════════════════════════════════
   2. MAIN NAV BAR
   ════════════════════════════════════════════════════════════ */
.orgi-mainnav {
  background: var(--oh-white);
  border-bottom: 1px solid rgba(1, 19, 60, 0.08);
  position: relative;
  z-index: 10;
}

/* Altın sol accent şeridi */
.orgi-mainnav::before {
  content: "";
  position: absolute;
  bottom: -1px; left: 0;
  width: 280px; height: 2px;
  background: linear-gradient(90deg, var(--oh-gold) 0%, transparent 100%);
  pointer-events: none;
}

.orgi-mainnav__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: var(--oh-nav-h);
  display: flex;
  align-items: center;
  gap: 40px;
}

/* ── Logo ────────────────────────────────────────────────── */
.orgi-logo {
  flex: none;
  display: flex;
  align-items: center;
  transition: opacity 0.25s;
}

.orgi-logo img {
  height: 60px;
  width: auto;
  display: block;
}

.orgi-logo:hover { opacity: 0.88; }

/* ── Desktop Nav ─────────────────────────────────────────── */
.orgi-nav { flex: 1; }

.orgi-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.orgi-nav__item { position: relative; }

.orgi-nav__link {
  display: block;
  padding: 10px 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--oh-navy);
  position: relative;
  transition: color 0.25s;
  white-space: nowrap;
}

/* Hover alt çizgi — kayan animasyon */
.orgi-nav__link::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--oh-gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s var(--oh-ease);
  border-radius: 1px;
}

.orgi-nav__link:hover,
.orgi-nav__item.active .orgi-nav__link {
  color: var(--oh-gold-dk);
}

.orgi-nav__link:hover::after,
.orgi-nav__item.active .orgi-nav__link::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* ── Actions (Telefon + CTA) ─────────────────────────────── */
.orgi-actions {
  flex: none;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Telefon alanı */
.orgi-actions__phone {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--oh-navy);
  transition: color 0.25s;
}

.orgi-actions__phone:hover { color: var(--oh-gold-dk); }

.orgi-actions__phone-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(159, 146, 103, 0.10);
  border: 1.5px solid rgba(159, 146, 103, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: all 0.28s;
  color: var(--oh-gold);
  font-size: 14px;
}

.orgi-actions__phone:hover .orgi-actions__phone-icon {
  background: var(--oh-gold);
  border-color: var(--oh-gold);
  color: var(--oh-white);
  box-shadow: 0 4px 14px var(--oh-gold-glow);
}

.orgi-actions__phone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.orgi-actions__phone-text small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--oh-gold);
  display: block;
}

.orgi-actions__phone-text strong {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: block;
  white-space: nowrap;
}

/* Dikey ayraç */
.orgi-actions__divider {
  width: 1px;
  height: 34px;
  background: rgba(1, 19, 60, 0.10);
  flex: none;
}

/* ── CTA Butonu ──────────────────────────────────────────── */
.orgi-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  background: var(--oh-navy);
  color: var(--oh-white) !important;
  font-family: var(--oh-font);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid var(--oh-navy);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--oh-ease);
  white-space: nowrap;
  cursor: pointer;
}

/* İlk katman — altın fill soldan sağa kayar */
.orgi-cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--oh-gold) 0%, var(--oh-gold-dk) 100%);
  transform: translateX(-101%);
  transition: transform 0.40s var(--oh-ease);
  z-index: 0;
}

.orgi-cta-btn span,
.orgi-cta-btn i {
  position: relative;
  z-index: 1;
  transition: color 0.25s;
}

.orgi-cta-btn:hover {
  border-color: var(--oh-gold);
  box-shadow: 0 6px 24px var(--oh-gold-glow);
  transform: translateY(-2px);
}

.orgi-cta-btn:hover::before {
  transform: translateX(0);
}

.orgi-cta-btn i {
  font-size: 12px;
  transition: transform 0.30s var(--oh-ease), color 0.25s;
}

.orgi-cta-btn:hover i {
  transform: translateX(4px);
}

/* ── Hamburger ───────────────────────────────────────────── */
.orgi-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
  flex: none;
  margin-left: auto;
}

.orgi-burger__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--oh-navy);
  border-radius: 2px;
  transition: all 0.35s var(--oh-ease);
}

/* Açık halde X animasyonu */
.orgi-burger.open .orgi-burger__bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.orgi-burger.open .orgi-burger__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.orgi-burger.open .orgi-burger__bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ════════════════════════════════════════════════════════════
   3. MOBİL MENÜ PANELİ
   ════════════════════════════════════════════════════════════ */
.orgi-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
}

.orgi-mobile-menu.open { pointer-events: all; }

/* Arka plan overlay */
.orgi-mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 19, 60, 0.65);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.35s var(--oh-ease);
}

.orgi-mobile-menu.open .orgi-mobile-menu__overlay {
  opacity: 1;
}

/* Sağdan kayan panel */
.orgi-mobile-menu__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(380px, 90vw);
  background: var(--oh-white);
  transform: translateX(100%);
  transition: transform 0.45s var(--oh-ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -8px 0 48px rgba(1, 19, 60, 0.22);
}

.orgi-mobile-menu.open .orgi-mobile-menu__panel {
  transform: translateX(0);
}

/* Panel Header */
.orgi-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(1, 19, 60, 0.08);
}

.orgi-mobile-menu__header .orgi-logo img { height: 46px; }

.orgi-mobile-menu__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(1, 19, 60, 0.12);
  color: var(--oh-navy);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}

.orgi-mobile-menu__close:hover {
  background: var(--oh-navy);
  border-color: var(--oh-navy);
  color: var(--oh-white);
}

/* Panel Nav */
.orgi-mobile-menu__nav {
  flex: 1;
  padding: 12px 0;
}

.orgi-mobile-menu__nav ul { list-style: none; }

.orgi-mobile-menu__nav li { border-bottom: 1px solid rgba(1, 19, 60, 0.06); }

.orgi-mobile-menu__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 28px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oh-navy);
  text-decoration: none;
  transition: all 0.25s;
}

.orgi-mobile-menu__nav a::after {
  content: "→";
  font-size: 14px;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.25s;
  color: var(--oh-gold);
}

.orgi-mobile-menu__nav a:hover {
  color: var(--oh-gold-dk);
  padding-left: 36px;
  background: rgba(159, 146, 103, 0.05);
}

.orgi-mobile-menu__nav a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Panel Footer */
.orgi-mobile-menu__footer {
  padding: 24px 28px;
  border-top: 1px solid rgba(1, 19, 60, 0.08);
  background: var(--oh-gray);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.orgi-mobile-menu__tel {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--oh-navy);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 0.25s;
}

.orgi-mobile-menu__tel i {
  color: var(--oh-gold);
  font-size: 15px;
}

.orgi-mobile-menu__tel:hover { color: var(--oh-gold-dk); }

.orgi-mobile-menu__social {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.orgi-mobile-menu__social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(1, 19, 60, 0.15);
  color: var(--oh-navy);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s;
}

.orgi-mobile-menu__social a:hover {
  background: var(--oh-gold);
  border-color: var(--oh-gold);
  color: var(--oh-white);
}

/* ════════════════════════════════════════════════════════════
   4. HEADER SPACER (body kayması için)
   ════════════════════════════════════════════════════════════ */
.orgi-header-spacer {
  height: var(--oh-total-h);
}

/* ════════════════════════════════════════════════════════════
   5. RESPONSİF — Tablet & Mobil
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1199px) {
  .orgi-topbar__item:last-child { display: none; } /* Adres gizle */
}

@media (max-width: 1024px) {
  .orgi-nav,
  .orgi-actions { display: none; }

  .orgi-burger { display: flex; }

  .orgi-mainnav__inner {
    padding: 0 24px;
    height: var(--oh-mobile-h);
    gap: 0;
    justify-content: space-between;
  }

  .orgi-logo img { height: 48px; }

  :root { --oh-total-h: calc(var(--oh-top-h) + var(--oh-mobile-h)); }

  .orgi-header.scrolled { --oh-total-h: var(--oh-mobile-h); }
}

@media (max-width: 640px) {
  .orgi-topbar { display: none; }
  :root { --oh-total-h: var(--oh-mobile-h); }
  .orgi-header-spacer { height: var(--oh-mobile-h); }
}

/* ════════════════════════════════════════════════════════════
   6. ACTIVE SAYFA TESPITI (JS ile .active class eklenir)
   ════════════════════════════════════════════════════════════ */
.orgi-nav__item.active .orgi-nav__link {
  color: var(--oh-gold-dk);
}
.orgi-nav__item.active .orgi-nav__link::after {
  transform: scaleX(1);
  transform-origin: left center;
}

