/* ================================================
   DK CAR CARE — STYLES
   ================================================ */

:root {
  --bg:        #0a0a0a;
  --card:      #111111;
  --red:       #cc0000;
  --red-hover: #aa0000;
  --white:     #ffffff;
  --muted:     #999999;
  --border:    #1e1e1e;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.btn-sm  { padding: 9px 20px; font-size: 0.8rem; }
.btn-lg  { padding: 17px 38px; font-size: 0.95rem; }

/* Default/red button */
.btn {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn:hover { background: var(--red-hover); border-color: var(--red-hover); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.07); }

.btn-white {
  background: var(--white);
  color: #0a0a0a;
  border-color: var(--white);
  font-weight: 700;
}
.btn-white:hover { background: #e5e5e5; border-color: #e5e5e5; }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 36px;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.25s;
}

.nav-logo img {
  height: 64px;
  width: auto;
  border-radius: 6px;
  display: block;
  transition: transform 0.2s;
}
.nav-logo:hover img { transform: scale(1.04); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  text-align: center;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 80%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: rgba(204,0,0,0.12);
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
}
.hero-glow-2 {
  width: 300px; height: 300px;
  background: rgba(204,0,0,0.07);
  bottom: 10%; right: 10%;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding-top: 110px;
  padding-bottom: 70px;
  position: relative;
  z-index: 2;
  gap: 0;
}

/* ── Logo ── */
.hero-logo-wrap {
  position: relative;
  margin-bottom: 36px;
}

.hero-logo-halo {
  position: absolute;
  inset: -24px;
  background: radial-gradient(circle, rgba(204,0,0,0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: halo-pulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes halo-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}

.hero-logo-img {
  height: 200px;
  width: auto;
  border-radius: 18px;
  display: block;
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 0 1px rgba(204,0,0,0.2),
    0 8px 48px rgba(204,0,0,0.3),
    0 24px 80px rgba(0,0,0,0.6);
}

/* ── Badge ── */
.hero-badge {
  display: inline-block;
  background: rgba(204,0,0,0.14);
  border: 1px solid rgba(204,0,0,0.35);
  color: #ff6666;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 20px;
  margin-bottom: 28px;
}

/* ── Headline ── */
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 800;
  line-height: 1.0;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.text-red { color: var(--red); }

/* ── Subheading ── */
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 44px;
  line-height: 1.75;
}
.desktop-br { display: inline; }

/* ── CTA buttons ── */
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}

/* ── Stats strip ── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 40px;
  gap: 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 36px;
}

.hero-stat-val {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============ SECTION COMMONS ============ */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  text-align: center;
}

.section-sub {
  color: var(--muted);
  text-align: center;
  margin-bottom: 60px;
  font-size: 1rem;
}

/* ============ SERVICES ============ */
.services {
  padding: 110px 0;
  background: var(--bg);
}

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-radius: 8px;
  padding: 40px 32px;
  transition: border-top-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  border-top-color: var(--red);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(204,0,0,0.12);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(204,0,0,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.card-icon svg { width: 28px; height: 28px; }

.card h3 {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.card p { color: var(--muted); font-size: 0.93rem; line-height: 1.75; }

/* ============ WHY US ============ */
.why-us {
  padding: 110px 0;
  background: #0d0d0d;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 60px;
}

.why-item { text-align: center; padding: 0 12px; }

.why-icon {
  font-size: 2.6rem;
  display: block;
  margin-bottom: 20px;
  line-height: 1;
}

.why-item h3 {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.why-item p { color: var(--muted); font-size: 0.93rem; line-height: 1.75; }

/* ============ AREA ============ */
.area { padding: 110px 0; }

.area-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.area-text { flex: 1; }
.area-text .section-title { text-align: left; }
.area-text p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 16px;
  max-width: 520px;
}

.area-badge { flex-shrink: 0; }

.badge-circle {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 3px solid var(--red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(204,0,0,0.06);
  box-shadow: 0 0 60px rgba(204,0,0,0.18), inset 0 0 30px rgba(204,0,0,0.05);
}

.badge-circle .badge-name {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.1;
}

.badge-circle .badge-sub {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 4px;
}

.mt-2 { margin-top: 28px; }

/* ============ CTA STRIP ============ */
.cta-strip {
  background: var(--red);
  padding: 64px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 8px;
}

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* ============ FOOTER ============ */
.footer {
  background: #060606;
  padding: 72px 0 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.footer-logo-img {
  height: 80px;
  width: auto;
  border-radius: 6px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 28px;
  text-align: center;
}
.footer-bottom p { color: #444; font-size: 0.78rem; }

/* ============ MAP ============ */
.map-section {
  padding-top: 100px;
  background: var(--bg);
}

.map-header { margin-bottom: 48px; }

.map-wrap {
  position: relative;
  height: 500px;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#mapFrame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  pointer-events: none;
  filter: invert(1) hue-rotate(180deg) brightness(0.78) contrast(1.1) saturate(0.45);
}

.leaflet-control-attribution {
  background: rgba(10,10,10,0.75) !important;
  color: #555 !important;
  font-size: 0.7rem !important;
}
.leaflet-control-attribution a { color: #666 !important; }


/* ============ CONTACT PAGE ============ */
.contact-hero {
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 25% 50%, rgba(204,0,0,0.09), transparent 65%);
  background-size: auto, 60px 60px, 60px 60px;
  pointer-events: none;
}

.contact-hero-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact-hero-left {
  display: flex;
  flex-direction: column;
}

.contact-hero-left .hero-badge { align-self: flex-start; margin-bottom: 20px; }

.contact-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.0;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.contact-hero-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: 28px;
}

.contact-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.contact-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.contact-logo-wrap {
  position: relative;
}
.contact-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(204,0,0,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.contact-logo-wrap img {
  height: 160px;
  width: auto;
  border-radius: 16px;
  display: block;
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 0 1px rgba(204,0,0,0.15),
    0 8px 36px rgba(204,0,0,0.2),
    0 20px 56px rgba(0,0,0,0.5);
}

.contact-info-strip {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--muted);
}
.contact-info-row span:first-child { font-size: 1rem; flex-shrink: 0; }

/* ============ FORM SECTION ============ */
.form-section {
  padding: 80px 0 110px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px;
}

.form-card h2 {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.form-card .form-intro {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.form-group { margin-bottom: 24px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.97rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,0,0,0.12);
}

.form-group input::placeholder { color: #3a3a3a; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--muted);
  pointer-events: none;
}

.form-group select option { background: #111; color: var(--white); }

.btn-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  font-size: 0.95rem;
  padding: 16px;
}

.form-success {
  display: none;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 20px;
  color: #4ade80;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
}
.form-success.visible { display: block; }

/* Info card (right column on contact page) */
.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  position: sticky;
  top: 100px;
}

.info-card h3 {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.info-item:last-child { margin-bottom: 0; }

.info-icon {
  width: 44px;
  height: 44px;
  background: rgba(204,0,0,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.info-text a,
.info-text span {
  color: var(--white);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.info-text a:hover { color: var(--red); }

.info-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .area-inner { flex-direction: column; gap: 48px; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .info-card { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10,10,10,0.98);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }

  .nav-link {
    font-size: 0.95rem;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links .btn { width: 100%; justify-content: center; margin-top: 8px; }

  .hero-logo-img { height: 150px; }
  .hero-title { font-size: 2.6rem; }
  .hero-sub { font-size: 1rem; }
  .desktop-br { display: none; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 360px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { padding: 16px 20px; gap: 0; flex-wrap: wrap; }
  .hero-stat { padding: 8px 16px; }
  .hero-stat-val { font-size: 1.2rem; }

  .cards-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-buttons { justify-content: center; width: 100%; }
  .cta-buttons .btn { flex: 1; justify-content: center; min-width: 140px; }

  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: auto; }

  .form-card { padding: 28px 22px; }
  .contact-hero { padding: 110px 0 60px; }
  .contact-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-hero-right { flex-direction: row; justify-content: flex-start; align-items: flex-start; flex-wrap: wrap; }
  .contact-logo-wrap img { height: 110px; }
  .contact-info-strip { flex: 1; min-width: 220px; }
  .contact-hero-btns { flex-direction: column; }
  .contact-hero-btns .btn { justify-content: center; }
  .badge-circle { width: 170px; height: 170px; }
  .badge-circle .badge-name { font-size: 1.6rem; }
  .map-wrap { height: 380px; }
}

@media (max-width: 480px) {
  .hero-logo-img { height: 120px; }
  .hero-title { font-size: 2.1rem; }
  .section-title { font-size: 1.9rem; }
}
