/* Cam (glass) header. Tüm sınıflar dgh- önekli ve .dgh-root altında: tema ile çakışmaz. */
.dgh-root {
  --dgh-blue: #1559a5;   /* Açık zeminde yazı rengi: sitenin marka rengi */
  --dgh-ink: #101820;
  --dgh-font-display: "Cormorant Garamond", Georgia, serif;
  --dgh-font-sans: "Manrope", Arial, sans-serif;
}

/* Temanın button/a/img stillerini sıfırla */
.dgh-root, .dgh-root *, .dgh-root *::before, .dgh-root *::after { box-sizing: border-box; }
.dgh-root { font-family: var(--dgh-font-sans); line-height: 1.5; -webkit-font-smoothing: antialiased; }
.dgh-root a, .dgh-root a:hover, .dgh-root a:focus, .dgh-root a:visited { color: inherit; text-decoration: none; }
.dgh-root button { margin: 0; min-height: 0; border-radius: 0; box-shadow: none; text-shadow: none; font-family: inherit; line-height: 1.5; -webkit-appearance: none; appearance: none; }
.dgh-root img, .dgh-root svg, .dgh-root video { max-width: 100%; }
.dgh-root svg { display: block; flex: 0 0 auto; }
.dgh-root :focus-visible { outline: 2px solid #2b79d0; outline-offset: 4px; }

.dgh-root .dgh-logo { position: relative; z-index: 3; width: 142px; height: 68px; display: flex; align-items: center; }
.dgh-root .dgh-logo__image { width: 132px; height: 68px; display: grid; place-items: center; overflow: visible; background: transparent; }
.dgh-root .dgh-logo__image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }

.dgh-root .dgh-header {
  --header-color: #fff;
  --header-muted: rgba(255,255,255,.48);
  --glass-bg: rgba(255,255,255,.055);
  --glass-border: rgba(255,255,255,.34);
  --glass-inner: rgba(255,255,255,.18);
  --glass-shadow: rgba(0,0,0,.20);
  --control-border: rgba(255,255,255,.38);
  --control-hover: rgba(255,255,255,.10);

  position: fixed;
  z-index: 1000;
  top: 24px;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: min(640px, calc(100vw - 48px));
  color: var(--header-color);
  pointer-events: none;
  transition: color .10s linear;
}

.dgh-root .dgh-header[data-tone="dark"] {
  --header-color: #fff;
  --header-muted: rgba(255,255,255,.48);
  --glass-bg: rgba(255,255,255,.055);
  --glass-border: rgba(255,255,255,.34);
  --glass-inner: rgba(255,255,255,.18);
  --control-border: rgba(255,255,255,.38);
  --control-hover: rgba(255,255,255,.10);
}

.dgh-root .dgh-header[data-tone="light"] {
  --header-color: var(--dgh-blue);
  --header-muted: rgba(21,89,165,.55);
  --glass-bg: rgba(255,255,255,.16);
  --glass-border: rgba(255,255,255,.70);
  --glass-inner: rgba(255,255,255,.45);
  --control-border: rgba(21,89,165,.30);
  --control-hover: rgba(21,89,165,.07);
}
.dgh-root .dgh-header__shell {
  position: relative;
  width: 100%;
  height: 64px;
  overflow: hidden;
  pointer-events: auto;
  border-radius: 32px;

  background: var(--glass-bg);
  border: 1px solid var(--glass-border);

  -webkit-backdrop-filter: blur(6px) saturate(145%) contrast(101%);
  backdrop-filter: blur(6px) saturate(145%) contrast(101%);

  box-shadow:
    inset 0 1px 0 var(--glass-inner),
    inset 0 -1px 0 rgba(255,255,255,.06),
    0 16px 45px rgba(0,0,0,.14),
    0 2px 8px rgba(0,0,0,.08);

  contain: paint;
  will-change: height;

  transition:
    height .48s cubic-bezier(.76,0,.24,1),
    background .28s ease,
    border-color .28s ease,
    box-shadow .28s ease;
}
.dgh-root .dgh-header__backdrop {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.09), transparent 34%),
    linear-gradient(315deg, rgba(255,255,255,.025), transparent 38%);
}

.dgh-root .dgh-header__shell::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.34),
    inset 1px 0 0 rgba(255,255,255,.08),
    inset -1px 0 0 rgba(255,255,255,.05);
}

.dgh-root .dgh-header__shell::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 8%;
  top: 1px;
  width: 62%;
  height: 1px;
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.76), transparent);
  opacity: .72;
}

.dgh-root .dgh-header.dgh-header--open {
  --header-color: #fff;
  --header-muted: rgba(255,255,255,.48);
  --glass-bg: rgba(12,18,27,.40);
  --glass-border: rgba(255,255,255,.26);
  --glass-inner: rgba(255,255,255,.17);
  --control-border: rgba(255,255,255,.38);
  --control-hover: rgba(255,255,255,.10);
}

.dgh-root .dgh-header--open .dgh-header__shell {
  height: min(760px, calc(100svh - 48px));
  -webkit-backdrop-filter: blur(6px) saturate(140%) contrast(101%);
  backdrop-filter: blur(6px) saturate(140%) contrast(101%);
}

.dgh-root .dgh-header__toolbar {
  position: relative;
  z-index: 3;
  height: 62px;
  padding: 7px 9px 7px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.dgh-root .dgh-header .dgh-logo { width: 94px; height: 48px; justify-content: center; }
.dgh-root .dgh-header .dgh-logo__image { width: 90px; height: 46px; }
.dgh-root .dgh-header .dgh-logo { color: currentColor; }

.dgh-root .dgh-menu-toggle {
  min-width: 110px;
  height: 46px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: currentColor;
  background: transparent;
  border: 0;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .10s linear;
}

.dgh-root .dgh-menu-toggle__icon { width: 38px; height: 10px; position: relative; display: block; }
.dgh-root .dgh-menu-toggle__icon i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  display: block;
  background: currentColor;
  transition: top .45s ease, transform .45s ease, background .28s ease;
}
.dgh-root .dgh-menu-toggle__icon i:first-child { top: 1px; }
.dgh-root .dgh-menu-toggle__icon i:last-child { top: 8px; }
.dgh-root .dgh-menu-toggle__icon.is-open i:first-child { top: 5px; transform: rotate(18deg); }
.dgh-root .dgh-menu-toggle__icon.is-open i:last-child { top: 5px; transform: rotate(-18deg); }

.dgh-root .dgh-cta {
  justify-self: end;
  width: 128px;
  height: 46px;
  padding: 0 17px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid var(--control-border);
  color: currentColor;
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .28s ease, background .25s ease, border-color .28s ease;
}
.dgh-root .dgh-cta:hover { background: var(--control-hover); }
.dgh-root .dgh-cta > span { position: relative; width: 100%; height: 15px; display: block; overflow: hidden; }
.dgh-root .dgh-cta > span > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; transition: transform .55s cubic-bezier(.2,.75,.2,1); }
.dgh-root .dgh-cta > span > span:last-child { transform: translateY(24px); }
.dgh-root .dgh-cta:hover > span > span:first-child { transform: translateY(-24px); }
.dgh-root .dgh-cta:hover > span > span:last-child { transform: translateY(0); }

.dgh-root .dgh-header__panel {
  position: relative;
  z-index: 3;
  height: calc(100% - 64px);
  padding: 26px 30px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-18px);
  transition: opacity .18s ease, visibility .18s ease, transform .30s ease;
  overflow-y: auto;
  scrollbar-width: none;
}
.dgh-root .dgh-header__panel::-webkit-scrollbar { display: none; }
.dgh-root .dgh-header--open .dgh-header__panel { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: .10s; }
.dgh-root .dgh-menu { width: 100%; margin-block: auto; display: flex; flex-direction: column; align-items: center; }
.dgh-root .dgh-menu__link {
  --menu-index: 0;
  position: relative;
  width: 100%;
  height: 52px;
  display: block;
  overflow: hidden;
  color: currentColor;
  text-align: center;
  font-family: var(--dgh-font-display);
  font-size: clamp(35px, 3.2vw, 48px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.025em;
  opacity: 0;
  transform: translateY(22px);
  transition: color .10s linear, opacity .30s ease, transform .38s ease;
  transition-delay: calc(var(--menu-index) * 28ms);
}
.dgh-root .dgh-header--open .dgh-menu__link { opacity: 1; transform: translateY(0); }
.dgh-root .dgh-menu__link > span { position: absolute; left: 0; width: 100%; padding: 2px 0; transition: transform .55s cubic-bezier(.2,.75,.2,1); }
.dgh-root .dgh-menu__link > span:first-child { top: 0; }
.dgh-root .dgh-menu__link > span:nth-child(2) { top: 100%; color: currentColor; opacity: .72; font-style: italic; }
.dgh-root .dgh-menu__link:hover > span:first-child { transform: translateY(-100%); }
.dgh-root .dgh-menu__link:hover > span:nth-child(2) { transform: translateY(-100%); }
.dgh-root .dgh-languages { margin-top: 28px; display: flex; gap: 22px; }
.dgh-root .dgh-languages a { padding: 5px 0; color: var(--header-muted); background: transparent; border: 0; font-size: 9px; font-weight: 750; letter-spacing: .14em; cursor: pointer; transition: color .25s ease; }
.dgh-root .dgh-languages a:hover,
.dgh-root .dgh-languages a.is-active { color: currentColor; }
.dgh-root .dgh-language-mobile { display: none; }
.dgh-root .dgh-cta--mobile { display: none; }
.dgh-root .dgh-select {
  --select-height: 38px;
  --select-options-height: 39px;
  --select-open-height: min(calc(var(--select-height) + 17px + var(--select-options-height)), 360px, calc(100svh - 32px));
  --select-color: var(--dgh-ink);
  --select-muted: rgba(16,24,32,.48);
  --select-bg: rgba(255,255,255,.78);
  --select-border: rgba(6,21,36,.14);
  --select-open-bg: rgba(9,17,27,.88);
  position: relative;
  z-index: 1;
  width: 100%;
  height: var(--select-height);
  color: var(--select-color);
}
.dgh-root .dgh-select--open { z-index: 120; }
.dgh-root .dgh-select__surface {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--select-height);
  overflow: hidden;
  color: inherit;
  background: var(--select-bg);
  border: 1px solid var(--select-border);
  border-radius: calc(var(--select-height) / 2);
  -webkit-backdrop-filter: blur(20px) saturate(155%);
  backdrop-filter: blur(20px) saturate(155%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.62), 0 9px 26px rgba(6,21,36,.08);
  transition: width .48s cubic-bezier(.76,0,.24,1), height .48s cubic-bezier(.76,0,.24,1), color .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.dgh-root .dgh-select--open .dgh-select__surface {
  height: var(--select-open-height);
  color: #fff;
  background: var(--select-open-bg);
  border-color: rgba(255,255,255,.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.20), 0 24px 64px rgba(0,0,0,.26);
}
.dgh-root .dgh-select__surface::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.14), transparent 34%);
}
.dgh-root .dgh-select__trigger {
  position: relative;
  z-index: 2;
  width: 100%;
  height: var(--select-height);
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 12px;
}
.dgh-root .dgh-select__value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dgh-root .dgh-select__panel {
  position: relative;
  z-index: 2;
  height: calc(var(--select-open-height) - var(--select-height));
  padding: 0 8px 9px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .18s ease, visibility .18s ease, transform .30s ease;
}
.dgh-root .dgh-select--open .dgh-select__panel { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: .10s; }
.dgh-root .dgh-select__options { max-height: calc(100% - 8px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.dgh-root .dgh-select__options::-webkit-scrollbar { display: none; }
.dgh-root .dgh-select__option {
  --option-index: 0;
  width: 100%;
  min-height: 39px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255,255,255,.62);
  background: transparent;
  border: 0;
  border-radius: 18px;
  cursor: pointer;
  text-align: left;
  font-size: 11px;
  opacity: 0;
  transform: translateY(9px);
  transition: color .2s ease, background .2s ease, opacity .28s ease, transform .32s ease;
  transition-delay: calc(var(--option-index) * 22ms);
}
.dgh-root .dgh-select--open .dgh-select__option { opacity: 1; transform: translateY(0); }
.dgh-root .dgh-select__option:hover,
.dgh-root .dgh-select__option:focus-visible { color: #fff; background: rgba(255,255,255,.10); outline: none; }
.dgh-root .dgh-select--header {
  --select-height: 38px;
  --select-color: currentColor;
  --select-bg: rgba(255,255,255,.045);
  --select-border: var(--control-border);
  --select-open-bg: rgba(9,17,27,.82);
}
.dgh-root .dgh-select--header .dgh-select__surface { box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.dgh-root .dgh-select--header .dgh-select__trigger { padding-inline: 10px; justify-content: center; gap: 3px; font-size: 9px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.dgh-root .dgh-header--open .dgh-header__panel {
  color: #fff;
}
.dgh-root .dgh-header--open .dgh-cta,
.dgh-root .dgh-header--open .dgh-cta--mobile {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.dgh-root .dgh-header__panel {
  contain: layout paint;
}

@media (max-width: 760px) {
  .dgh-root .dgh-header { top: 12px; width: calc(100vw - 24px); border-radius: 28px; }
  .dgh-root .dgh-header__shell { height: 56px; border-radius: 28px; }
  .dgh-root .dgh-header--open .dgh-header__shell { height: calc(100svh - 24px); }
  .dgh-root .dgh-header__toolbar { height: 54px; padding: 4px 9px; display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; }
  .dgh-root .dgh-header .dgh-logo { grid-column: 2; grid-row: 1; justify-self: center; width: 88px; height: 44px; justify-content: center; }
  .dgh-root .dgh-header .dgh-logo__image { width: 84px; height: 42px; }
  .dgh-root .dgh-language-mobile { grid-column: 1; grid-row: 1; justify-self: start; align-self: center; width: 48px; display: block; }
  .dgh-root .dgh-language-mobile.dgh-select--open .dgh-select__surface {
    width: 104px;
    height: var(--select-height);
    color: inherit;
    background: var(--select-bg);
    border-color: var(--select-border);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
  }
  .dgh-root .dgh-language-mobile .dgh-select__trigger { width: 48px; padding-inline: 7px; transition: width .48s cubic-bezier(.76,0,.24,1); }
  .dgh-root .dgh-language-mobile.dgh-select--open .dgh-select__trigger { width: 34.667px; padding-inline: 0; }
  .dgh-root .dgh-language-mobile .dgh-select__panel {
    position: absolute;
    top: 0;
    left: 34.667px;
    width: 69.333px;
    height: var(--select-height);
    padding: 0;
    display: flex;
    align-items: center;
    transform: translateX(-9px);
  }
  .dgh-root .dgh-language-mobile.dgh-select--open .dgh-select__panel { transform: translateX(0); }
  .dgh-root .dgh-language-mobile .dgh-select__options { width: 100%; max-height: none; display: flex; align-items: center; overflow: visible; }
  .dgh-root .dgh-language-mobile .dgh-select__option { min-width: 0; width: 50%; min-height: 34px; padding: 0; justify-content: center; color: currentColor; font-size: 9px; font-weight: 750; letter-spacing: .06em; }
  .dgh-root .dgh-language-mobile .dgh-select__option:hover,
  .dgh-root .dgh-language-mobile .dgh-select__option:focus-visible { background: rgba(255,255,255,.10); }
  .dgh-root .dgh-header__shell:has(.dgh-language-mobile.dgh-select--open) { overflow: visible; contain: none; }
  .dgh-root .dgh-menu-toggle { grid-column: 3; grid-row: 1; justify-self: end; min-width: 42px; width: 42px; height: 42px; flex-direction: row-reverse; }
  .dgh-root .dgh-menu-toggle__icon { width: 34px; }
  .dgh-root .dgh-menu-toggle__label { display: none; }
  .dgh-root .dgh-header__toolbar > .dgh-cta { display: none; }
  .dgh-root .dgh-header__panel { height: calc(100% - 56px); padding: 20px 16px 18px; }
  .dgh-root .dgh-menu { margin-block: auto; }
  .dgh-root .dgh-menu__link { height: 43px; font-size: clamp(31px, 9vw, 39px); }
  .dgh-root .dgh-languages { display: none; }
  .dgh-root .dgh-cta--mobile { width: 100%; height: 48px; margin-top: 20px; display: grid; }
  .dgh-root .dgh-logo { width: 116px; height: 58px; }
  .dgh-root .dgh-logo__image { width: 112px; height: 58px; }
}

/* --- WordPress uyarlamaları (orijinalde yoktu) --- */
.dgh-root .dgh-header a.dgh-cta, .dgh-root .dgh-header a.dgh-menu__link { color: currentColor; }
.dgh-root .dgh-languages a, .dgh-root .dgh-languages a:visited { color: var(--header-muted); }
.dgh-root .dgh-languages a:hover, .dgh-root .dgh-languages a.is-active { color: currentColor; }
.dgh-root .dgh-select__option, .dgh-root .dgh-select__option:visited { text-decoration: none; }
/* Temanın [type=button]:hover gibi güçlü kurallarına karşı */
.dgh-root button.dgh-menu-toggle, .dgh-root button.dgh-menu-toggle:hover, .dgh-root button.dgh-menu-toggle:focus,
.dgh-root button.dgh-select__trigger, .dgh-root button.dgh-select__trigger:hover, .dgh-root button.dgh-select__trigger:focus { color: currentColor; background: transparent; border: 0; box-shadow: none; }
/* Yönetici çubuğu */
.admin-bar .dgh-root .dgh-header { top: 56px; }
@media (max-width: 782px) { .admin-bar .dgh-root .dgh-header { top: 58px; } }
/* backdrop-filter desteklenmiyorsa okunabilir zemin */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .dgh-root .dgh-header__shell { background: rgba(12, 18, 27, .72); }
  .dgh-root .dgh-header[data-tone="light"]:not(.dgh-header--open) .dgh-header__shell { background: rgba(255, 255, 255, .92); }
}
@media (prefers-reduced-motion: reduce) {
  .dgh-root *, .dgh-root *::before, .dgh-root *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* --- Domantalya kurulumu: iç sayfalarda üst boşluk (header 24 + 64 + 24) --- */
body.dgh-offset { padding-top: 112px; }
@media (max-width: 760px) { body.dgh-offset { padding-top: 80px; } }
/* Solace'ın boş header kabuğu yer kaplamasın (yalnız "içeriğe geç" bağlantısı kalır) */
body.dgh-has-header .wrapper > header.header { min-height: 0; height: auto; padding: 0; margin: 0; border: 0; box-shadow: none; background: none; }
