/* ============================================================
   CLAVE GLOBAL — Token-Based Design System
   Renk: Siyah #000 + Beyaz #fff + Aksan #00ffb0
   ============================================================ */

:root {
  /* Core Colors */
  --c-black: #000000;
  --c-white: #ffffff;
  --c-accent: #00ffb0;
  --c-accent-dark: #00cc8d;
  --c-accent-dim: rgba(0, 255, 176, 0.15);

  /* Gray Scale */
  --c-gray-50: #fafafa;
  --c-gray-100: #f5f5f5;
  --c-gray-200: #e8e8e8;
  --c-gray-300: #d0d0d0;
  --c-gray-500: #888888;
  --c-gray-700: #444444;
  --c-gray-800: #1a1a1a;
  --c-gray-900: #0a0a0a;

  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-display: 'Poppins', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-5xl: 3.5rem;
  --text-6xl: 5rem;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Layout */
  --container-max: 1400px;
  --header-height: 72px;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.18);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.24);
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: var(--c-white);
  color: var(--c-black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

input,
select,
textarea {
  font-family: inherit;
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 32px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--c-black);
  color: var(--c-white);
  border: 2px solid var(--c-black);
}

.btn-primary:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-black);
}

.btn-outline {
  background: transparent;
  color: var(--c-black);
  border: 2px solid var(--c-black);
}

.btn-outline:hover {
  background: var(--c-black);
  color: var(--c-white);
}

.btn-accent {
  background: var(--c-accent);
  color: var(--c-black);
  border: 2px solid var(--c-accent);
}

.btn-accent:hover {
  background: var(--c-accent-dark);
  border-color: var(--c-accent-dark);
}

/* ── Section Titles ── */
.section-title {
  text-align: center;
  margin-bottom: var(--space-10);
}

.section-title h2 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.section-title p {
  margin-top: var(--space-3);
  color: var(--c-gray-500);
  font-size: var(--text-base);
}

/* ── Page Banner (alt sayfalar — SADECE GÖRSEL, YAZI YOK) ── */
.page-banner {
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 768px) {
  .page-banner {
    height: 220px;
  }
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--c-gray-500);
  padding: var(--space-5) 0;
}

.breadcrumb a:hover {
  color: var(--c-black);
}

.breadcrumb-sep {
  color: var(--c-gray-300);
}

/* ── Utility ── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.text-center {
  text-align: center;
}

.mt-auto {
  margin-top: auto;
}

/* ALIAS FOR OLD CSS VARIABLES */
:root {
  --color-bg: var(--c-white);
  --color-bg-secondary: var(--c-gray-100);
  --color-text-primary: var(--c-black);
  --color-text-muted: var(--c-gray-500);
  --color-text-on-dark: var(--c-white);
  --color-error: #dc2626;
  --color-primary-hover: var(--c-accent-dark);
  --color-primary: var(--c-accent);
  --color-border: var(--c-gray-200);
  --duration-fast: 0.2s;
  --duration-base: 0.3s;
  --duration-slow: 0.5s;
  --ease-default: ease;
  --font-regular: 400;
  --font-medium: 500;
  --font-bold: 700;
}

/* ── Scroll To Top Button ── */
.scroll-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--c-black);
  color: var(--c-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--c-accent);
  color: var(--c-black);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 255, 176, 0.3);
}

.scroll-to-top svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.scroll-to-top:hover svg {
  transform: translateY(-2px);
}