:root {
  --bg: #edf1e8;
  --bg2: #d7dbd2;
  --fg: #141414;
  --accent1: #ed6a5a;
  --accent2: #f4f1bb;
  --accent3: #9bc1bc;
  --accent4: #5d576b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background-color: var(--bg);
  color: var(--fg);
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1,
h2,
h3 {
  text-transform: uppercase;
  font-family: "rader";
  font-style: italic;
  line-height: 0.95;
}

h1 {
  font-size: 5rem;
}

h2 {
  font-size: 4rem;
}

h3 {
  font-size: 2rem;
}

.atazen-symbol {
  font-family: "Onest", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 0.4em;
}

.atazen-symbol-icon {
  width: 0.8rem;
  height: 0.8rem;
  object-fit: contain;
}

a {
  text-decoration: none;
  color: var(--fg);
}

p,
p.ss {
  font-family: "formula-narrow";
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.125;
}

p.mn {
  text-transform: uppercase;
  font-family: "Onest", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

/* contact cta */
.contact-cta {
  position: relative;
  width: 100%;
  height: 100svh;
  padding: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-cta .contact-button {
  position: relative;
  width: 60%;
  height: 300px;
  border: 0.75em solid #000;
  border-radius: 20em;
  background: linear-gradient(
    45deg,
    var(--accent1),
    var(--accent2),
    var(--accent3),
    var(--accent4)
  );
  background-size: 400% 400%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  transition: transform 0.2s ease;
  animation: gradientMove 10s ease-in-out infinite;
  box-shadow: 10px 10px 0px 5px #000000;
  overflow: hidden;
  cursor: pointer;
}

.contact-cta a {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 2;
}

.contact-cta .contact-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.125) 0px,
    rgba(0, 0, 0, 0.125) 15px,
    transparent 15px,
    transparent 30px
  );
  animation: stripeMove 30s linear infinite;
}

.contact-cta .contact-text-small {
  position: relative;
  z-index: 1;
}

.contact-cta .contact-text-large {
  position: relative;
  z-index: 1;
}

.contact-cta .contact-text-large h1 {
  font-size: 7rem;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes stripeMove {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

@media (max-width: 1000px) {
  h1 {
    font-size: 2.5rem;
  }

  .contact-cta {
    height: max-content;
    padding: 8em 2em;
  }

  .contact-cta .contact-button {
    width: 95%;
    height: 250px;
    gap: 1em;
    border-radius: 2em;
  }

  .contact-cta .contact-text-small {
    width: 75%;
    text-align: center;
  }

  .contact-cta .contact-text-large h1 {
    font-size: 3rem;
  }
}

/* ===== Accessibility & Reduced Motion ===== */

/* Skip-to-content link — sadece klavye/ekran okuyucu için. Visually hidden until focus. */
.skip-link {
  position: fixed !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  top: 0 !important;
  left: 0 !important;
  background: transparent;
  color: transparent;
}
.skip-link:focus,
.skip-link:focus-visible {
  position: fixed !important;
  width: auto !important;
  height: auto !important;
  padding: .75rem 1.25rem !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  top: 1rem !important;
  left: 1rem !important;
  background: #0a0a0a !important;
  color: #fff !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  z-index: 2147483647 !important;
  outline: 3px solid #fff !important;
  outline-offset: 2px !important;
}

/* Visible focus rings for keyboard navigation */
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

/* Tabindex=-1 main wrapper should not show ring on programmatic focus */
main[tabindex="-1"]:focus {
  outline: none;
}

/* Respect prefers-reduced-motion: disable GSAP-driven animations + transitions */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .transition, .transition-overlay {
    display: none !important;
  }
  html {
    scroll-behavior: auto !important;
  }
}

/* Print styles - hide nav/footer noise */
@media print {
  nav, footer, .transition, .skip-link, .menu-toggle-btn { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}

/* ===== Yasal sayfa (privacy/kvkk/cookies) — temiz tipografi ===== */
.legal-content {
  max-width: 44rem;
  margin: 0 auto;
  padding: 8rem 1.5rem 5rem;
  color: var(--fg);
}
.legal-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.legal-header h1 {
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.05;
  margin: 0 0 .75rem;
  letter-spacing: -.02em;
  font-weight: 500;
}
.legal-meta {
  font-family: "supply-mono", monospace;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: .55;
  margin: 0;
}
.legal-body {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}
.legal-section {
  padding-top: 2rem;
  border-top: 1px solid rgba(20,20,20,.12);
}
.legal-section:first-child { border-top: none; padding-top: 0; }
.legal-section h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  margin: 0 0 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  text-align: left;
}
.legal-section p {
  margin: 0 0 1rem;
  line-height: 1.7;
  font-size: 1rem;
  color: rgba(20,20,20,.78);
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section a {
  color: var(--accent1);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legal-section strong { color: var(--fg); font-weight: 600; }
.legal-section ul {
  margin: .5rem 0 1rem;
  padding-left: 1.25rem;
  line-height: 1.7;
}
.legal-section ul li { margin: .35rem 0; color: rgba(20,20,20,.78); }
.legal-section code {
  background: rgba(20,20,20,.06);
  padding: .15rem .4rem;
  border-radius: 4px;
  font-family: "supply-mono", monospace;
  font-size: .85em;
}
.legal-btn {
  display: inline-block;
  padding: .8rem 1.6rem;
  border: 1px solid var(--fg);
  background: transparent;
  color: var(--fg);
  border-radius: 999px;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.legal-btn:hover { background: var(--fg); color: var(--bg); }

/* Tablo: desktop standart, mobile stack-card */
.legal-table-wrap { width: 100%; margin: .5rem 0; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.legal-table thead {
  background: rgba(20,20,20,.04);
}
.legal-table th {
  text-align: left;
  padding: .85rem 1rem;
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .65;
  border-bottom: 2px solid rgba(20,20,20,.15);
}
.legal-table td {
  padding: .9rem 1rem;
  border-bottom: 1px solid rgba(20,20,20,.08);
  vertical-align: top;
  color: rgba(20,20,20,.85);
}
.legal-table tr:last-child td { border-bottom: none; }
@media (max-width: 640px) {
  .legal-content {
    padding: 6rem 1rem 4rem;
  }
  .legal-header { margin-bottom: 2.5rem; }
  .legal-body { gap: 1.75rem; }
  .legal-section { padding-top: 1.5rem; }
  .legal-section p { font-size: .95rem; }
  /* Tablo: mobile stack-card (her satır kart, her hücre data-label ile) */
  .legal-table, .legal-table thead, .legal-table tbody,
  .legal-table tr, .legal-table th, .legal-table td {
    display: block;
    width: 100%;
  }
  .legal-table thead {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
  .legal-table tr {
    margin: 0 0 .75rem;
    padding: .85rem 1rem;
    border: 1px solid rgba(20,20,20,.12);
    border-radius: 10px;
    background: rgba(20,20,20,.02);
  }
  .legal-table td {
    padding: .3rem 0 !important;
    border: none !important;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    text-align: right;
    font-size: .85rem;
  }
  .legal-table td::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: .7rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .55;
    text-align: left;
    flex-shrink: 0;
  }
  .legal-table td:first-child {
    border-bottom: 1px dashed rgba(20,20,20,.1) !important;
    padding-bottom: .55rem !important;
    margin-bottom: .35rem;
  }
  .legal-table code { font-size: .8rem; }
}

/* ===== Contact form: arkaplan yok + mobil tam genişlik ===== */
.az-form-section {
  background: transparent !important;
  color: var(--fg) !important;
}
.az-form-section::before { display: none !important; }
.az-form-header h2,
.az-form-header p,
.az-field label,
.az-form-note,
.az-challenge-text { color: var(--fg) !important; }
.az-form-card {
  background: rgba(20,20,20,.03) !important;
  border: 1px solid rgba(20,20,20,.08);
}
.az-field input,
.az-field textarea,
.az-field select {
  background: rgba(255,255,255,.85) !important;
  color: var(--fg) !important;
  border: 1px solid rgba(20,20,20,.12) !important;
}
.az-field input::placeholder,
.az-field textarea::placeholder { color: rgba(20,20,20,.4) !important; }
/* Challenge (doğrulama) — açık tema uyumlu */
.az-challenge {
  background: rgba(20,20,20,.04) !important;
  border-color: rgba(20,20,20,.1) !important;
}
.az-challenge-text,
.az-challenge-text strong { color: var(--fg) !important; }
.az-challenge input {
  background: rgba(255,255,255,.9) !important;
  color: var(--fg) !important;
  border-color: rgba(20,20,20,.15) !important;
}
.az-challenge input::placeholder { color: rgba(20,20,20,.35) !important; }
.az-form-note { color: rgba(20,20,20,.55) !important; }
@media (max-width: 640px) {
  .az-form-section {
    padding: 4em 0 !important;
  }
  .az-form-inner {
    padding: 0 .75rem !important;
    max-width: 100% !important;
  }
  .az-form-card {
    border-radius: 12px !important;
    padding: 1rem !important;
  }
  .az-form-header h2 {
    font-size: 1.6rem !important;
  }
}

/* ===== Yasal sayfa tablolari — mobil sigdirma ===== */
.legal-table-wrap { width: 100%; }
.legal-table { width: 100%; border-collapse: collapse; }
.legal-table th, .legal-table td {
  vertical-align: top;
  word-break: break-word;
}
.legal-table code { word-break: break-all; }
@media (max-width: 640px) {
  .legal-table { font-size: .72rem; }
  .legal-table th, .legal-table td {
    padding: .4rem .3rem !important;
    line-height: 1.35;
  }
  .legal-table th { font-size: .65rem; text-transform: uppercase; letter-spacing: .02em; }
  .legal-table code { font-size: .65rem; }
  /* 2. ve 3. kolonlar (Amaç & Süre) hafif daralt */
  .legal-table th:nth-child(3),
  .legal-table td:nth-child(3) { white-space: nowrap; }
}
@media (max-width: 400px) {
  .legal-table { font-size: .68rem; }
  .legal-table code { font-size: .6rem; }
  .legal-table th, .legal-table td { padding: .35rem .2rem !important; }
}

/* ===== Cookie Consent Banner ===== */
/* Lenis smooth-scroll wrapper'lari icin pozisyonu zorla — !important + max z-index + isolation */
#atazen-consent {
  position: fixed !important;
  left: 1rem !important;
  right: 1rem !important;
  bottom: 1rem !important;
  top: auto !important;
  z-index: 2147483647 !important;
  background: #0a0a0a;
  color: #edf1e8;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  padding: 1.1rem 1.4rem;
  max-width: 64rem;
  margin: 0 auto;
  font-family: "formula-narrow", "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
  animation: ac-in .35s ease-out;
  isolation: isolate;
  transform: translateZ(0);
  will-change: transform;
  pointer-events: auto;
}
#atazen-consent .ac-text,
#atazen-consent .ac-link,
#atazen-consent .ac-btn {
  font-family: "formula-narrow", "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
}
@keyframes ac-in {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
#atazen-consent .ac-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}
#atazen-consent .ac-text {
  margin: 0;
  font-size: .9rem;
  line-height: 1.5;
  flex: 1 1 22rem;
}
#atazen-consent .ac-link {
  color: #ed6a5a;
  text-decoration: underline;
  white-space: nowrap;
}
#atazen-consent .ac-actions {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
}
#atazen-consent .ac-btn {
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
#atazen-consent .ac-reject {
  background: transparent;
  color: #edf1e8;
  border-color: rgba(237,241,232,.35);
}
#atazen-consent .ac-reject:hover { border-color: #edf1e8; background: rgba(237,241,232,.06); }
#atazen-consent .ac-accept {
  background: #ed6a5a;
  color: #fff;
  border-color: #ed6a5a;
}
#atazen-consent .ac-accept:hover { background: #d85847; border-color: #d85847; }
@media (max-width: 640px) {
  #atazen-consent {
    left: .5rem !important;
    right: .5rem !important;
    bottom: .5rem !important;
    padding: .7rem .85rem !important;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,.35);
    max-width: none !important;
    width: auto !important;
    box-sizing: border-box;
  }
  #atazen-consent .ac-inner {
    flex-direction: column;
    align-items: stretch;
    gap: .55rem;
    flex-wrap: nowrap;
  }
  #atazen-consent .ac-text {
    font-size: .75rem;
    line-height: 1.35;
    flex: 0 1 auto;
    margin: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-wrap: break-word;
  }
  #atazen-consent .ac-link {
    font-size: .72rem;
    white-space: nowrap;
  }
  #atazen-consent .ac-actions {
    gap: .4rem;
    display: flex;
    width: 100%;
  }
  #atazen-consent .ac-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: .55rem .6rem;
    font-size: .76rem;
    border-radius: 8px;
    line-height: 1.2;
  }
}
@media (max-width: 380px) {
  #atazen-consent { padding: .6rem .7rem !important; }
  #atazen-consent .ac-text { font-size: .7rem; }
  #atazen-consent .ac-btn { font-size: .72rem; padding: .5rem .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  #atazen-consent { animation: none; }
}
