/* ═══════════════════════════════════════
   KARATAY — ORTAK STİL SİSTEMİ
   ═══════════════════════════════════════ */

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

:root {
  --red: #EB0000;
  --red-dark: #C40000;
  --black: #000000;
  --gray-900: #1A1A1A;
  --gray-700: #444444;
  --gray-500: #767676;
  --gray-300: #CCCCCC;
  --gray-100: #F5F5F5;
  --white: #FFFFFF;
  --font: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --max: 1280px;
  --nav-h: 64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── KIRMIZI ŞERİT ── */
.nav-top {
  background: var(--red);
  height: 4px;
}

/* ── NAV ── */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}

nav.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-box {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}
@media (min-width: 769px) {
  .logo-text { display: none !important; }
}

.logo-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  padding-left: 14px;
  letter-spacing: -0.01em;
  border-left: 1px solid var(--gray-300);
  margin-left: 14px;
  line-height: 1.2;
}

.logo-sub {
  font-size: 10px;
  font-weight: 400;
  color: var(--gray-500);
  display: block;
  letter-spacing: 0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-menu li a {
  display: block;
  padding: 0 20px;
  height: var(--nav-h);
  line-height: var(--nav-h);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--black);
  border-bottom-color: var(--red);
}

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  height: auto !important;
  line-height: 1 !important;
  border-bottom: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: background 0.15s !important;
}

.nav-cta:hover { background: var(--red-dark) !important; }

/* ── FOOTER ── */
footer {
  background: var(--black);
  border-top: 4px solid var(--red);
}

.footer-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 40px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-logo-box {
  display: block;
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  max-width: 240px;
  font-weight: 300;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  transition: color 0.15s;
}

.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ── ORTAK BUTONLAR ── */
.btn-red {
  background: var(--red);
  color: var(--white);
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
}

.btn-red:hover { background: var(--red-dark); }
.btn-red svg { transition: transform 0.15s; }
.btn-red:hover svg { transform: translateX(3px); }

.btn-outline {
  border: 1.5px solid var(--gray-300);
  color: var(--gray-700);
  padding: 11px 24px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.15s, color 0.15s;
  cursor: pointer;
  background: none;
}

.btn-outline:hover { border-color: var(--black); color: var(--black); }

/* ── WRAP ── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

/* ── SECTION HEAD ── */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--black);
}

.sec-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sec-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.sec-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: gap 0.15s;
}

.sec-link:hover { gap: 10px; }

/* ── BREADCRUMB ── */
.breadcrumb {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-500);
  border-bottom: 1px solid var(--gray-100);
}

.breadcrumb a {
  color: var(--gray-500);
  transition: color 0.15s;
}

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

.breadcrumb-sep { color: var(--gray-300); }
.breadcrumb-current { color: var(--black); font-weight: 500; }

/* ── SAYFA BAŞLIĞI ── */
.page-hero {
  background: var(--black);
  padding: 72px 40px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 40%;
  background: linear-gradient(to right, transparent, rgba(235,0,0,0.06));
  pointer-events: none;
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero .sec-label { color: var(--red); }

.page-hero h1 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-top: 8px;
  max-width: 700px;
}

.page-hero p {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  margin-top: 16px;
  max-width: 520px;
  line-height: 1.6;
}

/* ── MOTION SİSTEMİ ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-child { opacity: 1 !important; transform: none !important; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-child {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.in-view,
.reveal-child.in-view { opacity: 1; transform: translateY(0); }

.reveal-child:nth-child(1) { transition-delay: 0ms; }
.reveal-child:nth-child(2) { transition-delay: 80ms; }
.reveal-child:nth-child(3) { transition-delay: 160ms; }
.reveal-child:nth-child(4) { transition-delay: 240ms; }
.reveal-child:nth-child(5) { transition-delay: 320ms; }
.reveal-child:nth-child(6) { transition-delay: 400ms; }

/* ── KATEGORİ ETİKETİ ── */
.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid rgba(235,0,0,0.25);
  background: rgba(235,0,0,0.04);
}

/* ── Hamburger — masaüstünde gizli ── */
.nav-hamburger { display: none; }
@media (min-width: 769px) {
  .nav-hamburger { display: none !important; }
}
