/* ═══════════════════════════════════════════════════════════
   OTOPOL LASTİK — STILE
   Endüstriyel, otomotiv estetiği. Charcoal + cream + signal orange.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Palet */
  --ink:       #0E0E0E;        /* Ana metin / koyu yüzey */
  --ink-2:     #1A1A1A;        /* İkincil koyu */
  --paper:    #F4EFE6;         /* Sıcak krem arka plan */
  --paper-2:   #E9E2D4;        /* Daha koyu krem */
  --line:      #D5CCB8;        /* Çizgi */
  --muted:     #6B6258;        /* Yumuşak metin */
  --accent:    #FF4A1C;        /* Sinyal turuncu — CTA */
  --accent-2:  #FFB800;        /* Sarı vurgu */
  --ok:        #1F7A3D;
  --err:       #B92C1F;

  /* Tipografi */
  --display: 'Archivo Black', 'Impact', sans-serif;
  --body:    'DM Sans', system-ui, sans-serif;
  --mono:    'JetBrains Mono', 'SF Mono', monospace;

  /* Layout */
  --container: 1240px;
  --pad-x:     clamp(16px, 4vw, 48px);
  --radius:    2px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
address { font-style: normal; }

/* Yardımcılar */
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* ——— BUTONLAR ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  transition: transform .15s ease, background .2s, color .2s;
  cursor: pointer;
}
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--block { width: 100%; justify-content: center; }
.btn--small { padding: 10px 18px; font-size: 13px; }

/* ——— ÜST EYLEM ÇUBUĞU (Mobil sticky) ——— */
.action-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  display: none;
  background: var(--ink);
  color: var(--paper);
}
.action-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  font-weight: 700;
  font-size: 14px;
  border-right: 1px solid #2a2a2a;
}
.action-bar__call { color: var(--accent); }
.action-bar__wa   { color: #25D366; border-right: none !important; }

/* ——— HEADER ——— */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -.01em;
}
.logo-mark {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: var(--ink);
  color: var(--accent);
  border-radius: 50%;
  text-align: center;
  font-size: 22px;
  line-height: 32px;
}
.header__nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}
.header__nav a {
  position: relative;
  padding: 4px 0;
}
.header__nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  transition: right .25s;
}
.header__nav a:hover::after { right: 0; }
.header__cta {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
}
.header__cta:hover { background: var(--accent); }
.header__menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.header__menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.header__menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.header__menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 8px var(--pad-x) 16px;
}
.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child {
  border-bottom: none;
  color: var(--accent);
}

/* ——— HERO ——— */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 120px) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, rgba(255,74,28,.08), transparent 50%),
    var(--paper);
}
.hero__bg-marks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__bg-marks .mark {
  position: absolute;
  font-family: var(--display);
  color: var(--ink);
  opacity: .04;
  letter-spacing: -.04em;
}
.mark--1 { top: 8%;  right: -2%;  font-size: clamp(160px, 22vw, 320px); }
.mark--2 { bottom: 22%; left: -1%; font-size: clamp(80px, 10vw, 140px); }
.mark--3 { top: 38%; left: 38%;   font-size: clamp(40px, 5vw, 70px); transform: rotate(-8deg); }

.hero__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: end;
  position: relative;
}
.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 0;
  border-top: 2px solid var(--ink);
  margin-bottom: 28px;
}
.hero__title {
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 112px);
  line-height: .95;
  letter-spacing: -.035em;
  margin-bottom: 24px;
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
  font-family: 'DM Sans', serif;
  font-weight: 700;
}
.hero__lede {
  font-size: clamp(17px, 1.6vw, 20px);
  max-width: 580px;
  margin-bottom: 36px;
  color: var(--ink-2);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.hero__trust strong { color: var(--ink); font-weight: 700; display: block; font-family: var(--mono); font-size: 15px; }

/* Hero kart */
.hero__card {
  background: var(--ink);
  color: var(--paper);
  padding: 32px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.hero__card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: var(--accent);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.hero__card-row {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px;
  margin-bottom: 24px; padding-bottom: 24px;
  border-bottom: 1px solid #2a2a2a;
}
.dot { width: 10px; height: 10px; background: #5BCC78; border-radius: 50%; box-shadow: 0 0 0 4px rgba(91,204,120,.2); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(91,204,120,.2); } 50% { box-shadow: 0 0 0 8px rgba(91,204,120,.05); } }

.hero__hours { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; font-size: 14px; margin-bottom: 24px; }
.hero__hours dt { color: #999; }
.hero__hours dd { font-family: var(--mono); }
.hero__addr { font-size: 14px; line-height: 1.6; color: #c4bfb5; margin-bottom: 20px; }
.hero__directions { font-weight: 700; color: var(--accent); font-size: 14px; }
.hero__directions:hover { color: var(--accent-2); }

/* ——— SECTION ——— */
.section { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: 64px; position: relative; }
.section__num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--accent);
  margin-bottom: 16px;
}
.section__title {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -.025em;
  margin-bottom: 20px;
}
.section__sub { font-size: 17px; color: var(--muted); max-width: 640px; }

/* ——— SERVICES ——— */
.services { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--line);
}
.service-card {
  background: var(--paper-2);
  padding: 40px 32px;
  position: relative;
  transition: background .3s;
}
.service-card:hover { background: var(--paper); }
.service-card__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 16px;
}
.service-card h3 {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -.015em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.service-card p { color: var(--muted); margin-bottom: 20px; font-size: 15px; }
.service-card__list { list-style: none; }
.service-card__list li {
  font-size: 14px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  position: relative;
  padding-left: 18px;
}
.service-card__list li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* ——— BRANDS ——— */
.brands__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.brand-tile {
  background: var(--paper);
  padding: 36px 16px;
  text-align: center;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -.01em;
  transition: all .25s;
  cursor: default;
}
.brand-tile:hover { background: var(--ink); color: var(--accent); }

/* ——— ABOUT ——— */
.about { background: var(--ink); color: var(--paper); }
.about .section__title { color: var(--paper); }
.about .section__num { color: var(--accent); }
.about__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__text p { color: #c4bfb5; margin-bottom: 20px; font-size: 17px; }
.about__metrics {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid #2a2a2a;
}
.about__metrics div { display: flex; flex-direction: column; }
.about__metrics strong {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.about__metrics span { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: .1em; }

.about__visual {
  position: relative;
  aspect-ratio: 1 / 1.1;
  background:
    repeating-linear-gradient(45deg, #1a1a1a 0 8px, transparent 8px 16px),
    var(--ink-2);
  border: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.about__quote {
  background: var(--paper);
  color: var(--ink);
  padding: 32px;
  max-width: 90%;
  position: relative;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.015em;
}
.about__quote::before {
  content: '"';
  position: absolute;
  top: -10px; left: 16px;
  font-size: 80px;
  color: var(--accent);
  line-height: 1;
}
.about__quote cite { display: block; font-family: var(--mono); font-size: 13px; font-style: normal; color: var(--muted); margin-top: 16px; }

/* ——— REVIEWS ——— */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.review {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 28px;
  transition: transform .2s;
}
.review:hover { transform: translateY(-2px); }
.review__stars { color: var(--accent-2); font-size: 18px; letter-spacing: 2px; margin-bottom: 14px; }
.review p { font-size: 15px; line-height: 1.6; margin-bottom: 16px; }
.review footer { font-size: 13px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.review footer strong { color: var(--ink); }

/* ——— FAQ ——— */
.faq { background: var(--paper-2); }
.faq__list { max-width: 880px; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -.01em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--display);
  font-size: 28px;
  color: var(--accent);
  transition: transform .25s;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-top: 16px; font-size: 16px; color: var(--ink-2); }

/* ——— CONTACT ——— */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  margin-bottom: 64px;
}
.contact__block { padding: 18px 0; border-top: 1px solid var(--line); }
.contact__block:last-child { border-bottom: 1px solid var(--line); }
.contact__label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted);
  margin-bottom: 6px;
}
.contact__value { font-size: 18px; font-weight: 500; line-height: 1.5; }
a.contact__value:hover { color: var(--accent); }

.contact__form { background: var(--ink); color: var(--paper); padding: 40px; }
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #888;
  margin-bottom: 8px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: var(--paper);
  border-radius: var(--radius);
  font-size: 15px;
  transition: border-color .2s;
}
.form-row input:focus,
.form-row textarea:focus { outline: none; border-color: var(--accent); }
.form-row textarea { resize: vertical; min-height: 100px; }

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: #999;
  margin: 16px 0 24px;
  cursor: pointer;
}
.form-consent input { margin-top: 4px; flex-shrink: 0; accent-color: var(--accent); }
.form-consent a { color: var(--accent); text-decoration: underline; }

.form-msg { padding: 14px 16px; margin-bottom: 20px; border-radius: var(--radius); font-size: 14px; }
.form-msg--ok  { background: rgba(31,122,61,.15); border: 1px solid var(--ok); color: #6BD68A; }
.form-msg--err { background: rgba(185,44,31,.15); border: 1px solid var(--err); color: #FF8C7A; }

.contact__map iframe { display: block; border-radius: var(--radius); }

/* ——— FOOTER ——— */
.footer {
  background: var(--ink);
  color: #999;
  padding: 80px 0 30px;
  border-top: 1px solid #2a2a2a;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid #2a2a2a;
}
.footer strong { color: var(--paper); display: block; margin-bottom: 16px; font-family: var(--display); font-size: 16px; }
.footer__brand .logo-mark { margin-right: 8px; vertical-align: middle; }
.footer__brand strong { display: inline; font-size: 20px; }
.footer__brand p { margin-top: 14px; max-width: 280px; font-size: 14px; }
.footer__nav a, .footer__nav span, .footer__contact a, .footer__contact address {
  display: block;
  font-size: 14px;
  padding: 4px 0;
}
.footer__nav a:hover, .footer__contact a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  font-size: 13px;
  font-family: var(--mono);
}
.footer__bottom a { margin-left: 16px; }
.footer__bottom a:hover { color: var(--accent); }

/* ——— MODAL ——— */
.modal {
  border: none;
  padding: 0;
  background: var(--paper);
  max-width: 600px;
  width: 90%;
  max-height: 86vh;
  border-radius: var(--radius);
  margin: 0;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
}
.modal::backdrop { background: rgba(14,14,14,.85); }
.modal__inner {
  position: relative;
  padding: 40px;
  max-height: 86vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal__inner h3 { font-family: var(--display); font-size: 28px; margin-bottom: 20px; letter-spacing: -.015em; }
.modal__inner p { margin-bottom: 16px; font-size: 15px; line-height: 1.65; }
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  font-size: 28px;
  line-height: 1;
}

/* ——— COOKIE BAR ——— */
.cookie-bar {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 90;
  background: var(--ink);
  color: var(--paper);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  border-radius: var(--radius);
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0,0,0,.2);
}
.cookie-bar a { color: var(--accent); text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__metrics { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  body { padding-bottom: 56px; }   /* sticky action-bar için boşluk */
  .action-bar { display: flex; }
  .header__nav, .header__cta { display: none; }
  .header__menu-toggle { display: inline-flex; }
  .header__inner { height: 64px; }
  .mobile-menu.is-open { display: block; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .hero__title { font-size: clamp(40px, 12vw, 72px); }
  .section__title { font-size: clamp(32px, 8vw, 48px); }
  .hero__card { padding: 24px; }
  .contact__form { padding: 28px 22px; }
  .modal {
    width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
  }
  .modal__inner {
    padding: 28px 22px;
    max-height: calc(100vh - 24px);
  }
}

@media (max-width: 480px) {
  .about__metrics { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero__trust { flex-direction: column; gap: 14px; }
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  .service-card, .review, .brand-tile {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp .6s ease forwards;
  }
  .service-card:nth-child(1) { animation-delay: .05s; }
  .service-card:nth-child(2) { animation-delay: .1s; }
  .service-card:nth-child(3) { animation-delay: .15s; }
  .service-card:nth-child(4) { animation-delay: .2s; }
  .service-card:nth-child(5) { animation-delay: .25s; }
  .service-card:nth-child(6) { animation-delay: .3s; }
  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ═══════════════════════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════════════════════ */
@media print {
  .header, .action-bar, .cookie-bar, .hero__card, .contact__form, .contact__map { display: none; }
  body { background: #fff; color: #000; }
}
