/*===============================
    Reset básico
=================================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #ffffff;
}

/*===============================
    Header
=================================*/
.header {
  background-color: #342d2d;
  width: 100%;
}
.header .header-inner {
  background-color: #198754;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
  position: relative;
}


/* Menú de navegación */
.header .menu-bar {
  display: flex;
  align-items: center;
}
.header .navbar {
  background: none;
  box-shadow: none;
  border: none;
}
.header .navbar-nav {
  display: flex;
  flex-direction: row; /* ← Asegúrate que esto esté aquí */
  gap: 25px;
  margin-top: 0;
}
.header .nav li {
  position: relative;
}
.header .nav li a {
  color: #252525;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 5px;
  display: block;
  position: relative;
  transition: color 0.3s ease;
}
.header .nav li a::before {
  content: "";
  position: absolute;
  height: 2px;
  left: 50%;
  bottom: 5px;
  transition: all 0.3s ease;
  background-color: #252525;
  width: 0;
}
.header .nav li:hover a::before {
  left: 0;
  width: 100%;
}
.header .nav li:hover a {
  color: #ffffff;
}
.Titulos{
  text-align: center;
  color: black;
  transition: color 0.3s ease, transform 0.3s ease;
}
.Titulos:hover{
    color: #3575f7;
    transform: scale(1.1); /* Agrande un poco el texto al pasar el mouse*/
}



/* Botón extra (opcional) */
.boton-nav {
  background-color: #088772;
  color: #ffffff;
  padding: 8px 16px;
  margin-left: 10px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.boton-nav:hover {
  background-color: #1d403c;
}
.cards-container {
  width: 100%;
  flex-wrap: wrap;              /* permite múltiples tarjetas por fila */
  gap: 20px;
  justify-content: flex-start;  /* o center / space-between */
  padding: 15px;
}


.card2 {
  width: 100%;                 /* ← evita que ocupen toda la fila */
  display: inline-block;
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.card2:hover {
  transform: scale(1.03);
}

.card2 h3 {
  font-size: 20px;
  color: #198754;
  margin-bottom: 10px;
}

.card2 p {
  font-size: 14px;
  margin: 5px 0;
  color: #333;
}

.card2 .categoria {
  font-weight: bold;
  color: #088772;
}

.card2 .via {
  font-style: italic;
  color: #666;
}

.contenedor {
  background-color: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  width: 320px;
  text-align: center;
}

/* Título */
.titulo {
  font-size: 28px;
  color: #333;
  margin-bottom: 25px;
}

/* Inputs */
.sesion input {
  width: 100%;
  padding: 10px;
  margin: 10px 0 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Botón */
.sesion button {
  width: 100%;
  padding: 12px;
  background-color: #007acc;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.sesion button:hover {
  background-color: #4a5568;
}

/* --Paginacion-- */
.paginacion{
    margin-bottom: 30px;
}
.paginacion ul{
    list-style: none;
    text-align: center;
}

.paginacion ul li{
    display: inline-block;
    margin: 0 5px;
    color: #fff;
}
.paginacion ul li a{
    display: block;
    padding: 10px 20px;
    background: #595959;
    color: #fff;
    border-radius: 6px
}
.paginacion ul li a:hover {
    background: #198754;
    text-decoration: none;
}
.paginacion ul .active{
    padding: 10px 20px;
    background: #198754;
    border-radius: 6px
}

.paginacion ul .disabled{
    padding: 10px 20px;
    background: #a8a8a8;
    cursor: not-allowed;
    border-radius: 6px
}
.paginacion ul .disabled:hover {
    background: #a8a8a8;

}




/*===============================
    Responsive básico
=================================*/
@media screen and (max-width: 768px) {
  .header .header-inner {
    flex-direction: row;        /* ← Cambiado de column a row */
    align-items: center;        /* Ajusta el alineamiento vertical */
    justify-content: space-between; /* Distribuye los elementos horizontalmente */
  }
    .card2 {
    width: 100%;
  }


  .header .navbar-nav {
    flex-direction: row;        /* ← Cambiado de column a row */
    gap: 25px;                  /* Espaciado entre los ítems */
    margin-top: 0;              /* Quita el margen superior */
  }
}
