/* ============================================================
   OTO SAH OTOMOTİV — style.css (açık / sade tema)
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --bg-card: #ffffff;
  --border: #e3e6ea;
  --text: #1c222b;
  --text-dim: #5c6673;
  --accent: #c62b23;
  --accent-hover: #a9241d;
  --accent-soft: #fdf0ef;
  --green: #25d366;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, .07);
  --shadow-md: 0 6px 20px rgba(16, 24, 40, .09);
  --font-display: "Saira Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

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

img, svg, iframe { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1140px; margin-inline: auto; padding-inline: 20px; }
.container-narrow { max-width: 820px; }

h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: .3px; line-height: 1.15; color: var(--text); }

.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-kicker {
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 14px; }
.section-head p { color: var(--text-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-md); }
.btn-outline {
  background: #fff;
  color: var(--text);
  border: 1.5px solid #cfd5dc;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: #111; }
.btn-whatsapp { background: var(--green); color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none !important;
  color: var(--text);
}
.logo-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 8px;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1;
  display: flex; flex-direction: column;
}
.logo-text small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .58rem;
  letter-spacing: 2.5px;
  color: var(--text-dim);
}
.nav { display: flex; gap: 26px; }
.nav a {
  color: var(--text-dim);
  font-size: .92rem;
  font-weight: 500;
  transition: color .15s;
}
.nav a:hover { color: var(--accent); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-phone { padding: 10px 18px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle span {
  width: 24px; height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: var(--accent-soft);
}
.hero::after {
  content: "";
  position: absolute;
  right: 60px;
  bottom: -180px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 40px solid #eceef1;
}
.hero-content { position: relative; max-width: 780px; z-index: 1; }
.hero-badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: .86rem;
  font-weight: 500;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.hero-badge strong { color: var(--accent); font-weight: 700; }
.hero h1 {
  font-size: clamp(2.3rem, 6vw, 3.9rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--accent); }
.hero-sub {
  font-size: 1.08rem;
  color: var(--text-dim);
  max-width: 600px;
  margin-bottom: 30px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 28px; }
.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--text-dim);
  font-size: .88rem;
}
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust .tick {
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Trust bar ---------- */
.trustbar {
  background: var(--accent);
}
.trustbar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-block: 24px;
}
.trust-item { text-align: center; color: #fff; }
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.15;
}
.trust-item span { font-size: .84rem; opacity: .92; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d9dee4;
}
.service-icon {
  font-size: 1.6rem;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  border-radius: 10px;
  margin-bottom: 14px;
}
.service-card h3 { font-size: 1.22rem; margin-bottom: 8px; text-transform: uppercase; }
.service-card p { color: var(--text-dim); font-size: .92rem; }
.services-note {
  margin-top: 34px;
  text-align: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--text-dim);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
}
.about-text h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 18px; }
.about-text p { color: var(--text-dim); margin-bottom: 14px; }
.about-list { list-style: none; margin-top: 18px; }
.about-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 9px;
  color: var(--text);
}
.about-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
}
.about-visual { position: relative; }
.about-photo {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  display: block;
}
.year-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-md);
}
.year-num { font-family: var(--font-display); font-size: 2.7rem; font-weight: 800; line-height: 1; }
.year-label { font-size: .76rem; font-weight: 700; letter-spacing: 1.5px; line-height: 1.3; }
.timeline { display: flex; flex-direction: column; border-left: 2px solid var(--border); padding-left: 24px; }
.timeline-item { position: relative; padding-bottom: 22px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -31px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.timeline-item strong {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--accent);
  display: block;
}
.timeline-item span { color: var(--text-dim); font-size: .93rem; }

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.why-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-card p { color: var(--text-dim); font-size: .92rem; }

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stars { color: #f0a500; letter-spacing: 3px; }
.review-card p { color: var(--text-dim); }
.review-card footer { color: var(--text); font-weight: 600; font-size: .88rem; }
.review-card footer small { display: block; color: var(--text-dim); font-weight: 400; }

.gbp-cta {
  margin-top: 42px;
  text-align: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
}
.gbp-cta h3 { font-size: 1.35rem; text-transform: uppercase; margin-bottom: 8px; }
.gbp-cta p { color: var(--text-dim); max-width: 560px; margin: 0 auto 20px; font-size: .94rem; }
.gbp-cta .btn { margin: 4px; }

/* ---------- FAQ ---------- */
.faq {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  padding: 17px 22px;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: .3px;
  list-style: none;
  position: relative;
  user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px; top: 50%;
  translate: 0 -50%;
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 400;
  transition: rotate .2s;
}
.faq[open] summary::after { rotate: 45deg; }
.faq p { padding: 0 22px 18px; color: var(--text-dim); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}
address { font-style: normal; }
.contact-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--text-dim);
}
.contact-ico {
  font-size: 1.25rem;
  width: 46px; height: 46px;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--accent-soft);
  border-radius: 10px;
}
.contact-row strong { display: block; color: var(--text); margin-bottom: 3px; }

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h3 { font-size: 1.35rem; margin-bottom: 18px; }
.contact-form-wrap label {
  display: block;
  font-size: .87rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text-dim);
}
.contact-form-wrap input,
.contact-form-wrap textarea {
  width: 100%;
  margin-top: 5px;
  padding: 11px 13px;
  border-radius: 8px;
  border: 1px solid #cfd5dc;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .15s;
}
.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-note { margin-top: 12px; font-size: .82rem; color: var(--text-dim); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  line-height: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--accent);
  padding: 52px 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-band h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); color: #fff; margin-bottom: 8px; text-transform: uppercase; }
.cta-band p { color: rgba(255,255,255,.9); }
.cta-band-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.cta-band-actions .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.cta-band-actions .btn-outline:hover { border-color: #fff; color: #fff; }

/* ---------- Footer ---------- */
.footer {
  background: #171c23;
  padding-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr;
  gap: 38px;
  padding-bottom: 44px;
}
.logo-footer { color: #fff; margin-bottom: 14px; }
.logo-footer .logo-text small { color: #98a2b0; }
.footer-col p, .footer-col li { color: #aab3bf; font-size: .9rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #dfe4ea; }
.footer-col h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid #2a3038;
  padding-block: 20px;
  text-align: center;
  color: #8a93a0;
  font-size: .85rem;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  transition: transform .18s ease;
}
.wa-float svg { width: 29px; height: 29px; }
.wa-float:hover { transform: scale(1.07); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .trustbar-grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 22px 24px;
    gap: 18px;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .nav.open { display: flex; }
  .menu-toggle { display: flex; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .btn-phone { display: none; }
  .hero { min-height: auto; padding: 130px 0 70px; }
  .hero::before, .hero::after { display: none; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band-inner { flex-direction: column; text-align: center; }
}
