:root {
    --neon-green: #adfc00;
    --deep-coral: #f41d8c;
    --dark-bg: #0f0f1e;
    --light-bg: #fff9f5;
    --light-text: #f5f5f5;
    --ligth-gray: #1c1c1c;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--light-bg);
    color: var(--light-text);
    background-color: var(--dark-bg);
    background-image: url('../img/gym-pattern.png');
    background-repeat: repeat;
    background-size: 400px;
    line-height: 1.6;
}

.bg-light-custom {
    background-color: var(--ligth-gray);
    background-image: url('../img/gym-pattern.png');
    background-repeat: repeat;
    background-size: 800px;
    opacity: 1;
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.hero-section {
    background: linear-gradient(135deg, rgba(240, 94, 43, 0.85), rgba(239, 61, 74, 0.85)), 
                url('../img/hero-cardiofest-1.png') center/cover no-repeat;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../img/pattern-retro.png') repeat;
    opacity: 0.25; /* transparencias para no tapar el texto */
    animation: move-bg 40s linear infinite;
    z-index: 1;
}

@keyframes move-bg {
    from { background-position: 0 0; }
    to { background-position: 800px 800px; }
}

.hero-section .container {
    position: relative;
    z-index: 2; /* asegura que el texto quede arriba del overlay */
}

.hero-section .container img {
    width: 300px;
}

.hero-section .container .btn-primary {
    background: #ffffff;
    color:  var(--ligth-gray);
}
.hero-section .container .btn-secondary:hover {
    color:  var(--ligth-gray);
}

.btn-primary {
    
    background: var(--deep-coral);
    color:  #ffffff;

    /*background: linear-gradient(to right, var(--neon-green), var(--deep-coral));*/
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(239, 61, 74, 0.3);
    color:  #ffffff;
    background: var(--deep-coral);

   /* background: linear-gradient(to right, var(--deep-coral), var(--neon-green));*/
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    border-radius: 30px;
    padding: 10px 28px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: var(--neon-green);
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 4px;
    background: linear-gradient(to right, var(--neon-green), var(--deep-coral));
    border-radius: 2px;
}

.feature-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(240, 94, 43, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    color: var(--ligth-gray);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(239, 61, 74, 0.15);
}

.list-unstyled{
    padding-top: 10px;
    padding-left: 10px;
}
.icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--neon-green) 0%, var(--deep-coral) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: white;
}

.agenda-item {
    border-left: 3px solid var(--neon-green);
    padding-left: 20px;
    margin-bottom: 30px;
    position: relative;
}

.agenda-item::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--neon-green);
}

.countdown-box {
    background: var(--dark-bg);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin: 10px;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--neon-green);
    /*linear-gradient(135deg, var(--neon-green) 0%, var(--deep-coral) 100%);*/
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.neon-text {
    text-shadow: 0 0 5px var(--neon-green), 0 0 10px var(--neon-green), 0 0 15px var(--neon-green), 0 0 20px var(--deep-coral);
    animation: neon-flicker 2s infinite alternate;
}

@keyframes neon-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 0 0 5px var(--neon-green), 0 0 10px var(--neon-green), 0 0 15px var(--neon-green), 0 0 20px var(--deep-coral);
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    color: var(--ligth-gray);
}

.faq-question {
    background: linear-gradient(to right, #fff5f0, #ffece6);
    padding: 15px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    border-left: 4px solid var(--neon-green);
    color: var(--ligth-gray);

}

.faq-answer {
    padding: 15px;
    background: white;
    display: none;
    border-left: 4px solid var(--deep-coral);
    color: var(--ligth-gray);

}

.fixed-cta {
    position: fixed;
    bottom: 75px;
    right: 20px;
    z-index: 1000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(176, 234, 11, 0.7);
/* 239,61,74 */
    }
    70% {
        box-shadow: 0 0 0 10px rgba(176, 234, 11, 0);
    }
    100% {
        transform: scale(1.05);
        box-shadow: 0 0 0 0 rgba(176, 234, 11, 0);
    }
}

.partner-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.retro-border {
    border: 3px dashed var(--neon-green);
    padding: 20px;
    border-radius: 10px;
    background: var(--ligth-gray);
}

.ticket-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(240, 94, 43, 0.1);
}

.ticket-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(239, 61, 74, 0.2);
}

.card-header {
    /*background: linear-gradient(135deg, var(--neon-green) 0%, var(--deep-coral) 100%);*/
    background: linear-gradient(135deg, var(--deep-coral) 0%, var(--neon-green) 100%);
}


.bg-dark-custom {
    background: linear-gradient(135deg, #2c0c07 0%, #3b080b 100%);
}

.border-neon {
    border: 1px solid transparent;
    border-image: linear-gradient(135deg, var(--neon-green) 0%, var(--deep-coral) 100%);
    border-image-slice: 1;
}

.trainer-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(240, 94, 43, 0.1);
    transition: all 0.4s ease;
    height: 100%;
}

.trainer-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(239, 61, 74, 0.2);
}

.trainer-img-container {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.trainer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.trainer-card:hover .trainer-img {
    transform: scale(1.1);
}

.trainer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(240, 94, 43, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    padding-bottom: 20px;
}

.trainer-card:hover .trainer-overlay {
    opacity: 1;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: var(--neon-green);
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--deep-coral);
    color: white;
    transform: scale(1.1);
}

.trainer-info {
    padding: 20px;
    text-align: center;
}

.trainer-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 5px;
}

.trainer-ig {
    color: var(--deep-coral);
    margin-bottom: 0;
    font-weight: 600;
}

.foot-logo {
    width: 200px;
}

.post-img {
    width: 500px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 15px;
}

.fw-bold {
    color: var(--ligth-gray);
    font-size: 1.5rem;
}
 
label {
    color:  var(--ligth-gray);
}
.header-form {
    background: linear-gradient(to right, var(--neon-green), #e6f4b7) !important;
}
.fw-bold {
    color: var(--ligth-gray);
}

/* Estilos botón flotante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 69px;
  left: 20px;
  background-color: #25D366; /* Color oficial WhatsApp */
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}

/* Estilo del cintillo tipo neon */
.cintillo-neon {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #0f0f0f;
  color: #39ff14; /* Neon verde */
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  padding: 12px 0;
  z-index: 99999;
  text-shadow: 0 0 5px #39ff14,
               0 0 10px #39ff14,
               0 0 20px #ff00ff,
               0 0 40px #ff00ff;
  animation: pulseNeon 1.5s infinite alternate;
}

@keyframes pulseNeon {
  from {
    text-shadow: 0 0 5px #39ff14,
                 0 0 10px #39ff14,
                 0 0 20px #ff00ff,
                 0 0 40px #ff00ff;
  }
  to {
    text-shadow: 0 0 10px #39ff14,
                 0 0 20px #39ff14,
                 0 0 40px #ff00ff,
                 0 0 80px #ff00ff;
  }
}

@media (max-width: 768px){
    .trainer-img-container {
        height: 450px;
    }
    .trainer-img {
        width: 100%;
    }

    footer {
        text-align: center;       
    }
    .rrss-foot {
        display: block;
    }

    .countdown-box {
        padding: 10px;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .trainer-overlay {
            /* Fuerza a que el 'overlay' sea visible */
            opacity: 1; 
            visibility: visible;
    }

    .post-img {
        width: 90%;
    }
   .fw-bold {
        font-size: 1rem !important;
    }

    .cintillo-neon {
        font-size: 1rem;
    }
}
