@charset "UTF-8";
/* CSS Document */

/* Style principal pour David VTC Cabourg */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #0a0a0a;
  color: #fff;
  line-height: 1.6;
}

header.hero-banner {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.header-content {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.logo-container {
  max-width: 100px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #b6b5af;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.logo-container:hover {
  transform: scale(1.05);
}

.logo {
  width: 90%;
  height: auto;
  display: block;
}

.navbar {
  position: sticky;
  top: 20px;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: 8px;
  z-index: 10;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar a {
  text-decoration: none;
  color: #ccc;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}

.navbar a:hover {
  background-color: #555;
  color: #fff;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
}

.overlay-text h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
}

.overlay-text p {
  font-size: 1.5rem;
  margin-top: 0.5rem;
  color: #ccc;
}

.overlay-text .contact-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  margin-top: 20px;
  border-radius: 5px;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}

.overlay-text .contact-phone:hover {
  background-color: #0056b3;
}

.overlay-text .contact-phone i {
  margin-right: 8px;

}

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

.columns {
  display: flex;
  gap: 40px;
  justify-content: space-between;
}

.column {
  flex: 1;
}

.chauffeur-info {
  display: flex;
  gap: 20px;
}

.chauffeur-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.chauffeur-details {
  flex: 1;
}

section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #aaa;
  display: inline-block;
  padding-bottom: 5px;
  color: #e0e0e0;
}

footer {
  background-color: #111;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #aaa;
}

/* ? Styles pour les liens de contact avec icône */
.contact-link {
  display: inline-block;
  font-size: 2rem; /* Taille de l'icône */
  color: #fff; /* Couleur par défaut : blanc */
  margin-right: 15px;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #1877F2; /* Bleu de Facebook au survol */
}

.contact-icons a {
  margin-right: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .columns {
    flex-direction: column;
  }

  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

  .logo-container {
    width: 80px;
    height: 80px;
  }

  .chauffeur-info {
    flex-direction: column;
    align-items: center;
  }

  .chauffeur-image img {
    max-width: 80%;
  }
	
	/* Responsive du h1 */
	.overlay-text h1 {
  font-size: 2.5rem; /* taille par défaut */
}

/* Sur mobile : réduire la taille pour éviter le retour à la ligne ou le débordement */
@media screen and (max-width: 600px) {
  .overlay-text h1 {
    font-size: 1.8rem; /* ou 1.5rem, à ajuster selon ton besoin */
    white-space: nowrap; /* empêche le retour à la ligne */
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
/* Avis */
.testimonial-section {
  background-color: #111;
  color: #ccc;
  padding: 60px 40px;
  text-align: center;
}

.testimonial-section h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 40px;
}

.testimonial-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial {
  background-color: #1c1c1c;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.testimonial .stars {
  color: gold;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.testimonial .author {
  font-style: italic;
  color: #aaa;
  margin-top: 10px;
}
.testimonial {
  background-color: #1a1a1a;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #eee;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
}

@media (min-width: 768px) {
  .testimonial-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
.testimonial-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.testimonial-section.visible {
  opacity: 1;
  transform: translateY(0);
}