@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;500;600&display=swap');

/*
 * Genel site (ana sayfa, başvuru formu, hukuki sayfalar, destek) — açık tema.
 * `--font-sans`/`--font-display` ve renk token'ları burada tanımlanır;
 */

:root {
  --font-sans: 'Inter', ui-sans-serif, -apple-system, "SF Pro Text", system-ui, sans-serif;
  --font-display: 'Outfit', var(--font-sans);

  --bg: #f9fafb;
  --panel: #ffffff;
  --panel-2: #f1f5f9;
  --line: #e2e8f0;
  --text: #0a1b33;
  --muted: #64748b;
  --ink: #0a152d;
  --accent: #2563eb;
  --accent-dim: #dbeafe;
  --on-accent: #ffffff;
  --warn: #b45309;
  --error: #dc2626;
  --error-bg: #fef2f2;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
}

a {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---- Üst menü ---- */

.siteHeader {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(249, 250, 251, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.siteHeaderInner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.siteLogo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.siteNav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
}

.siteNav a {
  color: var(--muted);
  text-decoration: none;
}

.siteNav a:hover {
  color: var(--text);
}

.siteNav .siteNavCta {
  color: var(--on-accent);
  background: var(--ink);
  padding: 8px 18px;
  border-radius: 999px;
}

.siteNav .siteNavCta:hover {
  color: var(--on-accent);
  opacity: 0.9;
}

/* ---- Sayfa gövdesi (page.php içindeki genel sayfalar: hukuki metinler, destek) ---- */

.sitePage {
  max-width: 760px;
  margin: 40px auto 80px;
  padding: 40px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

@media (min-width: 768px) {
  .sitePage {
    padding: 56px 64px;
  }
}

.sitePage h1 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 12px;
}

@media (min-width: 768px) {
  .sitePage h1 {
    font-size: 34px;
  }
}

.sitePage h2 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 40px 0 14px;
}

.sitePage h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin: 24px 0 10px;
}

.sitePage p {
  color: var(--muted);
  margin: 0 0 16px;
}

.sitePage ul,
.sitePage ol {
  color: var(--muted);
  padding-left: 22px;
  margin: 0 0 16px;
}

.sitePage li {
  margin-bottom: 6px;
}

.sitePage li p {
  margin: 0;
}

.sitePage strong {
  color: var(--text);
  font-weight: 600;
}

.sitePage code {
  background: var(--panel-2);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.9em;
  color: var(--ink);
}

.sitePage table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: 14px;
}

.sitePage th,
.sitePage td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}

.sitePage th {
  background: var(--panel-2);
  font-weight: 600;
  color: var(--text);
}

.sitePage tbody tr:nth-child(even) {
  background: var(--panel-2);
}

/* ---- Alt bilgi ---- */

.siteFooter {
  border-top: 1px solid var(--line);
  margin-top: 64px;
}

.siteFooterInner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.siteFooterLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.siteFooterLinks a {
  color: var(--muted);
  text-decoration: none;
}

.siteFooterLinks a:hover {
  color: var(--text);
}

.siteFooterMeta a {
  color: var(--muted);
}

/* ---- Ana sayfa: hero kartı ---- */

.heroWrap {
  max-width: 1400px;
  margin: 40px auto 0;
  padding: 0 24px;
}

.heroCard {
  position: relative;
  width: 100%;
  min-height: 600px;
  border-radius: 48px;
  background: var(--panel);
  border: 1px solid rgba(226, 232, 240, 0.6);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.heroBg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.heroBgGrid {
  position: absolute;
  inset: -20% -20%;
  background-image: radial-gradient(circle, rgba(37, 99, 235, 0.14) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  animation: heroGridDrift 40s linear infinite;
}

.heroBgGlow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}

.heroBgGlow--a {
  top: -140px;
  right: -100px;
  background: radial-gradient(circle, #93c5fd, transparent 70%);
  animation: heroGlowFloatA 16s ease-in-out infinite;
}

.heroBgGlow--b {
  bottom: -160px;
  left: 10%;
  background: radial-gradient(circle, #bbf7d0, transparent 70%);
  animation: heroGlowFloatB 20s ease-in-out infinite;
}

@keyframes heroGridDrift {
  from { transform: translate(0, 0); }
  to { transform: translate(28px, 28px); }
}

@keyframes heroGlowFloatA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 30px) scale(1.08); }
}

@keyframes heroGlowFloatB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.05); }
}

/* ---- Ana sayfa: izometrik otopark ızgarası + araç ---- */

.heroParkScene {
  position: absolute;
  z-index: 1;
  right: 2%;
  top: 14%;
  width: 60%;
  height: 78%;
  max-width: 560px;
  pointer-events: none;
}

.heroParkSvg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 30px 40px rgba(10, 21, 45, 0.1));
}

.heroParkCarBob {
  animation: heroParkBob 3.2s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

@keyframes heroParkBob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .heroParkCarBob {
    animation: none;
  }
}

@media (max-width: 900px) {
  .heroParkScene {
    display: none;
  }
}

.heroContent {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 48px 32px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

@media (min-width: 768px) {
  .heroContent {
    padding: 64px 64px 0;
  }
}

.heroTitle {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--text);
  margin: 0 0 20px;
}

@media (min-width: 768px) {
  .heroTitle {
    font-size: 56px;
  }
}

.heroSubtitle {
  font-size: 14px;
  color: var(--muted);
  max-width: 420px;
  margin: 0 0 28px;
}

@media (min-width: 768px) {
  .heroSubtitle {
    font-size: 15px;
  }
}

.heroContactBtn {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.heroContactBtn:hover {
  transform: scale(1.04);
  opacity: 0.92;
}

.heroNavWrap {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0;
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

.heroNav {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  padding: 6px;
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.5);
}

.heroNavLogo {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

.heroNav a {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 150ms ease;
}

.heroNav a:hover {
  color: var(--text);
}

.heroNav a.heroNavCta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  padding: 8px 20px;
  color: var(--text);
  border: 1px solid rgba(226, 232, 240, 0.7);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: border-color 150ms ease, transform 150ms ease;
}

.heroNav a.heroNavCta:hover {
  color: var(--text);
  border-color: #cbd5e1;
  transform: translateX(1px);
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .heroContent,
  .heroNavWrap {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .heroBgGrid,
  .heroBgGlow--a,
  .heroBgGlow--b {
    animation: none;
  }
}

@media (max-width: 640px) {
  /* Dar ekranda dip menü üst menüyle çakışıp taşıyor; aynı bağlantılar
     zaten sticky üst menüde var, dip menüyü burada göstermiyoruz. */
  .heroNavWrap {
    display: none;
  }
  .heroCard {
    min-height: 460px;
  }
}

/* ---- Marquee şeridi ---- */

.marqueeSection {
  margin-top: 40px;
  padding: 0 24px;
}

.marqueeMask {
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.marqueeTrack {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marqueeScroll 34s linear infinite;
}

.marqueeMask:hover .marqueeTrack {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.marqueeChip {
  position: relative;
  height: 72px;
  min-width: 230px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid rgba(226, 232, 240, 0.7);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: border-color 200ms ease;
}

.marqueeChip:hover {
  border-color: #cbd5e1;
}

.marqueeChipGlow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, var(--accent-dim), transparent 70%);
  opacity: 0;
  transform: scale(1.4);
  transition: opacity 250ms ease, transform 250ms ease;
}

.marqueeChip:hover .marqueeChipGlow {
  opacity: 1;
  transform: scale(1);
}

.marqueeChip svg {
  position: relative;
  z-index: 1;
  color: var(--accent);
  flex-shrink: 0;
}

.marqueeChip span {
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .marqueeTrack {
    animation: none;
  }
}

/* ---- Ana sayfa: özellikler + CTA ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, opacity 150ms ease, border-color 150ms ease;
}

.btnPrimary {
  background: var(--ink);
  color: #ffffff;
}

.btnPrimary:hover {
  transform: scale(1.03);
  opacity: 0.92;
}

.btnSecondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btnSecondary:hover {
  border-color: #cbd5e1;
}

.features {
  max-width: 1080px;
  margin: 0 auto;
  padding: 88px 24px 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  scroll-margin-top: 96px;
}

@media (max-width: 768px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.featureCard {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.featureCard .featureIcon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.featureCard h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

.featureCard p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.ctaBand {
  background: var(--panel-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ctaBandInner {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
}

.ctaBandInner h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.ctaBandInner p {
  color: var(--muted);
  margin: 0 0 28px;
}
