/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #000;
    color: white;
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-circle {
    width: 40px;
    height: 40px;
    background-color: transparent;
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.logo-text {
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: #ccc;
}

.phone-btn a {
    color: white;
    text-decoration: none;
    border: 2px solid white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
}

.phone-btn a:hover {
    background-color: white;
    color: black;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background-color: #f8f8f8;
    padding: 150px 0 100px;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 50px;
    color: #333;
    line-height: 1.2;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background-color: #000;
    color: white;
    border: 2px solid #000;
}

.btn-primary:hover {
    background-color: transparent;
    color: #000;
}

.btn-secondary {
    background-color: transparent;
    color: #000;
    border: 2px solid #000;
}

.btn-secondary:hover {
    background-color: #000;
    color: white;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 60px;
    color: #333;
}

.section-title.white {
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.service-card {
    text-align: center;
    padding: 20px;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #333;
    color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.about-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.about-text h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #ccc;
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background-color: white;
}

.services-overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.service-icon-small {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-small img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.service-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.service-item p {
    color: #666;
    font-size: 14px;
}

.services-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stars {
    color: #ffd700;
    font-size: 20px;
    margin-bottom: 20px;
}

.testimonial-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.testimonial-author strong {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: #007bff;
    font-size: 12px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #333;
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
}

.contact-icon {
    font-size: 20px;
}

.contact-item a {
    color: white;
    text-decoration: none;
}

.contact-item a:hover {
    color: #ccc;
}

.contact-form form {
    display: block;
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    margin-bottom: 20px; /* ✅ Ajoute de l’espace entre chaque champ */
    padding: 15px 18px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    background-color: #555;
    color: white;
    box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #ccc;
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form button {
    background-color: #000;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    padding: 14px 30px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.contact-form button:hover {
    background-color: #222;
}

/* ✅ Responsive adjustments */
@media (max-width: 768px) {
    .contact-form button {
        width: 100%;
    }
}


/* Footer */
.footer {
    background-color: #000;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 600;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-column a:hover {
    color: #ccc;
}

.footer-column span {
    font-weight: 600;
    margin-bottom: 10px;
}






.vehicules {
  background: #f9f9f9;
  padding: 60px 0;
}

.vehicules .section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.vehicle-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px;
}

.vehicle-card {
  min-width: 300px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding: 20px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* ✅ Images — plus de hauteur fixe, pas de zoom */
.vehicle-card img {
  display: block;
  width: 100%;
  height: auto;        /* garde le ratio naturel */
  max-height: 250px;   /* limite sur desktop, sans recadrer */
  object-fit: contain; /* évite le recadrage/zoom, montre toute l'image */
  border-radius: 8px;
  margin-bottom: 15px;
}

/* ✅ Si tu as 2 images par carte */
.vehicle-card .vehicle-images {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 images côte à côte */
  gap: 10px;
  margin-bottom: 15px;
}

.vehicle-card .vehicle-images img {
  width: 100%;
  height: auto;
  object-fit: contain; /* idem : pas de zoom */
  border-radius: 8px;
}

/* 📱💻 Tablette */
@media (max-width: 1024px) {
  .vehicle-card img,
  .vehicle-card .vehicle-images img {
    max-height: 200px; /* un peu plus compact sur iPad */
  }
}

/* 📱 Mobile */
@media (max-width: 768px) {
  .vehicle-slider {
    flex-direction: column;
    overflow-x: visible;
  }

  .vehicle-card {
    min-width: 100%;
  }

  .vehicle-card .vehicle-images {
    grid-template-columns: 1fr; /* les 2 images passent l'une sous l'autre */
  }

  .vehicle-card img,
  .vehicle-card .vehicle-images img {
    max-height: 150px; /* compact sur téléphone */
  }
}



/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-list {
        display: none;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-overview-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .phone-btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .service-card,
    .feature-card {
        padding: 15px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Additional Styling for Better Visual Match */
.service-card:hover,
.feature-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Loading Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-card,
.feature-card,
.testimonial-card {
    animation: fadeIn 0.6s ease-out;
}


/* Menu mobile - styles.css */
@media (max-width: 768px) {
  .nav-list {
    display: flex;
    flex-direction: column;
    background-color: #000;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 20px 0;
    display: none;
  }

  .nav-list.active {
    display: flex;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
  }

  .hamburger span {
    height: 3px;
    width: 25px;
    background: white;
    margin: 4px 0;
  }
}
