/* ============================================================
   Prof. Dr. Bülent Düz — Paylaşımlı site header
   Tek kaynak: tüm sayfalar bu dosyayı kullanır.
   ============================================================ */
:root {
  --sh-navy-deep: #071422;
  --sh-navy: #0c1f35;
  --sh-navy-mid: #143052;
  --sh-teal: #1a7a78;
  --sh-teal-light: #2a9d9a;
  --sh-teal-glow: rgba(42, 157, 154, 0.18);
  --sh-cream: #f7f5f0;
  --sh-cream-dark: #ebe8e1;
  --sh-gold: #b8954a;
  --sh-text: #1c2a3a;
  --sh-text-muted: #5a6d7d;
  --sh-white: #ffffff;
  --sh-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sh-h: 4.75rem;
}

#site-header, #site-header *, #site-header *::before, #site-header *::after { box-sizing: border-box; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  font-family: 'DM Sans', system-ui, sans-serif;
  --shadow: 0 1px 0 rgba(12, 31, 53, 0.06);
}

/* —— Üst ince fayda çubuğu —— */
.sh-top {
  background: linear-gradient(100deg, var(--sh-navy-deep), var(--sh-navy-mid));
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}
.sh-top__inner {
  max-width: 82rem;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.sh-top__group { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.sh-top a { color: inherit; text-decoration: none; transition: color 0.3s ease; display: inline-flex; align-items: center; gap: 0.45rem; }
.sh-top a:hover { color: var(--sh-teal-light); }
.sh-top i { font-size: 0.72rem; color: var(--sh-teal-light); }
.sh-top__divider { width: 1px; height: 0.9rem; background: rgba(255, 255, 255, 0.18); }

.sh-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.sh-lang__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.15rem 0.2rem;
  transition: color 0.2s ease;
}
.sh-lang__btn:hover { color: #fff; }
.sh-lang__btn.is-active { color: var(--sh-teal-light); }
.sh-lang__sep { opacity: 0.35; font-size: 0.7rem; }

@media (max-width: 720px) {
  .sh-top__hide-sm { display: none; }
  .sh-top__inner { justify-content: space-between; padding: 0.45rem 1rem; }
}

/* —— Ana çubuk —— */
.sh-main {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sh-cream-dark);
  transition: box-shadow 0.4s ease, background 0.4s ease;
}
.site-header.is-scrolled .sh-main {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 32px -16px rgba(7, 20, 34, 0.35);
}
.sh-main__inner {
  max-width: 82rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--sh-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* —— Marka —— */
.sh-brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; flex-shrink: 0; }
.sh-brand__mark {
  width: 2.6rem; height: 2.6rem;
  border-radius: 0.85rem;
  background: linear-gradient(140deg, var(--sh-navy) 0%, var(--sh-teal) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 6px 18px -6px rgba(26, 122, 120, 0.5);
}
.sh-brand__text { line-height: 1.05; }
.sh-brand__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem; font-weight: 700; color: var(--sh-navy);
  display: block; letter-spacing: -0.01em;
}
.sh-brand__role {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--sh-teal);
}

/* —— Navigasyon —— */
.sh-nav { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.sh-nav__item { position: static; list-style: none; }
.sh-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.82rem; font-weight: 600;
  color: var(--sh-navy); text-decoration: none;
  background: none; border: 0; cursor: pointer;
  border-radius: 0.6rem;
  position: relative;
  white-space: nowrap;
  transition: color 0.25s ease;
  font-family: inherit;
}
.sh-link::after {
  content: '';
  position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.32rem;
  height: 2px; border-radius: 2px;
  background: var(--sh-teal);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.3s var(--sh-ease);
}
.sh-link:hover { color: var(--sh-teal); }
.sh-link:hover::after,
.sh-link.is-active::after { transform: scaleX(1); }
.sh-link.is-active { color: var(--sh-teal); }
.sh-link__chev { font-size: 0.6rem; transition: transform 0.3s var(--sh-ease); opacity: 0.7; }

/* —— CTA —— */
.sh-cta {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.7rem 1.15rem;
  background: var(--sh-navy);
  color: #fff !important;
  font-size: 0.82rem; font-weight: 700;
  border-radius: 0.75rem; text-decoration: none;
  flex-shrink: 0;
  box-shadow: 0 8px 22px -10px rgba(7, 20, 34, 0.6);
  transition: transform 0.3s var(--sh-ease), background 0.3s ease, box-shadow 0.3s ease;
}
.sh-cta i { color: var(--sh-teal-light); }
.sh-cta:hover { background: var(--sh-teal); transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(26, 122, 120, 0.6); }
.sh-cta:hover i { color: #fff; }

/* —— Mega menü —— */
.sh-mega {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--sh-cream-dark);
  border-bottom: 1px solid var(--sh-cream-dark);
  box-shadow: 0 28px 48px -24px rgba(7, 20, 34, 0.4);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--sh-ease), transform 0.3s var(--sh-ease), visibility 0.3s;
  pointer-events: none;
}
.sh-nav__item.has-mega:hover .sh-mega,
.sh-nav__item.has-mega.is-open .sh-mega {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}
.sh-nav__item.has-mega:hover .sh-link__chev,
.sh-nav__item.has-mega.is-open .sh-link__chev { transform: rotate(180deg); }

.sh-mega__inner {
  max-width: 82rem; margin: 0 auto;
  padding: 1.75rem 1.5rem 1.5rem;
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr 2.6fr;
}
.sh-mega__intro { padding-right: 1.25rem; border-right: 1px solid var(--sh-cream-dark); }
.sh-mega__eyebrow { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sh-teal); margin: 0 0 0.6rem; }
.sh-mega__title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.6rem; font-weight: 600; color: var(--sh-navy); margin: 0 0 0.5rem; line-height: 1.2; }
.sh-mega__desc { font-size: 0.85rem; color: var(--sh-text-muted); line-height: 1.6; margin: 0 0 1.1rem; }
.sh-mega__phone {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 700; color: var(--sh-navy); text-decoration: none;
}
.sh-mega__phone i { color: var(--sh-teal); }
.sh-mega__phone:hover { color: var(--sh-teal); }

.sh-mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.sh-mega__card {
  display: flex; align-items: flex-start; gap: 0.8rem;
  padding: 0.85rem 0.9rem; border-radius: 0.85rem;
  text-decoration: none; border: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--sh-ease);
}
.sh-mega__card:hover { background: var(--sh-cream); border-color: rgba(26, 122, 120, 0.18); transform: translateY(-2px); }
.sh-mega__icon {
  width: 2.4rem; height: 2.4rem; flex-shrink: 0;
  border-radius: 0.7rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26, 122, 120, 0.1); color: var(--sh-teal);
  font-size: 0.95rem;
  transition: background 0.25s ease, color 0.25s ease;
}
.sh-mega__card:hover .sh-mega__icon { background: var(--sh-teal); color: #fff; }
.sh-mega__ctitle { font-size: 0.88rem; font-weight: 700; color: var(--sh-navy); margin: 0 0 0.15rem; }
.sh-mega__cdesc { font-size: 0.76rem; color: var(--sh-text-muted); margin: 0; line-height: 1.45; }

/* —— Hamburger —— */
.sh-burger {
  display: none;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--sh-cream-dark); border-radius: 0.7rem;
  background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.25s ease;
}
.sh-burger:hover { border-color: var(--sh-teal); }
.sh-burger span { position: relative; width: 1.15rem; height: 2px; background: var(--sh-navy); border-radius: 2px; transition: background 0.2s ease; }
.sh-burger span::before, .sh-burger span::after {
  content: ''; position: absolute; left: 0; width: 1.15rem; height: 2px; background: var(--sh-navy); border-radius: 2px;
  transition: transform 0.3s var(--sh-ease), top 0.3s var(--sh-ease);
}
.sh-burger span::before { top: -6px; }
.sh-burger span::after { top: 6px; }
.site-header.is-menu-open .sh-burger span { background: transparent; }
.site-header.is-menu-open .sh-burger span::before { top: 0; transform: rotate(45deg); }
.site-header.is-menu-open .sh-burger span::after { top: 0; transform: rotate(-45deg); }

/* —— Mobil —— */
@media (max-width: 1180px) {
  .sh-burger { display: inline-flex; }
  .sh-main__inner > .sh-cta { display: none; }

  .sh-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--sh-cream-dark);
    box-shadow: 0 24px 40px -22px rgba(7, 20, 34, 0.45);
    padding: 0.5rem 1rem 1.25rem;
    max-height: calc(100vh - var(--sh-h));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s var(--sh-ease), visibility 0.3s;
  }
  .site-header.is-menu-open .sh-nav { opacity: 1; visibility: visible; transform: translateY(0); }

  .sh-nav__item { width: 100%; border-bottom: 1px solid var(--sh-cream); }
  .sh-nav__item:last-child { border-bottom: 0; }
  .sh-link { width: 100%; justify-content: space-between; padding: 0.95rem 0.5rem; font-size: 0.95rem; border-radius: 0; }
  .sh-link::after { display: none; }

  /* mega -> akordeon */
  .sh-mega {
    position: static;
    opacity: 1; visibility: visible; transform: none; pointer-events: auto;
    box-shadow: none; border: 0; background: transparent;
    display: none;
  }
  .sh-nav__item.has-mega.is-open .sh-mega { display: block; }
  .sh-mega__inner { grid-template-columns: 1fr; padding: 0.25rem 0.5rem 1rem; gap: 1rem; }
  .sh-mega__intro { border-right: 0; padding-right: 0; }
  .sh-mega__grid { grid-template-columns: 1fr; gap: 0.25rem; }

  .sh-nav__cta-wrap { padding: 1rem 0.5rem 0; }
  .sh-nav__cta-wrap .sh-cta { display: inline-flex; width: 100%; justify-content: center; }
}
@media (min-width: 1181px) {
  .sh-nav__cta-wrap { display: none; }
}

/* —— Hareket azaltma —— */
@media (prefers-reduced-motion: reduce) {
  .sh-mega, .sh-nav, .sh-link::after, .sh-link__chev, .sh-cta, .sh-mega__card { transition: none !important; }
}

/* —— Ortak footer (her sayfada site-header.css yüklenir) —— */
.site-footer { background: #071422; color: rgba(255, 255, 255, 0.7); font-family: 'DM Sans', system-ui, sans-serif; }
.site-footer__inner { max-width: 72rem; margin: 0 auto; padding: 3rem 1.5rem 1.5rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer__brand { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.5rem; font-weight: 700; color: #fff; margin: 0 0 0.5rem; }
.site-footer__text { font-size: 0.88rem; line-height: 1.7; margin: 0; max-width: 22rem; }
.site-footer__h { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #2a9d9a; margin: 0 0 1rem; }
.site-footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer__list a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 0.88rem; transition: color 0.25s ease; }
.site-footer__list a:hover { color: #fff; }
.site-footer__contact { font-size: 0.88rem; line-height: 1.8; }
.site-footer__contact a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.site-footer__contact a:hover { color: #2a9d9a; }
.site-footer__bar { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: space-between; font-size: 0.78rem; color: rgba(255, 255, 255, 0.5); }
.site-footer__bar a { color: rgba(255, 255, 255, 0.6); text-decoration: none; }
