:root {
    --color-primary: #ffd700;
    --color-secondary: #D3D3D3;
    --color-background: #1a1a1a;
    --color-text: #ffffff;
    --font-title: 'Montserrat', sans-serif;
    --font-subtitle: 'Raleway', sans-serif;
    --font-text: 'Roboto', sans-serif;
    --font-size-title: 30px;
    --font-size-subtitle: 24px;
    --font-size-subtitle-small: 20px;
    --font-size-text: 16px;
}

body,
html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}


/* General */
.title {
    font-family: var(--font-title);
    font-size: var(--font-size-title);
    color: var(--color-primary);
    font-weight: 500;
    letter-spacing: 0.1em;

    text-shadow: -20px -20px 5px #d9d9d976;
    margin-bottom: 40px;
    width: 100%;
    text-align: left;
}

.subtitle {
    font-family: var(--font-subtitle);
    font-size: var(--font-size-subtitle);
    font-weight: 600;
    letter-spacing: 0.05em;

    color: var(--color-primary);
    margin-bottom: 1rem;
}

.text {
    font-family: var(--font-text);
    font-size: var(--font-size-text);
    color: var(--color-secondary);
    margin: 0px;
    text-align: left;
    width: 100%;
}


section {
    width: 80%;
    padding: 10%;
    padding-top: 150px;
    height: fit-content;
    padding-bottom: 0;
}
section:last-of-type {
    padding-bottom: 10%;
}

.animation-scroll {
    opacity: 0;
    transform: scale(0.25) translateY(300px);
    transition: opacity 0.8s, transform 0.8s;
}

.animation-scroll.show {
    opacity: 1;
    transform: scale(1) translateY(0px);
}

.animation-scroll.animated {
    opacity: 1;
    transform: scale(1) translateY(0px);
}



/* ------------------------------------------------- Header y Nav Bar */
#header {
    position: fixed;
    top: 2vh;
    left: 0;
    width: 100vw;
    min-width: 4vh;
    height: fit-content;
    padding: 1vh 2vh;

    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #ffd5005a;
    box-shadow: 0px 0px 15px 0px #ffd5005a;
    backdrop-filter: blur(10px);

    z-index: 20;

}

.logo {
    width: 100px;
}

/* Estilos para el menu responsivo */
.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    gap: .65rem;
    border: 0;
    background-color: transparent;
    cursor: pointer;
    margin: 1vw 3vw;
}

.menu-icon .bar {
    width: 100%;
    height: 3px;
    border-radius: 5px;
    background-color: var(--color-text);
    transition: all 0.5s;
    transform-origin: left;
}

.bar.exit:first-child {
    transform: rotate(45deg);
}

.bar.exit:nth-child(2) {
    opacity: 0;
}

.bar.exit:last-child {
    transform: rotate(-45deg);
}


/* nav part */
.nav-list {
    position: relative;
    top: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    animation: navbar .5s both;
    z-index: 20;
    padding: 0;

}

@keyframes navbar {
    from {
        transform: translateY(-100%);
    }
}

.nav-list li {
    border: none;
    list-style: none;
    margin: 0 1vw;

}

.nav-list li a {
    text-shadow: none;
    font-size: var(--font-size-subtitle-small);
    text-decoration-line: none;
    transition: .5s;
    z-index: 18 !important;
    color: var(--color-text);
    font-family: var(--font-title);
    letter-spacing: .1em;
    padding: 0.5vh 3vh;
    border-radius: 10px;
    font-style: normal;

}

.nav-list li a:hover {
    text-shadow: 0px 0px 10px #ffd700;
}

.nav-list li a.active {
    text-shadow: 0px 0px 10px white;
    background-color: var(--color-primary);
    color: var(--color-background);
}



/* ------------------------------------------------- Hero */
.hero {
    background-image: url("../img/img_instalaciones/15.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    margin: 0;
    padding: 0;
}

.hero-content {
    background: linear-gradient(rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 1) 95%);
    position: relative;
    width: 100vw;
    height: 70vh;
    margin: 0;
    padding: 0;
    padding-top: 15vh;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero .title {
    color: var(--color-text);
    margin-top: 40px;
    text-shadow: 0px 0px 0px #ffd700;
    text-align: center;

}

.highlight {
    color: var(--color-primary);
}

.hero-logo {
    width: 200px;
    height: auto;
    margin-top: 40px;
}

.animation-hero {
    opacity: 0;
    transform: scale(0.5);
    transition: all 1s;
    animation: animation-hero .5s forwards ease-in-out;
}

@keyframes animation-hero {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}








/* Sección ¿Por qué nosotros? */
#nosotros {
    display: flex;
    flex-direction: column;
}

.feature-card {
    background-color: #2a2a2a73;
    border-radius: 30px;
    padding: 30px;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: inset -4px -4px 20px rgb(255, 255, 255, 0.20);
    width: auto;
    max-width: 500px;


    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
}


/* aplicar a los pares */
.feature-card:nth-child(even) {
    margin-right: auto;
}

.feature-card:nth-child(odd) {
    margin-left: auto;
}

.feature-card:hover {
    transform: scale(0.95);
    box-shadow: inset -8px -8px 40px rgb(255, 255, 255, 0.70);
}

.feature-icon {
    background-color: var(--color-secondary);
    border-radius: 50%;
    padding: 25px;
    width: fit-content;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 50px;
    height: 50px;
}

.partners {
    width: 100vw;
    transform: translateX(-15vw);

    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding: 0vh 10vw;
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0px 0px 15px 0px rgba(255, 255, 255, 0.3);
    border-radius: 0px;
}

.partner-logo {
    min-width: 100px;
    width: 20vw;
    max-width: 150px;
    height: auto;
    margin: 1rem;
    filter: grayscale(0%) brightness(100%) drop-shadow(0px 0px 10px #ffffff);
    transition: filter 0.3s ease;
}

.partner-logo:hover {
    /* efectoa marrillo encima de la imagen */
    filter: grayscale(0%) brightness(100%) drop-shadow(0px 0px 10px #ffd700);
}

@media screen and (max-width: 768px) {}





















.slider-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
}

.slider-wrapper {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
}

.slider-image {
    width: 300px;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 20px;
    margin: 10px;
    transition: transform 0.5s;

}

.slider-image:hover {
    transform: scale(1.05);
}


.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Estilo para la barra de desplazamiento */
.slider-container::-webkit-scrollbar {
    height: 10px;
}

.slider-container::-webkit-scrollbar-track {
    background: #ffffff00;
}

.slider-container::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 5px;
}

.slider-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}





















.tarifas-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin: 0 auto;
    justify-items: center;
    height: fit-content;
    overflow: none;
}

.tarifa-card {
    background-color: #2a2a2a73;
    border-radius: 30px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: inset -4px -4px 20px rgb(255, 255, 255, 0.20), -4px -4px 30px rgba(255, 255, 255, 0.4);
    width: auto;
    max-width: 350px;
    height: max-content;

    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.tarifa-card h3,
h4 {
    margin: 0 !important;
}

.tarifa-card:hover {
    transform: scale(0.95);
    box-shadow: inset -8px -8px 40px rgb(255, 255, 255, 0.70), -4px -4px 50px rgba(255, 255, 255, 0.6);
}

.tarifa-title {
    font-size: var(--font-size-subtitle-small);
}

.tarifa-subtitle {
    color: var(--color-secondary);
    font-size: 18px;
    background: rgba(0, 0, 0, 0.30) !important;
    padding: 5px 15px;
    border-radius: 10px;
    letter-spacing: 0;
}

.tarifa-description {
    color: var(--color-text);
    font-size: 14px;
    margin-bottom: 20px;
}

.tarifa-precio {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.precio-destacado {
    font-size: var(--font-size-subtitle-small);
    color: var(--color-background);
    background: var(--color-primary);
    padding: 5px 15px;
    border-radius: 10px;
    letter-spacing: 0;
}

.precio-total {
    color: var(--color-secondary);
    font-size: 20px;
    font-weight: normal;
    background: rgba(255, 255, 255, 0.2) !important;
    padding: 5px 15px;
    border-radius: 10px;
    letter-spacing: normal;
}

.recuerda {
    width: fit-content;
    text-align: left;
    background-color: #ffd90033;
    gap: 0 !important;
}

.recuerda h3 {
    color: #ffd700;
    font-size: 24px;
}

.recuerda ul {
    list-style-type: none;
    padding: 0;
}

.recuerda li {
    color: var(--color-text);
    font-size: 18px;
    margin-bottom: 10px;
    margin-left: 10px;
}







#encuentranos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


#encuentranos .text {
    font-size: var(--font-size-subtitle-small);
}

.map-image {
    width: 90%;
    max-width: 600px;
    margin: 0 auto 30px;
    border-radius: 15px;
    margin: 30px 0;
}

.address {
    text-align: center;
}

.cta-button {
    display: inline-block;
    background-color: #ffd700;
    color: #1a1a1a;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin: 30px 0;
    font-size: var(--font-size-subtitle-small);
    transition: all 0.3s ease;
    border: 2px solid #ffd700;
}

.cta-button:hover {
    transform: scale(1.05);
    color: var(--color-primary);
    background-color: var(--color-background);
}

.horarios {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.horario-item {
    color: var(--color-secondary);
    font-family: var(--font-text);
    text-align: center;
}

.horario-item h3 {
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: inset -4px -4px 10px rgb(255, 255, 255, 0.20);
    padding: 10px 20px;
    border-radius: 25px;
}

.horario-item p {
    margin: 0;
    color: var(--color-text);
}







.site-footer {
    background-color: #2a2a2a;
    color: #ffffff;
    padding: 40px 10%;
    text-align: center;
    font-family: Arial, sans-serif;
}

.footer-logo {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
}

.footer-slogan {
    color: var(--color-text);
    text-shadow: none;
    text-align: center;
    font-size: 1.2em;
}

.social-icon {
    width: 50px;
    color: #ffffff;
    font-size: 1.5em;
    margin: 0 10px;
    text-decoration: none;
}

.social-icon img {
    width: 50px;
}

.footer-divider {
    border: none;
    border-top: 1px solid #ffd700;
    margin: 20px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright {
    font-size: 0.9em;
    margin: 0;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9em;
}











#background {
    position: absolute;
    top: 100vh;
    left: 0;
    width: 100vw;
    height: 500vh;
    z-index: -10;
}

.blob {
    /* efeto blur */
    filter: blur(50px);
}

.blob1-container {
    animation: bck-ele-page-1 20s infinite ease-in-out;
}

.blob2-container {
    animation: bck-ele-page-2 40s infinite ease-in
}

.blob3-container {
    animation: bck-ele-page-3 30s infinite ease-out;
}


@keyframes bck-ele-page-1 {
    0% {
        transform: rotate(0deg) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10%{
        opacity: 0.5;
    }
    50%{
        transform: rotate(10deg) translateX(0) rotate(10deg) skew(2deg , 2deg);
    }
    70% {
        opacity: 0.5;
    }
    90%{
        opacity: 0;
    }
    100% {
        transform: rotate(20deg) translateX(0) rotate(20deg);
        opacity: 0;
    }
}
@keyframes bck-ele-page-2 {
    0% {
        transform: rotate(0deg) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10%{
        opacity: 0.5;
    }
    50%{
        transform: rotate(-5deg) translateX(0vw) rotate(-5deg) skew(4deg , 2deg);
    }
    70% {
        opacity: 0.5;
    }
    90%{
        opacity: 0;
    }
    100% {
        transform: rotate(20deg) translateX(0) rotate(-20deg);
        opacity: 0;
    }
}
@keyframes bck-ele-page-3 {
    0% {
        transform: rotate(0deg) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10%{
        opacity: 0.5;
    }
    50%{
        transform: rotate(2deg) translateX(0vw) rotate(2deg) skew(2deg , 3deg);
    }
    70% {
        opacity: 0.5;
    }
    90%{
        opacity: 0;
    }
    100% {
        transform: rotate(10deg) translateX(0) rotate(-4deg);
        opacity: 0;
    }
}


















/* Responsive */

/* Estilos para pantallas con un ancho menor a 900px */
@media screen and (max-width: 900px) {

    /* ------------------------------------------------- Header y Nav Bar */
    #header {
        justify-content: space-around;
    }

    .menu-icon {
        display: flex;
    }

    .nav-list {
        position: absolute;
        width: 100vw;
        top: 0;
        left: 0;
        display: none;
        flex-direction: column;
        text-align: center;
        padding: 8vh 0 4vh 0;
        z-index: -1;
    }

    .barra-vertical {
        display: none;
    }

    .nav-list.show {
        margin: 0;
        display: flex;
        background-color: #ffd7005a;
        text-align: center;
        align-items: center;
    }

    .nav-list li {
        list-style: none;
        margin: 1vw 0;
    }

    nav {
        justify-content: flex-end;
    }

    .tarifas-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        margin-top: 10px;
    }

    .footer-links a {
        margin: 0 10px;
    }
}



/* Estilos para pantallas con un ancho menor a 900px */
@media screen and (max-width: 700px) {

    :root {
        --font-size-title: 24px;  /* Tamaño más pequeño para el título */
        --font-size-subtitle: 20px; /* Tamaño más pequeño para el subtítulo */
        --font-size-subtitle-small: 18px; /* Tamaño más pequeño para subtítulos pequeños */
        --font-size-text: 14px;   /* Tamaño más pequeño para el texto */
    }

    /* ------------------------------------------------- nosotros */
    .feature-card {
        flex-direction: column;
        align-items: start;
        gap: 0rem;
    }

    .feature-icon {
        padding: 15px;
    }

    .feature-icon img {
        width: 30px;
        height: 30px;
    }


}



.made-by {
    width: 100vw;
    height: auto;
    background: transparent;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-decoration: none;

}

.made-by p {
    color: white;
    font-family: 'Montserrat', sans-serif;
    text-transform: capitalize;
}
.made-by img {
    width: 40px;
    margin: 10px;
}