/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9; /* fondo claro general */
  color: #222;              /* texto general oscuro */
}
/* Clase personalizada para títulos en naranja */
.text-orange {
  color: #ff6f00; /* naranja */
  text-shadow: -1px -1px 0 #000,  
               1px -1px 0 #000,
              -1px  1px 0 #000,
               1px  1px 0 #000; /* borde negro */
}

/* Barra informativa superior (NO modificar formato escritorio) */
.barra-info {
  background-color: #222;
  padding: 10px 0;
  font-size: 1rem;
  position: fixed;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
}

/* Barra informativa superior */
.barra-info {
  background-color: #222;
  padding: 10px 0;
  font-size: 1rem;
  position: fixed;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
}

.barra-info-atras-contenedor {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
}

.barra-info-atras {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(34, 34, 34, 0.95);
  color: #ff6f00;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid #ff6f00;
}

.barra-info-atras:hover {
  color: #fff;
  background: rgba(34, 34, 34, 1);
}

.barra-info a {
  color: #ff6f00;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.barra-info a:hover {
  color: #fff;
}

/* Franja naranja superior */
.franja-naranja {
  background-color: #ff6f00;
  height: 60px;
  width: 100%;
}

/* Hero con fondo */
.hero {
  background-image: url('../images/fondo.webp'); 
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  position: relative;
  padding-top: 100px; /* espacio para la barra fija */
}

/* Capa oscura */
.hero-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 12px;
  color: #fff; /* texto dentro del hero en blanco */
}

/* Botón */
.btn-banner {
  display: inline-block;
  background-color: #111;
  color: #ff6f00;
  border: 2px solid #ff6f00;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-banner:hover {
  background-color: #ff6f00;
  color: #fff;
  transform: translateY(-2px);
}
.hero-overlay .btn-banner + .btn-banner {
  margin-top: 20px; /* separa el segundo botón del primero */
}
/* Secciones informativas */
.section-title {
  font-size: 2rem;
  color: #000000;
  margin-bottom: 20px;
}

.card {
  border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  background-color: #fff; /* fondo claro */
  color: #222;            /* texto oscuro */
}

.list-group-item {
  font-size: 1.1rem;
  background-color: #fff; /* fondo claro */
  color: #222;            /* texto oscuro */
}

/* Footer */
footer {
  background-color: #f1f1f1;
  color: #222;
}

/* Responsivo */
@media (max-width: 576px) {
    .barra-info {
    flex-direction: row;
    padding: 8px 0;
  }


 /* barra de iconos */
.barra-info {
  display: flex;
  flex-wrap: wrap;        /* permite varias filas */
  justify-content: center;/* centra los ítems en cada fila */
}

.barra-info a {
  flex: 0 0 calc(33.333% - 10px); /* tres ítems por fila */
  text-align: center;
  margin: 5px;
  font-size: 0.8rem;
  padding: 1px;
  white-space: normal;
  word-wrap: break-word;
}

.barra-info a.doble {
  flex: 0 0 35%;          /* cada uno ocupa 40% del ancho */
  margin: 5px;            /* margen uniforme */
}


  .hero {
    min-height: auto;
    padding: 40px 0;
  }
  .hero-overlay {
    max-width: 100%;
    padding: 20px;
  }
  .hero-overlay h1 {
    font-size: 1.8rem;
  }
  .hero-overlay p {
    font-size: 1rem;
  }
  .btn-banner {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  /* columnas del hero apiladas en móvil */
  .hero .col-12 {
    margin-bottom: 20px;
  }
}
