/* -------------------------
   ESTILOS GENERALES
-------------------------- */
body {
  font-family: 'Arial', sans-serif;
  background-color: #111; /* Fondo negro */
  color: #eee;            /* Texto gris claro */
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5 {
  color: #fff;
  font-weight: 600;
}

a {
  color: #e50914; /* Rojo acento */
  text-decoration: none;
}

a:hover {
  color: #ff3333;
  text-decoration: underline;
}

/* -------------------------
   NAVBAR
-------------------------- */
.navbar {
  background-color: #000 !important; /* Navbar negra */
}

.navbar-brand {
  color: #e50914 !important; /* Marca en rojo */
  font-size: 1.5rem;
}

.navbar-nav .nav-link {
  color: #eee !important;
  margin-left: 1rem;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #e50914 !important;
}

.logo-navbar {
  max-height: 120px;
  width: auto;
}
/* -------------------------
   CARRUSEL
-------------------------- */
.carousel-caption h5 {
  font-size: 1.8rem;
  font-weight: bold;
  color: #e50914;
}

.carousel-caption p {
  color: #eee;
  font-size: 1rem;
}

/* -------------------------
   TARJETAS DE NOTICIAS
-------------------------- */
.card {
  background-color: #1a1a1a;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(229, 9, 20, 0.4);
}

.card-title {
  color: #e50914;
  font-size: 1.2rem;
  font-weight: bold;
}

.card-text {
  text-align: center;
  color: #ccc;
}
.card-text2 {
  text-align: center;
  color: #ccc;
  font-size: 1.2rem;
  font-weight: bold
}
.card-subtitulo{
  text-align: center;
  color: #e50914;
  font-size: 1.2rem;
  font-weight: bold
}
.card img {
  border-bottom: 2px solid #e50914;
}

/* Botones */
.btn-primary {
  background-color: #e50914;
  border: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #ff3333;
}

.btn-dark {
  background-color: #111;
  border: 1px solid #e50914;
  font-weight: bold;
}

.btn-dark:hover {
  background-color: #e50914;
  color: #fff;
}
.fondo-personalizado {
background-image: url('img/noticia4.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}

.seccion-valores {
  background: url("img/fondo.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed; /* efecto parallax opcional */
  color: #fff; /* texto blanco para contraste */
}

.seccion-valores .card {
  background-color: rgba(0, 0, 0, 0.7); /* tarjetas con transparencia elegante */
  color: #fff;
  border: none;
}

.seccion-valores {
  background-image: url('../img/fondo.jpg'); /* Adjust path if needed */
  background-size: cover; /* Covers the entire section */
  background-position: center; /* Centers the background image */
  background-attachment: fixed; /* Makes the background parallax-like */
  position: relative; /* Needed for overlay */
  z-index: 1; /* Ensures content is above overlay */
}

.seccion-valores::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay, adjust transparency */
  z-index: -1; /* Puts overlay behind content but above background image */
}
{
      background-color: #111;
      color: #fff;
      font-family: Arial, sans-serif;
    }
    .navbar {
      background-color: #000 !important;
    }
    .navbar-brand img {
      height: 40px;
    }
    .profesor {
      margin-bottom: 4rem;
    }
    .profesor img {
      border-radius: 12px;
      max-height: 350px;
      object-fit: cover;
      width: 100%;
    }
    .profesor h3 {
      color: #e50914;
      font-weight: bold;
    }
    .profesor p {
      text-align: justify;
    }
    .section-header {
      background: url('img/fondo.jpg') center/cover no-repeat;
      padding: 6rem 2rem;
      text-align: center;
    }
    .section-header h1 {
      font-size: 2.5rem;
      font-weight: bold;
      color: #fff;
      text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    }
/* -------------------------
   FORMULARIO DE CONTACTO
-------------------------- */
form .form-control {
  background-color: #000;
  border: 1px solid #333;
  color: #eee;
  border-radius: 8px;
}

form .form-control:focus {
  background-color: #111;
  border: 1px solid #e50914;
  box-shadow: 0 0 5px rgba(229, 9, 20, 0.6);
  color: #fff;
}

/* -------------------------
   FOOTER
-------------------------- */
footer {
  background-color: #000;
  color: #888;
}

footer p, footer small {
  margin: 0;
}

footer small {
  color: #e50914;
}

/* -------------------------
   MODAL
-------------------------- */
.modal-content {
  background-color: #111;
  color: #eee;
  border-radius: 10px;
}

.modal-header {
  border-bottom: 1px solid #e50914;
}

.modal-title {
  color: #e50914;
}

.redes a {
  margin-right: 30px;     /* espacio entre iconos */
  text-decoration: none;
  color: #fff;            /* color base */
}

.redes a:last-child {
  margin-right: 0;
}

.redes i {
  font-size: 3rem;      /* tamaño uniforme */
  transition: color 0.2s;
}

.redes a:hover i {
  color: #fff;         /* color al pasar el mouse (puedes personalizarlo) */
}
.dropdown-menu ul {
  max-height: 200px;
  overflow-y: auto;
}
.logo-navbar {
  max-height: 70px; /* logo un poco más grande */
  width: auto;
}

.navbar-light .navbar-nav .nav-link {
  font-weight: 500;
}

.list-group-item a {
  text-decoration: none;
  color: #000;
}

.list-group-item a:hover {
  text-decoration: underline;
  color: #dc3545; /* verde Bootstrap */
}

.dropdown-menu {
  max-height: 400px;
  overflow-y: auto;
}

.list-group-item a {
  text-decoration: none;
  color: #000;
}

.list-group-item a:hover {
  text-decoration: underline;
  color: #dc3545; /* rojo Bootstrap */
}

.dropdown-menu {
  max-height: 400px;
  overflow-y: auto;
}

.input-group .form-control {
  border-radius: 0.5rem 0 0 0.5rem;
}

.input-group .btn-danger {
  border-radius: 0 0.5rem 0.5rem 0;
}

.list-group-item a {
  text-decoration: none;
  color: #000;
}

.list-group-item a:hover {
  text-decoration: underline;
  color: #dc3545; /* rojo Bootstrap */
}

/* Logo más grande */
.logo-navbar {
  max-height: 80px;
  width: auto;
}

/* Texto del logo en blanco */
.brand-text {
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
}

/* Centrar los enlaces */
.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
}

/* Asegurar que el buscador quede alineado a la derecha */
.dropdown .input-group {
  min-width: 250px;
}

/* Resultados dropdown */
.dropdown-menu {
  max-height: 400px;
  overflow-y: auto;
}
/* Texto del carrusel */
.carousel-caption {
  background: rgba(0, 0, 0, 0.5); /* fondo oscuro semi-transparente */
  padding: 1rem;
  border-radius: 0.5rem;
}

/* Indicadores (puntos) */
.carousel-indicators [data-bs-target] {
  background-color: #dc3545; /* rojo Bootstrap */
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

/* Flechas de navegación más visibles */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1); /* blancas */
  width: 3rem;
  height: 3rem;
}
/* Carrusel ocupa alto de pantalla */
#carouselNoticias .carousel-item img {
  height: 80vh;
  object-fit: cover;
}

/* Texto sobre la imagen */
.carousel-caption {
  bottom: 20%;
  left: 10%;
  text-align: left;
  max-width: 600px;
}

.carousel-caption h2 {
  font-size: 2.5rem;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
}

.carousel-caption p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Indicadores redondos */
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  background-color: #dc3550; /* rojo */
}

/* Flechas grandes */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  filter: invert(1);
}

/* Carrusel ocupa buena altura */
#carouselNoticias .carousel-item img {
  height: 80vh;      /* puedes cambiar a 100vh para pantalla completa */
  object-fit: cover; /* asegura que la imagen se ajuste bien */
}

/* Indicadores (puntos rojos) */
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  background-color: #000; /* rojo Bootstrap */
}

.profesor-card {
  border: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.profesor-card img {
  object-fit: cover;
  height: 300px;
  border-radius: 0.5rem 0.5rem 0 0;
}

.profesor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-title {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.card-text {
  color: #666;
}
.profesor-card {
  border: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.profesor-card img {
  object-fit: cover;
  height: 300px;
  border-radius: 0.5rem 0.5rem 0 0;
}

.profesor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-title {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.card-text {
  color: #666;
}
.profesor-card {
  border: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.profesor-card img {
  object-fit: cover;
  height: 300px;
  border-radius: 0.5rem 0.5rem 0 0;
}

.profesor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-title {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.card-text {
  color: #666;
}
.taller-card {
  border: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.taller-card img {
  object-fit: cover;
  height: 280px;
  border-radius: 0.5rem 0.5rem 0 0;
}

.taller-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-title {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.card-text {
  color: #666;
}
 .taller-card .card-body p {
  margin-bottom: 0.5rem;
}

.taller-card .card-body strong {
  color: #dc3545; /* rojo institucional */
}
footer a {
  transition: color 0.3s;
}

footer a:hover {
  color: #dc3545; /* rojo institucional al pasar el mouse */
}

footer a {
  transition: color 0.3s, transform 0.3s;
}

footer a:hover {
  color: #dc3545;   /* rojo institucional */
  transform: scale(1.2); /* crece un poco al pasar el mouse */
}

.redes-footer a {
  margin: 0 10px; /* separación horizontal */
  transition: color 0.3s, transform 0.3s;
}

.redes-footer a:hover {
  color: #dc3545; /* rojo institucional */
  transform: scale(1.2);
}

.clase-label {
  color: #dc3545; /* rojo Bootstrap */
}

/* --- Ajustes para el carrusel principal --- */
#carouselNoticias {
  max-height: 90vh; /* limita la altura total en pantallas grandes */
  overflow: hidden;
}

#carouselNoticias img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* --- Versión móvil --- */
@media (max-width: 768px) {
  #carouselNoticias {
    max-height: 50vh; /* reduce altura en móvil */
  }

  #carouselNoticias img {
    height: 100%;
    object-fit: cover;
  }
}
/* Ajuste general para compensar el navbar fijo */
body {
  padding-top: 80px; /* altura del navbar */
}

/* En pantallas pequeñas el navbar es más alto */
@media (max-width: 768px) {
  body {
    padding-top: 100px;
  }
}
