html {
    scroll-behavior: smooth;
}

body{
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #1E1E1E;
}


/* Scrollbar base */
::-webkit-scrollbar {
    width: 9px;
}

/* Fondo del track */
::-webkit-scrollbar-track {
    background: #1a0000;
}

/* Thumb (la parte que se mueve) */
::-webkit-scrollbar-thumb {
    background: linear-gradient(rgba(255, 0, 0, 0.3) 60%, rgba(255, 0, 0, 0.3));
    border-radius: 10px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgb(255, 0, 0), 0 -10px 20px rgb(255, 0, 0);
}

/* Sensación de energía (animación ligera del degradado) */
@keyframes energia {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}




#hero{
    margin-top: 0;
    width: 100%;
    height: 100vh;
    background-image: url(IMGs/fondo-hero.jpg);
    background-size: cover;
    background-position: center;

    box-shadow: 0px 12px 25px rgba(0, 0, 0, 0.8);
}

.opacity{
    background: linear-gradient(rgba(0, 0, 0, 0.6) 60%, rgba(47, 0, 0, 0.6));
    position: absolute;
    z-index: 1000;
    width: 100%;
    height: 100vh;
}

.info{
    color: white;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    opacity: 0;
    animation: fadeIn 1.3s ease-in-out forwards;
}

.texto-principal{
    margin: 0px auto 30px;
    font-size: 58px;
    font-weight: bold;
    transition: 1s ease-in;
}

span{
    color: #E91E15;
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 1);
}

.textoComplementario{
    color: #CBCBCB;
    font-weight: bold;
    font-size: 18px;
    margin: 0;
}

.botones{
    margin-top: 70px;
    display: flex;
    justify-content: center;
    gap: 66px;
}

button{
    width: 180px;
    height: 40px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}

.btn-planes{
    background: linear-gradient(to right, rgba(47, 0, 0, 1), rgba(233, 30, 21, 1));
    border: 1px solid white;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
}

.btn-planes:hover, .btn-consultoria:hover{
    transform: scale(1.02);
    transition: transform 0.6s ease;

    box-shadow: 1px 1px 8px #4d4d4d;
}

.btn-consultoria{
    background-color: transparent;
    color: white;
    font-weight: bold;
    border: 1px solid white;
    font-size: 18px;
    transition: 0.3s ease;
}

.textoFooter{
    position: absolute;
    top: 95%; 
}

.textoFooter p{
    color: #979797;
    font-size: 12px;
}




.entrenador-contenedor {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 100px 60px;
    gap: 40px;
}

.Entrenado {
    width: 60%; 
}

.Entrenado h2 {
    font-size: 44px;
    color: white;
    margin-top: 0;
    margin-bottom: 25px;
}

.Entrenado p {
    font-size: 18px;
    font-weight: bold;
    color: #b0b0b0;
    margin-bottom: 20px;
    width: 75%; 
}

/* ÍCONOS */
.iconos {
    display: flex;
    margin-top: 30px;
}

.texIcon{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 140px; 
    transition: 0.6s ease;
}

.texIcon p{
    font-size: 18px;
    text-align: center;
    color: white;
    margin-top: 0;
}

.icon img {
    width: 50px;
    height: 50px;
}

.texIcon:hover {
    transform: scale(1.1);
    filter: brightness(1.3) saturate(120%) hue-rotate(-5deg);
    transition: transform 0.6s ease, filter 0.6s ease;
}

/* --- DERECHA --- */
.beneficios-entrenador {
    width: 38%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-end;
}

.beneficios {
    width: 99%;
    padding: 15px 20px;
    background: #181818;
    border-radius: 10px;
    border: 1px solid #434343;
    transition: .6s ease;
}

.beneficios:hover {
    border: 1px solid #470603;
    transition: .6s ease;
}

.beneficios h3 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.05rem;
    margin-top: 0;
}

.beneficios p {
    color: #b0b0b0;
    margin: 0;
    font-size: 15px;
    font-weight: bold;
}


/* Planes de entrenamiento */


#plan-entrenamiento {
    text-align: center;
    padding: 20px 0 40px 0;
    background-color: #0e0e0e;
    box-shadow: 0px 12px 25px rgba(0, 0, 0, 0.8), 0px -12px 25px rgba(0, 0, 0, 0.8);
}

.planes h2 {
    font-size: 44px;
    color: #fff;
    margin-bottom: 0;
}

.planes h2 span {
    color: #E91E15;
}

.planes p {
    margin-top: 10px;
    color: #aaa;
    font-size: 1rem;
}

/* Tarjetas */
.cards {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 30px;
    padding: 60px 20px;
}

.card {
    background-color: #181818;
    border: 2px solid #2a2a2a;
    border-radius: 20px;
    width: 310px;
    height: 500px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card p {
    color: #bbb;
    font-size: 1rem;
    line-height: 1.5;
}

/* Tarjeta popular */
.popular {
    border-color: #E91E15;
    height: 530px;
    transform: scale(1.09);
    
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #E91E15;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Sección plan de entrenamiento */

.club-formativo {
    text-align: center;
}

/* Tarjeta gris centrada */
.club-card {
    background: linear-gradient( 145deg, rgba(31, 31, 31, 1) 30%, rgba(46, 46, 46, 1) 50%, rgba(54, 54, 54, 1) 70%, rgba(68, 68, 68, 1)100% );
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;
    border-radius: 10px;
    color: #fff;
}

.club-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.club-card h3 span {
    color: #E91E15;
}

.club-card p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 700px;
}

.club-card .proximamente {
    margin-top: 45px;
    color: #bbb;
    font-weight: 500;
    font-size: 1rem;
}




/* seccion de contacto */
#contactanos {
    color: white;
    padding: 33px 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contenedor-contacto {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
    width: 100%;
}

/* LADO IZQUIERDO */

.texto-contacto{
    width: 50%;
}


.texto-contacto h2 {
    font-size: 54px;
    font-weight: bold;
    margin-bottom: 0;
}

.texto-contacto span {
    color: #E91E15;
}

.texto-contacto p {
    color: #979797;
    margin: 10px 0;
    width: 100%;
    font-size: 20px;
}

    .informacion-contacto {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    }

    .cuadro-info{
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 5px 20px;
    }

    .icono-contacto{
        background: #e9201511;
        padding: 5px;
        border-radius: 10px;
    }
    
    .btn-instagram{
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
        height: 54px;
        border-radius: 10px;
        border: 1px solid #2a2a2a;
        background: transparent;
        padding: 5px 20px;
    }

    .btn-instagram:hover {
        background-color: #e9201511 ;
        border: 1px solid #470603;
        transition: .6s ease;
    }

    .btn-instagram a{
        font-size: 20px;
        display: flex;
        text-decoration: none;
        color: #979797;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }

/* LADO DERECHO */

    .tarjeta-consulta {
    background-color: #121212;
    padding: 30px;
    border: 1px solid #470603;
    border-radius: 10px;
    width: 480px;
    margin: auto;
}

.tarjeta-consulta h3 {
    font-size: 24px;
    margin-top: 0px;
}

.tarjeta-consulta p {
    color: #979797;
    margin-bottom: 30px;
    font-size: 16px;
    font-weight: bold;
}

.tarjeta-consulta ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 40px;
}

.tarjeta-consulta ul li {
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    font-size: 15px;
}

.tarjeta-consulta ul li::before {
    content: "•";
    color: #e60000;
    position: absolute;
    left: 0;
    font-size: 20px;
}

.formulario-der input {
    background-color: transparent;
    border: 1px solid #333;
    padding: 10px;
    margin-bottom: 20px;
    width: 80%;
    border-radius: 10px;
    color: white;
}

.formulario-der button {
    background-color: transparent;
    border: 1px solid #333;
    margin-bottom: 10px;
    border-radius: 10px;
    color: white;
}

.formulario-der input::placeholder {
    color: #444; /* gris claro, igual que el texto del botón */
    opacity: 1;
}


.formulario-der button {
    background-color: #121212; /* mismo color que tus inputs */
    width: 25%;
    height: auto;
    padding: 8px;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}

/* Capa del efecto de degradado */
.formulario-der button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -102%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(47, 0, 0, 1), rgba(233, 30, 21, 1));
    transition: left 0.5s ease;
    z-index: 0;
    border-radius: 6px;
}

/* El degradado se mueve al hacer hover */
.formulario-der button:hover::before {
    left: 0;
}

/* Texto del botón */
.formulario-der button span {
    position: relative;
    z-index: 1;
    color: #444; /* igual que el texto de los inputs */
    transition: color 0.3s ease;
}

/* Al pasar el cursor, el texto se vuelve blanco */
.formulario-der button:hover span {
    color: #fff;
}

footer{
    margin-top: 20px;
    box-shadow: 0px -12px 25px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #000000;
    color: #979797;
    padding: 20px 30px;
}

footer p {
    margin: 0;
}