/* Borcar Dizel Enjektör ve Pompa Servisi - ana stil dosyası */

:root {
  --color-bg: #14171b;
  --color-bg-alt: #1b1f24;
  --color-surface: #22262c;
  --color-surface-2: #262b32;
  --color-border: #33383f;
  --color-text: #f2f3f5;
  --color-text-muted: #a7adb6;
  --color-accent: #f5a623;
  --color-accent-dark: #cf8a15;
  --color-accent-2: #4f9bd6;
  --color-accent-2-dark: #3a7cb0;
  --color-success: #2e9e5b;
  --color-danger: #d9534f;
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;
  --radius-lg: 18px;
  --container-w: 1160px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.25);
  --shadow-md: 0 10px 26px rgba(0,0,0,.35);
  --shadow-lg: 0 20px 46px rgba(0,0,0,.45);
  --gradient-surface: linear-gradient(160deg, var(--color-surface-2) 0%, var(--color-surface) 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  --gradient-hero: radial-gradient(circle at 15% 20%, rgba(245,166,35,.10) 0%, transparent 45%),
                   radial-gradient(circle at 85% 80%, rgba(79,155,214,.10) 0%, transparent 45%),
                   linear-gradient(135deg, #1b1f24 0%, #14171b 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: #fff; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
p { margin: 0 0 1em; }

/* Reusable inline icon */
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -.15em;
  stroke: currentColor;
  fill: none;
}
.icon-lg { width: 28px; height: 28px; }

/* Eyebrow / section kicker */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--color-accent);
  display: inline-block;
}

/* Section texture (dot grid) */
.section--textured {
  position: relative;
  overflow: hidden;
}
.section--textured::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 85%);
  pointer-events: none;
}
.section--textured > .container { position: relative; z-index: 1; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-accent);
  color: #14171b;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--accent { background: var(--gradient-accent); color: #14171b; box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: var(--color-accent-dark); box-shadow: var(--shadow-md); }
.btn--outline { border-color: var(--color-accent); color: var(--color-accent); background: transparent; }
.btn--outline:hover { background: var(--color-accent); color: #14171b; }
.btn--call { background: var(--gradient-accent); color: #14171b; padding: 10px 18px; }
.btn--whatsapp { background: #2e9e5b; color: #fff; box-shadow: var(--shadow-sm); }
.btn--whatsapp:hover { background: #268650; box-shadow: var(--shadow-md); }
.btn--block { display: flex; width: 100%; text-align: center; justify-content: center; }

/* Header */
.site-header {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 500;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand__logo { width: 160px; height: auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle__bar {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--color-text);
  font-weight: 600;
  font-size: .95rem;
}
.site-nav a.is-active,
.site-nav a:hover { color: var(--color-accent); }

/* Breadcrumb */
.breadcrumb-bar {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  font-size: .85rem;
}
.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 10px 0;
  color: var(--color-text-muted);
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--color-text-muted);
}

/* Hero */
.hero {
  background: var(--gradient-hero);
  padding: 72px 0;
  border-bottom: 4px solid var(--color-accent);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 60px solid rgba(245,166,35,.05);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}
.hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: .8rem;
  color: var(--color-text-muted);
}
.hero__badges .icon { color: var(--color-accent); }
.hero__panel {
  background: var(--gradient-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(245,166,35,.35), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hero__panel h2 { color: var(--color-accent); font-size: 1.1rem; }

/* Sections */
.section { padding: 56px 0; }
.section--alt { background: var(--color-bg-alt); }
.section__head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section__head p { color: var(--color-text-muted); }

/* Cards / grids */
.grid {
  display: grid;
  gap: 24px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--gradient-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 24px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card h3, .card .card__title { color: var(--color-accent); font-size: 1.1rem; margin: 0 0 .6em; }
.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(245,166,35,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-accent);
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card--link {
  display: block;
  color: inherit;
}
.card--link:hover,
.card:hover {
  text-decoration: none;
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

/* Alternate accent (secondary color) for every other card in a grid */
.grid--3 .card:nth-child(2n),
.grid--4 .card:nth-child(3n) {
  border-top-color: var(--color-accent-2);
}
.grid--3 .card:nth-child(2n) .card__icon,
.grid--4 .card:nth-child(3n) .card__icon {
  background: rgba(79,155,214,.14);
  color: var(--color-accent-2);
}
.grid--3 .card:nth-child(2n) h3,
.grid--4 .card:nth-child(3n) h3,
.grid--3 .card:nth-child(2n) .card__title,
.grid--4 .card:nth-child(3n) .card__title {
  color: var(--color-accent-2);
}

/* Service areas */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  justify-content: center;
}
.area-tags li {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: 8px 16px;
  border-radius: 20px;
}

/* Gallery placeholders */
.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background:
    radial-gradient(circle at 20% 15%, rgba(245,166,35,.14) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(79,155,214,.12) 0%, transparent 45%),
    var(--gradient-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-muted);
  padding: 20px;
  font-size: .9rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.gallery-item .icon {
  width: 40px;
  height: 40px;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.gallery-item strong {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 6px;
}
.gallery-item span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-accent);
  background: rgba(245,166,35,.1);
  border: 1px solid rgba(245,166,35,.3);
  padding: 4px 10px;
  border-radius: 20px;
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.process-steps li {
  position: relative;
  background: var(--gradient-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 20px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.process-steps .step__num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #14171b;
  font-weight: 800;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.process-steps .icon {
  width: 32px; height: 32px;
  color: var(--color-accent);
  margin: 10px auto 12px;
}
.process-steps h3 { font-size: 1rem; margin-bottom: 6px; }
.process-steps p { color: var(--color-text-muted); font-size: .85rem; margin: 0; }
.process-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  width: 20px;
  height: 2px;
  background: var(--color-border);
  display: none;
}
@media (min-width: 901px) {
  .process-steps li:not(:last-child)::after { display: block; }
}

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.stats-strip li {
  text-align: center;
  padding: 22px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}
.stats-strip .icon {
  width: 30px; height: 30px;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.stats-strip strong {
  display: block;
  font-size: 1.3rem;
  color: #fff;
  font-weight: 800;
}
.stats-strip span {
  color: var(--color-text-muted);
  font-size: .85rem;
}

/* Table (hours) */
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dashed var(--color-border);
  color: var(--color-text-muted);
  font-size: .9rem;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--color-surface);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--color-accent);
  font-size: 1.4rem;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer {
  padding: 0 20px 18px;
  color: var(--color-text-muted);
}

/* Forms */
.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}
.form-grid .field--full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: .9rem;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--color-accent);
}
.field-hint { font-size: .8rem; color: var(--color-text-muted); }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 600;
}
.alert--success { background: rgba(46,158,91,.15); border: 1px solid var(--color-success); color: #7fd8a0; }
.alert--error { background: rgba(217,83,79,.15); border: 1px solid var(--color-danger); color: #f2a6a4; }

/* Map */
.map-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 48px 0 0;
  margin-top: 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-bottom: 30px;
}
.footer__col h2 {
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-accent);
}
.footer__col p, .footer__col a { color: var(--color-text-muted); font-size: .9rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.footer-contact .icon { color: var(--color-accent); width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding: 16px 0 90px;
  color: var(--color-text-muted);
  font-size: .8rem;
  text-align: center;
}

/* Mobile sticky action bar */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 600;
  border-top: 1px solid var(--color-border);
}
.mobile-action-bar__btn {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.mobile-action-bar__btn--call { background: var(--color-accent); color: #14171b; }
.mobile-action-bar__btn--whatsapp { background: #2e9e5b; }
.mobile-action-bar__icon { margin-right: 6px; }

/* Blog */
.post-meta { color: var(--color-text-muted); font-size: .85rem; }
.post-content h2 { margin-top: 1.4em; color: var(--color-accent); font-size: 1.3rem; }
.post-content ul { padding-left: 1.2em; }

/* Responsive */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stats-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul li a { display: block; padding: 10px 0; }
  .site-nav__cta { text-align: center; margin-top: 10px; }

  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr; }

  .mobile-action-bar { display: flex; }
  body { padding-bottom: 58px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn, .card, .card--link { transition: none; }
  html { scroll-behavior: auto; }
}

/* Scroll reveal (progressive enhancement, see script.js) */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}
