/* --- RESET GENERAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* --- TIPOGRAFÍA Y FONDO GENERAL --- */
  body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background: #f8f9fa;
  }
  
  /* --- CONTENEDOR GENERAL --- */
  .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
  }
  
  /* --- CABECERA --- */
  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ce0000cd;
    padding: 10px 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  .nav-links li {
    display: inline;
  }
  .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  .nav-links a:hover {
    color: #d1ecf1;
  }
  
/* --- BOTÓN WHATSAPP FLOTANTE --- */
.whatsapp-float {

    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
  }
  .whatsapp-float img {
    width: 75px;
    height: 75px;
    transition: transform 0.3s ease-in-out;
  }
  
  .whatsapp-float:hover img {
    transform: scale(1.1);
  }
  
  /* --- BOTÓN FACEBOOK FLOTANTE --- */
  .facebook-float {
    position: fixed;
    right: 20px;
    bottom: 100px; /* Para que no se encime con el de WhatsApp */
    z-index: 999;
  }
  
  .facebook-float img {
    width: 75px;
    height: 75px;
    transition: transform 0.3s ease-in-out;
  }
  
  .facebook-float:hover img {
    transform: scale(1.1);
  }

  .hero {
    height: 100vh;
    background: url('freno.jpg') no-repeat center center/cover;
    position: relative;
    display: flex; /* Flexbox para centrar */
    align-items: center; /* Centrar verticalmente */
    justify-content: center; /* Centrar horizontalmente */
    text-align: center;
    color: white;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 10;
    animation: fadeIn 1.5s ease;
}

.hero-content h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.btn {
    background-color: #e50000;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #ff6666;
    transform: translateY(-3px);
}

  
  /* --- SECCIÓN MARCAS --- */
  .marcas {
    padding: 80px 0;
    background: #ffffff;
    text-align: center;
  }
  .marcas h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #ce0000cd;
  }
  
  .brand-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Ajusta a dos columnas o una según el espacio */
    gap: 30px; /* Espaciado entre las tarjetas */
    margin-bottom: 40px;
}

  .brand-card {
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
  }
  .brand-card img {
    width: 100%;
    height: auto;
  }
  .brand-card h3 {
    font-size: 1.5em;
    margin: 15px 0;
    color: #ce0000cd;
  }
  .brand-card p {
    padding: 0 20px;
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
  }
  .brand-card .btn {
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin: 0 auto 20px;
    display: inline-block;
    transition: background-color 0.3s ease;
  }
  .brand-card .btn:hover {
    background: #ce0000cd;
  }
  
/* --- SECCIÓN CONTACTO --- */
.contacto {
    padding: 50px 0;
    background: linear-gradient(180deg, #000 0%, #101010 100%);
    text-align: center;
  }
  .contacto h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #e50000;
  }
  .contacto p {
    margin-bottom: 30px;
    color: #ccc;
  }
  
  /* --- SECCIÓN INFO --- */
  .INFO {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 50px 20px;
  }
  .INFO img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* --- FOOTER --- */
  .footer {
    background: #343a40;
    color: white;
    padding: 20px 0;
    text-align: center;
  }
  .footer p {
    font-size: 0.9em;
    margin: 5px 0;
  }
  
  /* --- RESPONSIVE --- */
  @media (max-width: 768px) {
    .hero h1 {
      font-size: 2em;
    }
    .hero p {
      font-size: 1em;
    }
    .brand-container {
      flex-direction: column;
      align-items: center;
    }
    .brand-card {
      width: 100%;
      max-width: 400px;
    }
  }
  /* --- FRENOS --- */

.frenos {
  text-align: center;
  padding: 50px 20px;
}
.frenos h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #101010;
}

.frenos {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 10px;
}
.frenos-LOGO {
  max-width: 100%;
  height: auto;
}

/* --- FOOTER --- */
.footer {
  background-color: #121212;
  padding: 20px 0;
  text-align: center;
}
.footer p {
  color: #ccc;
  font-size: 0.9em;
}
