
/**************************************************
    NAVBAR (igual que el hero en padding y comportamiento)
**************************************************/
.navbar {
    width: 100%;
    padding: 20px 12.4%; /* Padding horizontal igual que el navbar */
}


.navbar-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}




/* Estilos para el botÃ³n de hamburguesa */
.navbar-hamburger {
    background: rgba(207, 80, 53, 1); /* Fondo rojo */
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px; /* Espacio entre las barras */
    cursor: pointer;
    border-radius: 12px; /* Bordes redondeados para el botÃ³n */
}

/* Estilos para las barras del hamburguesa */
.hamburger-bar {
    width: 21px; /* Largo de las barras */
    height: 2px; /* Altura de las barras */
    background: #fff; /* Color blanco para las barras */
    border-radius: 2px; /* Bordes redondeados para las barras */
}




/* MenÃº lateral */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99;
    display: none;
}

.menu-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 642px;
    height: 100%;
    transition: right 0.3s ease-in-out;
    z-index: 100;
    color: white;
    overflow: hidden;
}

.menu-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
background: rgba(21, 21, 19, 1);
    background-image: url("../images/navbar/difuminado.png");
    background-size: cover;
    opacity: 1;
}

.menu-container.active {
    right: 0;
}

.menu-botones{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Tanker', sans-serif;
    gap: 15px;
    padding-top: 100px;
    margin-left: -60px;
}

/* Papel inferior */
.menu-paper {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 275px;
    background: url("../images/navbar/bg_papel.png") no-repeat center bottom;
    z-index: 1;
    transform: rotate(180deg); 
}

/* BotÃ³n Our Location */
.our-location {
    position: relative;
    transform: rotate(180deg); 
    right:64px;
    top: 80px;
}

/* Contenido del menÃº */
.menu-content {
    position: relative;
    padding: 80px 40px;
    height: calc(100% - 250px);
    overflow: auto;
    z-index: 2;
}

.menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-items li {
    margin-bottom: 30px;
}

.menu-items a {
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

.menu-items a:hover {
    transform: translateX(20px);
}

/* BotÃ³n cerrar con nuevos estilos */
.menu-close.btn {

    background: rgba(207, 80, 53, 1); /* Fondo rojo */
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px; /* Espacio entre las barras */
    cursor: pointer;
    border-radius: 12px; /* Bordes redondeados para el botÃ³n */

    position: absolute;
    top: 30px;
    right: 30px;
}

.menu-close.btn::before,
.menu-close.btn::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: white;
    top: 50%;
    left: 50%;
}

.menu-close.btn::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close.btn::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 642px) {
    .menu-container {
    max-width: 100%;
    }
    
    .menu-items a {
    font-size: 1.4rem;
    }
    
    .menu-content {
    padding: 60px 20px;
    }
    

}





.button-container {
    position: relative;
    transform-origin: center;
    font-family: 'Tanker', sans-serif;
}

.sport-button {
    background: transparent;
    color: #CF5035;
    text-decoration: none;
    display: inline-block;
    font-size: 86px;
    position: relative;
    transition: all 0.3s ease;
    margin: -16px;
}



/* Media query para pantallas con altura menor a 900px y ancho mayor a 1000px */
@media (max-height: 900px) and (min-width: 1001px) {
    .sport-button {
        font-size: 46px; /* tamaÃ±o de fuente cuando las condiciones se cumplen */
        margin-bottom: -10px;
    }
}

.sport-button span {
    z-index: 2;
    position: relative;
    filter: drop-shadow(7px 0 0 white) 
            drop-shadow(0 7px 0 white)
            drop-shadow(-7px 0 0 white) 
            drop-shadow(0 -7px 0 white);
}


/* Rotaciones especÃ­ficas */
.glimbing { transform: rotate(6.92deg); left: -70px; padding-bottom: 16px; }
.surfskate { transform: rotate(-2.52deg); left: 60px; }
.parkour { transform: rotate(2.53deg); left: -70px; }
.calistenia { transform: rotate(4deg); left: 506x; }
.gym { transform: rotate(-6deg); right: -80px;  }



/* Estilo GYM mejorado */
.sport-button span{
    z-index: 2 !important;
    position: relative;
}

.sport-button:hover {
    transform: translateX(30px) scale(1.01) rotate(var(--original-rotation));
    
    color: rgba(21, 21, 19, 1);

}

.circle-button-hover {
    background: rgba(207, 80, 53, 1); /* Fondo sÃ³lido */
    color: white;
    border: none; /* Sin borde */
    outline: none; /* Evita borde de enfoque */
    box-shadow: none; /* Sin sombra */
    padding: 7.5px;
    width: 60px;
    height: 60px;
    text-align: center;
    border-radius: 100%;
    position: relative;
    right: -30px;
    top: -20px;
    z-index: 0;
    opacity: 0;
    transform: scale(0.8);
}


.sport-button:hover .circle-button-hover {
    /* Al hacer hover: aparece, recupera su tamaÃ±o y se le agrega box-shadow */
    opacity: 1;
    transform: scale(1);
    /* box-shadow: 0px -0px 3px rgba(255, 255, 255, 1); */
 
}


.img-climbing{
    position: absolute; right: -100px; top:0px;
}


.img-skate{
    position: absolute; left: -40px; top:-10px;
}


.img-calistenia{
    position: absolute; right: -100px; top:0px;
}


@media (max-width: 768px) {


    .navbar {
        width: 100%;
        padding: 20px 0%; /* Padding horizontal igual que el navbar */
    }

    
    .navbar-logo {
        width: 164px;
        margin-top: 5px;
    }

    
    .menu-container {
        max-width: 100% !important;
    }

    .sport-button {
        font-size: 48px;
        margin-bottom: 4px;
    }


    .img-climbing{
        height: 100px; right: -50px; top:-30px;
    }
    
    
    .img-skate{
        height: 100px; left: -50px; top:-24px;
    }
    
    
    .img-calistenia{
        height: 100px; right: -80px; top:-20px;
    }
    
        
    .gym-circle{
        background: rgba(207, 80, 53, 1);
        color: white;
        border: none;
        padding: 7.5px;
        width: 40px;
        height: 40px;
        text-align: center;
        border-radius: 100%;
        position: relative;
        right: -12px;
        top: -2px;
        z-index: 0;
    }


    .circle-button-hover {
        width: 40px;
        height: 40px;
        right: -12px;
        top: -2px;

    }
    
    .menu-botones{
        margin-left: -26px;
    }


    /* Papel inferior */
    .menu-paper {
        bottom: 0px;
        height: 200px;
        background: url("../images/navbar/bg_papel.png") no-repeat center bottom;
    }


    /* BotÃ³n Our Location */
    .our-location {
        right:24px;
        top: 50px;
    }

    



}




/* Media query para pantallas con altura menor a 900px y ancho mayor a 1000px */
@media (max-height: 900px) and (min-width: 1001px) {

    /* BotÃ³n Our Location */
    .our-location {
        right:30% !important;
        top: 50px;
    }

}