/* ============================================================
   Özdost Otomotiv — Maslak Özel BMW Servisi
   ============================================================ */

:root {
  --bg: #0a0e13;
  --bg-alt: #0f151c;
  --surface: #141c25;
  --surface-2: #1a2430;
  --line: #24303d;
  --text: #e9eef4;
  --muted: #9db9d3;
  --accent: #58a6e8;
  --accent-strong: #0f66b0;
  --m-blue: #0090d4;
  --m-navy: #24439b;
  --m-red: #e2001a;
  --radius: 14px;
  --container: 1140px;
  --shadow: 0 18px 48px rgba(0, 0, 0, .45);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* --- M-stripe accent ------------------------------------------------ */
.m-stripe {
  display: inline-flex;
  height: 4px;
  width: 64px;
  border-radius: 2px;
  overflow: hidden;
}
.m-stripe i { flex: 1; }
.m-stripe i:nth-child(1) { background: var(--m-blue); }
.m-stripe i:nth-child(2) { background: var(--m-navy); }
.m-stripe i:nth-child(3) { background: var(--m-red); }

/* --- Header --------------------------------------------------------- */
.topbar {
  background: #060a0e;
  border-bottom: 1px solid var(--line);
  font-size: .82rem;
  color: var(--muted);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.topbar a { color: var(--muted); white-space: nowrap; }
.topbar a:hover { color: var(--text); text-decoration: none; }
.topbar .hours { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 19, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%;
  background: conic-gradient(#0d5c9e 0 90deg, #eef3f8 90deg 180deg, #0d5c9e 180deg 270deg, #eef3f8 270deg);
  border: 3px solid #202b36;
  box-shadow: 0 0 0 2px #46586a inset;
}
.brand-text { line-height: 1.15; }
.brand-text strong {
  display: block;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--text);
}
.brand-text span {
  display: block;
  font-size: .68rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: .95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--text); text-decoration: none; }
.main-nav a.active { color: var(--text); border-bottom-color: var(--m-blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #1178c8, #0f66b0);
  color: #fff;
  box-shadow: 0 10px 26px rgba(15, 102, 176, .35);
}
.btn-primary:hover { box-shadow: 0 14px 32px rgba(15, 102, 176, .5); }
.btn-whatsapp { background: #1faa53; color: #fff; box-shadow: 0 10px 26px rgba(31, 170, 83, .3); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--accent); }
.btn svg { flex: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  width: 44px; height: 40px;
  font-size: 1.25rem;
  cursor: pointer;
}

/* --- Hero ----------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 480px at 78% -10%, rgba(17, 120, 200, .28), transparent 62%),
    radial-gradient(700px 400px at -8% 110%, rgba(36, 67, 155, .25), transparent 60%),
    var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .34;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 14, 19, .95) 8%, rgba(10, 14, 19, .55) 55%, rgba(10, 14, 19, .35));
}
.hero .container {
  position: relative;
  padding-top: 92px;
  padding-bottom: 96px;
  max-width: var(--container);
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  font-weight: 800;
  line-height: 1.14;
  max-width: 640px;
  letter-spacing: -.01em;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead {
  margin-top: 20px;
  max-width: 560px;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 18px; font-size: .85rem; color: var(--muted); }

.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
.hero-stats div {
  background: rgba(10, 14, 19, .85);
  padding: 20px 26px;
  text-align: center;
}
.hero-stats strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--text); }
.hero-stats span { font-size: .82rem; color: var(--muted); }

/* --- Sections ------------------------------------------------------- */
section { padding: 84px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 680px; margin-bottom: 46px; }
.section-head .m-stripe { margin-bottom: 16px; }
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.section-head p { margin-top: 14px; color: var(--muted); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .m-stripe { margin-left: auto; margin-right: auto; }

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: #33465a; }
.card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(17, 120, 200, .14);
  color: var(--accent);
  margin-bottom: 18px;
}
.card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .93rem; }
.card ul { margin: 12px 0 0 18px; color: var(--muted); font-size: .92rem; }
.card ul li { margin-bottom: 5px; }

.card.link-card a.more { display: inline-block; margin-top: 14px; font-weight: 700; font-size: .9rem; }

/* --- Feature split -------------------------------------------------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.split .photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; margin-top: 22px; }
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  color: var(--muted);
}
.check-list li strong { color: var(--text); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(17, 120, 200, .16) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%2358a6e8" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / 12px no-repeat;
}

/* --- Model chips ---------------------------------------------------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: .86rem;
  font-weight: 600;
  white-space: nowrap;
}
.chip b { color: var(--text); font-weight: 800; }

.series-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.series-table th, .series-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.series-table th { color: var(--accent); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.series-table td:first-child { font-weight: 800; white-space: nowrap; }
.series-table td { color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

/* --- FAQ ------------------------------------------------------------ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 19px 52px 19px 24px;
  font-weight: 700;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 24px 20px; color: var(--muted); font-size: .95rem; }

/* --- CTA band ------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(17, 120, 200, .35), transparent 65%),
    linear-gradient(135deg, #10233a, #0c1622);
  border: 1px solid #1f3a4c;
  border-radius: 18px;
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 800; max-width: 540px; line-height: 1.25; }
.cta-band p { color: var(--muted); margin-top: 10px; max-width: 520px; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- Contact -------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 26px; align-items: stretch; }
.contact-card { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.contact-item .icon {
  width: 42px; height: 42px; flex: none;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(17, 120, 200, .14);
  color: var(--accent);
}
.contact-item h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 1rem; font-weight: 600; color: var(--text); }
.contact-item small { display: block; color: var(--muted); font-weight: 400; margin-top: 3px; }
.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
  box-shadow: var(--shadow);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* --- Footer --------------------------------------------------------- */
.site-footer {
  background: #060a0e;
  border-top: 1px solid var(--line);
  padding: 56px 0 0;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
}
.site-footer h4 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--text);
  margin-bottom: 16px;
}
.site-footer p, .site-footer li, .site-footer a { color: var(--muted); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .8rem;
  color: #6c7f92;
}
.footer-bottom a { color: #8fa3b6; }

/* --- Floating WhatsApp ---------------------------------------------- */
.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 60;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #1faa53;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }

/* --- Page hero (subpages) ------------------------------------------- */
.page-hero {
  background:
    radial-gradient(900px 360px at 80% -20%, rgba(17, 120, 200, .22), transparent 60%),
    var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 58px;
}
.page-hero .crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 16px; }
.page-hero .crumbs a { color: var(--muted); }
.page-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.01em; }
.page-hero p { margin-top: 14px; color: var(--muted); max-width: 640px; }

/* --- Responsive ----------------------------------------------------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0c1219;
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 10px 22px 18px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .main-nav a:last-of-type { border-bottom: none; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .topbar .hours { display: none; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .hero .container { padding-top: 64px; padding-bottom: 64px; }
  .cta-band { padding: 36px 26px; }
  section { padding: 62px 0; }
}
