﻿@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap');

/* ============================
   BASE ORIGINAL (CONSERVADO)
   + PREMIUM (SUAVE / NO DESFAZA)
   ============================ */

/* --- Global --- */
* {
    outline: none;
}

    *:not(.slick-track), *:not(.slick-list) {
        transition: 0.4s;
    }

body {
    font-family: 'Roboto', 'Helvetica', 'Sans-serif';
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: #353535;
    /* Premium */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #fff;
}

h1, h2, h3, h4, h5 {
    margin: 0;
    padding: 0;
    font-weight: 500;
    letter-spacing: 2px;
}

h1, h3, h4, h5 {
    text-transform: uppercase;
}

h2 {
    font-size: 8rem;
}

h3 {
    font-size: 2.85rem;
    letter-spacing: 7px;
    color: #fff;
    margin-bottom: 4rem;
}

h4 {
    font-size: 1.15rem;
}

h5 {
    color: #fff;
}

ul {
    list-style-type: none;
    padding: 0;
}

button {
    cursor: pointer;
    background: #20d600;
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
    padding: 1.05rem 2.6rem;
    border: none;
    text-transform: uppercase;
    font-weight: 500;
    font-family: 'Roboto', 'Helvetica', 'Sans-serif';
    letter-spacing: 2px;
    /* Premium */
    border-radius: 40px;
    box-shadow: 0 12px 28px rgba(32, 214, 0, 0.22);
}

    button:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 35px rgba(32, 214, 0, 0.30);
    }

    button:active {
        transform: translateY(0px);
    }

a {
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

p {
    color: #7b7b7b;
    line-height: 2;
    font-size: 0.95rem;
}

section, footer {
    padding: 6rem 0;
    text-align: center;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.flex {
    display: flex;
    justify-content: space-between;
    gap: 24px; /* Premium: separaciones suaves sin romper widths */
}

.box {
    text-align: center;
}

/* ============================
   HERO (SLIDER)
   ============================ */
#hero {
    position: relative;
    padding: 0;
}

header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 1rem 0;
    z-index: 5;
    /* Premium */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header nav {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
}

    header nav ul.flex {
        align-items: center;
        justify-content: space-around;
        gap: 18px;
    }

    header nav ul li a {
        color: #fff;
        font-size: 0.8rem;
        text-transform: uppercase;
        font-weight: 500;
        /* Premium */
        letter-spacing: 2.5px;
        position: relative;
        opacity: 0.95;
    }

        header nav ul li a::after {
            content: "";
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 0%;
            height: 2px;
            background: #20d600;
            transition: 0.25s ease;
        }

        header nav ul li a:hover::after {
            width: 100%;
        }

        header nav ul li a:hover {
            text-decoration: none;
        }

.top-gym-logo {
    margin: 0 1.25rem;
    border: 2px solid rgba(255,255,255,0.9);
    padding: 15px 10px 7px;
    text-align: center;
    letter-spacing: 2px;
    /* Premium */
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    background: rgba(0,0,0,0.12);
}

    .top-gym-logo a {
        font-size: 28px;
        text-transform: uppercase;
        color: #fff;
        line-height: 20px;
    }

        .top-gym-logo a:hover {
            text-decoration: none;
        }

#header-logo-mobile {
    display: none;
}

#hamburger-menu {
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.85);
    padding: 6px 8px;
    width: 38px;
    cursor: pointer;
    margin: 0 0 0 1rem;
    display: none;
    border-radius: 10px;
}

    #hamburger-menu .strip {
        display: block;
        height: 2px;
        background-color: #fff;
        margin: 5px 0;
        border-radius: 10px;
    }

/* Slider item */
#hero-slider .hero-slide-item {
    position: relative;
    height: 895px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* evita que se “apilen” si slick no inicializa rápido */
    display: block;
}

    /* Overlay premium (no tapa el texto) */
    #hero-slider .hero-slide-item::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.20), rgba(0,0,0,0.55));
        z-index: 1;
    }

#hero-slider .hero-slider-marketing {
    position: absolute;
    z-index: 2;
    text-align: center;
    color: #fff;
    top: 50%;
    left: 0;
    right: 0;
    margin: -110px auto 0;
    padding: 0 18px;
}

    #hero-slider .hero-slider-marketing h2 {
        text-shadow: 0 12px 34px rgba(0,0,0,0.55);
        letter-spacing: 2px;
    }

/* Slick dots premium */
#hero-slider .slick-dots {
    bottom: 35px;
    z-index: 3;
}

    #hero-slider .slick-dots li button:before {
        color: #fff;
        opacity: 0.95;
        padding: 2px 2px 2px 3px;
        border: 3px solid transparent;
        border-radius: 20px;
    }

    #hero-slider .slick-dots li.slick-active button:before {
        border-color: #fff;
    }

/* ============================
   SCHEDULE / PLANES (VIDEOS)
   ============================ */
#schedule-services {
    text-align: left;
}

    /* Mantiene 3 columnas / 2 columnas sin “desfase” */
    #schedule-services .flex > div {
        width: 32%;
        box-sizing: border-box;
    }

    /* Videos responsivos y premium */
    #schedule-services video {
        width: 100%;
        height: auto;
        max-height: 620px;
        object-fit: cover;
        border-radius: 18px;
        background: #000;
        box-shadow: 0 18px 38px rgba(0,0,0,0.14);
    }

        #schedule-services video:hover {
            transform: scale(1.01);
        }

    /* Si quieres que los de “ANUALES” queden 2 centrados, esto ayuda */
    #schedule-services .flex {
        align-items: flex-start;
    }

/* ============================
   FEATURES (3 CARDS)
   ============================ */
#features .box {
    width: 31%;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

    #features .box:hover {
        transform: translateY(-6px);
        box-shadow: 0 26px 55px rgba(0,0,0,0.14);
    }

    #features .box > img {
        width: 100%;
        display: block;
    }

    #features .box .feature-info-container {
        position: relative;
        padding: 0 18px 22px;
    }

    #features .box .icon {
        position: relative;
        margin: 0 auto;
        background: #20d600;
        border-radius: 45px;
        top: -35px;
        width: 88px;
        height: 88px;
        line-height: 83px;
        text-align: center;
        /* Premium */
        box-shadow: 0 14px 30px rgba(32,214,0,0.30);
    }

        #features .box .icon img {
            vertical-align: middle;
        }

/* ============================
   SERVICES (4)
   ============================ */
#services {
    background: #212122;
    position: relative;
}

    #services .container {
        margin-bottom: 2rem;
    }

    #services .box {
        width: 23.5%;
        border-radius: 16px;
        padding: 24px 18px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.08);
    }

        #services .box:hover {
            transform: translateY(-5px);
            background: rgba(255,255,255,0.06);
        }

        #services .box img {
            height: 65px;
            margin-bottom: 1.5rem;
        }

        #services .box h4 {
            color: #fff;
        }

/* ============================
   POLITICAS (QR)
   ============================ */
#services2 {
    background: #20d600;
    position: relative;
}

    #services2 img {
        width: 260px;
        max-width: 85%;
        border-radius: 18px;
        box-shadow: 0 22px 48px rgba(0,0,0,0.18);
        margin: 18px auto 0;
    }

/* ============================
   HORARIO Y PLANES (TABLA + 2 IMGS)
   ============================ */
.upcoming-classes-box {
    border: 2px solid #E5E7F3;
    padding: 3rem 2rem 2rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}

    .upcoming-classes-box h4 {
        margin-bottom: 1.5rem;
    }

    .upcoming-classes-box table {
        width: 100%;
        border-collapse: collapse;
    }

        .upcoming-classes-box table tr td {
            padding: 13px 10px 13px 0;
            color: #7b7b7b;
            font-size: 0.85rem;
            border-bottom: 1px solid rgba(0,0,0,0.06);
        }

        .upcoming-classes-box table tr:last-child td {
            border-bottom: none;
        }

        .upcoming-classes-box table tr td:last-child {
            text-align: right;
            padding-right: 0;
        }

/* imágenes del horario (1.PNG y 2.PNG) */
#schedule-services img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(0,0,0,0.12);
}

/* ============================
   UBICACION (MAPS)
   ============================ */
iframe {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(0,0,0,0.12);
    max-width: 95%;
}

/* ============================
   FOOTER
   ============================ */
footer {
    background: url('https://onclickwebdesign.com/wp-content/uploads/footer-bg.jpg') top center no-repeat;
    background-size: cover;
    padding-bottom: 2rem;
    position: relative;
}

    footer::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.45);
    }

    footer .footer-container {
        position: relative;
        max-width: 625px;
        margin: 0 auto;
    }

#footer-logo {
    display: inline-block;
}

footer nav {
    margin: 2rem 0 5rem;
}

footer ul {
    display: flex;
    justify-content: space-around;
    gap: 16px;
}

    footer ul li a {
        color: #fff;
        text-transform: uppercase;
        font-size: 0.8rem;
        font-weight: 300;
        opacity: 0.95;
    }

footer img.bicep {
    display: block;
    margin: 0 auto 2rem;
}

footer small {
    color: #fff;
    opacity: 0.85;
    font-weight: 300;
    margin: 0 0.5rem;
}
body {
    background: #000 !important;
    color: #fff !important;
}

/* Títulos */
h1, h2, h3, h4, h5 {
    color: #fff !important;
    font-weight: 700 !important;
    letter-spacing: 2px;
}

/* Párrafos y textos */
p, td, strong, small {
    color: #fff !important;
}

/* Links */
a {
    color: #fff !important;
    font-weight: 600;
}

    a:hover {
        color: #20d600 !important;
    }

/* Secciones */
section {
    background: #000 !important;
}

/* Cards blancas -> oscuras */
#features .box,
.upcoming-classes-box,
#services .box {
    background: #0c0c0c !important;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Textos internos */
#features h4,
#services h4 {
    color: #fff !important;
}

/* Tablas */
.upcoming-classes-box table tr td {
    color: #ddd !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.85) !important;
}

    /* Navbar links */
    header nav ul li a {
        color: #fff !important;
        font-weight: 700;
    }

/* Videos */
#schedule-services video {
    box-shadow: 0 20px 45px rgba(0,0,0,0.7) !important;
}

/* Footer */
footer {
    background: #000 !important;
}

    footer::before {
        display: none !important;
    }

    footer nav ul li a {
        color: #20d600 !important;
        font-weight: 700;
    }

    footer nav ul li a:hover {
        color: #00cfff !important; /* celeste brytek al hover */
    }
    footer a {
        font-weight: 700;
    }

/* Botones */
button {
    background: linear-gradient(135deg, #20d600, #1db954) !important;
    color: #000 !important;
    font-weight: 700 !important;
}

/* Íconos redondos */
#features .icon {
    box-shadow: 0 12px 30px rgba(32,214,0,0.5) !important;
}

/* Map */
iframe {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(0,0,0,0.12);
    max-width: 95%;
    filter: none !important;
}

/* Servicios fondo */
#services {
    background: #000 !important;
}

/* Políticas */
#services2 {
    background: linear-gradient(135deg, #1db954, #20d600) !important;
}

/* Slick dots */
#hero-slider .slick-dots li button:before {
    color: #fff !important;
}

#hero-slider .slick-dots li.slick-active button:before {
    color: #20d600 !important;
}
footer a strong {
    color: #00cfff !important; /* celeste */
    font-weight: 800;
    letter-spacing: 1px;
}

footer a:hover strong {
    color: #20d600 !important; /* verde HB al hover */
}

/* Si quieres que solo ese texto destaque más */
footer .container.text-center {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
}


/* ============================
   RESPONSIVE (ORIGINAL + AJUSTES)
   ============================ */
@media (max-width: 992px) {
    h2 {
        font-size: 6rem;
    }

    header nav {
        max-width: 775px;
    }

    .top-gym-logo {
        margin: 0 1rem;
    }

    .upcoming-classes-box {
        padding: 2rem 1.5rem 1.25rem;
    }
}

@media (max-width: 767px) {
    h2 {
        font-size: 3.6rem;
        margin-top: 2rem;
    }

    .flex {
        display: block;
    }

        .flex .box {
            margin: 0 auto;
            width: 100% !important;
            margin-top: 2.5rem;
        }

            .flex .box:first-child {
                margin-top: 0;
            }

    header {
        background: rgba(0, 0, 0, 0.85);
    }

        header .container {
            position: static;
        }

        header nav {
            position: absolute;
            top: 100%;
            width: 100%;
            background: rgba(0, 0, 0, 0.90);
            display: none;
            left: 0;
        }

            header nav ul.flex {
                display: block;
                padding: 12px 0;
            }

            header nav ul li {
                margin: 1rem 0;
                text-align: center;
            }

                header nav ul li a {
                    font-size: 1.2rem;
                }

    #hamburger-menu {
        display: block;
    }

    #header-logo {
        display: none;
    }

    /* videos full width */
    #schedule-services .flex > div {
        width: 100% !important;
        margin-top: 1.5rem;
    }

        #schedule-services .flex > div:first-child {
            margin-top: 0;
        }
}

@media (max-width: 600px) {
    footer ul {
        flex-wrap: wrap;
    }

    footer nav ul li {
        width: 33%;
        margin-top: 1rem;
        text-align: center;
    }
}
