/* Estilos específicos para la página de cumpleaños */

/* Primera sección: Introducción */
.intro-section {
    padding: 80px 0;
    background: #000000;
    color: white;
    margin-top: 80px;
}

.intro-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #ffc300;
    line-height: 1.2;
}

.intro-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #ffffff;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
    background: #000000;
    color: white;
}

.content-section:nth-child(even) {
    background: #111111;
}

/* Carrusel de ambientes */
.carousel-section {
    padding: 80px 0;
    background: #111111;
    color: white;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    width: auto;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 2 / 1;
    /* mantiene proporción 800x400 */
    overflow: hidden;
    /* oculta lo que sobresale */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.carousel-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    background-color: transparent;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    border-radius: 0 0 15px 15px;
    z-index: 5;
}

.carousel-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffc300;
}

.carousel-caption p {
    font-size: 1rem;
    margin: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(255, 195, 0, 0.8);
    color: #000;
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* Indicadores del carrusel */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 15;
    pointer-events: auto;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    pointer-events: auto;
    user-select: none;
}

.indicator:hover {
    background: rgba(255, 195, 0, 0.8);
    border-color: rgba(255, 195, 0, 0.8);
}

.indicator.active {
    background: #ffc300;
    border-color: #ffc300;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 195, 0, 0.5);
}

/* Sección de paquetes por sede */
.packages-section {
    padding: 80px 0;
    background: #000000;
    color: white;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.package-card {
    background: #111111;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 195, 0, 0.1);
    border-color: #ffc300;
}

.package-card.featured {
    border-color: #ffc300;
    background: linear-gradient(135deg, #111111, #1a1a1a);
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ffc300;
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.package-header h3 {
    font-size: 1.5rem;
    color: #ffc300;
    margin-bottom: 10px;
    font-weight: bold;
}

.package-location {
    color: #cccccc;
    margin-bottom: 20px;
    font-size: 1rem;
}

.package-features ul {
    list-style-type: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
}

.package-features ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: #ffffff;
}

.package-features ul li:before {
    content: "✓";
    color: #ffc300;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.section-content.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
}

.text-content h2 {
    font-size: 2.5rem;
    color: #ffc300;
    margin-bottom: 20px;
    font-weight: bold;
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #ffffff;
}

.text-content .highlight {
    font-weight: bold;
    color: #ffc300;
    font-size: 1.2rem;
}

.image-content {
    flex: 1;
    text-align: center;
}

.section-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.section-image:hover {
    transform: scale(1.05);
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: #111111;
    color: white;
}

.benefits-section .section-title {
    text-align: center;
    font-size: 3rem;
    color: #ffc300;
    margin-bottom: 50px;
    font-weight: bold;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-card {
    background: #000000;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 195, 0, 0.1);
    border-color: #ffc300;
}

.benefit-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.benefit-card h3 {
    font-size: 1.3rem;
    color: #ffc300;
    margin-bottom: 15px;
    font-weight: bold;
}

.benefit-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: #cccccc;
}

/* Highlight Section */
.highlight-section {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('../recursos/inicio/juegos.jpg') no-repeat center center;
    background-size: cover;
    color: #ffffff;
    text-align: center;
}

.highlight-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.3;
    max-width: 900px;
    margin: 0 auto;
}

/* CTA Button - Usando el mismo estilo del website */
.cta-button {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background: none;
    color: #0f1923;
    cursor: pointer;
    position: relative;
    padding: 8px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    transition: all .15s ease;
}

.cta-button::before,
.cta-button::after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    left: 0;
    height: calc(50% - 5px);
    border: 1px solid #7D8082;
    transition: all .15s ease;
}

.cta-button::before {
    top: 0;
    border-bottom-width: 0;
}

.cta-button::after {
    bottom: 0;
    border-top-width: 0;
}

.cta-button:active,
.cta-button:focus {
    outline: none;
}

.cta-button:active::before,
.cta-button:active::after {
    right: 3px;
    left: 3px;
}

.cta-button:active::before {
    top: 3px;
}

.cta-button:active::after {
    bottom: 3px;
}

.cta-button .button_lg {
    position: relative;
    display: block;
    padding: 10px 20px;
    color: #fff;
    background-color: #0f1923;
    overflow: hidden;
    box-shadow: inset 0px 0px 0px 1px transparent;
}

.cta-button .button_lg::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 2px;
    background-color: #0f1923;
}

.cta-button .button_lg::after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 4px;
    height: 4px;
    background-color: #0f1923;
    transition: all .2s ease;
}

.cta-button .button_sl {
    display: block;
    position: absolute;
    top: 0;
    bottom: -1px;
    left: -8px;
    width: 0;
    background-color: #ff4655;
    transform: skew(-15deg);
    transition: all .2s ease;
}

.cta-button .button_text {
    position: relative;
}

.cta-button:hover {
    color: #0f1923;
}

.cta-button:hover .button_sl {
    width: calc(100% + 15px);
}

.cta-button:hover .button_lg::after {
    background-color: #fff;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #000000;
    color: white;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: #ffc300;
    margin-bottom: 20px;
    font-weight: bold;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 50px;
}

/* Formulario de contacto */
.form-contacto {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.form-contacto .block {
    flex: 1;
    background: #000000;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: white;
}

.form-contacto .info-block {
    background: #000000;
    color: white;
}

.form-contacto .info-block .subtitulo {
    color: #ffc300;
}

.form-contacto .info-block p {
    color: #ffffff;
    margin-bottom: 15px;
}

.form-contacto .info-block a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: opacity 0.3s ease;
}

.form-contacto .info-block a:hover {
    opacity: 0.8;
}

.form-contacto .info-block img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

form {
    font-size: 14px;
    color: white;
}

.form-contacto .block input[type="text"],
.form-contacto .block input[type="email"],
.form-contacto .block input[type="number"],
.form-contacto .block select,
.form-contacto .block textarea {
    display: block;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin: 15px 0;
    padding: 12px 15px;
    width: 100%;
    background-color: #111111;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    color: white;
}

.form-contacto .block input[type="text"]::placeholder,
.form-contacto .block input[type="email"]::placeholder,
.form-contacto .block input[type="number"]::placeholder,
.form-contacto .block textarea::placeholder {
    color: #888;
}

.form-contacto .block input:focus,
.form-contacto .block select:focus,
.form-contacto .block textarea:focus {
    outline: none;
    border-color: #ffc300;
    box-shadow: 0 0 0 3px rgba(255, 195, 0, 0.1);
}

/* Estilo para selects*/
.form-contacto .block select {
    color: #888;
}

.form-contacto .block select:valid {
    color: #fff;
}

.form-contacto .block select option:first-child {
    color: #888;
}

.form-contacto .block select option {
    background-color: #111111;
    color: white;
}

.form-contacto .block .subtitulo {
    font-size: 1.5rem;
    margin: 0 0 20px 0;
    color: #ffc300;
    font-weight: bold;
}

/* Button styles - Usando el mismo estilo del website */
.button {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background: none;
    color: #0f1923;
    cursor: pointer;
    position: relative;
    padding: 8px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    transition: all .15s ease;
    width: 100%;
    margin-top: 20px;
}

.button::before,
.button::after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    left: 0;
    height: calc(50% - 5px);
    border: 1px solid #7D8082;
    transition: all .15s ease;
}

.button::before {
    top: 0;
    border-bottom-width: 0;
}

.button::after {
    bottom: 0;
    border-top-width: 0;
}

.button:active,
.button:focus {
    outline: none;
}

.button:active::before,
.button:active::after {
    right: 3px;
    left: 3px;
}

.button:active::before {
    top: 3px;
}

.button:active::after {
    bottom: 3px;
}

.button_lg {
    position: relative;
    display: block;
    padding: 10px 20px;
    color: #fff;
    background-color: #0f1923;
    overflow: hidden;
    box-shadow: inset 0px 0px 0px 1px transparent;
}

.button_lg::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 2px;
    background-color: #0f1923;
}

.button_lg::after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 4px;
    height: 4px;
    background-color: #0f1923;
    transition: all .2s ease;
}

.button_sl {
    display: block;
    position: absolute;
    top: 0;
    bottom: -1px;
    left: -8px;
    width: 0;
    background-color: #ff4655;
    transform: skew(-15deg);
    transition: all .2s ease;
}

.button_text {
    position: relative;
}

.button:hover {
    color: #0f1923;
}

.button:hover .button_sl {
    width: calc(100% + 15px);
}

.button:hover .button_lg::after {
    background-color: #fff;
}

/* Error and Success Messages */
.error {
    background: #f8d7da;
    color: #721c24 !important;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

.success {
    background: #d4edda;
    color: #155724 !important;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .intro-title {
        font-size: 2.5rem;
    }

    .intro-text p {
        font-size: 1.1rem;
    }

    .section-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    /* Imagen primero en móvil */
    .section-content>.image-content {
        order: -1;
    }

    .text-content h2 {
        font-size: 2rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .benefit-card {
        padding: 20px;
    }

    .benefit-icon {
        font-size: 3rem;
    }

    

    .carousel-caption h3 {
        font-size: 1.3rem;
    }

    .carousel-indicators {
        bottom: 15px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .packages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .package-card {
        padding: 25px;
    }

    .form-contacto {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .highlight-content h2 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 15px;
    }

    .content-section {
        padding: 60px 0;
    }

    .contact-section {
        padding: 60px 0;
    }

    .benefits-section {
        padding: 60px 0;
    }

    .highlight-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .intro-title {
        font-size: 2rem;
    }

    .intro-text p {
        font-size: 1rem;
    }

    .text-content h2 {
        font-size: 1.8rem;
    }

    .text-content p {
        font-size: 1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: 25px 20px;
    }

    .cta-button {
        padding: 8px;
        font-size: 14px;
    }

    .form-contacto .block {
        padding: 25px 20px;
    }

    .highlight-content h2 {
        font-size: 1.5rem;
    }

    

    .carousel-caption {
        padding: 15px;
    }

    .carousel-caption h3 {
        font-size: 1.2rem;
    }

    .package-card {
        padding: 20px;
    }
}

/* ----------- Contacto responsive ----------- */
@media (max-width: 768px) {
    .form-contacto {
        display: flex;
        flex-direction: column;
    }

    /* Mueve el formulario arriba */
    .form-contacto .block:not(.info-block) {
        order: -1;
    }

    /* Horarios y redes quedan debajo */
    .form-contacto .info-block {
        order: 0;
    }
}

/* Estilos para la tabla de precios de cumpleaños */
.precios-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.precios-caption {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffc300;
    padding: 15px;
    background: #2a2a2a;
    text-align: center;
    margin: 0;
}

.precios-th {
    background: #ffc300;
    color: #000000;
    padding: 15px 10px;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
    border: none;
}

.precios-tr {
    transition: background-color 0.3s ease;
}

.precios-tr:hover {
    background-color: #2a2a2a;
}

.precios-td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid #333333;
    color: #ffffff;
    font-size: 1rem;
}

.precio-regular {
    color: #ffffff;
    font-weight: 500;
}

.precio-preferencial {
    color: #4CAF50;
    font-weight: bold;
}

/* Responsive para la tabla */
@media (max-width: 768px) {
    .precios-table {
        font-size: 0.9rem;
    }
    
    .precios-th,
    .precios-td {
        padding: 10px 8px;
    }
    
    .precios-caption {
        font-size: 1.1rem;
        padding: 12px;
    }
}