/* =====================================================
   ARTFIGHT — CSS GLOBAL
   ===================================================== */


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

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: #050505;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}


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

.site-header {
    position: relative;
    width: 100%;

    background-color: #050505;

    border-bottom: 1px solid #222222;

    z-index: 1000;
}

.site-header__container {
    width: 100%;
    max-width: 1200px;

    min-height: 110px;

    margin: 0 auto;
    padding: 5px 20px;

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

    gap: 30px;
}


/* =====================================================
   LOGO
   ===================================================== */

.site-logo {
    display: flex;
    align-items: center;

    flex-shrink: 0;
}

.site-logo img {
    display: block;

    width: 100px;
    height: 100px;

    object-fit: contain;
}


/* =====================================================
   MENU PRINCIPAL
   ===================================================== */

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 25px;

    margin-left: auto;
}

.site-nav > a,
.site-nav__dropdown-button {
    color: #ffffff;

    font-size: 15px;
    font-weight: 600;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.site-nav > a:hover,
.site-nav__dropdown-button:hover {
    color: #ff6600;
}


/* =====================================================
   DROPDOWN
   ===================================================== */

.site-nav__dropdown {
    position: relative;
}


/* =====================================================
   BOTÃO DROPDOWN
   ===================================================== */

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

    width: auto;

    margin: 0;
    padding: 0;

    border: 0;

    background: transparent;

    cursor: pointer;
}

.site-nav__arrow {
    display: inline-block;

    margin-left: 6px;

    font-size: 11px;

    transition:
        transform 0.2s ease;
}


/* =====================================================
   MENU DROPDOWN — ESCONDIDO
   ===================================================== */

.site-nav__dropdown-menu {
    position: absolute;

    top: calc(100% + 15px);
    left: 50%;

    min-width: 230px;

    padding: 8px 0;

    background-color: #111111;

    border: 1px solid #292929;

    transform: translateX(-50%);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;

    z-index: 1001;
}


/* =====================================================
   ABRE SOMENTE O MENU DIRETO
   ===================================================== */

.site-nav__dropdown.is-open > .site-nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* =====================================================
   SETA DO MENU PRINCIPAL
   ===================================================== */

.site-nav__dropdown.is-open
> .site-nav__dropdown-button
> .site-nav__arrow {
    transform: rotate(180deg);
}


/* =====================================================
   LINKS DOS DROPDOWNS
   ===================================================== */

.site-nav__dropdown-menu > a {
    display: block;

    width: 100%;

    padding: 11px 18px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 500;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.site-nav__dropdown-menu > a:hover {
    color: #ff6600;

    background-color: #181818;
}


/* =====================================================
   SUBMENU DAS MODALIDADES
   KRAV MAGA / TAEKWONDO
   ===================================================== */

.site-nav__dropdown--submenu {
    position: relative;

    width: 100%;
}


/* =====================================================
   BOTÃO KRAV MAGA / TAEKWONDO
   ===================================================== */

.site-nav__dropdown--submenu
> .site-nav__dropdown-button {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    margin: 0;
    padding: 11px 18px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 500;

    text-align: left;

    border: 0;

    background-color: transparent;
}

.site-nav__dropdown--submenu
> .site-nav__dropdown-button:hover {
    color: #ff6600;

    background-color: #181818;
}


/* =====================================================
   SUB-SUBMENU
   KRAV MAGA
   TAEKWONDO
   ===================================================== */

.site-nav__dropdown--submenu
> .site-nav__dropdown-menu {
    top: -9px;
    left: 100%;

    min-width: 230px;

    margin-left: 1px;

    padding: 8px 0;

    transform: none;
}


/* =====================================================
   ABERTURA DO SUB-SUBMENU
   ===================================================== */

.site-nav__dropdown--submenu.is-open
> .site-nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* =====================================================
   SETA DO SUBMENU
   ===================================================== */

.site-nav__dropdown--submenu.is-open
> .site-nav__dropdown-button
> .site-nav__arrow {
    transform: rotate(90deg);
}


/* =====================================================
   BOTÃO MENU MOBILE
   ===================================================== */

.site-menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    margin: 0;
    padding: 8px;

    border: 1px solid #292929;

    background-color: #111111;

    cursor: pointer;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;
}

.site-menu-toggle span {
    display: block;

    width: 22px;
    height: 2px;

    background-color: #ffffff;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


/* =====================================================
   MENU MOBILE ABERTO
   ===================================================== */

.site-menu-toggle.is-open
span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-menu-toggle.is-open
span:nth-child(2) {
    opacity: 0;
}

.site-menu-toggle.is-open
span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =====================================================
   RESPONSIVO
   ===================================================== */

@media (max-width: 900px) {

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

    .site-header__container {
        min-height: 90px;

        padding: 5px 15px;
    }


    /* =================================================
       LOGO
       ================================================= */

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


    /* =================================================
       BOTÃO MOBILE
       ================================================= */

    .site-menu-toggle {
        display: flex;
    }


    /* =================================================
       NAVEGAÇÃO MOBILE
       ================================================= */

    .site-nav {
        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        margin: 0;
        padding: 10px 15px 20px;

        display: none;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        background-color: #050505;

        border-top: 1px solid #222222;
        border-bottom: 1px solid #222222;
    }

    .site-nav.is-open {
        display: flex;
    }


    /* =================================================
       LINKS PRINCIPAIS
       ================================================= */

    .site-nav > a {
        display: block;

        width: 100%;

        padding: 13px 10px;

        font-size: 15px;

        border-bottom: 1px solid #181818;
    }


    /* =================================================
       DROPDOWNS MOBILE
       ================================================= */

    .site-nav__dropdown {
        width: 100%;
    }


    /* =================================================
       BOTÕES MOBILE
       ================================================= */

    .site-nav__dropdown-button {
        width: 100%;

        padding: 13px 10px;

        border-bottom: 1px solid #181818;

        font-size: 15px;

        text-align: left;
    }


    /* =================================================
       DROPDOWN MOBILE FECHADO
       IMPORTANTE:
       NÃO OCUPA ESPAÇO QUANDO FECHADO
       ================================================= */

    .site-nav__dropdown
    > .site-nav__dropdown-menu {

        position: static;

        display: none;

        width: 100%;
        min-width: 0;

        margin: 0;

        padding: 0;

        transform: none;

        border: 0;

        background-color: #0d0d0d;

        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }


    /* =================================================
       DROPDOWN MOBILE ABERTO
       ================================================= */

    .site-nav__dropdown.is-open
    > .site-nav__dropdown-menu {

        display: block;
    }


    /* =================================================
       LINKS DO DROPDOWN MOBILE
       ================================================= */

    .site-nav__dropdown-menu
    > a {

        padding: 12px 25px;

        font-size: 14px;

        border-bottom: 1px solid #181818;
    }


    /* =================================================
       SUBMENU MOBILE
       ================================================= */

    .site-nav__dropdown--submenu {
        width: 100%;
    }


    /* =================================================
       BOTÃO KRAV / TAEKWONDO
       ================================================= */

    .site-nav__dropdown--submenu
    > .site-nav__dropdown-button {

        padding: 12px 25px;

        background-color: #0d0d0d;
    }


    /* =================================================
       SUB-SUBMENU MOBILE FECHADO
       NÃO OCUPA ESPAÇO
       ================================================= */

    .site-nav__dropdown--submenu
    > .site-nav__dropdown-menu {

        position: static;

        display: none;

        width: 100%;
        min-width: 0;

        margin: 0;

        padding: 0;

        transform: none;

        border: 0;

        background-color: #080808;

        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }


    /* =================================================
       SUB-SUBMENU MOBILE ABERTO
       ================================================= */

    .site-nav__dropdown--submenu.is-open
    > .site-nav__dropdown-menu {

        display: block;
    }


    /* =================================================
       LINKS DO SUB-SUBMENU MOBILE
       ================================================= */

    .site-nav__dropdown--submenu
    > .site-nav__dropdown-menu
    > a {

        padding: 11px 40px;

        font-size: 13px;

        border-bottom: 1px solid #181818;
    }

}


/* =====================================================
   TELAS PEQUENAS
   ===================================================== */

@media (max-width: 480px) {

    .site-header__container {
        min-height: 80px;
    }

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

    .site-nav {
        padding-left: 10px;
        padding-right: 10px;
    }

}


/* =====================================================
   RODAPÉ
   ===================================================== */

.site-footer {
    width: 100%;

    margin-top: 60px;

    background-color: #050505;

    border-top: 1px solid #222222;
}

.site-footer__container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 25px 20px;

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

.site-footer__copyright {
    color: #888888;

    font-size: 13px;

    text-align: center;
}


/* =====================================================
   BOTÃO VOLTAR AO TOPO
   ===================================================== */

.back-to-top {
    position: fixed;

    right: 20px;
    bottom: 20px;

    width: 42px;
    height: 42px;

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

    padding: 0;

    border: 1px solid #292929;

    background-color: #111111;

    color: #ffffff;

    font-size: 20px;
    line-height: 1;

    cursor: pointer;

    z-index: 1100;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.back-to-top:hover {
    color: #ff6600;

    background-color: #181818;

    border-color: #ff6600;
}


/* =====================================================
   RODAPÉ — MOBILE
   ===================================================== */

@media (max-width: 480px) {

    .site-footer {
        margin-top: 40px;
    }

    .site-footer__container {
        padding: 20px 15px;
    }

    .site-footer__copyright {
        font-size: 12px;
    }

    .back-to-top {
        right: 15px;
        bottom: 15px;

        width: 40px;
        height: 40px;
    }

}