/*==================================================
URBAN BEAST GYM
STYLE.CSS
==================================================*/

/*==============================
GOOGLE FONTS
==============================*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*==============================
VARIABLES
==============================*/

:root{

    --red:#E10600;
    --red-dark:#b30000;
    --red-light:#ff2b2b;

    --black:#050505;
    --black2:#0f0f0f;
    --black3:#1a1a1a;

    --white:#ffffff;
    --gray:#bdbdbd;

    --transition:.35s ease;

    --radius:18px;

    --shadow:0 15px 35px rgba(0,0,0,.45);

}

/*==============================
RESET
==============================*/

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    background:var(--black);
    color:var(--white);

    font-family:'Poppins',sans-serif;

    overflow-x:hidden;

}

img{

    width:100%;
    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

section{

    padding:90px 8%;

}

.container{

    width:100%;
    max-width:1400px;
    margin:auto;

}

/*==============================
SCROLLBAR
==============================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#111;

}

::-webkit-scrollbar-thumb{

    background:var(--red);
    border-radius:30px;

}

::-webkit-scrollbar-thumb:hover{

    background:#ff3d3d;

}

/*==============================
HEADER
==============================*/

header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 8%;

    z-index:999;

    transition:.4s;

    background:transparent;

}

header.active{

    background:rgba(0,0,0,.95);

    backdrop-filter:blur(10px);

    box-shadow:0 5px 20px rgba(0,0,0,.5);

}

.logo{

    display:flex;
    align-items:center;

}

.logo a{

    display:flex;
    align-items:center;

}

.logo img{

    width:140px;
    height:auto;
    display:block;
}

/*==============================
MENU
==============================*/

nav ul{

    display:flex;

    gap:45px;

}

nav a{

    color:white;

    font-weight:500;

    position:relative;

    transition:.3s;

}

nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--red);

    transition:.3s;

}

nav a:hover{

    color:var(--red);

}

nav a:hover::after{

    width:100%;

}

/*====================================
BOTÓN HEADER METÁLICO
====================================*/

.btn-menu{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 24px;   /* Más pequeño */

    border-radius:50px;

    font-size:17px;      /* Antes 20px */

    font-weight:700;

    text-transform:uppercase;

    color:#fff;

    text-decoration:none;

    letter-spacing:.5px;

    border:2px solid #ff5757;

    background:
        linear-gradient(
            180deg,
            #ff4747 0%,
            #e10000 40%,
            #9b0000 75%,
            #650000 100%
        );

    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.45),
        inset 0 -4px 8px rgba(0,0,0,.55),
        0 8px 22px rgba(255,0,0,.35);

    transition:.35s;

    position:relative;

    overflow:hidden;

}
.btn-menu::before{

    content:"";

    position:absolute;

    top:-60%;

    left:-40%;

    width:35%;

    height:230%;

    background:rgba(255,255,255,.35);

    transform:rotate(25deg);

    transition:.8s;

}
.btn-menu:hover{

    transform:translateY(-4px);

    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.55),
        inset 0 -4px 10px rgba(0,0,0,.6),
        0 14px 30px rgba(255,0,0,.5);

}

.btn-menu:hover::before{

    left:140%;

}
/*==============================
HERO
==============================*/

.hero{

    position:relative;

    width:100%;

    height:100vh;

    overflow:hidden;

    display:flex;

    align-items:center;

    justify-content:center;

}

.hero{

    position:relative;
    overflow:hidden;

}

.hero video{

    position:absolute;

    top:-10%;
    left:0;

    width:100%;
    height:120%;

    object-fit:cover;

    animation:videoVertical 20s ease-in-out infinite alternate;

}

@keyframes videoVertical{

    0%{

        transform:translateY(0);

    }

    100%{

        transform:translateY(10%);

    }

}

.overlay{

    position:absolute;

    width:100%;
    height:100%;

    background:linear-gradient(to right,
    rgba(0,0,0,.82),
    rgba(0,0,0,.45));

}

.hero-content{

    position:relative;

    z-index:5;

    width:100%;

    max-width:1300px;

}

.hero h4{

    color:var(--red);

    font-size:22px;

    letter-spacing:4px;

    margin-bottom:10px;

}

.hero h1{

    font-family:'Bebas Neue',sans-serif;

    font-size:120px;

    letter-spacing:5px;

    line-height:1;

    margin-bottom:20px;

}

.hero p{

    color:#ddd;

    font-size:20px;

    line-height:1.8;

    max-width:550px;

}

.hero-buttons{

    display:flex;

    gap:25px;

    margin-top:25px;      /* Menos separación del texto */

    transform:translateY(-40px);   /* Sube los botones */

}

/*====================================
BOTÓN METÁLICO ROJO
====================================*/

.btn-red{

     display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 24px;

    min-width:220px;

    height:60px;

    border-radius:50px;

    font-size:18px;

    font-weight:700;

    color:#fff;

    text-transform:uppercase;

    letter-spacing:1px;

    border:2px solid #ff4d4d;

    background:
        linear-gradient(180deg,#ff3a3a 0%,#d60000 40%,#860000 100%);

    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.45),
        inset 0 -3px 8px rgba(0,0,0,.45),
        0 8px 25px rgba(255,0,0,.45);

    transition:.35s;

    position:relative;

    overflow:hidden;

}
.btn-red::before{

    content:"";

    position:absolute;

    top:-60%;

    left:-35%;

    width:35%;

    height:220%;

    background:rgba(255,255,255,.35);

    transform:rotate(25deg);

    transition:.7s;

}
.btn-red:hover{

    transform:translateY(-5px);

    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.5),
        inset 0 -4px 10px rgba(0,0,0,.55),
        0 15px 35px rgba(255,0,0,.6);

}

.btn-red:hover::before{

    left:120%;

}

.btn-transparent{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 24px;

    min-width:220px;

    height:60px;

    border-radius:50px;

    border:2px solid #fff;

    color:#fff;

    font-size:18px;

    font-weight:700;

    text-decoration:none;

}
.btn-transparent:hover{

    background:white;

    color:black;

}
/*==============================
HERO TITLE
==============================*/

.hero-title{

    max-width:900px;

    margin-top:90px;   /* Baja la imagen */

    margin-bottom:40px;

}

.hero-title img{

    width:100%;
    max-width:900px;
    height:auto;
    display:block;

    animation:fadeHero 1.2s ease;

}

@keyframes fadeHero{

    from{

        opacity:0;
        transform:translateY(40px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}
/*==================================================
ABOUT
==================================================*/

.about{

    background:#090909;

}

.about h2{

    text-align:center;

    font-family:'Bebas Neue',sans-serif;

    font-size:65px;

    letter-spacing:3px;

    margin-bottom:25px;

}

.about .container>p{

    max-width:900px;

    margin:auto;

    text-align:center;

    color:#bdbdbd;

    line-height:1.9;

    font-size:18px;

}

.cards-premium{

    width:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    margin:25px auto 0;

}

.cards-premium img{

    width:80%;          /* Ocupa el 85% del ancho */

    max-width:1200px;   /* Tamaño máximo */

    height:auto;

    display:block;

    transition:.4s;

}

/*==================================================
AREAS
==================================================*/

.areas{

    background:var(--black);

}

.areas h2{

    text-align:center;

    font-family:'Bebas Neue',sans-serif;

    font-size:65px;

    letter-spacing:3px;

    margin-bottom:60px;

}

.areas-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

}

.area{

    position:relative;

    overflow:hidden;

    border-radius:22px;

    cursor:pointer;

    height:350px;

    box-shadow:var(--shadow);

}

.area img{

    width:100%;
    height:100%;

    object-fit:cover;

    transition:.6s;

}

.area::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(to top,
    rgba(0,0,0,.9),
    rgba(0,0,0,.15));

}

.area:hover img{

    transform:scale(1.12);

}

.area .texto{

    position:absolute;

    bottom:35px;

    left:35px;

    z-index:10;

}

.area h3{

    font-size:40px;

    font-family:'Bebas Neue';

    letter-spacing:2px;

    color:white;

}

.area:hover h3{

    color:var(--red);

}

/*==================================================
STATS
==================================================*/

.stats{

    background:url("../img/red.png") center center/cover fixed;

    position:relative;

    overflow:hidden;

    padding:10px 0;

}

/* Capa oscura */

.stats::before{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.70);

    z-index:1;

}

/* Contenedor de la imagen */

.stats-premium{

    position:relative;

    z-index:2;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:0;

}

/* Imagen */

.stats-premium img{

    width:82%;

    max-width:1400px;

    height:auto;

    display:block;

    transition:.4s ease;

}

.stats-premium img:hover{

    transform:scale(1.02);

    filter:drop-shadow(0 0 30px rgba(225,6,0,.45));

}
/*==================================================
CTA PREMIUM
==================================================*/

.cta{

    background:#050505;

    padding:20px 0 50px;

    text-align:center;

}

.cta-premium{

    display:flex;

    justify-content:center;

    align-items:center;

    margin-bottom:40px;

}

.cta-premium img{

    width:72%;

    max-width:1050px;

    height:auto;

    display:block;

    transition:.4s ease;

}

.cta-premium img:hover{

    transform:scale(1.02);

    filter:drop-shadow(0 0 25px rgba(225,6,0,.35));

}

.cta-btn{

    display:inline-block;

    margin-top:-25px;

    position:relative;

    z-index:2;

}

/*==================================================
ANIMACIONES
==================================================*/

@keyframes float{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-12px);

    }

    100%{

        transform:translateY(0px);

    }

}

.card i{

    animation:float 3s ease-in-out infinite;

}
/*==================================================
FOOTER
==================================================*/

footer{

    background:#030303;

    padding:70px 8% 35px;

    border-top:1px solid rgba(255,255,255,.08);

    text-align:center;

}

.footer-logo{

    margin-bottom:25px;

}

.footer-logo img{

    width:110px;

    margin:auto;

}

footer p{

    color:#bdbdbd;

    font-size:15px;

    margin:20px 0;

    line-height:1.8;

}

.redes{

    display:flex;

    justify-content:center;

    gap:18px;

    margin-top:25px;

}

.redes a{

    width:55px;

    height:55px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#111;

    color:#fff;

    font-size:22px;

    transition:.35s;

    border:1px solid rgba(255,255,255,.05);

}

.redes a:hover{

    background:var(--red);

    transform:translateY(-8px);

    box-shadow:0 10px 25px rgba(225,6,0,.45);

}

/*==================================================
BOTÓN WHATSAPP
==================================================*/

.whatsapp{

    position:fixed;

    right:25px;

    bottom:25px;

    width:65px;

    height:65px;

    background:#25D366;

    color:#fff;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:34px;

    box-shadow:0 10px 30px rgba(0,0,0,.45);

    z-index:999;

    transition:.35s;

}

.whatsapp:hover{

    transform:scale(1.12);

}

/*==================================================
BOTÓN SUBIR
==================================================*/

.top{

    position:fixed;

    right:25px;

    bottom:105px;

    width:55px;

    height:55px;

    background:var(--red);

    color:white;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:22px;

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:998;

}

.top.show{

    opacity:1;

    visibility:visible;

}

.top:hover{

    transform:translateY(-6px);

}

/*==================================================
SELECCIÓN DE TEXTO
==================================================*/

::selection{

    background:var(--red);

    color:white;

}

/*==================================================
LOADER
==================================================*/

.loader{

    position:fixed;

    inset:0;

    background:#000;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

    transition:.5s;

}

.loader.hidden{

    opacity:0;

    visibility:hidden;

}

.loader span{

    width:70px;

    height:70px;

    border-radius:50%;

    border:6px solid #222;

    border-top:6px solid var(--red);

    animation:spin 1s linear infinite;

}

@keyframes spin{

    100%{

        transform:rotate(360deg);

    }

}

/*==================================================
REVEAL SCROLL
==================================================*/

.reveal{

    opacity:0;

    transform:translateY(80px);

    transition:1s;

}

.reveal.active{

    opacity:1;

    transform:translateY(0);

}

/*==================================================
HOVER GENERAL
==================================================*/

button,
a,
.card,
.area{

    transition:var(--transition);

}

/*==================================================
TÍTULOS
==================================================*/

h1,
h2,
h3{

    text-transform:uppercase;

}

/*==================================================
GRADIENTE ROJO
==================================================*/

.red-text{

    color:var(--red);

}

.bg-gradient{

    background:linear-gradient(
    135deg,
    #1a0000,
    #3b0000,
    #000);

}

/*==================================================
BORDES
==================================================*/

.border-red{

    border:2px solid var(--red);

}

/*==================================================
SOMBRAS
==================================================*/

.shadow{

    box-shadow:0 20px 40px rgba(0,0,0,.4);

}

/*==================================================
EFECTO GLASS
==================================================*/

.glass{

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,.08);

}

/*==================================================
TRANSICIONES
==================================================*/

.fade{

    animation:fade .8s ease;

}

@keyframes fade{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*==================================================
ESPACIADO
==================================================*/

.mt-1{margin-top:10px;}
.mt-2{margin-top:20px;}
.mt-3{margin-top:30px;}
.mt-4{margin-top:40px;}
.mt-5{margin-top:50px;}

.mb-1{margin-bottom:10px;}
.mb-2{margin-bottom:20px;}
.mb-3{margin-bottom:30px;}
.mb-4{margin-bottom:40px;}
.mb-5{margin-bottom:50px;}

/*==================================================
FIN DEL STYLE.CSS
==================================================*/
/*==================================================
RESPONSIVE.CSS
URBAN BEAST GYM
==================================================*/


/*==================================================
LAPTOPS
==================================================*/

@media(max-width:1400px){

header{

    padding:18px 5%;

}

section{

    padding:80px 5%;

}

.hero-title img{

    max-width:750px;

}

.hero-content{

    max-width:1100px;

}

.about h2,
.areas h2{

    font-size:55px;

}

}


/*==================================================
TABLETS
==================================================*/

@media(max-width:992px){

header{

    padding:15px 5%;

}

.logo img{

    width:110px;

}

nav ul{

    gap:25px;

}

nav a{

    font-size:16px;

}

.btn-menu{

    padding:10px 20px;

    font-size:15px;

}

.hero{

    height:90vh;

}

.hero-title{

    margin-top:70px;

    margin-bottom:20px;

}

.hero-title img{

    width:85%;

    margin:auto;

}

.hero-buttons{

    justify-content:center;

    transform:none;

    margin-top:30px;

}

.btn-red,
.btn-transparent{

    min-width:180px;

    height:50px;

    font-size:16px;

}

.about h2,
.areas h2{

    font-size:50px;

}

.about .container>p{

    font-size:17px;

}

.cards-premium img{

    width:95%;

}

.areas-grid{

    grid-template-columns:1fr;

}

.area{

    height:300px;

}

.stats-premium img{

    width:95%;

}

.cta-premium img{

    width:90%;

}

}


/*==================================================
CELULARES
==================================================*/

@media(max-width:768px){

header{

    padding:15px 20px;

}

.logo img{

    width:90px;

}

nav{

    display:none;

}

.btn-menu{

    display:none;

}

.hero{

    height:100vh;

    text-align:center;

}

.overlay{

    background:rgba(0,0,0,.70);

}

.hero-content{

    display:flex;

    flex-direction:column;

    align-items:center;

}

.hero-title{

    margin-top:60px;

}

.hero-title img{

    width:95%;

}

.hero-buttons{

    flex-direction:column;

    align-items:center;

    gap:15px;

    margin-top:25px;

}

.btn-red,
.btn-transparent{

    width:220px;

    min-width:auto;

    height:52px;

    font-size:16px;

}

.about{

    padding-top:70px;

}

.about h2,
.areas h2{

    font-size:42px;

}

.about .container>p{

    font-size:16px;

    line-height:1.7;

}

.cards-premium img{

    width:100%;

}

.area{

    height:240px;

}

.area h3{

    font-size:28px;

}

.stats{

    padding:25px 0;

}

.stats-premium img{

    width:100%;

}

.cta{

    padding:40px 20px;

}

.cta-premium img{

    width:100%;

}

.cta-btn{

    margin-top:-15px;

}

.footer-logo img{

    width:90px;

}

footer{

    padding:50px 20px;

}

.redes{

    gap:12px;

}

.redes a{

    width:48px;

    height:48px;

    font-size:18px;

}

.whatsapp{

    width:58px;

    height:58px;

    right:18px;

    bottom:18px;

    font-size:28px;

}

}


/*==================================================
CELULARES PEQUEÑOS
==================================================*/

@media(max-width:480px){

.hero-title img{

    width:100%;

}

.about h2,
.areas h2{

    font-size:34px;

}

.about .container>p{

    font-size:15px;

}

.btn-red,
.btn-transparent{

    width:200px;

    height:48px;

    font-size:15px;

}

.area{

    height:200px;

}

.area .texto{

    left:20px;

    bottom:20px;

}

.area h3{

    font-size:24px;

}

.whatsapp{

    width:55px;

    height:55px;

    font-size:26px;

}

}

/*==================================================
MENÚ HAMBURGUESA
==================================================*/

/* Botón */

.hamburger{

    display:none;

    width:45px;

    height:45px;

    cursor:pointer;

    position:relative;

    z-index:1200;

    justify-content:center;

    align-items:center;

    flex-direction:column;

    gap:7px;

}

.hamburger span{

    width:30px;

    height:3px;

    background:#fff;

    border-radius:20px;

    transition:.35s;

}

/* Animación X */

.hamburger.active span:nth-child(1){

    transform:translateY(10px) rotate(45deg);

}

.hamburger.active span:nth-child(2){

    opacity:0;

}

.hamburger.active span:nth-child(3){

    transform:translateY(-10px) rotate(-45deg);

}


/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:992px){

/* Mostrar hamburguesa */

.hamburger{

    display:flex;

}

/* Ocultar botón escritorio */

.desktop-btn{

    display:none;

}

/* Menú */

nav{

    position:fixed;

    top:0;

    right:-100%;

    width:300px;

    height:100vh;

    background:#050505;

    display:flex;

    justify-content:center;

    align-items:center;

    flex-direction:column;

    transition:.45s ease;

    z-index:1100;

    box-shadow:-15px 0 40px rgba(0,0,0,.45);

}

/* Abrir */

nav.active{

    right:0;

}

/* Lista */

nav ul{

    flex-direction:column;

    gap:35px;

    padding:0;

}

/* Links */

nav ul li a{

    font-size:22px;

    font-weight:600;

    color:#fff;

    display:flex;

    align-items:center;

    gap:12px;

    transition:.35s;

}

nav ul li a:hover{

    color:var(--red);

}

/* Iconos */

nav ul li a i{

    color:var(--red);

    font-size:24px;

}

/* Botón móvil */

.mobile-btn{

    display:inline-flex;

    margin-top:40px;

}

}


/*==================================================
ESCRITORIO
==================================================*/

@media(min-width:993px){

.mobile-btn{

    display:none;

}

}