/* ==========================================================
   FIGHTERS GYM
   ESTILOS GENERALES
========================================================== */

:root {
    --black: #040404;
    --white: #f6f6f6;
    --muted: #b7b7b7;
    --red: #c51e23;
    --red-light: #ef3138;

    --font-heading: "Bebas Neue", sans-serif;
    --font-body: "Montserrat", sans-serif;
}


/* ==========================================================
   RESET
========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;

    overflow-x: hidden;

    color: var(--white);
    background: var(--black);

    font-family: var(--font-body);
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* ==========================================================
   HEADER
========================================================== */

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 17px 40px;

    background: transparent;
    border-bottom: 1px solid transparent;

    transition:
        padding 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
    padding: 10px 40px;

    background: rgba(4, 4, 4, 0.72);
    border-bottom-color: rgba(255, 255, 255, 0.07);

    backdrop-filter: blur(17px);

    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.30),
        0 0 28px rgba(197, 30, 35, 0.05);
}


/* Logo */

.site-logo img {
    width: 138px;
    height: 70px;

    object-fit: contain;

    filter:
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.10))
        drop-shadow(0 0 18px rgba(197, 30, 35, 0.10));

    transition:
        width 0.35s ease,
        height 0.35s ease;
}

.site-header.is-scrolled .site-logo img {
    width: 112px;
    height: 56px;
}


/* Navegación */

.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-navigation a {
    position: relative;

    color: var(--white);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;

    text-decoration: none;
    text-transform: uppercase;

    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.10);
}

.main-navigation a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;

    height: 1px;

    content: "";

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--red-light),
            transparent
        );

    transform: scaleX(0);

    transition:
        transform 0.28s ease;
}

.main-navigation a:hover::after {
    transform: scaleX(1);
}


/* ==========================================================
   BOTÓN PRINCIPAL
========================================================== */

.primary-button {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 210px;
    min-height: 54px;

    padding: 14px 30px;

    overflow: hidden;

    color: #ffffff;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.08),
            transparent
        ),
        var(--red);

    border:
        1px solid
        rgba(255, 255, 255, 0.14);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.13em;

    text-decoration: none;
    text-transform: uppercase;

    box-shadow:
        0 0 20px rgba(197, 30, 35, 0.26),
        0 0 54px rgba(197, 30, 35, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);

    transition:
        transform 0.30s ease,
        background 0.30s ease,
        box-shadow 0.30s ease,
        border-color 0.30s ease;
}

.primary-button::before {
    position: absolute;

    top: -130%;
    left: -45%;

    width: 34%;
    height: 360%;

    content: "";

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.28),
            transparent
        );

    transform:
        rotate(18deg)
        translateX(-260%);

    transition:
        transform 0.75s ease;
}

.primary-button:hover {
    transform: translateY(-3px);

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.10),
            transparent
        ),
        var(--red-light);

    border-color:
        rgba(255, 255, 255, 0.20);

    box-shadow:
        0 0 28px rgba(239, 49, 56, 0.38),
        0 0 72px rgba(197, 30, 35, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.primary-button:hover::before {
    transform:
        rotate(18deg)
        translateX(520%);
}

.primary-button--outline {
    background:
        rgba(255, 255, 255, 0.015);

    border-color:
        rgba(255, 255, 255, 0.20);
}


/* ==========================================================
   FOOTER
========================================================== */

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 28px 40px;

    color: #8f8f8f;
    background: #020202;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.06);
}

.site-footer__brand {
    color: var(--white);

    font-family: var(--font-heading);
    font-size: 24px;
    letter-spacing: 0.08em;

    text-decoration: none;

    text-shadow:
        0 0 14px rgba(255, 255, 255, 0.10);
}

.site-footer p {
    margin: 0;

    font-size: 12px;
    line-height: 1.6;
}

.site-footer p a {
    color: var(--red-light);

    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.25s ease,
        text-shadow 0.25s ease;
}

.site-footer p a:hover {
    color: var(--white);

    text-shadow:
        0 0 12px rgba(239, 49, 56, 0.38);
}


/* ==========================================================
   MENÚ MÓVIL
========================================================== */

.menu-toggle {
    display: none;

    padding: 8px;

    background: transparent;
    border: 0;
}

.menu-toggle span {
    display: block;

    width: 27px;
    height: 2px;

    margin: 5px 0;

    background: #ffffff;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 820px) {

    .site-header {
        padding: 14px 20px;
    }

    .site-header.is-scrolled {
        padding: 10px 20px;
    }

    .site-logo img {
        width: 112px;
        height: 56px;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;

        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;

        padding: 26px 22px;

        background: rgba(4, 4, 4, 0.96);

        border-top:
            1px solid
            rgba(255, 255, 255, 0.06);

        backdrop-filter: blur(17px);
    }

    .main-navigation.is-open {
        display: flex;
    }

    .site-footer {
        flex-direction: column;
        gap: 12px;

        padding: 26px 22px;

        text-align: center;
    }

}