/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
}

/* ===== VARIABLES ===== */
:root {
  --azul-oscuro: #002b5c;
  --azul-claro: #0077ff;
  --blanco: #ffffff;
  --rojo: #e63946;
  --borde-suave: #eef4ff;
  --sombra: rgba(0, 0, 0, 0.15);
}

/* ===== FONDO GENERAL ===== */
body {
  background: linear-gradient(90deg, #eaf1fb 0%, #ffffff 50%, #eaf1fb 100%);
  color: var(--azul-oscuro);
  overflow-x: hidden;
  position: relative;
}

/* ===== BARRAS LATERALES ===== */
body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  width: 14px;
  height: 100vh;
  z-index: -1;
  background: linear-gradient(to bottom, var(--rojo), #0057b8 90%, var(--azul-oscuro));
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}

/* Izquierda */
body::before {
  left: 0;
}

/* Derecha */
body::after {
  right: 0;
}

/* ===== HEADER / NAVBAR ===== */
header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, var(--azul-oscuro), #0057b8, #4da3ff);
  padding: 10px 30px;
  color: var(--blanco);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo img {
  width: 36px;
  height: 36px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu li a {
  color: var(--blanco);
  text-decoration: none;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.menu li a:hover,
.menu li a.active {
  background: var(--rojo);
  color: var(--blanco);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--blanco);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 6px 8px;
}

/* ===== CARRUSEL ===== */
.carrusel {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-bottom: 4px solid var(--rojo);
}

.slides, .slide {
  width: 100%;
  height: 100%;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
}

.carrusel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Controles */
.controles {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 25px;
  z-index: 10;
}

.prev, .next {
  cursor: pointer;
  font-size: 2.4rem;
  color: var(--blanco);
  font-weight: bold;
  user-select: none;
  transition: color 0.3s ease;
  text-shadow: 0 0 6px rgba(0,0,0,0.6);
}

.prev:hover, .next:hover {
  color: var(--rojo);
}

/* Indicadores */
.indicadores {
  position: absolute;
  bottom: 18px;
  width: 100%;
  text-align: center;
  z-index: 11;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: rgba(255,255,255,0.6);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background-color: var(--rojo);
}

/* Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,43,92,0.3), rgba(0,43,92,0.7));
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  pointer-events: none;
}

.overlay h1 {
  color: var(--blanco);
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 3px 8px rgba(0,0,0,0.5);
}

/* ===== INFO CLUB ===== */
.info-club {
  text-align: center;
  padding: 60px 25px;
  background: var(--blanco);
  border-radius: 16px;
  box-shadow: 0 6px 20px var(--sombra);
  max-width: 900px;
  margin: 50px auto;
}

.info-club h2 {
  color: var(--azul-oscuro);
  font-size: 1.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  position: relative;
}

.info-club h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--rojo);
  margin: 10px auto 0;
  border-radius: 2px;
}

.info-club p {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
  color: #333;
}

/* ===== REDES SOCIAIS ===== */
.redes-sociales {
  text-align: center;
  padding: 50px 20px 70px;
}

.redes-sociales h2 {
  color: var(--azul-oscuro);
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 30px;
  position: relative;
}

.redes-sociales h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--rojo);
  margin: 10px auto 0;
  border-radius: 2px;
}

.tarjetas-redes {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.tarjeta {
  background: var(--blanco);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--sombra);
  width: 160px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.icono {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.tarjeta p {
  font-weight: 700;
  color: var(--azul-oscuro);
}

.tarjeta span {
  font-size: 0.9rem;
  color: #555;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(90deg, var(--azul-oscuro), #0057b8);
  color: var(--blanco);
  text-align: center;
  padding: 20px;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.2);
}

footer::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--rojo);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .carrusel { height: 340px; }
  .overlay h1 { font-size: 2.3rem; }
}

@media (max-width: 768px) {
  .menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    flex-direction: column;
    background: #06335f;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  }

  .menu.active { display: flex; }

  .menu-toggle { display: block; }

  .carrusel { height: 280px; }
  .overlay h1 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .carrusel { height: 220px; }
  .info-club { margin: 30px 10px; padding: 40px 15px; }
  .redes-sociales { padding: 30px 10px; }
}
