@import url('fonts/archivo.css');

/* ==========================================================================
   Şen Oto - tek sayfa tanıtım sitesi
   Tema: koyu (sayfa geneli tek tema). Vurgu rengi: logodaki kırmızı.
   Köşe sistemi: butonlar tam yuvarlak, kartlar 14px, küçük etiketler 10px.
   ========================================================================== */

:root {
  --bg: #0b0c0e;
  --surface: #121418;
  --surface-2: #171a1f;
  --border: #24282e;
  --border-soft: #1c2025;

  --text: #edeef0;
  --muted: #9aa0a8;
  --faint: #6b717a;

  /* Logodan ornekledigim bordo. Dolgu icin koyu ton, koyu zeminde
     okunmasi gereken ikon ve vurgular icin logonun parlak tonu. */
  --accent: #8e1626;
  --accent-hover: #a81c2e;
  --accent-soft: #c23f54;
  --accent-tint: rgba(142, 22, 38, 0.14);

  --chrome: linear-gradient(180deg, #f4f6f8 0%, #c3c9d0 42%, #8b929b 52%, #e8ebee 100%);

  --r-card: 14px;
  --r-chip: 10px;
  --r-pill: 999px;

  --shell: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 20px;
}

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex: none;
}

/* ------------------------------- Tipografi ------------------------------- */

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.06;
}

h2 {
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
}

h3 {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

p { margin: 0; }

.lede {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.65;
  max-width: 54ch;
}

.chrome-text {
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -------------------------------- Butonlar ------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  padding: 13px 24px;
  font: inherit;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
              transform 0.12s var(--ease), color 0.2s var(--ease);
}

.btn .icon { font-size: 1.15em; }

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: #3a4048; background: var(--surface-2); }

.btn-wa {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text);
}
.btn-wa:hover { background: var(--surface); border-color: var(--accent); color: var(--accent-soft); }

.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

/* ------------------------------- Navigasyon ------------------------------ */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(11, 12, 14, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
}

@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.brand span {
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: 0.14em;
}

.brand span b {
  color: var(--accent-soft);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a { transition: color 0.18s var(--ease); }
.nav-links a:hover { color: var(--text); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-inner { gap: 14px; }
}

/* --------------------------------- Hero ---------------------------------- */

.hero {
  position: relative;
  min-height: min(700px, calc(100dvh - 68px));
  display: flex;
  align-items: center;
  padding-block: 40px 72px;
  overflow: hidden;
  background: #000;
}

/* Hero arka plani dumduz siyah tutuluyor. Logo dosyasinin zemini de siyah
   oldugu icin ustune gradyan koyunca goruntunun kenari kutu gibi belli
   oluyordu. Renk zaten logonun kendisinden geliyor. */

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  align-items: center;
  gap: 56px;
  width: 100%;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.09;
  padding-bottom: 2px;
  max-width: 18ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-soft);
}

.hero .lede { margin-top: 22px; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-art {
  position: relative;
  justify-self: center;
}

.hero-art img {
  /* Logo dosyasi duz siyah zeminli; hero arka plani da #000 oldugu icin
     goruntunun kenari belli olmuyor. Harman veya maske gerekmiyor. */
  width: min(520px, 88vw);
  height: auto;
}

@media (max-width: 900px) {
  .hero { min-height: auto; padding-block: 48px 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; }
  .hero-art img { width: min(380px, 84vw); }
  .hero h1 { max-width: none; }
}

/* ------------------------------- Bölümler -------------------------------- */

.section { padding-block: clamp(72px, 10vw, 128px); }

.section-head { max-width: 60ch; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .lede { margin-top: 16px; }

.rule {
  height: 1px;
  background: var(--border-soft);
  border: 0;
  margin: 0;
}

/* ------------------------------- Hizmetler ------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cell {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: 26px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.cell:hover { border-color: #363c44; background: var(--surface-2); }

.cell.wide { grid-column: span 2; }

.cell.tinted {
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(142, 22, 38, 0.30), transparent 62%),
    var(--surface);
}

.cell.steel {
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(155, 170, 190, 0.14), transparent 60%),
    var(--surface);
}

.cell .icon {
  font-size: 30px;
  color: var(--accent-soft);
  margin-bottom: auto;
}

.cell.steel .icon { color: #b6c0cd; }

.cell p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell.wide { grid-column: span 2; }
}

@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .cell.wide { grid-column: span 1; }
  .cell { min-height: 0; padding: 22px; }
}

/* ----------------------------- Kayıt sistemi ----------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  padding-block: 10px;
}

.phones img {
  width: 46%;
  max-width: 240px;
  height: auto;
  border-radius: 20px;
  border: 1px solid #2b3038;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.62);
}

.phones img:first-child {
  transform: rotate(-4deg) translateY(14px);
  z-index: 1;
}

.phones img:last-child {
  transform: rotate(4deg);
  margin-left: -13%;
}

.tick-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 0.98rem;
}

.tick-list .icon {
  font-size: 17px;
  color: var(--accent-soft);
  margin-top: 4px;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .phones { order: -1; }
}

/* --------------------------------- Neden --------------------------------- */

.why {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.why-cta { margin-top: 28px; }

.why-list { display: grid; }

.why-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 20px;
  padding-block: 26px;
  border-top: 1px solid var(--border-soft);
}

.why-item:last-child { border-bottom: 1px solid var(--border-soft); }

.why-item .icon {
  font-size: 24px;
  color: var(--accent-soft);
  margin-top: 2px;
}

.why-item p {
  color: var(--muted);
  margin-top: 7px;
  font-size: 0.96rem;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .why { grid-template-columns: 1fr; }
}

/* -------------------------------- İletişim ------------------------------- */

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.info { display: grid; gap: 26px; }

.info-row { display: flex; gap: 14px; align-items: flex-start; }

.info-row .icon {
  font-size: 21px;
  color: var(--accent-soft);
  margin-top: 3px;
}

.info-label {
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.info-value {
  font-size: 1.02rem;
  font-weight: 600;
  margin-top: 2px;
}

.info-value a:hover { color: var(--accent-soft); }

.info-note { color: var(--faint); font-size: 0.86rem; margin-top: 3px; }

.contact-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

.map {
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  aspect-ratio: 16 / 11;
}

.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.35) contrast(1.05); }

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.18s var(--ease);
}

.map-link .icon { font-size: 1em; }
.map-link:hover { color: var(--accent-soft); }

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
  .map { aspect-ratio: 4 / 3; }
}

/* --------------------------------- Footer -------------------------------- */

.footer {
  border-top: 1px solid var(--border-soft);
  padding-block: 34px 40px;
  color: var(--faint);
  font-size: 0.86rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
}

.footer .brand { margin-right: auto; }
.footer .brand span { font-size: 0.92rem; }

/* -------------------- Sabit WhatsApp / Instagram butonlari ---------------- */

.floats {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float {
  width: 52px;
  height: 52px;
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: #c6ccd4;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  transition: transform 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.float .icon { font-size: 25px; }

.float:hover {
  color: var(--accent-soft);
  border-color: var(--accent);
  background: var(--surface);
}

.float:active { transform: scale(0.94); }

@media (max-width: 560px) {
  .floats { right: 14px; bottom: 14px; gap: 10px; }
  .float { width: 48px; height: 48px; }
  .float .icon { font-size: 24px; }
}

/* ------------------------------- Hareket --------------------------------- */

/* Gizleme yalnizca JS calisirken. Aksi halde icerik oldugu gibi gorunur. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .cell, .float, .nav-links a { transition: none; }
}
