/* ============================================
   Clean My Car 37 - Styles modernes
   ============================================ */

:root {
  --primary: #0d6efd;
  --primary-dark: #0a58ca;
  --dark: #1a1d23;
  --light: #f6f8fa;
  --radius: 1rem;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* {
  scroll-margin-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, .navbar-brand {
  font-family: var(--font-heading);
}

/* Navbar */
.navbar {
  background: rgba(26, 29, 35, 0.95);
  backdrop-filter: blur(12px);
  transition: background 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
  background: rgba(26, 29, 35, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85) !important;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #fff !important;
}

.btn-reserve {
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-reserve:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
}

/* Hero */
.hero {
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 29, 35, 0.88) 0%, rgba(26, 29, 35, 0.6) 100%);
  z-index: 1;
}

.hero-subtitle {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.9);
}

.hero-title {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-lead {
  font-size: 1.15rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero-scroll a {
  opacity: 0.9;
  font-size: 1.5rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Sections communes */
.section-py {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .section-py {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-lead {
  font-size: 1.1rem;
}

/* Cartes services */
.service-card {
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

.service-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 768px) {
  .service-card-img {
    height: 260px;
  }
}

/* À propos */
.about-img img {
  object-fit: cover;
  height: 100%;
  min-height: 320px;
}

/* Témoignages */
.testimonial-card {
  border-radius: var(--radius);
  transition: transform 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

/* Footer */
.footer {
  background: var(--dark);
  color: #fff;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.2rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-social:hover {
  background: var(--primary);
  color: #fff;
}

.text-white-50 a:hover {
  color: #fff !important;
}

/* Modal prestations */
.service-desc-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
}

.service-desc-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Utilitaires */
.tracking-wide {
  letter-spacing: 0.05em;
}

/* Responsive ajustements */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2rem;
  }
  .navbar-collapse {
    padding: 1rem 0;
  }
  .navbar-nav .btn-reserve {
    margin-top: 0.5rem;
    display: inline-block;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.75rem;
  }
  .btn-reserve.px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}
