/* ====== header nav ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  width: 100%;
  box-shadow: 0 1px 0 var(--border);
}
html[data-theme="dark"] .site-header {
  box-shadow: none;
}
@supports (background: color-mix(in srgb, white 90%, transparent)) {
  .site-header {
    background: color-mix(in srgb, var(--bg) 92%, transparent);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav a {
  display: inline-flex;
  padding: 10px 10px;
  border-radius: 10px;
}
.nav-link {
  text-decoration: none;
}
.nav-link.is-active {
  text-decoration: underline;
}
.nav a:hover {
  background: var(--hover);
}
.nav a:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--text) 55%, transparent);
  outline-offset: 3px;
}
.mobile-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
}
.mobile-toggle:hover {
  background: var(--hover);
}
@media (max-width: 900px) {
  .nav {
    display: none;
    width: 100%;
  }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-bottom: 8px;
    margin-top: 6px;
  }
  .nav.open a {
    width: 100%;
  }
  .header-inner {
    flex-wrap: wrap;
  }
  .mobile-toggle {
    display: inline-block;
  }
}

/* ====== footer ====== */
.site-footer {
  width: 100%;
  border-top: 1px solid var(--border);
  background: var(--surface2);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand {
  font-weight: 800;
  letter-spacing: 0.2px;
}

.footer-address {
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.6;
}
.footer-address a {
  color: inherit;
  text-decoration: none;
}
.footer-address a:hover {
  text-decoration: underline;
}
.footer-line {
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
}

.footer-line span:first-child {
  color: var(--muted);
  min-width: 78px; /* keeps labels aligned (E-posta/Tel/GSM/WhatsApp) */
}

.footer-line a:hover {
  text-decoration: underline;
}

.footer-copy {
  color: var(--muted);
  font-size: 14px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 22px 0;
  padding-top: 28px; /* a little more breathing */
}
.footer-bottom {
  padding: 12px 0;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.footer-cta {
  margin-top: 12px;
}

/* ===== section ===== */
.section {
  padding: 46px 0;
}
@media (max-width: 700px) {
  .section {
    padding: 34px 0;
  }
}

/* ===== sticky cta ===== */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  transform: translateY(110%);
  transition: transform 180ms ease;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(8px);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12);
}
html[data-theme="dark"] .sticky-cta {
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}

.sticky-cta-text {
  color: var(--muted);
  font-size: 14px;
}

.sticky-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Prevent content being hidden behind sticky bar */
body.has-sticky-cta {
  padding-bottom: 64px;
}

@media (max-width: 768px) {
  .sticky-cta-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .sticky-cta-actions a {
    width: 100%;
    text-align: center;
  }
}
