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

body {
  font-family: 'IBM Plex Sans', sans-serif;
  background:
    #1a1a1a url("/bmn-site/Images/Fond_ecran/pcbred.png") center center / cover no-repeat;
  color: #f5f5f5;
  line-height: 1.5;
  padding-bottom: 60px;
}


/* ====== CONTAINER ====== */
.container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
}

.mentions_legales{
    font-family: 'Arial', sans-serif;
}


/* ====== DEBUT HEADER ====== */
.header {
    display: flex;
    align-items: center; /* aligne verticalement le logo et le texte */
    gap: 90px; /* espace entre le logo et le titre */
    background: #000; 
    align-items: center;
    justify-content: center;
  }

.logo img {
    max-width: 100%; /* pour éviter que le logo déborde */
    height: auto;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.1);
    -webkit-transform: scale(1.12);
    -moz-transform: scale(1.12);
    -ms-transform: scale(1.12);
    -o-transform: scale(1.12);
}

.site-title {
    margin: 0;
    font-size: 2em;
    color: #ff2c2c;
    font-style: italic;
}	

/* ====== FIN HEADER ====== */

/* ====== DEBUT MENU ====== */
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  background: #000;
  font-size: larger;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #e63946;
  font-family: Arial, sans-serif;
}

nav a:hover,
nav a.active {
  color: #ffffff;
  font-weight: bold;
  transform: scale(1.2);
  transition: transform 0.3s;
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -o-transform: scale(1.2);
}
/* ====== FIN MENU ====== */

.social-links a {
      margin: 0 10px;
      text-decoration: none;
      color: #333;
}

.social-links a:hover {
      text-decoration: underline;
}
.icon-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background-color: transparent;
}

.icon-bar img {
    width: 80px;
    transition: transform 0.3s;
}
.icon-bar img:hover {
    transform: scale(1.1);
}

/* ====== SECTIONS ====== */
.hero,
.services,
.contact,
.apropos {
  padding: 60px 20px; border-radius: 20px;
}

.hero {
  background: url("/bmn-site/Images/Fond_ecran/blackredmirror.png") center center / cover no-repeat;
}

.hero h1,
.services h1,
.contact h1,
.apropos h1 {
  margin-bottom: 20px;
  font-size: 2.5em;
  color: #ff2c2c;
  text-align: center;
}

/* ====== SERVICES ====== */
.services {
  background-color: transparent;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.service {
  background-color: #1f1f1f;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(255, 44, 44, 0.2);
  transition: transform 0.3s;
}

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

.services h1 {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 2.5em;
  color: #ff2c2c;
  margin-bottom: 40px;
}

.service h3 {
  margin-bottom: 10px;
  color: #ff2c2c;
}

h4{
  font-size: 18px;
  font-style: italic;
  text-shadow: 2px 2px 5px rgba(182, 194, 17, 0.849);
}

.btn-mentions{
  margin-top: 5px;
  padding: 4px 18px;
  background-color: transparent;
  color: white;
  border: none;
  border-radius: 8px;
  text-decoration: underline;
  font-family: Arial, sans-serif;
  transition: background-color 0.3s;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
}

.btn-service {
  margin-top: 5px;
  padding: 4px 18px;
  background-color: #e63946;
  color: white;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
}

.btn-service:hover {
  background-color: #c62828;
}

/* ====== CONTACT FORM ====== */
.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.contact input,
.contact textarea {
  padding: 10px;
  border: 1px solid #444;
  border-radius: 8px;
  background: #2a2a2a;
  color: #fff;
}

.contact button {
  padding: 10px;
  background: #ff2c2c;
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.contact button:hover {
  background: #cc0000;
}

.contact-logo {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border: 4px solid #ff2c2c; /* couleur rouge bmn */
  border-radius: 12px;        /* bords arrondis */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* effet d�ombre */
  padding: 5px;               /* espace int�rieur autour de l'image */
  background-color: #fff;     /* pour faire ressortir l'encadrement */
}

/* ====== � PROPOS CENTR� ====== */
.apropos {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* ====== VIDEO CONTAINER ====== */
.video-container {
  display: flex;
  justify-content: center;
  /* align-items: center; */ /* si besoin vertical centering */
}

.texte-scale {
      display: inline-block;
      font-size: 2rem;
      animation: zoom 2s infinite ease-in-out;
	  margin-top:15px;
    }

    @keyframes zoom {
      0%   { transform: scale(1); }
      50%  { transform: scale(1.15); -webkit-transform: scale(1.15); -moz-transform: scale(1.15); -ms-transform: scale(1.15); -o-transform: scale(1.15); }
      100% { transform: scale(1); }
    }
	/* Effet au survol */
.texte-scale:hover {
  transform: scale(1.15);
  color: #ffffff; /* facultatif : change la couleur du texte */
  text-shadow: 0 0 10px rgba(255, 75, 75, 0.8); /* effet de surbrillance */
}

/* ====== FOOTER ====== */
footer {
  text-align: center;
  color: white;
  background-color: transparent;
  font-family: Arial, sans-serif;
  text-align: center;
  padding: 1em 0;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  nav a {
    margin: 10px 10px;
    display: inline-block;
  }

  .hero,
  .services,
  .contact,
  .apropos {
    padding: 40px 20px;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .video-container {
  display: flex;
  justify-content: center; /* centre horizontalement */
  align-items: center;     /* centre verticalement, optionnel ici */
  margin: 17px 0;          /* �a �vite de mettre le style inline */
  }


  .video-container video {
  width: 100%;
  max-width: 100%;
  }


  /* ====== SERVICE DEPANNAGE ====== */

  .service-depannage {
  margin-bottom: 20px;
  font-size: 2.5em;
  color: #ff2c2c;
  text-align: center;
  }
}