body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 70px;
}

/* HEADER */
header {
  background-image: url('https://images.unsplash.com/photo-1554284126-aa88f22d8b74');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 80px 20px;
  margin-top: -2em;
  border-bottom: solid orange;
}

/* NAV */
.barra-navegacion {
  background-color: #ff7a00 !important;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 70px;
  z-index: 1050;
  display: flex;
  align-items: center;
  margin-bottom: 0em;
}

/* enlaces */
.enlace-navegacion {
  color: white !important;
  font-weight: 500;
  margin: 0 10px;
  padding: 8px 15px;
  border-radius: 8px;
  text-decoration: none;
}

/* hover simple */
.enlace-navegacion:hover {
  background-color: white;
  color: #ff7a00 !important;
}

/* TARJETAS GENERALES */
.tarjeta img {
  height: 180px;
  object-fit: cover;
}

.titulo-tarjeta {
  color: #ff7a00;
  font-weight: 600;
}

.boton-principal {
  background-color: #ff7a00;
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
}

.boton-principal:hover {
  background-color: #e96b00;
  color: white;
}

/* FOOTER */
footer {
  background-color: #222;
  color: white;
  margin-top: auto;
  border-top: solid orange;
}

.enlaces-footer a {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin-bottom: 5px;
}

.enlaces-footer a:hover {
  color: white;
}

/* ========================= */
/* CONTACTO (NUEVO INTEGRADO) */
/* ========================= */

.hero {
  height: 25em;
  background: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?w=1400') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.hero h1 {
  position: relative;
  color: #ff7a00;
  font-weight: 700;
  text-transform: uppercase;
}

/* CARDS */
.card-custom {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
}

.card-dark {
  background: #111;
  color: #ddd;
  border-radius: 10px;
  padding: 25px;
}

/* BOTÓN CONTACTO */
.btn-orange {
  background-color: #ff7a00;
  color: white;
  font-weight: 600;
  width: 100%;
}

.btn-orange:hover {
  background-color: #e96b00;
}

/* ICONOS INFO */
.icon-box {
  width: 40px;
  height: 40px;
  background: #ff7a00;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

/* REDES */
.social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
  color: white;
  border-radius: 6px;
}

.social a:hover {
  background: #ff7a00;
}

/* MAPA */
iframe {
  width: 100%;
  height: 300px;
  border: 0;
}
/* ===== HORARIO GIMNASIO ===== */

.contenedor-horario {
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
}

.titulo-horario {
  text-align: center;
  color: #ff7a00;
  font-weight: 600;
  margin-bottom: 25px;
}

/* TABLA */
.tabla-horario {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* CABECERA */
.tabla-horario th {
  background-color: #ff7a00;
  color: white;
  padding: 14px;
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* CELDAS */
.tabla-horario td {
  padding: 14px;
  text-align: center;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  transition: all 0.2s ease;
}

/* FILAS ALTERNAS */
.tabla-horario tr:nth-child(even) {
  background-color: #fafafa;
}

/* HOVER */
.tabla-horario td:hover {
  background-color: #ffe3cc;
  transform: scale(1.03);
  cursor: pointer;
}

/* HORA */
.hora {
  font-weight: 600;
  color: #ff7a00;
}

/* EFECTO TARJETA */
.tabla-horario tbody tr {
  transition: all 0.2s ease;
}

.tabla-horario tbody tr:hover {
  background-color: #fff3e6;
}
/* ===== LAYOUT FLEX ===== */
.fila-horario {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.col-horario {
  flex: 2;
  min-width: 300px;
}

.col-info {
  flex: 1;
  min-width: 250px;
}

/* ===== TARJETA LATERAL ===== */
.card-info {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  height: 100%;
}

.card-info h3 {
  color: #ff7a00;
  font-weight: 600;
  margin-bottom: 10px;
}

.hora-grande {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ff7a00;
  margin: 10px 0;
}

.texto-peque {
  font-size: 0.9rem;
  color: #666;
}

/* ===== TEXTO INFERIOR ===== */
.texto-extra {
  margin-top: 30px;
  padding: 20px;
  background: #fff3e6;
  border-left: 5px solid #ff7a00;
  border-radius: 8px;
}

.texto-extra p {
  margin: 0;
  color: #444;
  font-size: 15px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .fila-horario {
    flex-direction: column;
  }
}
/* ===== TARJETAS ACTIVIDADES ===== */

.img-tarjeta {
  height: 200px;
  object-fit: cover;
}

.tarjeta {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.tarjeta:hover {
  transform: translateY(-5px);
}

.titulo-tarjeta {
  color: #ff7a00;
  font-weight: 600;
}

.tarjeta p {
  font-size: 14px;
  color: #444;
}
/* ===== FILTROS ===== */
.filtros-box {
  background: #fff;
  border-left: 5px solid #ff7a00;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.filtros-box h4 {
  color: #ff7a00;
  margin-bottom: 15px;
}

/* ===== TARJETAS ACTIVIDAD ===== */
.actividad-card {
  border: none;
  border-radius: 12px;
  padding: 10px;
  transition: 0.3s;
}

.actividad-card:hover {
  transform: translateY(-5px);
}

.titulo-tarjeta {
  color: #ff7a00;
  font-weight: 600;
  margin-bottom: 10px;
}

.actividad-card p {
  margin: 3px 0;
  font-size: 14px;
  color: #444;
}

/* ===== NIVEL ===== */
.nivel {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
  color: white;
}

.alto {
  background: #e74c3c;
}

.medio {
  background: #f39c12;
}

.bajo {
  background: #2ecc71;
}
/* ===== LOGIN PAGE ===== */

.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://images.unsplash.com/photo-1517836357463-d25dfeac3438?w=1400') center/cover;
  position: relative;
}

/* oscurecer fondo */
.login-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

.login-card {
  position: relative;
  background: white;
  padding: 40px;
  width: 360px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.login-title {
  text-align: center;
  color: #ff7a00;
  font-weight: 700;
  margin-bottom: 5px;
}

.login-subtitle {
  text-align: center;
  margin-bottom: 20px;
  color: #666;
  font-size: 0.9rem;
}

.input-group {
  margin-bottom: 15px;
}

.input-group label {
  font-size: 0.85rem;
  color: #444;
  display: block;
  margin-bottom: 5px;
}

.input-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
}

.input-group input:focus {
  border-color: #ff7a00;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,122,0,0.2);
}

.btn-login {
  width: 100%;
  margin-top: 10px;
}

.login-footer {
  text-align: center;
  margin-top: 15px;
  font-size: 0.85rem;
}

.login-footer a {
  color: #ff7a00;
  text-decoration: none;
}

.login-footer a:hover {
  text-decoration: underline;
}