/* Onderstel Otomotif — Industrial Gray — style.css */
:root {
  --primary: #3a3a3a;
  --primary-dark: #2a2a2a;
  --primary-light: #505050;
  --accent: #d4a574;
  --accent-dark: #b8935f;
  --bg: #f8f7f5;
  --bg-white: #ffffff;
  --text: #2a2a2a;
  --text-muted: #5a5a5a;
  --text-light: #7a7a7a;
  --border: #e2e0dc;
  --shadow: 0 2px 12px rgba(42,42,42,0.08);
  --shadow-lg: 0 8px 32px rgba(42,42,42,0.12);
  --radius: 8px;
  --radius-lg: 16px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding-top: 36px;
}
img { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }
ul { list-style: none; }
h1,h2,h3,h4 { line-height: 1.25; font-weight: 700; }

/* DEMO BAR */
.demo-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: #3a3a3a;
  color: #fff;
  text-align: center;
  padding: 8px;
  font-size: 13px;
}
.demo-bar a { color: #d4a574; text-decoration: underline; margin: 0 4px; }
.demo-bar a:hover { color: #fff; }

/* NAVBAR */
header {
  background: var(--primary);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 36px;
  z-index: 900;
}
.nav-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo-icon {
  width: 38px; height: 38px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.logo-text span { color: var(--accent); }

/* Checkbox hack nav */
#nav-toggle { display: none; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .25s;
}
nav {
  display: flex;
  align-items: center;
}
nav ul {
  display: flex;
  gap: 0;
  align-items: center;
}
nav li a {
  display: block;
  padding: 10px 18px;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all .25s;
  border-bottom: 3px solid transparent;
}
nav li a:hover,
nav li a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
nav .nav-cta a {
  background: var(--accent);
  color: var(--primary);
  border-radius: 6px;
  padding: 8px 16px;
  border-bottom: none;
  font-weight: 700;
  margin-left: 8px;
}
nav .nav-cta a:hover {
  background: var(--accent-dark);
  color: var(--primary);
  border-bottom: none;
}

/* Mobile menu */
@media (max-width: 768px) {
  .nav-burger {
    display: flex;
  }
  nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    width: 100%;
    border-top: 1px solid var(--accent);
  }
  #nav-toggle:checked ~ nav {
    display: flex;
  }
  nav ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  nav li {
    width: 100%;
  }
  nav li a {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  nav .nav-cta a {
    margin: 8px 16px;
  }
  .nav-burger span:nth-child(1) {
    transform: #nav-toggle:checked ~ .nav-burger & rotateZ(45deg) translate(8px, 8px);
  }
  .nav-burger span:nth-child(2) {
    opacity: #nav-toggle:checked ~ .nav-burger & 0;
  }
  .nav-burger span:nth-child(3) {
    transform: #nav-toggle:checked ~ .nav-burger & rotateZ(-45deg) translate(7px, -7px);
  }
  #nav-toggle:checked ~ .nav-burger span:nth-child(1) {
    transform: rotateZ(45deg) translate(8px, 8px);
  }
  #nav-toggle:checked ~ .nav-burger span:nth-child(2) {
    opacity: 0;
  }
  #nav-toggle:checked ~ .nav-burger span:nth-child(3) {
    transform: rotateZ(-45deg) translate(7px, -7px);
  }
}

/* CONTAINER & SECTIONS */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
main {
  min-height: calc(100vh - 96px);
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #3a3a3a 0%, #505050 100%);
  color: #fff;
  padding: 60px 16px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-content {
  z-index: 10;
}
.hero-badge {
  display: inline-block;
  background: rgba(212,165,116,0.15);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.hero-content h1 span {
  color: var(--accent);
}
.hero-content > p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  max-width: 500px;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: all .25s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-accent {
  background: var(--accent);
  color: var(--primary);
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-primary {
  background: var(--accent);
  color: var(--primary);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* HERO VISUAL */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.car-svg-wrap {
  width: 100%;
  max-width: 500px;
  opacity: 0.9;
}
.car-svg-wrap svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

/* STATS */
.stats-bar {
  background: #fff;
  padding: 40px 16px;
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* SECTIONS */
section {
  padding: 60px 16px;
}
section.section-alt {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 48px;
}
.section-head.center {
  text-align: center;
}
.section-label {
  display: inline-block;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 16px;
  color: var(--primary);
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.service-card {
  background: #f8f7f5;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all .3s;
  display: flex;
  gap: 16px;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.service-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-icon svg {
  width: 26px;
  height: 26px;
}
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--primary);
}
.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}
.service-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.feature-item {
  text-align: center;
}
.feature-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.feature-icon-wrap svg {
  width: 28px;
  height: 28px;
}
.feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--primary);
}
.feature-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* MECHANIC SECTION */
.mechanic-section {
  background: linear-gradient(135deg, #3a3a3a 0%, #505050 100%);
  color: #fff;
}
.mechanic-section .section-head {
  margin-bottom: 48px;
}
.mechanic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.mechanic-card {
  background: rgba(255,255,255,0.08);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212,165,116,0.2);
  text-align: center;
  transition: all .3s;
}
.mechanic-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--accent);
  transform: translateY(-4px);
}
.mechanic-avatar {
  width: 64px;
  height: 64px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 auto 16px;
}
.mechanic-card h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.mechanic-card .role {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.mechanic-card .exp {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.cert-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 48px 16px;
  text-align: center;
  border-top: 3px solid var(--accent);
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.85);
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  transition: all .25s;
  text-decoration: none;
}
.wa-btn:hover {
  background: #20ba5f;
  transform: translateY(-2px);
}

/* FOOTER */
footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 48px 16px 24px;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
  margin-bottom: 32px;
}
.footer-brand {
  grid-column: 1;
}
.footer-brand a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-col h4 {
  margin-bottom: 16px;
  color: #fff;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: all .2s;
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* FORM */
form {
  max-width: 600px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--primary);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,165,116,0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all .25s;
}
.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-visual {
    order: -1;
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-btns {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  section {
    padding: 40px 16px;
  }
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .stat-num {
    font-size: 1.8rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    flex-direction: column;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .mechanic-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .hero-content > p {
    font-size: 0.95rem;
  }
  .stats-inner {
    grid-template-columns: 1fr;
  }
  .stat-num {
    font-size: 1.5rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-col {
    text-align: center;
  }
}
