/* One shared top panel for every public page. */
@view-transition { navigation: auto; }

#shared-header-root {
  position: sticky;
  top: 0;
  z-index: 50;
}

.footer--soft-navy {
  background-color: #0f172a !important;
}

.shared-site-header {
  position: relative;
  width: 100%;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  view-transition-name: ergene-shared-header;
}

::view-transition-old(ergene-shared-header),
::view-transition-new(ergene-shared-header) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-group(root) { animation-duration: .18s; }

.shared-site-header__nav {
  position: relative;
  width: 100%;
  padding-block: 14px;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid #f1f5f9;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.shared-site-header.is-scrolled .shared-site-header__nav {
  padding-block: 14px;
  background: rgba(255, 255, 255, .92);
  border-bottom-color: rgba(226, 232, 240, .8);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
}

.shared-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  min-height: 59px;
  margin-inline: auto;
  padding-inline: 32px;
}

.shared-site-header.is-scrolled .shared-site-header__inner { min-height: 59px; }

.shared-site-header__brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 4px;
  min-height: 59px;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
}

.shared-site-header.is-scrolled .shared-site-header__brand { min-height: 59px; }

.shared-site-header__brand-inner { display: flex; align-items: center; gap: 12px; user-select: none; }
.shared-site-header__logo { width: 40px; height: 40px; flex: 0 0 40px; object-fit: contain; transition: transform .3s ease; }
.shared-site-header__brand:hover .shared-site-header__logo { transform: scale(1.05); }
.shared-site-header__brand-copy { display: flex; flex-direction: column; text-align: left; }
.shared-site-header__brand-name { display: flex; align-items: baseline; gap: 6px; line-height: 1; }
.shared-site-header__brand-name span:first-child { color: #0f172a; font-size: 24px; font-weight: 800; letter-spacing: .05em; }
.shared-site-header__brand-name span:last-child { color: #18a0cc; font-size: 24px; font-weight: 900; letter-spacing: .025em; }
.shared-site-header__subtitle { margin-top: 4px; color: #475569; font-size: 10px; font-weight: 600; letter-spacing: .18em; line-height: 1.2; }

.shared-site-header__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.shared-site-header__links a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}
.shared-site-header__links a:hover { color: #18a0cc; background: rgba(236, 254, 255, .6); }

.shared-site-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.shared-site-header__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 12px;
  color: #475569;
  background: #f1f5f9;
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.shared-site-header__action:hover { color: #0f172a; background: #e2e8f0; }
.shared-site-header__action--whatsapp { color: #fff; background: #047857; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.shared-site-header__action--whatsapp:hover { color: #fff; background: #047857; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.shared-site-header__action svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.shared-site-header__action .whatsapp-brand-icon { fill: currentColor; stroke: none; }

.shared-site-header__menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 8px;
  border: 0;
  border-radius: 12px;
  color: #334155;
  background: transparent;
  cursor: pointer;
}
.shared-site-header__menu-button:hover { color: #0891b2; background: #f1f5f9; }
.shared-site-header__menu-button svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.shared-site-header__menu-button .icon-close { display: none; }
.shared-site-header__menu-button[aria-expanded="true"] .icon-menu { display: none; }
.shared-site-header__menu-button[aria-expanded="true"] .icon-close { display: block; }

.shared-site-header__mobile-panel { display: none; }

@media (min-width: 1280px) {
  .shared-site-header__links { gap: 8px; }
}

.shared-site-header a:focus-visible,
.shared-site-header button:focus-visible {
  outline: 2px solid #06b6d4;
  outline-offset: 2px;
}

/* The bundled home page keeps its own header logic, but this common shell is the visible source of truth. */
#root header.sticky.top-0.z-50.w-full { display: none !important; }

@media (max-width: 1023px) {
  .shared-site-header__inner { padding-inline: 24px; }
  .shared-site-header__links { display: none; }
  .shared-site-header__menu-button { display: inline-flex; }
  .shared-site-header__mobile-panel {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    padding: 8px 24px 16px;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 10px 18px rgba(15,23,42,.08);
  }
  .shared-site-header__mobile-panel.is-open { display: grid; }
  .shared-site-header__mobile-panel a {
    padding: 11px 12px;
    border-radius: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
  }
  .shared-site-header__mobile-panel a:hover { color: #18a0cc; background: #ecfeff; }
}

@media (max-width: 639px) {
  .shared-site-header__inner { padding-inline: 16px; }
  .shared-site-header__actions { display: none; }
  .shared-site-header__brand-inner { gap: 10px; }
  .shared-site-header__logo { width: 36px; height: 36px; flex-basis: 36px; }
  .shared-site-header__brand-name span:first-child,
  .shared-site-header__brand-name span:last-child { font-size: 19px; }
  .shared-site-header__subtitle { font-size: 7px; }
  .shared-site-header__mobile-panel { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .shared-site-header *,
  .shared-site-header *::before,
  .shared-site-header *::after { transition-duration: .01ms !important; }
  ::view-transition-group(*) { animation-duration: .01ms !important; }
}


/* === CSS GRID 3-COLUMN FOOTER BOTTOM (LEFT: COPYRIGHT, CENTER: LEGAL, RIGHT: UXCODE) === */

/* === 1fr auto 1fr GRID: DEAD-CENTER LEGAL, YUKARI ÇIK IN RIGHT ZONE, DISTINCT UXCODE SIGNATURE === */
.footer-bottom {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  width: 100% !important;
  margin-top: 0 !important;
  padding-top: 20px !important;
  border-top: 1px solid #1e293b !important;
  font-size: 11px !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  gap: 16px !important;
}

.footer-bottom__left {
  justify-self: start !important;
  display: flex !important;
  align-items: center !important;
  text-align: left !important;
  white-space: nowrap !important;
  color: #94a3b8 !important;
  line-height: 1 !important;
}

.footer-bottom__center {
  justify-self: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  text-align: center !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

.footer-bottom__center a {
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
  line-height: 1 !important;
}

.footer-bottom__center a:hover {
  color: #f1f5f9 !important;
  text-decoration: underline !important;
}

.footer-bottom__center span {
  color: #475569 !important;
  line-height: 1 !important;
}

.footer-bottom__right-zone {
  justify-self: stretch !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.footer-bottom__middle {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
}

.footer-bottom__right {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

/* 1. BUTTON: Pill action button */
.footer-back-to-top-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 5px 12px !important;
  background: rgba(15, 23, 42, 0.9) !important;
  border: 1px solid rgba(51, 65, 85, 0.8) !important;
  border-radius: 9999px !important;
  color: #cbd5e1 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  height: 26px !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

.footer-back-to-top-btn:hover {
  background: #1e293b !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25) !important;
  transform: translateY(-1px) !important;
}

/* 2. SIGNATURE: Clean, elegant agency signature with glowing cyan spark */
.uxcode-signature-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 3px 6px !important;
  background: transparent !important;
  border: none !important;
  color: #64748b !important;
  text-decoration: none !important;
  font-size: 11px !important;
  line-height: 1 !important;
  transition: all 0.25s ease !important;
}

.uxcode-signature-badge__label {
  color: #94a3b8 !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  font-size: 11px !important;
  transition: color 0.2s ease !important;
}

.uxcode-signature-badge:hover .uxcode-signature-badge__label {
  color: #94a3b8 !important;
}

.uxcode-signature-badge__brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  color: #f8fafc !important;
  transition: all 0.2s ease !important;
}

.uxcode-signature-badge__icon {
  width: 12px !important;
  height: 12px !important;
  display: inline-block !important;
  fill: #20D9F5 !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease !important;
  filter: drop-shadow(0 0 4px rgba(32, 217, 245, 0.5)) !important;
}

.uxcode-signature-badge:hover .uxcode-signature-badge__icon {
  transform: scale(1.25) rotate(15deg) !important;
  filter: drop-shadow(0 0 8px #20D9F5) !important;
}

.uxcode-signature-badge__text {
  color: #f8fafc !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  font-size: 11px !important;
  transition: color 0.2s ease !important;
}

.uxcode-signature-badge:hover .uxcode-signature-badge__text {
  color: #20D9F5 !important;
}

@media (max-width: 960px) {
  footer {
    padding-top: 32px !important;
    padding-bottom: 24px !important;
  }
  .footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
    margin-top: 20px !important;
    padding-top: 16px !important;
  }
  .footer-bottom__left, 
  .footer-bottom__center, 
  .footer-bottom__right-zone, 
  .footer-bottom__middle, 
  .footer-bottom__right {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 !important;
    white-space: normal !important;
  }
  .footer-bottom__right-zone {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }
  .footer-bottom__center {
    gap: 8px !important;
    flex-wrap: wrap !important;
  }
}
