/* ===== VARIABLES CSS ===== */
:root {
    --color-primary: #FFD700;
    --color-secondary: #121212;
    --color-dark: #000000;
    --color-bg-dark: #1e1e1e;
    --color-text-light: #fff;
    --color-text-gray: #ddd;
    --color-text-dark: #eee;
    --color-error: #d32f2f;
    
    --font-family-primary: sans-serif;
    --font-family-secondary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 50px;
    
    --border-radius-sm: 3px;
    --border-radius-md: 5px;
    --border-radius-lg: 10px;
    
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    
    --nav-height: 6.2rem;
    --max-width-content: 1200px;
    --max-width-large: 1300px;
}

/* ===== RESET Y BASE ===== */
*{
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-primary);
    margin: 0;
    padding: 0;
    background-color: var(--color-bg-dark);
}

/* ===== ENLACES GLOBALES ===== */
a {
    all: unset; 
    cursor: pointer;
}

/* ===== NAVEGACIÓN ===== */
nav {
    background-color: var(--color-secondary);
    display: flex;
    padding: 0 1rem;
    height: var(--nav-height);
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav__list {
    list-style: none;
    display: flex;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

.nav__link {
    color: var(--color-primary);
    font-size: 18px;
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    margin-right: var(--spacing-md);
    text-transform: uppercase;
    border: solid 2px transparent;
    border-radius: var(--border-radius-sm);
    transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.nav__logo-image {
    height: 100px;
    margin-left: var(--spacing-md);
}

.nav__link:hover {
    background-color: var(--color-primary);
    color: var(--color-secondary); 
    border-color: var(--color-primary);
}

.nav__link.activo {
    background-color: var(--color-primary);
    color: var(--color-secondary);
}

.fondo {
    display: flex;
    margin-top: 6.2rem;
    margin-bottom: 6.7rem;
    height: 45rem;
    position: relative;
}

.fondo__box {
    width: 50%;
    background-image: url(../imagenes/fondo.jpeg);  
    background-size: cover;
}

.fondo__box2 {
    width: 50%;
    background-image:url(../imagenes/fondo2.jpeg);
    background-size: cover;
}

.fondo__overlay {
    position: absolute; 
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    margin: auto;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
}

h1 { 
    text-transform: uppercase;
    color: black; /* Color del "relleno" de la letra */
    -webkit-text-stroke: 1px #FFD700; /* Grosor y color del borde */
    font-weight: bold; /* Para que se vea más power */
    font-size: 4.5rem;
    margin: 0;
    text-align: center;
}

.fondo__text {
    margin: 15px 300px 0 300px;
    color: #FFD700;
    font-size: 1.3em;
}

.checkbtn {
    font-size: 2rem;
    color: #FFD700;
    float: right;
    display: none;
    margin-right: 30px;
}

#check {
    display: none;
}

.nav__logo--responsive {
    display: none;
    text-align: center;
    padding: 10px 0;
}

.nav__logo-image--responsive {
    height: 100px; 
}

.overlay {
    display: none;  
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 900; 
}

#check:checked ~ .overlay {
    display: block; 
}

.hero__description {
    text-align: center;
    color: #FFD700;
    font-size: 1.5em;
    margin: 5px 300px 170px 300px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.linea-separadora {
    border-bottom: 1px solid #FFD700;
    margin: 0 5em 6.5em 5em;
    border-radius: 5px;
}

.packs__title {
    text-align: center;
    color: black; /* Color del "relleno" de la letra */
    -webkit-text-stroke: 1px #FFD700; /* Grosor y color del borde */
    font-size: 2.7em;
    font-weight: bold; /* Para que se vea más power */
}

.packs__subtitle {
    text-align: center;
    color: #FFD700;
    font-size: 1.5em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.packs__cards {
    margin-top: 80px;
    margin-bottom: 120px;
    display: flex;
    gap: 6.25rem;
    justify-content: center;
    padding: 0 2rem;
}

.packs__card {
    position: relative;
    box-sizing: border-box;
    background-color: #000000;
    padding: 0;
    display: block;
    width: 380px;
    height: 470px;
    text-decoration: none;
}  

.card__img {
    width: 100%;
    height: 100%;
    background-size: cover; 
    position: relative;
}

.card__img--libres {
    background-image: url(../imagenes/clasessueltas.JPG);
}

.card__img--sueltas {
    background-image: url(../imagenes/fondo2.jpeg);
}

.card__img--combo {
    background-image: url(../imagenes/fondo.jpeg);
}

.card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
    width: 100%;
    height: 400px;
    background: linear-gradient(transparent, #000e); /* Fondo oscuro semitransparente */
    color: #fff;
}

.card__title {
    text-align: left; 
    margin-top: 280px;  
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: #FFD700;
    text-underline-offset: 5px;
} 

.footer {
    background-color: #000000;
    width: 100%;
    color: #fff;
    padding: 30px;
    margin-bottom: 0;
    min-height: 400px; 
}

.footer__content  {
    display: flex;
    gap: var(--spacing-xl);
    padding: var(--spacing-md);
}

.footer__title {
    margin: 0 0 21.28px 0;
}

.footer__link {
    text-decoration: none;
    list-style: none;
    color: #fff;
}

.footer__bottom {
    margin-top: 170px;
    text-align: center;
}

.footer__icon {
    margin-left: auto;
}

.footer__icons { 
    margin-left: 20px;
    height: 50px;
    width: 50px;
    text-decoration: none;
}

.titulo__nosotros {
    margin: 150px 0 70px 0;
    text-align: center;
}

.titulo__text {
    color: #ddd;
    margin: 0 auto;
    margin-bottom: 50px;
    margin-top: 20px;
    text-align: center;
    max-width: 1200px;
    font-size: 1.3em;
}

.fondo__yellowforce {
    width: 100%;
    background-image: url(../imagenes/yellowforce.png);
    background-size: cover;
    height: 800px;
    margin-top: 100px;
    margin-bottom: 80px;
}

.quienessomos {
    color: #fff;
    margin: 0 auto;
    max-width: 1400px;
    padding: 2rem 4rem;
    scroll-margin-top: 120px;
}

.quienessomos__title {
    text-decoration: underline 2px solid #FFD700;
    text-align: justify; 
    font-size: 35px;
    margin-top: 0;
}

.quienessomos__subtitle {
    font-size: 17px;
}

.nosotros {
    display: flex;
    margin: 0 auto;
    max-width: 1400px;
    margin-top: 60px;
    margin-bottom: 120px;
    box-sizing: border-box;
    color: #fff;
    gap: 40px;
    padding: 0 4rem;
}

.nosotros__content {
    flex: 1;
}

.nosotros__img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    margin-top: 5px;
}

.nosotros__section {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 40px;
    scroll-margin-top: 120px;
}

.nosotros__icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
    margin-top: 5px;
}

.nosotros__info {
    flex: 1;
}

.nosotros__title {
    margin: 0 0 15px 0;
    font-size: 30px;
    color: var(--color-text-light);
    text-transform: uppercase;
}

.nosotros__text {
    font-size: 17px;
    margin: 0;
    color: var(--color-text-gray);
    line-height: 1.5;
    text-align: left;
}

.detalle-con-boton {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border: 1px solid #FFD700;
    padding: 20px;
    color: #ddd;
    max-width: 1200px;
    margin: 0 auto 50px;
    text-align: left;
    background-color: #121212;
    position: relative;
}

details {
    position: relative;
    background-color: transparent;
    border: none;
    margin: 0 auto;
    flex-grow: 1;
    padding: 0; 
    color: #ddd;
    width: 100%;
}

summary {
    font-size: 1.8rem;
    cursor: pointer;
    width: 100%;
    text-align: left;
    padding: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    margin-top: 5px;
    position: relative;
    list-style: none;
}

.detalle-summary {
    cursor: pointer;
    padding: 15px 15px 15px 40px;
    font-size: 1.5em;
    font-weight: bold;
    color: #ddd;
    transition: color 0.3s ease;
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: #FFD700;
    text-underline-offset: 5px;
    display: block;
}

summary::-webkit-details-marker {
    display: none;
}

.detalle-summary::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #FFD700;
    border-bottom: 2px solid #FFD700;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease;
}

details[open] .detalle-summary::before {
    transform: translateY(-50%) rotate(-135deg);
}

.detalle-summary:hover {
    color: #ffe066;
}

.detalle-summary:hover::before {
    border-color: #ffe066;
}

.summary__subtitle {
    font-size: 1.5rem;
    margin-right: 250px;
    text-align: left;
    margin-bottom: 50px;
}

.boton__pago {
    background-color: #FFD700;
    color: #000;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    width: 200px;
    height: 47px;
    display: block;
    margin: 0 auto;
}

.boton__pago:hover {
    background-color: #ffe066;
}

.titulo__infantiles {
    margin: 150px 0 70px 0;
    text-align: center;
    min-width: 50px;
}

.contenido {
    background-color: #121212;
    padding: 0 15px 15px 15px;
}

.summary__horarios {
    list-style: none;
    text-decoration: none;
    font-size: 1.2rem !important;
    color: #121212; 
    text-transform: uppercase;
    background-color: #FFD700;
    border-radius: 3px;
    padding: 10px;
    font-weight: bold;
}

.grid__horarios {
    display: grid;
    grid-template-columns: 20px repeat(5, 1fr);
    grid-template-rows: 30px repeat(4, 1fr);
    gap: 1px;
    margin: 0 auto;
    height: 400px;
    margin-bottom: 70px;
    max-width: var(--max-width-content);
}

.grid__horarios > div:nth-child(-n+6) {
    height: 30px; 
    line-height: 30px; 
}

.grid__horarios a {
    display: block;
    width: 100%;
    text-align: center;
}

.grid__dia {
    background-color: var(--color-dark);
    color: var(--color-primary);
    text-align: center;
    font-weight: 700;
}

.grid__hora {
    background-color: var(--color-dark);
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

/* ===== CLASES GRID OPTIMIZADAS ===== */
.grid__clase-base {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    border-radius: var(--border-radius-sm);
    color: var(--color-secondary);
}

.grid__clasei {
    background-color: #f8d301;
}

.grid__claseuk {
    background-color: #9c640c;
}

.grid__clasec {
    background-color: #eb984e;
}

.grid__clasem {
    background-color: #f4d03f;
}

.grid__claseck {
    background-color: #dc7633;
}

.grid__claset {
    background-color: #f7dc6f;
}

.grid__claseu {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

.grid__clasey {
    background-color: #707b7c;
}

.grid__claseuf {
    background-color: #f4d03f;
}

.grid__clasef {
    background-color: #2c3e50;
    color: var(--color-text-gray);
}

.grid__claseb {
    background-color: #eb984e;
}

/* Aplicar estilos base a todas las clases grid */
.grid__clasei,
.grid__claseuk,
.grid__clasec,
.grid__clasem,
.grid__claseck,
.grid__claset,
.grid__claseu,
.grid__clasey,
.grid__claseuf,
.grid__clasef,
.grid__claseb {
    @extend .grid__clase-base;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    border-radius: var(--border-radius-sm);
}

[id^="clase-"] {
    scroll-margin-top: 120px;
}

.div__form {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin-top: 20px;
    margin-bottom: 20px;
}

form {
    text-align: left;
    background-color: transparent; 
    padding: 20px 20px;
    box-sizing: border-box;
    max-width: 600px; 
    margin: 0 auto;
    box-shadow: 0 1px 4px #FFD700;
    border-radius: 8px;
}

.form__title {
    color: #000;
    -webkit-text-stroke: 1px #FFD700;
    text-align: center;
    text-transform: uppercase;
    font-weight: 1000;
    font-size: 30px;
    padding: 10px;
}

label {
    font-size: 1.1em;
    line-height: 2; 
    text-align: left;
    font-family: sans-serif;
    color: #eee;
}

input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #FFD700;
    box-shadow: 0 0 15px #0001;
    background-color: transparent;
    border-radius: 4px;
    color: #eee; 
    padding: 10px 6px;
}

.form__input {
    margin-top: 10px;
}

.form__aviso-menores {
    color: #ddd;
    margin-top: 0;
}

.form__subtitulo {
    color: #ddd;
    font-size: 1.3rem; 
    margin-bottom: 2px;
}

select {
    background-color: #1e1e1e;
    color: #ddd;
    padding: 6px 3px 6px 5px;
    border-color: #FFD700;
    border-radius: 4px;
    margin-top: 10px;
}

@media (max-width: 858px) {
    .checkbtn {
        display: block;
    }

    .nav__list {
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100vh;
        background-color: #FFD700;
        transform: translateX(-100%);
        transition: transform 0.5s ease;
        display: flex;
        flex-direction: column;
        align-items: left;
        justify-content: start;
        padding-top: 0px;
        gap: 20px;
        margin: 0;
        padding-left: 0;
        text-align: left;
        z-index: 1000;
    }

    .nav__link {
        font-size: 20px;
        color: #121212 !important;
        background: none !important;
        border: none !important;
        transition: color 0.5s ease;
        text-align: left;
        margin-right: 0;
    }

    .nav__logo--responsive {
        display: block;
        border-bottom: 1px solid #121212;
        margin-bottom: 10px;
    }

    .nav__link:hover,
    .nav__link.activo {
        color: #000000 !important;
        background: none !important;
        border: none !important;
    }

    #check:checked ~ .nav__list {
        transform: translateX(0);
    }

    .fondo {
        height: 40rem;
    }

    .fondo__box {
        width: 100%;
        height: 40rem;
    }

    .fondo__box2 {
        display: none;
    }

    .packs__title {
        margin: 0 5px 0 5px;
    }

    .packs__cards {
        flex-direction: column;
        align-items: center;
    }

    .footer__content {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .footer__section {
    margin-bottom: 20px;
}

    .footer__icon {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

    .quienessomos {
        width: 100%;
        text-align: left;
        padding: 0 40px;
    }

    .quienessomos__title {
        text-align: left;
        margin-bottom: 15px;
        font-size: 30px;
        text-decoration-line: underline !important;
        text-decoration-thickness: 2px !important;
        text-decoration-color: #FFD700 !important;
    }

    .quienessomos__subtitle {
        text-align: left;
        margin: 0;
    }

    .nosotros {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }

    .nosotros__section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .nosotros__icon {
        width: 25px;
        height: 25px;
        margin: 0 0 10px 0;
    }

    .nosotros__info {
        text-align: center;
    }

    .nosotros__text {
        text-align: center;
    }

    .nosotros__img {
        width: 300px;
        height: 300px;
        margin-top: 30px;
    }
    
    .fondo__yellowforce {
        width: 100%; 
        height: 250px; 
        background-size: cover;
    }

    .yellowforce {
        margin: 10px 30px; 
    }

    .detalle-con-boton {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        margin: 50px 14px;
}

    details {
        margin: 0;
        max-width: 100%; 
}

    .summary__subtitle {
        width: 100%;
        margin: 0;
        max-width: 100%
    }

    details[open] summary {
        margin-bottom: 15px;
}

    .boton__pago {
        width: 100%;
        margin-top: 30px;
    }

    .link__boton {
        width: 100%;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .grid__horarios {
        margin-bottom: 80px;
        margin-left: 10px;
        margin-right: 10px;
    }

    form {
    margin-left: 10px;
    margin-right: 10px;
    }

    .form__aviso {
        padding: 15px;
        gap: 15px;
    }

    .form__aviso-boton {
        width: 100%;
        max-width: 200px;
        margin: 0;
    }

    .detalle-summary:active,
    .detalle-summary:focus {
        color: #ddd;
    }

    .detalle-summary:active::before,
    .detalle-summary:focus::before {
        border-color: #FFD700;
    }

    .nosotros__title {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .success-content,
    .failure-content,
    .pending-content {
        margin: 1rem;
        padding: 2rem;
    }

    .button {
        width: 100%;
        margin: 0.5rem 0;
    }

    .success-buttons,
    .failure-buttons,
    .pending-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Estilos del formulario */
.precio-display {
    color: #FFD700;
    font-size: 1.2em;
    text-align: left;
    margin: 15px 0;
}


.form-status {
    text-align: center;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    display: none;
}

.form-status.error {
    background-color: #ff00001a;
    color: #ff0000;
    border: 1px solid #ff0000;
}

.form-status.success {
    background-color: #00ff001a;
    color: #00ff00;
    border: 1px solid #00ff00;
}

.form__aviso {
    text-align: center;
    margin: 15px 0;
    padding: 10px;
    background-color: rgba(255, 215, 0, 0.1);
    color: #ddd;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.form__aviso-texto {
    color: #d32f2f;
    margin-bottom: 0;
    width: 100%;
    font-size: 1.2rem;
}

.form__aviso-boton {
    color: #FFD700;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    margin: 5px;
    padding: 8px 15px;
    border-radius: 3px;
    background-color: rgba(255, 215, 0, 0.2);
    font-weight: 600;
    border: none;
    font-family: inherit;
    font-size: inherit;
    min-width: 120px;
    text-align: center;
}

.form__aviso-boton:hover {
    background-color: rgba(255, 215, 0, 0.3);
}

.pago__boton {
    background-color: #FFD700;
    color: #000;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    width: 300px;
    height: 47px;
    display: block;
    margin: 0 auto;
    font-weight: 600;
    text-transform: uppercase;
}


.form__link {
    padding: 10px;
    background-color: #FFD700;
    color: #121212;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    width: fit-content;
    margin: 0 auto;
    text-decoration: none;
}

details .contenido {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

details[open] .contenido {
    max-height: 500px;
}

/* Estilos para páginas de respuesta de pago */
.success-container,
.failure-container,
.pending-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #121212;
    color: #fff;
}

.success-content,
.failure-content,
.pending-content {
    max-width: 600px;
    padding: 3rem;
    background: #1a1a1a;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.success-content h1,
.failure-content h1,
.pending-content h1 {
    font-size: 2rem;
}

.success-icon,
.failure-icon,
.pending-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 2rem;
}

.success-buttons,
.failure-buttons,
.pending-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #FFD700;
    color: #000;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    min-width: 200px;
}

.button:hover {
    background-color: #fff;
    transform: translateY(-2px);
}

.contact-info {
    margin-top: 2.5rem;
    color: #999;
    font-size: 0.9rem;
}

.contact-info span {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

.pending-info {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    text-align: left;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.pending-info ul {
    list-style-type: none;
    padding-left: 0;
    margin: 1rem 0;
}

.pending-info li {
    margin: 1rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.5;
}

.pending-info li:before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: #FFD700;
    font-size: 1.5rem;
}

html {
    scroll-padding-top: 120px;
    scroll-behavior: smooth;
}

