/* ============================================================
   360 Perspektif — Üst bar / navigasyon / mobil menü
   ============================================================ */

/* ---------- Üst bar ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: var(--ivory);
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(10, 10, 8, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 14px 40px -20px rgba(0, 0, 0, 0.7);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

/* ---------- Marka ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand__name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- Masaüstü menü ---------- */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.site-nav__link {
  position: relative;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 240, 232, 0.78);
  text-decoration: none;
  padding-block: 6px;
  transition: color 0.3s var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.site-nav__link:hover { color: var(--ivory); }
.site-nav__link:hover::after { transform: scaleX(1); }

/* ---------- Menü düğmesi ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 0 8px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ivory);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

body.nav-open { overflow: hidden; }

/* ---------- Mobil menü ---------- */
@media (max-width: 1060px) {
  .nav-toggle { display: flex; }

  /* Menü açıkken header'ın backdrop-filter'ı fixed konumlu menüyü
     kendi kutusuna hapsolmasın; marka ve menü düğmesi üstte kalsın. */
  body.nav-open .site-header {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .site-header .brand,
  .nav-toggle {
    position: relative;
    z-index: 110;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background: rgba(10, 10, 8, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .site-nav__link {
    font-size: clamp(1.15rem, 4.5vw, 1.5rem);
    letter-spacing: 0.08em;
    color: var(--ivory);
  }

  .site-nav__cta {
    padding: 14px 34px;
    font-size: 0.95rem;
  }
}
