/*
Theme Name: Monodrivecar Luxury
Theme URI: https://monodrivecar.com
Author: Monodrivecar
Description: Thème WordPress premium pour location de voitures (rouge, jaune, blanc) avec slider et sections services.
Version: 1.0
Text Domain: monodrivecar-luxury
*/

:root {
  --primary: #c60019;
  --primary-dark: #890013;
  --accent: #ffc800;
  --text-dark: #121212;
  --bg-light: #f8f8f8;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 40px rgba(0,0,0,0.18);
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Poppins', sans-serif;
  background: #ffffff;
  color: var(--text-dark);
  line-height: 1.6;
}

/* HEADER & NAV */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: radial-gradient(circle at 20% 20%, #ff5a5a, var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text span:first-child {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 14px;
  text-transform: uppercase;
}

.brand-text span:last-child {
  font-size: 11px;
  opacity: 0.7;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  opacity: 0.8;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-phone {
  font-size: 13px;
  font-weight: 500;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 999px;
  padding: 9px 20px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(198,0,25,0.4);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-outline {
  border-radius: 999px;
  padding: 9px 18px;
  border: 1px solid rgba(0,0,0,0.15);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
}

/* HERO / SLIDER */

.hero {
  max-width: 1200px;
  margin: 18px auto 40px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr);
  gap: 30px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(198,0,25,0.06);
  color: var(--primary-dark);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
}

.hero-badge span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(198,0,25,0.16);
  font-size: 11px;
}

.hero-title {
  font-size: 34px;
  line-height: 1.15;
  margin: 14px 0 8px;
}

.hero-subtitle {
  font-size: 14px;
  opacity: 0.85;
  max-width: 420px;
}

.hero-list {
  margin: 18px 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
}

.hero-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  margin-right: 6px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.hero-note {
  font-size: 11px;
  opacity: 0.65;
}

/* hero right - slider card */

.hero-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-soft);
  min-height: 260px;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.hero-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255,255,255,0.94);
  color: #111;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.12em;
}

.hero-discount {
  position: absolute;
  bottom: 20px;
  right: 18px;
  background: radial-gradient(circle at 30% 20%, #ffeb99, var(--accent));
  color: #551000;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 14px 36px rgba(0,0,0,0.35);
}

.hero-discount span:first-child {
  font-size: 17px;
}

.hero-bottom-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 18px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.76), transparent);
  font-size: 11px;
}

/* SECTIONS */

.section {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 18px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}

.section-title {
  font-size: 22px;
}

.section-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary-dark);
  font-weight: 600;
}

.section-subtitle {
  font-size: 13px;
  opacity: 0.7;
}

/* services grid */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px 14px 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.02);
  font-size: 13px;
}

.service-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(198,0,25,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 10px;
}

.service-title {
  font-weight: 600;
  margin-bottom: 4px;
}

/* cars grid */

.cars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

.car-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.car-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.car-body {
  padding: 14px 14px 16px;
  font-size: 13px;
}

.car-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.car-tagline {
  font-size: 11px;
  opacity: 0.7;
  margin-bottom: 6px;
}

.car-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.car-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(198,0,25,0.06);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.car-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}

/* contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
}

.contact-card, .contact-info {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
  font-size: 13px;
}

.contact-card label {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 9px 10px;
  font-family: inherit;
  font-size: 13px;
  margin-bottom: 10px;
}

.contact-card textarea {
  min-height: 90px;
  resize: vertical;
}

/* footer */

.site-footer {
  margin-top: 40px;
  background: #111;
  color: #f3f3f3;
  padding: 20px 18px 26px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  opacity: 0.9;
}

/* responsive */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .cars-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .contact-grid {
    grid-template-columns: minmax(0,1fr);
  }
}

@media (max-width: 600px) {
  .navbar {
    flex-wrap: wrap;
    gap: 8px;
  }
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 26px;
  }
  .cars-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .services-grid {
    grid-template-columns: minmax(0,1fr);
  }
}


.brand-mark {
  width: auto;
  height: 40px;
  border-radius: 0;
  background: none;
  padding: 0;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.whats-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.whats-btn::before {
  content: "";
  font-family: "Font Awesome 5 Free", "dashicons", system-ui;
  font-weight: 900;
}

/* floating whatsapp button */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
}

.whatsapp-float a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
  font-size: 26px;
}

@media (max-width: 600px) {
  .whatsapp-float {
    right: 12px;
    bottom: 12px;
  }
}


.brand-mark {
  height: 52px;
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 52px;
  width: auto;
}

/* override whatsapp button style to be green and simple */
.whats-btn {
  background: #25D366;
  color: #ffffff;
  border-radius: 999px;
  padding: 9px 16px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.nav-cta .whats-btn {
  box-shadow: 0 10px 26px rgba(37,211,102,0.45);
}

/* floating whatsapp icon */
.whatsapp-float a {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25D366;
  color: #ffffff;
  font-size: 22px;
}
