/* =========================================
   =========== ESTILOS BASE ================
   ========================================= */
:root {
  --ag-red: #E62429;
  --ag-black: #000000;
  --ag-text: #ffffff;
  --ag-text-muted: #e0e0e0;
}

/* RESET IMPORTANTE */
* {
    box-sizing: border-box; /* Esto evita que los paddings deformen el sitio */
}

html, body {
  height: 100%;
  margin: 0;
  font-family: "Poppins", sans-serif;
  
  /* CAMBIO IMPORTANTE: */
  background-color: transparent; /* O elimina esta línea */
  /* background: radial-gradient... (ELIMINA O COMENTA ESTA LÍNEA TAMBIÉN) */
  
  color: var(--ag-text);
  overflow-x: hidden;
}

/* =========================================
    =========== SLIDER DE FONDO (CORREGIDO) =
   ========================================= */
.background-slider {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2; 
}

.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0;
    /* ESTAS LINEAS FALTABAN: Activan la animación */
    animation: zoomFade 30s infinite; 
}

/* Tiempos de animación escalonados para 7 fotos */
/* ESTAS LINEAS FALTABAN: Para que no empiecen todas juntas */
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }
.slide:nth-child(4) { animation-delay: 15s; }
.slide:nth-child(5) { animation-delay: 20s; } 
.slide:nth-child(6) { animation-delay: 25s; }
/* La definición de la animación (esto sí estaba) */
@keyframes zoomFade {
    0% { opacity: 0; transform: scale(1); }
    10% { opacity: 1; }
    33% { opacity: 1; transform: scale(1.1); } /* Zoom suave */
    43% { opacity: 0; }
    100% { opacity: 0; }
}

/* Capa Oscura (Vignette) - CRUCIAL PARA LEER EL TEXTO */
.overlay-dark {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* ajusta el 0.4 */
}

/* =========================================
    =========== CONTENEDOR BIO ==============
   ========================================= */
.bio-container {
  max-width: 500px; /* Un poco más estrecho para verse más App */
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  position: relative; 
  z-index: 1; /* Asegura que el contenido esté sobre el fondo */
}

/* --- HEADER --- */
.profile-header {
  text-align: center;
  margin-bottom: 30px;
  animation: fadeInDown 0.8s ease;
}

.logo-img {
  width: 120px; /* Un poco más grande para que luzca el cuadrado */
  height: 120px;
  object-fit: contain; 
  
  /* CAMBIOS CLAVE AQUÍ: */
  border-radius: 20px; /* Bordes redondeados (Squircle). Si lo quieres 100% cuadrado, pon 0px */
  border: 3px solid var(--ag-red);
  
  /* Fondo y Sombra */
  background-color: rgba(0,0,0,0.8); /* Fondo negro semi-transparente por si el logo es PNG */
  backdrop-filter: blur(5px); /* Pequeño efecto cristal detrás del logo */
  
  /* Sombra más cuadrada y fuerte */
  box-shadow: 
      0 0 0 4px rgba(0,0,0,0.5), /* Pequeño borde negro entre el rojo y el glow */
      0 0 25px rgba(230, 36, 41, 0.6); /* Glow rojo intenso */
      
  margin-bottom: 20px;
  
  /* Animación de entrada */
  animation: popIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Animación de "Pop" para el logo cuadrado */
@keyframes popIn {
  0% { transform: scale(0) rotate(-10deg); opacity: 0; }
  80% { transform: scale(1.1) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); }
}

/*Neon Glow */
h1.brand-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 4px; /* Letras muy separadas (Cinematográfico) */
    
    /* Sombra compuesta: Borde negro duro + Resplandor Rojo difuminado */
    text-shadow: 
        3px 3px 0px #000000, /* Sombra dura 3D */
        0 0 20px rgba(230, 36, 41, 0.8), /* Glow Rojo */
        0 0 40px rgba(230, 36, 41, 0.4); /* Glow Rojo Exterior */
        
    border-bottom: 3px solid var(--ag-red); /* Línea roja abajo */
    padding-bottom: 10px;
    display: inline-block; /* Para que la línea roja se ajuste al texto */
}

p.bio-text {
  color: var(--ag-text-muted);
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.4;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* =========================================
    =========== BOTONES =====================
   ========================================= */
.links-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: fadeInUp 1s ease;
}

.btn-linktree {
  /* Layout Flexbox - Esto alinea icono y texto */
  display: flex;
  align-items: center;
  justify-content: center; /* Centrado */
  position: relative;
  
  width: 100%;
  padding: 16px 20px;
  
  /* Estilo Glassmorphism */
  background: rgba(20, 20, 20, 0.75); /* Más oscuro para legibilidad */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  
  /* Texto */
  color: white;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Icono absoluto a la izquierda para que no empuje el texto */
.btn-linktree i {
  font-size: 1.4rem;
  position: absolute;
  left: 20px;
  color: var(--ag-red);
  transition: transform 0.3s;
}

/* Efectos Hover */
.btn-linktree:hover {
  background: rgba(230, 36, 41, 0.85); /* Rojo fuerte */
  border-color: #e62429;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(230, 36, 41, 0.4);
}
.btn-linktree:hover i {
  color: white;
  transform: scale(1.1);
}

/* =========================================
   =========== MAPA & FOOTER ===============
   ========================================= */
.map-container {
  width: 100%;
  margin-top: 10px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.map-container h3 {
  margin: 0 0 10px 0;
  font-size: 0.9rem;
  color: white;
  letter-spacing: 1px;
}

.btn-small-map {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8rem;
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}
.btn-small-map:hover { color: var(--ag-red); text-decoration: underline; }

.mini-footer {
  margin-top: auto;
  padding-top: 40px;
  text-align: center;
  font-size: 0.75rem;
  color: #aaa;
}
.mini-footer span {
  color: var(--ag-red);
  font-weight: bold;
}

/* =========================================
   =========== ANIMACIONES =================
   ========================================= */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); border-color: #25d366; } 
  70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); border-color: #25d366; }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); border-color: #25d366;}
}

/* Animación Específica WhatsApp */
.btn-whatsapp-pulse {
  animation: pulse-red 2s infinite;
}
/* Forzar color verde al icono de wpp incluso sin hover */
.btn-whatsapp-pulse i { color: #25d366; }
.btn-whatsapp-pulse:hover { background-color: #25d366; border-color: #25d366; }

/* =========================================
   NUEVOS BOTONES SOCIALES MINIMALISTAS
   ========================================= */

/* Contenedor de la fila */
.social-row {
    display: flex;
    justify-content: center; /* Centrados horizontalmente */
    gap: 20px; /* Espacio entre bolitas */
    margin-bottom: 25px;
    width: 100%;
    flex-wrap: wrap; /* Por si la pantalla es muy pequeña (iPhone SE) */
}

/* El estilo de la bolita (Glassmorphism) */
.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Círculo perfecto */
    
    /* Cristal */
    background: rgba(20, 20, 20, 0.6); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    
    /* Centrar icono */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Comportamiento */
    color: white;
    text-decoration: none;
    font-size: 1.8rem; /* Tamaño del icono */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efecto rebote */
}

/* --- COLORES DE MARCA AL TOCAR/HOVER --- */

/* WhatsApp: Verde Neon y Latido */
.whatsapp-btn {
    border-color: rgba(37, 211, 102, 0.5);
    color: #25D366;
    animation: pulse-green 2s infinite; /* Latido constante */
}
.whatsapp-btn:hover { background: #25D366; color: white; transform: translateY(-5px); }

/* TikTok: Efecto Glitch Negro/Rojo/Azul */
.tiktok-btn:hover { 
    background: #000000; 
    text-shadow: 2px 2px 0px #FF0050, -2px -2px 0px #00F2EA;
    border-color: #00F2EA;
    transform: translateY(-5px) rotate(10deg);
}

/* Instagram: Gradiente */
.insta-btn:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
    transform: translateY(-5px);
}

/* Facebook: Azul */
.face-btn:hover {
    background: #1877F2;
    border-color: #1877F2;
    transform: translateY(-5px);
}

/* Animación de latido para WhatsApp */
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Ajuste del contenedor del mapa para que no se pegue a los iconos */
.map-container {
    margin-top: 10px; /* Reducimos margen porque ya hay espacio en los iconos */
}

/* =========================================
    IMÁGENES DEL SLIDER (RESPONSIVE)
   ========================================= */

/* --- 1. CONFIGURACIÓN MÓVIL (POR DEFECTO) --- */
/* Aquí cargamos las fotos verticales */

.slide-1 {
    background-image: url('../img/gym_movil_1.jpg');
}

.slide-2 {
    background-image: url('../img/gym_movil_2.jpg');
}

.slide-3 {
    background-image: url('../img/gym_movil_3.jpg');
}

.slide-4 {
    background-image: url('../img/gym_movil_4.jpg');
}

.slide-5 {
    background-image: url('../img/gym_movil_5.jpg');
}

.slide-6 {
    background-image: url('../img/gym_movil_6.jpg');
}


/* --- 2. CONFIGURACIÓN PC/LAPTOP (PANTALLAS GRANDES) --- */
/* Esta regla se activa solo si la pantalla mide más de 1024px de ancho */

@media (min-width: 1024px) {
    
    .slide-1 {
        background-image: url('../img/gym_pc_1.jpg'); /* Foto Ancha 1 */
        background-position: center top; /* Ajuste opcional */
    }

    .slide-2 {
        background-image: url('../img/gym_pc_2.jpg'); /* Foto Ancha 2 */
        background-position: center;
    }

    .slide-3 {
        background-image: url('../img/gym_pc_3.jpg'); /* Foto Ancha 3 */
        background-position: center;
    }

    .slide-4 {
        background-image: url('../img/gym_pc_4.jpg'); /* Foto Ancha 4 */
        background-position: center;
    }

    .slide-5 {
        background-image: url('../img/gym_pc_5.jpg'); /* Foto Ancha 5 */
        background-position: center;
    }
    
    /* Opcional: Ajustar el contenedor bio para que no se vea tan ancho en PC */
    .bio-container {
        padding-top: 80px; /* Un poco más de aire arriba en PC */
        max-width: 600px;
    }
}
/* --- TÍTULOS DE SECCIÓN --- */
.section-title {
    font-size: 0.85rem; /* Pequeño pero legible */
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 3px; /* Letras separadas estilo cine */
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    
    /* Sombra para leerse sobre fotos */
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
}

/* Línea decorativa roja debajo del título (opcional, se ve elegante) */
.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--ag-red);
    margin: 8px auto 0 auto; /* Centrado */
}

/* Separación extra para el segundo bloque */
.mt-4 {
    margin-top: 30px;
}


/* --- BOTONES "GOLD" (PARA PELEAS/PRO) --- */
/* Esto diferencia visualmente al Atleta del Negocio */

.gold-btn {
    /* Borde dorado sutil */
    border-color: rgba(212, 175, 55, 0.4) !important; 
    color: #f1c40f !important; /* Icono amarillo dorado */
}

.gold-btn:hover {
    /* Efecto al pasar el mouse: Fondo Dorado, Icono Negro */
    background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    border-color: #aa771c !important;
    color: #000000 !important; /* Icono negro para contraste */
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    transform: translateY(-5px) scale(1.1);
}
/* --- CONTENEDOR GENERAL DE LA BIO --- */
.bio-info-wrapper {
    text-align: center;
    margin-bottom: 25px;
    width: 100%;
    max-width: 400px; /* Que no se estire demasiado */
}

/* --- ESTILO DEL SLOGAN --- */
.bio-tagline {
    font-size: 1.1rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,1); /* Sombra fuerte para leerse sobre foto */
}
.bio-tagline .text-warning {
    color: #f1c40f; /* Color dorado para la copa */
    margin-right: 5px;
}


/* --- CAJA DE HORARIOS (TABLERO) --- */
.schedule-box {
    background: rgba(0, 0, 0, 0.6); /* Fondo semitransparente */
    border-radius: 10px;
    padding: 15px;
    border-left: 3px solid var(--ag-red); /* Borde rojo estético a la izquierda */
    backdrop-filter: blur(5px); /* Efecto cristal */
}

.schedule-title {
    font-size: 0.8rem;
    color: var(--ag-red);
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 5px;
}

/* FILAS DE HORARIOS (FLEXBOX PARA ALINEAR) */
.schedule-row {
    display: flex;
    justify-content: space-between; /* Uno a la izq, otro a la derecha */
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #e0e0e0;
    font-weight: 400;
    text-shadow: 1px 1px 2px black;
}

/* Estilo para los días */
.schedule-row .day {
    font-weight: 600;
    color: #ffffff;
}

/* Estilo para las horas (Fuente monoespaciada para numeros se ve cool) */
.schedule-row .time {
    font-family: 'Courier New', Courier, monospace; /* Toque técnico */
    font-weight: 700;
    color: #ccc;
}

/* --- ESTILO PARA "CERRADO" --- */
.closed-row {
    margin-top: 8px; /* Un poco de aire */
    opacity: 0.8;
}
.status-badge {
    background-color: var(--ag-red);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}
/* =========================================
   BOTÓN FEEDBACK (ACTIVADOR)
   ========================================= */
.btn-feedback {
    width: 100%;
    margin-top: 30px; /* Un poco de aire al final */
    margin-bottom: 20px;
    padding: 15px;
    
    /* Degradado oscuro elegante */
    background: linear-gradient(145deg, #111, #222);
    
    /* Borde rojo brillante */
    border: 1px solid var(--ag-red);
    color: var(--ag-red);
    
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    
    /* Sombra sutil */
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    
    /* Flex para centrar icono y texto */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-feedback i {
    font-size: 1.2rem;
}

.btn-feedback:hover {
    background: var(--ag-red); /* Se vuelve rojo al hover */
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(230, 36, 41, 0.4); /* Glow */
}