:root {
  --orange: #f57c14;
  --orange-dark: #d66a0c;
  --navy: #051128;
  --navy-2: #0f2c5a;
  --navy-3: #14287b;
  --ink: #121111;
  --muted: #5c6473;
  --line: #e6e9f0;
  --bg: #f6f7fb;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 18px 50px rgba(5, 17, 40, 0.12);
  --max: 1220px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  color: var(--navy);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 9999;
  background: var(--white);
  padding: 8px 12px;
}

/* Top bar */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 42px;
}

.topbar a {
  color: inherit;
}

.topbar a:hover {
  color: var(--orange);
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar i {
  color: var(--orange);
  margin-right: 6px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 3px solid var(--navy-2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 86px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  min-width: 220px;
}

.brand:hover {
  color: inherit;
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
}

.brand-text strong {
  display: block;
  font-size: 1.12rem;
  letter-spacing: -0.3px;
  color: var(--navy);
  line-height: 1.15;
}

.brand-text span {
  display: block;
  font-size: 0.78rem;
  color: var(--orange);
  font-weight: 600;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav {
  display: flex;
  gap: 4px;
}

.main-nav a {
  color: var(--ink);
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--navy-2);
  background: #f4f6fb;
}

.header-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
}

.btn-orange {
  background: var(--orange);
  color: #fff;
}

.btn-orange:hover {
  background: var(--orange-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy-2);
  color: #fff;
}

.btn-navy:hover {
  background: var(--orange);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

.btn-wa {
  background: #25d366;
  color: #fff;
}

.btn-wa:hover {
  background: #1ebe5b;
  color: #fff;
}

.btn-lg {
  padding: 14px 22px;
  font-size: 1rem;
  border-radius: 10px;
}

.search-toggle {
  background: var(--navy-2);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-family: inherit;
}

.search-toggle:hover,
.search-toggle[aria-expanded="true"] {
  background: var(--orange);
  color: #fff;
}

.search-label {
  display: none;
}

@media (min-width: 1100px) {
  .search-label {
    display: inline;
  }
}

.header-phone {
  display: none;
  color: var(--navy);
  font-weight: 700;
  align-items: center;
  gap: 8px;
}

.header-phone i {
  color: var(--orange);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 40px;
  background: var(--navy-2);
  color: #fff;
  border: 0;
  border-radius: 6px;
}

/* Search overlay */
.search-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(420px, 86vw);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  border-top: 3px solid var(--navy-2);
  padding: 16px;
  z-index: 1200;
}

.search-panel[hidden] {
  display: none;
}

.search-panel::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 28px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--navy-2);
}

.search-row {
  display: flex;
  gap: 8px;
}

.search-row input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #f8f9fc;
  font-family: inherit;
}

.search-row input:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
}

.search-results {
  margin-top: 10px;
}

.search-results a {
  display: block;
  padding: 10px 8px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.search-results a:hover {
  color: var(--orange);
}

.search-results .empty {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 8px 4px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0 40px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 124, 20, 0.12);
  color: var(--orange);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 7px 14px;
  border-radius: 999px;
}

.badge .dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(245, 124, 20, 0.18);
}

.hero h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.12;
  margin: 16px 0 14px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.8px;
}

.hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero p.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin-bottom: 24px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.trust {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.stars {
  color: var(--orange);
  letter-spacing: 1px;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.float-card {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
}

.float-card i {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(245, 124, 20, 0.12);
  color: var(--orange);
  display: grid;
  place-items: center;
}

.float-card small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}

.float-card strong {
  color: var(--navy);
}

/* Stats */
.stats {
  background: var(--navy);
  color: #fff;
  padding: 28px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.stats b {
  display: block;
  font-size: 2rem;
  color: var(--orange);
  font-family: "Montserrat", sans-serif;
}

.stats span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

/* Sections */
section {
  padding: 78px 0;
}

.section-kicker {
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 1.4px;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head h2,
.page-hero h1,
.about-copy h2,
.cta-band h2,
.contact-copy h2 {
  font-family: "Montserrat", sans-serif;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 8px 0 0;
  letter-spacing: -0.4px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(5, 17, 40, 0.04);
  transition: 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card.featured {
  background: var(--navy);
  color: #fff;
  border: 0;
}

.card.featured p,
.card.featured a {
  color: rgba(255, 255, 255, 0.82);
}

.card.featured h3 {
  color: #fff;
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(245, 124, 20, 0.12);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--navy);
}

.card p {
  color: var(--muted);
  margin: 0 0 14px;
}

.card a.more {
  font-weight: 600;
  color: var(--orange);
}

/* About */
.about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-grid img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
}

.checks li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.checks i {
  color: var(--orange);
  margin-top: 4px;
}

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  text-align: center;
  padding: 10px;
}

.step-num {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  position: relative;
}

.step h3 {
  color: var(--navy);
  margin: 0 0 8px;
}

.step p {
  color: var(--muted);
  margin: 0;
}

/* CTA band */
.cta-band {
  background:
    linear-gradient(90deg, rgba(5, 17, 40, 0.88), rgba(15, 44, 90, 0.72)),
    url("../images/yol-yardimi.jpg") center/cover;
  color: #fff;
  text-align: center;
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.cta-band p {
  max-width: 620px;
  margin: 12px auto 24px;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.info-list {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}

.info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.info-item i {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(245, 124, 20, 0.12);
  color: var(--orange);
  display: grid;
  place-items: center;
}

.map-wrap iframe,
.map-wrap {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 16px;
}

/* Page hero */
.page-hero {
  background:
    linear-gradient(90deg, rgba(5, 17, 40, 0.82), rgba(5, 17, 40, 0.45)),
    url("../images/mekanik-atolyesi.jpg") center/cover;
  color: #fff;
  padding: 72px 0;
}

.page-hero h1,
.page-hero p {
  color: #fff;
}

.page-hero p {
  max-width: 560px;
  opacity: 0.9;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 28px;
  padding: 56px 0 32px;
}

.site-footer h4 {
  color: #fff;
  margin: 0 0 16px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: var(--orange);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
}

/* Bottom action island */
body {
  padding-bottom: 96px;
}

.action-island {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 1300;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: rgba(5, 17, 40, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(5, 17, 40, 0.35);
  backdrop-filter: blur(14px);
}

.action-island a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}

.action-island a:hover {
  color: #fff;
  transform: scale(1.03);
}

.action-island .island-phone {
  background: var(--orange);
}

.action-island .island-phone:hover {
  background: var(--orange-dark);
}

.action-island .island-wa {
  background: #25d366;
}

.action-island .island-wa:hover {
  background: #1ebe5b;
}

.action-island i {
  font-size: 1.15rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-3);
    flex-direction: column;
    padding: 10px 0;
    z-index: 999;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    color: #fff;
    padding: 14px 22px;
    border-radius: 0;
  }

  .main-nav a:hover,
  .main-nav a.active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }

  .hero,
  .section-head,
  .about-grid,
  .contact-grid,
  .cards,
  .steps,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual img {
    height: 320px;
  }

  .cards,
  .steps,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .header-phone {
    display: none;
  }
}

@media (max-width: 720px) {
  .topbar .container {
    justify-content: center;
    text-align: center;
    padding: 8px 0;
  }

  .topbar-right {
    display: none;
  }

  .cards,
  .steps,
  .stats-grid,
  .footer-grid,
  .copyright {
    grid-template-columns: 1fr;
  }

  .copyright {
    flex-direction: column;
    text-align: center;
  }

  .brand-text strong {
    font-size: 0.95rem;
  }

  .hero {
    padding-top: 28px;
  }

  .btn-wa.desktop-only,
  .search-label,
  .phone-text {
    display: none;
  }

  .header-actions .btn-orange {
    padding: 10px 12px;
  }

  .action-island {
    width: calc(100% - 24px);
    max-width: 420px;
    justify-content: stretch;
  }

  .action-island a {
    flex: 1;
    padding: 0 12px;
    font-size: 0.85rem;
  }
}
