/* FORJA GYM - Estilos */
/* Autor: Eduardo Lopez Cozar */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #1a1a1a;
  color: #ddd;
}

a {
  color: #f0c040;
  text-decoration: none;
}

img {
  max-width: 100%;
}

ul {
  list-style: none;
}

/* CABECERA */
#cabecera {
  background-color: #111;
  border-bottom: 3px solid #f0c040;
  padding: 10px 20px;
}

.contenedor-nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#logo-texto .nombre-gym {
  font-size: 26px;
  font-weight: bold;
  color: #f0c040;
  letter-spacing: 3px;
}

#logo-texto .eslogan {
  font-size: 10px;
  color: #888;
  display: block;
}

.menu-principal {
  display: flex;
  gap: 4px;
}

.menu-principal li a {
  color: #ccc;
  padding: 7px 11px;
  font-size: 13px;
  text-transform: uppercase;
}

.menu-principal li a.activo {
  color: #f0c040;
}

/* HERO */
#hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=1200&q=80') center/cover;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-contenido {
  background-color: rgba(0,0,0,0.7);
  padding: 25px 40px;
  border: 2px solid #f0c040;
}

.hero-contenido h1 {
  font-size: 38px;
  color: #f0c040;
}

.hero-contenido p {
  color: #aaa;
  font-size: 14px;
  margin: 8px 0 14px;
}

.boton-cta {
  display: inline-block;
  padding: 8px 20px;
  background: #f0c040;
  color: #111;
  font-weight: bold;
  font-size: 13px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}

/* SECCIONES */
.seccion {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px;
}

.titulo-seccion {
  font-size: 20px;
  color: #f0c040;
  border-bottom: 2px solid #f0c040;
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 5px;
}

.subtitulo-seccion {
  color: #888;
  font-size: 13px;
  margin-bottom: 15px;
}

/* GRID ACTIVIDADES */
#actividades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 10px;
}

.tarjeta-actividad {
  background: #242424;
  border: 1px solid #3a3a3a;
  overflow: hidden;
}

.tarjeta-actividad img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.tarjeta-contenido {
  padding: 10px;
}

.tarjeta-contenido h3 {
  color: #f0c040;
  font-size: 15px;
  margin-bottom: 5px;
}

.tarjeta-contenido p {
  font-size: 12px;
  color: #aaa;
}

.etiqueta-nivel {
  display: inline-block;
  padding: 2px 8px;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: bold;
  margin-top: 6px;
  background: #f0c040;
  color: #111;
}

/* CARRUSEL (solo scroll horizontal, sin animacion) */
#carrusel-contenedor {
  overflow-x: auto;
  border: 1px solid #3a3a3a;
  margin: 10px 0;
}

.carrusel-pista {
  display: flex;
  width: max-content;
}

.carrusel-pista img {
  width: 260px;
  height: 160px;
  object-fit: cover;
  margin-right: 4px;
}

/* TABLAS */
.tabla-horarios {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 12px;
}

.tabla-horarios thead {
  background: #f0c040;
  color: #111;
}

.tabla-horarios th {
  padding: 8px 5px;
  text-align: center;
  text-transform: uppercase;
  font-size: 11px;
}

.tabla-horarios td {
  padding: 6px 5px;
  text-align: center;
  border: 1px solid #333;
}

.tabla-horarios tbody tr {
  background: #222;
}

.tabla-horarios tbody tr:nth-child(even) {
  background: #2a2a2a;
}

/* LISTAS */
.lista-servicios {
  margin: 10px 0;
  padding-left: 25px;
}

.lista-servicios li {
  padding: 3px 0;
  color: #bbb;
  font-size: 13px;
  list-style: disc;
}

/* TARIFAS */
#tarifas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 10px;
}

.tarjeta-precio {
  background: #242424;
  border: 1px solid #3a3a3a;
  padding: 18px 14px;
  text-align: center;
}

.tarjeta-precio.destacada {
  border: 2px solid #f0c040;
}

.tarjeta-precio h3 {
  color: white;
  font-size: 16px;
  margin-bottom: 6px;
}

.tarjeta-precio .precio {
  font-size: 30px;
  color: #f0c040;
  font-weight: bold;
}

.tarjeta-precio .precio span {
  font-size: 13px;
  color: #888;
}

.tarjeta-precio ul {
  text-align: left;
  margin: 10px 0;
  padding-left: 18px;
}

.tarjeta-precio ul li {
  padding: 3px 0;
  color: #aaa;
  font-size: 12px;
  list-style: disc;
}

/* FORMULARIO */
#formulario-contacto {
  max-width: 550px;
  margin: 10px auto 0;
  background: #242424;
  padding: 20px;
  border: 1px solid #3a3a3a;
}

.grupo-campo {
  margin-bottom: 10px;
}

.grupo-campo label {
  display: block;
  font-size: 12px;
  color: #f0c040;
  margin-bottom: 3px;
  font-weight: bold;
}

.grupo-campo input,
.grupo-campo select,
.grupo-campo textarea {
  width: 100%;
  padding: 6px 8px;
  background: #333;
  border: 1px solid #555;
  color: white;
  font-family: Arial, sans-serif;
  font-size: 13px;
}

.grupo-campo textarea {
  height: 90px;
  resize: vertical;
}

.fila-doble {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.grupo-radio {
  margin-top: 4px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.grupo-radio label {
  font-size: 12px;
  color: #bbb;
  font-weight: normal;
}

.grupo-radio input[type="radio"] {
  width: auto;
}

.grupo-checkbox {
  display: flex;
  align-items: center;
  gap: 5px;
}

.grupo-checkbox input[type="checkbox"] {
  width: auto;
}

.grupo-checkbox label {
  font-size: 11px;
  color: #999;
  font-weight: normal;
}

.boton-enviar {
  width: 100%;
  margin-top: 5px;
}

/* NOSOTROS */
#sobre-nosotros-contenido {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
  margin-top: 10px;
}

.nosotros-texto p {
  color: #bbb;
  font-size: 13px;
  margin-bottom: 8px;
}

.nosotros-imagen img {
  border: 2px solid #3a3a3a;
}

.dato-destacado {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}

.dato-destacado div {
  text-align: center;
}

.dato-destacado .numero {
  font-size: 24px;
  color: #f0c040;
  font-weight: bold;
  display: block;
}

.dato-destacado .etiqueta {
  font-size: 10px;
  color: #888;
  text-transform: uppercase;
}

/* EQUIPO */
#equipo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 10px;
}

.tarjeta-monitor {
  background: #242424;
  border: 1px solid #3a3a3a;
  text-align: center;
  overflow: hidden;
}

.tarjeta-monitor img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tarjeta-monitor .info-monitor {
  padding: 8px;
}

.tarjeta-monitor h3 {
  color: white;
  font-size: 14px;
}

.tarjeta-monitor .especialidad {
  color: #f0c040;
  font-size: 11px;
  text-transform: uppercase;
}

/* VIDEO */
.video-contenedor {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin: 10px 0;
}

.video-contenedor iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* PRODUCTOS */
#productos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.tarjeta-producto {
  background: #242424;
  border: 1px solid #3a3a3a;
  overflow: hidden;
}

.tarjeta-producto img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.tarjeta-producto .producto-info {
  padding: 8px;
}

.tarjeta-producto h3 {
  color: white;
  font-size: 13px;
  margin-bottom: 3px;
}

.tarjeta-producto .producto-precio {
  font-size: 16px;
  color: #f0c040;
  font-weight: bold;
}

.tarjeta-producto .producto-desc {
  font-size: 11px;
  color: #888;
  margin-top: 3px;
}

.nota-tienda {
  background: #2a2a2a;
  border-left: 3px solid #f0c040;
  padding: 8px 12px;
  margin-top: 10px;
  color: #aaa;
  font-size: 12px;
}

/* BANNER PAGINAS */
.banner-pagina {
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url('https://images.unsplash.com/photo-1571902943202-507ec2618e8f?auto=format&fit=crop&w=1200&q=80') center/cover;
  padding: 60px 20px 35px;
  text-align: center;
}

.banner-pagina h1 {
  font-size: 30px;
  color: #f0c040;
}

.banner-pagina p {
  color: #bbb;
  font-size: 14px;
  margin-top: 5px;
}

/* MAPA */
.mapa-contenedor {
  border: 1px solid #3a3a3a;
  margin-top: 10px;
}

.mapa-contenedor iframe {
  width: 100%;
  height: 250px;
  border: 0;
}

/* FOOTER */
#pie-pagina {
  background: #111;
  border-top: 3px solid #f0c040;
  padding: 20px;
  margin-top: 25px;
  text-align: center;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-col h4 {
  color: #f0c040;
  font-size: 13px;
  margin-bottom: 5px;
}

.footer-col p,
.footer-col li {
  color: #888;
  font-size: 12px;
  line-height: 1.7;
}

.footer-col li a {
  color: #888;
}

.linea-final {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #333;
  color: #555;
  font-size: 11px;
}

.linea-final a {
  color: #f0c040;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contenedor-nav {
    flex-direction: column;
    gap: 8px;
  }

  .menu-principal {
    flex-wrap: wrap;
    justify-content: center;
  }

  #actividades-grid,
  #tarifas-grid,
  #equipo-grid {
    grid-template-columns: 1fr;
  }

  #productos-grid {
    grid-template-columns: 1fr 1fr;
  }

  #sobre-nosotros-contenido {
    grid-template-columns: 1fr;
  }

  .fila-doble {
    grid-template-columns: 1fr;
  }
}
