/*
    Author: Tedje
    Date: 12-01-2024
    Description: Flash Gym General Stylesheet
*/

    html {
        font-size: 16px;
    }

:root {
    --dark-color: #0D1B2A;
    --red-color: #fc1811;
    --blue-color: #003087;
    --gold-color: #D4AF37;
    --light-color: #f3f3f3;
}

    .main-color {
        color: var(--gold-color);
    }

body {
    background-color: var(--dark-color);
    position: relative;
    border-style: none;
    border-width: 0;
    background-clip: border-box;
    font-family: Montserrat;
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, .btn {
    font-family: BebasNeue;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom :0;
}



    .wrapper
    {
        overflow-x: hidden;
    }

/*======================================================
                        General
======================================================*/
.link-button {
    display: inline-block;
    text-decoration: none;
    color: var(--gold-color);
    padding: 0.5rem 1rem;
    border: 2px solid var(--gold-color);
    margin: auto 0;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 300ms ease;
    cursor: pointer;
}

/* Hover state */
.link-button:hover {
    background: var(--gold-color);
    color: var(--blue-color);
    border-left: 8px solid var(--blue-color);
}

.button-text {
    display: flex;
    width: 100%;
    gap: 10px;
}

.button-text a {
    text-decoration: none;
    color: white;
    display: block;
    align-self: center;
}

.button-text span {
    font-weight: bold;
    color: var(--gold-color);
}

    .button-text span:hover {
        font-weight: bold;
        font-size: 18px;
    }

    
/*======================================================
                        Navbar
======================================================*/
    #navbar {
        background: rgba(0,0,0,0);
        color: rgb(13, 26, 38);
        position: absolute;
        top: 0;
        left: 0;
        height: 5rem;
        line-height: 3rem;
        font-weight: 600;
        width: 100vw;
        z-index: 50;
        padding: 16px 0px 16px 0px;
    }

    #navbar.scrolled-navbar {
        background: #0a1523;
        transition: background 0.3s ease;
    }

    .nav-wrapper {
        margin: auto;
        text-align: center;
        width: 90%;
    }

    @media(max-width: 1082px) {
        .nav-wrapper {
            width: 100%;
        }
    }

    @media(max-width: 768px) {
        .nav-wrapper {
            width: 100%;
        }
    }

    @media(max-width: 638px) {
        .nav-wrapper {
            width: 100%;
        }
    }


    .logo, .logo img {
        position: relative;
        float: left;
        margin-left: 1.75rem;
        font-size: 1.5em;
        height: 5rem;
        width: auto;
        letter-spacing: 1px;
        text-transform: uppercase;
    }


    @media(max-width: 768px) {
        .logo {
            margin-left: 5px;
        }
    }

    #navbar #menu > ul {
        display: inline-block;
        float: right;
        list-style: none;
       /*margin-top: 0px;*/
        text-align: right;
        transition: transform 0.5s ease-out;
        -webkit-transition: transform 0.5s ease-out;
    }

    @media(orientation: landscape) {
        #navbar #menu > ul {
            display: inline-block;
        }
    }

    #menu {
        position: relative;
    }

    #navbar li, .search {
        display: inline-block;
    }

    #navbar .dropdown {
        position: relative;
    }

#navbar .dropdown .submenu {
    position: absolute;
    top: calc(100%);
    left: 0;
    display: none;
    transform: translateX(-15%);
    list-style: none;
    padding: 0.8rem 1rem;
    margin: 0;
    background-color: #0e1824; /* zelfde donkerblauw */
    border: 1px solid var(--gold-color, #f3c846);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(243, 200, 70, 0.15);
    animation: fadeInDown 0.3s ease forwards;
    z-index: 999;
}



#navbar .dropdown.xl .submenu {
    transform: translateX(-38%);
    animation: fadeInDownXL 0.5s ease forwards; /* Apply the animation */
    align-items: flex-start;
}

#navbar .dropdown:hover .submenu {
    display: flex;
}

#navbar .submenu-columns {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    min-height: auto;
}

#navbar .submenu-columns li {
    display: block;
    width: 100%;
}

#navbar .submenu-columns a {
    display: block;
    min-width: 200px; /* Grotere minimale breedte */
    color: #f3f3f3; /* wit */
    text-decoration: none;
    text-align: center;
    margin: 0;
    padding: 0.5rem 0.8rem;
    font-family: BebasNeue;
    font-size: 1.25rem;
    letter-spacing: 1px;
    transition: background 0.2s ease, color 0.2s ease;
}

    #navbar .submenu-columns a:hover {
        color: var(--gold-color, #f3c846);
    }

.search {
    position: relative;
    margin-left: 14px;
}

.search i
{
    color: #fff;
    font-size: 1rem;

}

.search:hover .search-wrapper {
    display: block;
}

.search-wrapper {
    display: none;
    position: absolute;
    top: 40px; /* Plaats de search-wrapper onder het zoekicoon */
    transform: translateX(-80%); /* Center de zoekbox */
    width: auto; /* Neem de volledige breedte in beslag */
}

/* Stijl voor de zoekvorm (optioneel) */
.search-form input {
    border: none;
    padding: 15px 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#searchIcon.active {
    color: var(--red-color);
}

#searchIcon:hover {
    cursor: pointer;
}

#searchIcon:hover + .search-wrapper,
.search-wrapper:hover {
    display: block;
}

#navbar .nav-links > li > a {
    color: #f3f3f3;
    display: block;
    font-size: 1.25rem; /* iets flexibeler dan vaste px */
    height: 2.5rem;
    letter-spacing: 1.5px; /* iets minder, oogt netter */
    margin: 0 1.2rem;
    padding: 0 4px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-family: BebasNeue;
}

#navbar .nav-links > li > a:hover {
    /* border-bottom: 1px solid rgb(28, 121, 184); */
    color: var(--gold-color);
    transition: all 1s ease;
    -webkit-transition: all 1s ease;
}

/* Animated Bottom Line */
#navbar .nav-links > li > a:before, .nav-links > li > a:after {
    content: '';
    position: absolute;
    width: 0%;
    height: 3px;
    bottom: -1px;
    background: rgb(13, 26, 38);
}

#navbar .nav-links > li > a:before {
    left: 0;
    transition: 0.5s;
}

#navbar li a:after {
    background: var(--gold-color);
    right: 0;
        transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

#navbar li a:hover:before {
    background: var(--blue-color);
    width: 100%;
    transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

#navbar li a:hover:after {
    background: transparent;
    width: 100%;
    transition: 0s; 
}

/*======================================================
                    Mobile Menu Menu Icon
======================================================*/
@media (orientation: portrait), (max-width: 768px) {
    .menuIcon {
        cursor: pointer;
        display: block;
        position: fixed;
        right: 16px;
        top: 20px;
        width: 27px; /* container */
        height: 23px; /* container */
        z-index: 120;
    }

        /* Hardened bars (geheel gescope’d, vaste px, reset) */
        .menuIcon .icon-bars,
        .menuIcon .icon-bars::before,
        .menuIcon .icon-bars::after {
            content: '';
            position: absolute;
            left: 0;
            width: 20px; /* 1.25rem -> 20px, consistent */
            height: 2px;
            background: var(--gold-color);
            display: block;
            margin: 0;
            padding: 0;
            border: 0;
            box-sizing: content-box;
            line-height: 0;
            transition: transform .4s cubic-bezier(0.68,-0.55,0.265,1.55), opacity .3s, width .3s;
        }

        /* midden precies in het midden van de container */
        .menuIcon .icon-bars {
            top: 50%;
            transform: translateY(-50%);
        }

            /* boven/onder met gelijke offset */
            .menuIcon .icon-bars::before {
                top: -8px;
            }

            .menuIcon .icon-bars::after {
                top: 8px;
            }

            /* overlay-variant alleen kleur/animaties, zelfde geometrie houden */
            .menuIcon .icon-bars.overlay,
            .menuIcon .icon-bars.overlay::before,
            .menuIcon .icon-bars.overlay::after {
                background: var(--blue-color);
            }

            /* jouw animaties, maar widths in px */
            .menuIcon .icon-bars.overlay {
                animation: middleBar 3s infinite .5s;
            }

                .menuIcon .icon-bars.overlay::before {
                    animation: topBar 3s infinite .2s;
                }

                .menuIcon .icon-bars.overlay::after {
                    animation: bottomBar 3s infinite 1s;
                }

    @keyframes middleBar {
        0%,100% {
            width: 0
        }

        50% {
            width: 20px
        }
    }

    @keyframes topBar {
        0%,100% {
            width: 0
        }

        50% {
            width: 10px
        }
    }

    @keyframes bottomBar {
        0%,100% {
            width: 0
        }

        50% {
            width: 15px
        }
    }

    /* Toggle (optioneel, zelfde als je had) */
    .menuIcon.toggle .icon-bars {
        background: transparent;
    }

        .menuIcon.toggle .icon-bars::before {
            transform: translateY(8px) rotate(45deg);
        }

        .menuIcon.toggle .icon-bars::after {
            transform: translateY(-8px) rotate(-45deg);
        }

        .menuIcon.toggle .icon-bars.overlay,
        .menuIcon.toggle .icon-bars.overlay::before,
        .menuIcon.toggle .icon-bars.overlay::after {
            opacity: 0;
        }
}


/*======================================================
                    Responsive Mobile Menu 
======================================================*/
.overlay-menu {
    background: var(--dark-color);
    color: rgb(13, 26, 38);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    right: 0;
    padding-right: 15px;
    transform: translateX(-100%);
    width: 100vw;
    height: 100vh;
    z-index: 100;
    -webkit-transition: transform 0.2s ease-out;
    transition: transform 0.2s ease-out;
}

.overlay-menu ul, .overlay-menu li {
    display: block;
    position: relative;
}

    .overlay-menu li a {
        display: block;
        font-size: 3rem;
        letter-spacing: 4px;
        /*   opacity: 0; */
        padding: .625rem 0;
        text-align: left;
        font-family: BebasNeue;
        text-transform: uppercase;
        text-decoration: none;
        color: var(--gold-color);
        -webkit-transition: color 0.3s ease;
        transition: color 0.3s ease;
        /*   -webkit-transition: 0.2s opacity 0.2s ease-out;
transition: 0.2s opacity 0.2s ease-out; */
    }

.overlay-menu li a:hover,
.overlay-menu li a:active {
    border-bottom: 3px solid var(--gold-color);
    -webkit-transition: border 0.3s ease;
    transition: border 0.3s ease;
}

.overlay-menu #searchIcon 
{
    font-size: 1.8em;
}

.overlay-menu .search-wrapper {
    display: none;
    position: absolute;
    top: 40px; /* Plaats de search-wrapper onder het zoekicoon */
    transform: translateX(0%); /* Center de zoekbox */
    width: auto; /* Neem de volledige breedte in beslag */
}


.whatsappbutton {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

    .whatsappbutton:hover {
        opacity: 0.8;
    }



/* CUSTOM FONTS */

@font-face {
    font-family: Montserrat;
    src: url("../fonts/Montserrat.ttf");
}

@font-face {
    font-family: BebasNeue;
    src: url("../fonts/BebasNeue.ttf");
}

/*======================================================
                    Footer 
======================================================*/

footer {
    background-color: #0a1523; /* donkerblauw */
    color: #ffffff;
    padding: 2rem 1rem;
}

.footer-container {
    position: relative;
    width: 80%;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-block-xl, .footer-block {
    position: relative;
    width: 25%;
}

.footer-block {
    width: 20%;
}

    .footer-block > h2, .footer-block-xl > h2 {
        margin-top: 0;
        text-transform: uppercase;
        color: #d4af37; /* goudkleur */
    }

.link-section ul {
    list-style: none;
    padding-left: 0;
}

.link-section li {
    padding: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    .link-section li span {
        float: right;
    }

    .link-section li a {
        text-decoration: none;
        color: #ffffff;
    }

        .link-section li a:hover {
            text-decoration: underline;
            color: #d4af37;
        }

.social-flexbox {
    display: flex;
    gap: 15%;
    margin-top: 1rem;
}

    .social-flexbox .social {
        padding: 5px;
        width: 20%;
        text-align: center;
        font-size: 24px;
        border: 2px solid #ffffff;
        color: #ffffff;
        transition: all 0.3s ease;
    }

        .social-flexbox .social a {
            text-decoration: none;
            color: #ffffff;
        }

        .social-flexbox .social:hover {
            border-color: #d4af37;
            background-color: #1a2e45;
        }

        .social-flexbox .social a:hover {
            color: #d4af37;
        }

        .contact-block
        {
            margin-top: 1rem;
        }

.contact-block i {
    color: #d4af37;
    font-size: 2rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: 2rem auto 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    font-size: 0.9rem;
    color: #cccccc;
}

.copyright {
    order: 1;
}

.footer-creator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    order: 2;
    color: #ffffff;
}

    .footer-creator i {
        color: #d4af37;
    }

    .footer-creator img {
        width: 60%;
    }


/*==================================
               FORMS
==================================*/
.umbraco-forms-form {
    padding: 2rem;
    background-color: #0e1824; /* donkerblauw */
    color: #f3f3f3; /* lichte tekst */
    border: 1px solid #f3c846; /* goudkleur */
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(243, 200, 70, 0.2);
    font-family: Montserrat, sans-serif;
    transition: transform 0.3s ease;
    max-width: 800px;
    margin: 0 auto;
}

.umbraco-forms-page {
    width: 100%;
    margin: 0 auto;
}

.umbraco-forms-caption {
    font-size: 2em !important;
    line-height: 2em !important;
    color: #f3c846; /* goudkleur */
    font-weight: 700;
    margin-bottom: 1rem;
}

.umbraco-forms-field {
    clear: both;
}

.umbraco-forms-field-wrapper {
    display: flex;
    flex-direction: column;
}

.umbraco-forms-field div label {
    display: inline;
    color: #f3f3f3; /* lichte tekst */
}

label.umbraco-forms-label {
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    color: #f3c846; /* goudkleur */
    background: none !important;
}

.umbraco-forms-form small {
    display: block;
    float: left;
    clear: both;
    font-size: 0.85rem;
    color: #ccc;
    padding: 5px 0;
}

.umbraco-forms-form fieldset {
    padding: 0;
    border: none;
}

.umbraco-forms-form .umbraco-forms-navigation {
    padding: 1em 0;
    text-align: right;
}

.umbraco-forms-form legend {
    font-weight: 700;
    font-size: 1.2em;
    line-height: 1.2em;
    display: block;
    color: #f3c846;
}

.umbraco-forms-form input.text,
.umbraco-forms-form input.title,
.umbraco-forms-form select,
.umbraco-forms-form textarea {
    border: 1px solid #f3c846; /* goudkleur */
    background-color: transparent;
    color: #fff;
    font-family: Montserrat, sans-serif;
    padding: 0.7rem;
    border-radius: 4px;
    transition: border 0.3s ease, background-color 0.3s ease;
    max-width: 400px !important;
    width: 95%;
}

    .umbraco-forms-form input.text:focus,
    .umbraco-forms-form input.title:focus,
    .umbraco-forms-form select:focus,
    .umbraco-forms-form textarea:focus {
        border: 1px solid #ffd95e; /* lichtere goudkleur */
        background-color: rgba(243, 200, 70, 0.05);
        outline: none;
    }

.umbraco-forms-form textarea {
    height: 150px;
}

.umbraco-forms-form input.fileupload {
    height: auto !important;
    color: #f3f3f3;
}

.umbraco-forms-form span.checkbox,
.umbraco-forms-form span.checkboxlist,
.umbraco-forms-form span.radiobuttonlist {
    display: block;
    float: left;
    padding: 10px;
    color: #f3f3f3;
}

.umbraco-forms-form .checkboxlist label {
    float: left;
    clear: left;
}

.umbraco-forms-form .checkbox input,
.umbraco-forms-form .checkboxlist input,
.umbraco-forms-form .radiobuttonlist input {
    width: auto !important;
    height: auto !important;
    border: none !important;
    display: inline !important;
    accent-color: #f3c846; /* moderne checkbox kleur */
}

.umbraco-forms-form .hiddenfield {
    display: none;
}


.umbraco-forms-button {
    margin-right: 10px;
    padding: 2px 10px
}
.btn.primary {
    font-family: Montserrat, sans-serif;
    background: transparent;
    display: inline-block;
    text-decoration: none;
    color: var(--gold-color);
    padding: 0.5rem 1rem;
    border: 2px solid var(--gold-color);
    margin: auto 0;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 300ms ease;
    cursor: pointer;
}

/* Hover state */
.btn.primary:hover {
    background: var(--gold-color);
    color: var(--blue-color);
    border-left: 8px solid var(--blue-color);
}


.umbraco-forms-error-message {
    padding: .8em;
    margin-bottom: .5em;
    border: 2px solid #fbc2c4
}

.umbraco-forms-error-message {
    background: #fbe3e4;
    color: #8a1f11
}

.umbraco-forms-form input.contourError, .umbraco-forms-form input.input-validation-error, .umbraco-forms-form textarea.contourError, .umbraco-forms-form textarea.input-validation-error {
    background: #fbe3e4;
    border-color: #fbc2c4
}

.umbraco-forms-form span.contourError, .umbraco-forms-form span.field-validation-error {
    color: #8a1f11 !important;
    background: 0 0 !important
}

.umbraco-forms-form #recaptcha_widget_div {
    margin-left: 200px
}

.umbraco-forms-form .field-validation-error {
    padding-left: 5px
}

.umbraco-forms-hidden {
    display: none
}



/*==================================
            MEDIA QUERIES
==================================*/

/* Grote schermen */
@media only screen and (min-width: 1024px) and (max-width: 1460px) {

    .logo, .logo img
    {
        height: 3.5rem;
    }

    #navbar #menu ul
    {
        margin-right: 50px;
    }

    #navbar #menu li a
    {
        font-size: 12px;
        margin: 0 .4rem;
    }

    .footer-block-xl
    {
        width: 50%;
    }

    .footer-container {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .footer-block-xl {
        width: 45%;
    }

    .footer-block {
        width: 45%;
    }
}

/* Middelgrote schermen */
@media only screen and (min-width: 1024px) and (max-width: 1200px) {

    

    #navbar #menu li a 
    {
        font-size: 1.2rem;
        margin: 0 .4rem;
    }
}
@media only screen and (min-width: 923px) and (max-width: 1023px) {

    .logo, .logo img {
        height: 3rem;
    }

    #navbar #menu ul {
        margin-right: 50px;
    }

    #navbar .dropdown.xl .submenu
    {
        left: -51px
    }

    #navbar .submenu-columns a {
        padding: 0.1rem 0.1rem;
    }

    #navbar #menu li a {
        font-size: 1rem;
        margin: 0 .20rem;
    }

    .footer-container {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .footer-block-xl {
        width: 45%;
    }

    .footer-block {
        width: 45%;
    }
}

/* Middelgrote schermen */
@media only screen and (min-width:768px) and (orientation: portrait)
{
    #navbar #menu ul {
        display: none;
    }
}
@media only screen and (min-width: 768px) and (max-width: 922px) {

    .logo, .logo img {
        margin-left: 10px;
        height: 3rem;
    }

    #navbar #menu ul {
        padding-left: 0;
        margin-right: 50px;
    }

    #navbar #menu li a {
        font-size: 9px;
        margin: 0 .3rem;
    }

    .footer-container {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .footer-block-xl
    {
        width: 47%;
    }

    .footer-block-xl.text, .footer-block.text p
    {
        width: 100% ;
    }

    .footer-block
    {
        width: 45%;
    }
}

/* Kleine schermen */
@media only screen and (max-width: 767px) {
    #navbar #menu ul {
        display: none;
    }

    .footer-container, .footer-bottom-container {
        display: block;
    }

    .footer-block, .footer-block-xl
    {
        width: 100%;
        margin-bottom: 1rem;
    }

    .footer-bottom-container
    {
        width: 100%;
        
    }

    .copyright {
        display: inline-flex;
        width: 100%;
        justify-content: center;
    }

    .footer-creator
    {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        margin-left: 3.5rem;
    }
}

/*======================
       ANIMATIONS
=======================*/

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px) translateX(-15%); /* Move the dropdown up */
    }

    100% {
        opacity: 1;
        transform: translateY(0) translateX(-15%); /* Return to its original position */
    }
}

@keyframes fadeInDownXL {
    0% {
        opacity: 0;
        transform: translateY(-20px) translateX(-38%); /* Move the dropdown up */
    }

    100% {
        opacity: 1;
        transform: translateY(0) translateX(-38%); /* Return to its original position */
    }
}