/* =================================================================
   style.css – Meridian Auto – Premium Dark Theme
   ================================================================= */

/* ── Design Tokens ── */
:root {
  --bg:          #08090b;
  --bg-alt:      #0e1016;
  --surface:     #14161e;
  --surface-2:   #1a1d28;
  --primary:     #ff5722;
  --primary-dim: rgba(255, 87, 34, 0.15);
  --primary-glow:rgba(255, 87, 34, 0.35);
  --text:        #e4e4e7;
  --text-muted:  #8a8a96;
  --border:      rgba(255,255,255,0.06);
  --font-head:   'Outfit', sans-serif;
  --font-body:   'Inter', sans-serif;
  --radius:      14px;
  --transition:  0.35s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(92%, 1200px); margin: 0 auto; }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 0 1rem;
  background: rgba(8,9,11,0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(8,9,11,0.92);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 0.6rem; }
.logo img { height: 38px; border-radius: 6px; }
.logo-text {
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  letter-spacing: 2px; color: var(--text);
}
.logo-accent { color: var(--primary); }

/* Nav Links */
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-family: var(--font-head); font-weight: 500; font-size: 0.9rem;
  letter-spacing: 0.5px; color: var(--text-muted);
  position: relative; transition: color var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--primary); transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta.btn { font-size: 0.82rem; padding: 0.5rem 1.1rem; }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2.5px; background: var(--text);
  border-radius: 2px; transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 72px; right: 0; bottom: 0; width: 260px;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(14,16,22,0.97); backdrop-filter: blur(24px);
    padding: 2rem 1.5rem; border-left: 1px solid var(--border);
    transform: translateX(100%); transition: transform var(--transition);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 0.75rem 0; width: 100%; font-size: 1rem; }
  .nav-toggle { display: flex; }
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.6rem; border-radius: 10px; font-weight: 600;
  font-family: var(--font-head); font-size: 0.95rem;
  cursor: pointer; border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 24px var(--primary-glow); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary-dim); transform: translateY(-3px); }
.btn-glow { box-shadow: 0 0 20px var(--primary-glow); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }
.btn svg { flex-shrink: 0; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: url('assets/hero-bg.jpg') center/cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(8,9,11,0.82) 0%, rgba(8,9,11,0.55) 50%, rgba(8,9,11,0.82) 100%);
  z-index: 1;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
}
.hero-content { position: relative; z-index: 3; text-align: center; padding: 6rem 1rem 4rem; }
.hero-tag {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: 0.8rem; letter-spacing: 4px; color: var(--primary);
  background: var(--primary-dim); padding: 0.4rem 1.2rem; border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 4.8rem); line-height: 1.1;
  color: var(--text); margin-bottom: 1.2rem;
}
.hero .accent { color: var(--primary); }
.hero .subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem); color: var(--text-muted);
  max-width: 600px; margin: 0 auto 2.5rem;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ================================================================
   TRUST BAR
   ================================================================ */
.trust-bar {
  position: relative; z-index: 4; margin-top: -5rem;
  padding-bottom: 3rem;
}
.trust-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.5rem 2rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.trust-item { text-align: center; }
.trust-item .counter {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: 2.2rem; color: var(--primary);
}
.trust-item p { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }
@media (max-width: 600px) {
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   SECTION SHARED
   ================================================================ */
.section-tag {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: 0.75rem; letter-spacing: 3px; color: var(--primary);
  text-transform: uppercase; margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--text);
  margin-bottom: 3rem;
}
.services .section-title,
.why-us .section-title,
.testimonials .section-title,
.map-section .section-title { text-align: center; }
.services .section-tag,
.why-us .section-tag,
.testimonials .section-tag,
.map-section .section-tag { display: block; text-align: center; }

/* ================================================================
   SERVICES
   ================================================================ */
.services { padding: 6rem 0; background: var(--bg-alt); }
.services-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  border-color: var(--primary-dim);
}
.service-icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  background: var(--primary-dim); border-radius: 12px; margin-bottom: 1.2rem;
}
.service-icon svg { width: 26px; height: 26px; stroke: var(--primary); }
.service-card h3 {
  font-family: var(--font-head); font-weight: 600; font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.service-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ================================================================
   ABOUT
   ================================================================ */
.about { padding: 6rem 0; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-image { position: relative; }
.about-image img { border-radius: var(--radius); box-shadow: 0 16px 48px rgba(0,0,0,0.5); }
.about-image-badge {
  position: absolute; bottom: -1rem; right: -1rem;
  background: var(--primary); color: #fff; padding: 0.8rem 1.2rem;
  border-radius: 12px; text-align: center; line-height: 1.2;
  box-shadow: 0 8px 24px var(--primary-glow);
}
.about-image-badge span { font-size: 0.7rem; display: block; letter-spacing: 2px; }
.about-image-badge strong { font-size: 1.4rem; font-family: var(--font-head); }
.about-text h2 {
  font-family: var(--font-head); font-size: 2rem; margin-bottom: 1rem;
}
.about-text p { color: var(--text-muted); margin-bottom: 1rem; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.5rem; }
.highlight {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; font-weight: 500;
}
.highlight-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
}
@media (max-width: 768px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-image-badge { bottom: 1rem; right: 1rem; }
}

/* ================================================================
   WHY CHOOSE US
   ================================================================ */
.why-us { padding: 6rem 0; background: var(--bg-alt); }
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem;
}
.why-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: transform var(--transition), border-color var(--transition);
}
.why-card:hover { transform: translateY(-4px); border-color: rgba(255,87,34,0.3); }
.why-number {
  font-family: var(--font-head); font-weight: 800; font-size: 2.5rem;
  color: var(--primary); opacity: 0.25; margin-bottom: 0.5rem;
}
.why-card h3 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 0.5rem; }
.why-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials { padding: 6rem 0; }
.testimonial-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem;
}
.testimonial-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: transform var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); }
.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-card > p { color: var(--text-muted); font-style: italic; margin-bottom: 1.2rem; font-size: 0.95rem; }
.testimonial-author strong { display: block; color: var(--text); font-size: 0.95rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }

/* ================================================================
   MAP
   ================================================================ */
.map-section { padding: 6rem 0; background: var(--bg-alt); }
.map-wrapper {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.map-wrapper iframe { display: block; width: 100%; height: 420px; }

/* ================================================================
   CONTACT
   ================================================================ */
.contact { padding: 6rem 0; }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
}
.contact-info h2 { font-family: var(--font-head); font-size: 2rem; margin-bottom: 0.75rem; }
.contact-desc { color: var(--text-muted); margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-detail {
  display: flex; gap: 0.75rem; align-items: flex-start;
}
.contact-detail svg { width: 22px; height: 22px; stroke: var(--primary); flex-shrink: 0; margin-top: 2px; }
.contact-detail strong { display: block; font-size: 0.85rem; color: var(--text); margin-bottom: 0.15rem; }
.contact-detail p { color: var(--text-muted); font-size: 0.9rem; }
.contact-detail a { color: var(--primary); transition: opacity var(--transition); }
.contact-detail a:hover { opacity: 0.8; }

.contact-form {
  display: flex; flex-direction: column; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 0.85rem 1rem;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--primary); }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form select { appearance: none; cursor: pointer; color: var(--text-muted); }
.contact-form select option { background: var(--surface); color: var(--text); }

@media (max-width: 768px) {
  .contact-inner { grid-template-columns: 1fr; }
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer { background: #050507; padding-top: 4rem; }

/* Row 1 – Columns */
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem;
  padding-bottom: 3rem; border-bottom: 1px solid var(--border);
}
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 1rem; max-width: 280px; }
.footer-logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  letter-spacing: 2px;
}
.footer-logo img { height: 34px; border-radius: 6px; }
.footer-col h4 {
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  color: var(--text); margin-bottom: 1rem; letter-spacing: 0.5px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a {
  color: var(--text-muted); font-size: 0.88rem;
  transition: color var(--transition), padding-left var(--transition);
}
.footer-col ul a:hover { color: var(--primary); padding-left: 4px; }

.footer-contact-list li {
  display: flex; gap: 0.6rem; align-items: flex-start;
  color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0.75rem;
}
.footer-contact-list svg { width: 16px; height: 16px; stroke: var(--primary); flex-shrink: 0; margin-top: 3px; }
.footer-contact-list a { color: var(--text-muted); }
.footer-contact-list a:hover { color: var(--primary); }

/* Row 2 – Hours */
.footer-hours {
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
}
.footer-hours-inner {
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center;
  font-size: 0.88rem; color: var(--text-muted);
}
.footer-hours-inner strong { color: var(--primary); }

/* Row 3 – Bottom */
.footer-bottom { padding: 1.2rem 0; }
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  font-size: 0.78rem; color: #444;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 0.3rem; }
}

/* ================================================================
   TOAST NOTIFICATIONS
   ================================================================ */
.toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 0.85rem 1.8rem; border-radius: 12px;
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 500;
  color: #fff; z-index: 9999;
  opacity: 0; transition: opacity 0.4s ease, transform 0.4s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-success { background: var(--primary); }
.toast-error   { background: #dc2626; }
