@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Roboto&display=swap');

/* Fondo azul elegante y profesional */
body {
  background-color: #3b5998; /* azul medio, profesional */
  color: #ffffff; /* texto claro */
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Títulos */
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #ffffff;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

/* Enlaces */
a {
  color: #4aa3ff; /* azul vibrante */
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #2b7bc4;
}

/* Menú */
nav {
  background-color: #2c477a; /* azul más oscuro para contraste */
  padding: 1rem 2rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Botones */
button, .btn {
  background-color: #4aa3ff;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
button:hover, .btn:hover {
  background-color: #2b7bc4;
}

/* Contenedores */
.container

#mas-informacion,
#info-triturado,
#info-combustible {
  background-color: #2c477a;
  color: #ffffff;
  border-radius: 8px;
  padding: 20px;
}

#mas-informacion h3,
#mas-informacion h4,
#info-triturado h3,
#info-triturado h4,
#info-combustible h3,
#info-combustible h4 {
  color: #4aa3ff;
}

#mas-informacion ul li,
#info-triturado ul li,
#info-combustible ul li {
  color: #333;;
}

#mas-informacion ul,
#info-triturado ul,
#info-combustible ul {
  list-style: none;
  padding-left: 0;
  text-align: justify;
  line-height: 1.6;
}



.info-box {
  background-color: #2c477a; /* azul oscuro */
  padding: 20px;
  border-left: 6px solid #4aa3ff; /* azul vibrante */
  margin-bottom: 20px;
  border-radius: 6px;
  color: #ffffff;
}

.info-box-title {
  color: #4aa3ff;
  margin-top: 0;
  margin-bottom: 10px;
}

.info-box-list {
  list-style: none;
  padding-left: 0;
  text-align: justify;
  line-height: 1.6;
  margin: 0;
}

.info-box-list li {
  margin-bottom: 6px;
  color: #ffffff;
}

.desplegable {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease, opacity 0.3s ease;
  padding: 0;
  opacity: 0;
}

.desplegable.activo {
  max-height: 2000px; /* suficiente para mostrar todo el contenido */
  padding: 20px 0;
  opacity: 1;
}

#organigrama img {
  width: 100%;
  max-width: 800px;
  display: block;
  margin: 0 auto;
}



/* Hero Section */
.hero-section {
  background-image: url('neumaticos-apilados.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 70vh;              /* Altura para escritorio */
  margin-top: 100px;         /* Ajusta según altura de tu menú fijo */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 20px;
  box-sizing: border-box;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5em;
}

.hero-content p {
  font-size: 1.5rem;
  line-height: 1.3;
}

/* Estilos para móviles y tablets */
@media (max-width: 768px) {
  .hero-section {
    height: 50vh;          /* Altura menor para móviles */
    margin-top: 80px;      /* Ajusta si el menú cambia */
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}




