/* ===== BASE (mobile first) ===== */

.categorias {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 3%;
  gap: 10px;
  cursor: pointer;
}

.categorias_nav {
  background-color: #dd1f83;
  border-radius: 1vh;
  padding: 10px;
  color: #fff;
}

.busqueda {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 3%;
}

.tigres {
  justify-content: center;
  display: flex;
  flex-wrap: wrap; /* clave para responsive */
  gap: 10px;
  padding: 10px;
}

.img_tigres {
  width: 100%; /* full en celular */
  max-width: 100%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  overflow: hidden;
  position: relative;
  transition: .25s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.img_tigres:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Modal igual (no necesita mucho cambio) */
.modal-img {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
}

.modal-img-content {
  display: block;
  margin: auto;
  max-width: 95%;
  max-height: 80%;
  border-radius: 10px;
}

.modal-img-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

.prev, .next {
  position: absolute;
  top: 50%;
  color: white;
  font-size: 30px;
  cursor: pointer;
  padding: 10px;
  user-select: none;
  transform: translateY(-50%);
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
  color: #ccc;
}

.cuerpo_origen {
  background-color: #fff;
  width: 100%;
}

.gastronomia_contaier {
  background-image: url(../img/turismo/fondos/ricardo-castro.jpg);
  min-height: 400px;
  padding: 20px;
  background-size: cover;
  background-position: center;
}

.bicentenario_contaier {
  background-image: url(../img/turismo/fondos/ccb.jpg);
  min-height: 400px;
  padding: 20px;
  background-size: cover;
  background-position: center;
}

.titulo_gastronomia {
  padding: 10px 0;
  text-align: center;
  background-color: #6D8496;
  font-size: 22px;
  color: #fff;
}

.titulo_tour {
  padding: 10px 0;
  text-align: center;
  background-color:  #E01182 !important;
  font-size: 22px;
  color: #fff;
}

.titulo_tour_dos {
  padding: 10px 0;
  text-align: center;
  background-color: #515197 !important;
  font-size: 22px;
  color: #fff;
  padding: 1%;
}

.titulo_convenciones {
  padding: 10px 0;
  text-align: center;
  font-size: 22px;
  color: #fff;
}

.content_titulo {
  display: flex;
  width: 100%;
  height: 50%;
  justify-content: center;
}

.btn_itineraio{
  border-color: #E01182 !important;
  color: #444 !important;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 0;
}

.btn_itineraio:hover,
.btn_itineraio:focus,
.btn_itineraio:active {
  border-color: #E01182 !important;
  color: #444 !important;
  text-decoration: none;
  background: #fff !important;
  box-shadow: none !important;
}

.tour_flex{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1%;
}

.body_text {
  padding: 15px;
  color: #6D8496;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


/* ===== TABLET ===== */
@media (min-width: 768px) {

  .categorias {
      width: 40%;
  }

  .busqueda {
      width: 60%;
  }

  .img_tigres {
      width: 45%; /* 2 por fila */
  }

  .cuerpo_origen {
      width: 100%;
  }

  .titulo_gastronomia {
      font-size: 26px;
  }
}


/* ===== DESKTOP ===== */
@media (min-width: 1024px) {

  .categorias {
      width: 30%;
      padding: 1%;
  }

  .busqueda {
      width: 18%;
      padding-left: 1%;
      padding-bottom: 1%;
  }

  .img_tigres {
      width: 22%; /* 4 por fila */
      max-width: 25vh;
  }

  .cuerpo_origen {
      width: 78%;
  }

  .gastronomia_contaier {
      min-height: 400px;
      padding-left: 15%;
      padding-top: 5%;
  }

  .titulo_gastronomia {
      font-size: 32px;
  }
}

.c-gray {
  background-color: #6D8496;
  position: relative;
  float: left;
  top: 0;
}

.circles {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #6D8496;
  color: #fff;
  line-height: 40px;
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 14px; 
  right: 10px;
  top: 10px;
}

.circles_check {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #6D8496;
  color: #fff;
  line-height: 40px;
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 14px; 
  right: 10px;
  top: 10px;
  display: flex;
  justify-content: center;
  font-size: 2vh;
  padding: 2%;
}


.circulitos_container {padding: 50px 0;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: baseline;
  gap: 3%;}


.container_tabla{
  display: flex;
  justify-content: center;
}

th{
  padding: 10px;
  text-align: center;
  background-color: #6D8496;
  color: #fff;
  border: 1px solid #DBDFE2 !important;
}

td {
  border: 1px solid #DBDFE2 !important;
}

.img-circle {
  border-radius: 50%;
  margin-bottom: 11%;
}

.container_img {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2%;
  text-align: justify;
}
 
.cir {
  right: 50%;
  margin-right: -100px;
}

.circles_evento {
  width: 40px;
  height: 40px;
  border-radius: 50%; 
  background-color: #e01182;
  color: #fff;
  line-height: 40px;
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  position: absolute;
  left: 2vh;
}

.container_evento_imagen {
  position: relative;
}

.d-flex {
  display: flex;
  flex-direction: column;
}

/* Tablet */
@media (min-width: 768px) {
  .d-flex {
    flex-direction: row; /* 🔥 ya en fila */
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .d-flex {
    justify-content: space-between;
    align-items: center;
  }
}