@import "https://www.nerdfonts.com/assets/css/webfont.css";
@import url('https://fonts.googleapis.com/css2?family=Dongle:wght@300;400;700&display=swap');


/* Variables de Color */
:root {
    --primary-red: #fe0904;
    --primary-blue: #0199ed;
    --primary-yellow: #fdc516;
    --primary-green: #51aa62;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark-gray: #2C3E50;
    --text-color: #2C3E50;
    --border-color: #E0E0E0;
}

/* Reset y Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

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

/* Tipografía */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Dongle', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    font-size: 4.5rem;
}

h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--dark-gray);
}

h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.btn-flotante {
    text-decoration: none;
    /* Cambiar el tamaño de la tipografia */
    text-transform: uppercase;
    /* Texto en mayusculas */
    font-weight: bold;
    /* Fuente en negrita o bold */
    color: var(--white);
    /*#ffffff; /* Color del texto */
    border-radius: 50%;
    /* Borde del boton */
    background-color: var(--primary-green);
    /*#E91E63; /* Color de fondo */
    padding: 0.3rem 0.3rem 0.2rem 0.3rem;
    /* Relleno del boton */
    position: fixed;
    bottom: 40px;
    right: 180px;
    transition: all 300ms ease 0ms;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

.btn-flotante i {
    font-size: 4rem !important;
    text-decoration: none;
    color: var(--white);
}

.btn-flotante:hover {
    background-color: var(--primary-blue);
    /*#2c2fa5; /* Color de fondo al pasar el cursor */
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-7px);
}

.btn-flotante:visited {
    color: var(--rosa-blanco);
}

@media only screen and (max-width: 768px) {
    .btn-flotante {
        font-size: 1px;
        padding: 0.3rem 0.3rem 0.2rem 0.3rem;
        bottom: 20px;
        right: 25px;
    }
}

/* Navegación */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo h1 {
    font-size: 2rem;
    color: var(--dark-gray);
}

.logo h1 a:visited {
    color: var(--dark-gray);
}

.img-logo {
    width: auto;
    height: 80px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--dark-gray);
    cursor: pointer;
    padding: 0.5rem;
}

.nav-link a i {
    font-family: "Symbols Nerd Font", "SymbolsNerdFont", sans-serif;
}

.navbar h1 a {
    text-decoration: none;

}

/* Botones */
.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background: var(--primary-yellow);
    color: var(--dark-gray);
}

.btn-secondary:hover {
    background: #F9A825;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(241, 196, 15, 0.4);
}

/* Botón deshabilitado y estilos de validación del formulario */
.btn:disabled {
    background: #BDC3C7 !important;
    color: #7F8C8D !important;
    border-color: #BDC3C7 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.65;
}

.form-group input.invalid,
.form-group select.invalid {
    border-color: var(--primary-red) !important;
    background-color: #FDEDEC !important;
}

.error-feedback {
    color: var(--primary-red);
    font-size: 0.85rem;
    display: block;
    margin-top: 0.3rem;
    font-weight: 500;
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(231, 76, 60, 0.2);
    border-radius: 50%;
    top: -50px;
    right: -50px;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(241, 196, 15, 0.2);
    border-radius: 50%;
    bottom: -30px;
    left: -30px;
    animation: float 8s ease-in-out infinite;
}

.img-hero {
    width: 50%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content p {
    margin-top: 2rem;
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contenedor de pelotitas */
.balls-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Estilos de las pelotitas */
.ball {
    position: absolute;
    border-radius: 50%;
    box-shadow:
        inset -8px -8px 20px rgba(0, 0, 0, 0.3),
        inset 8px 8px 20px rgba(255, 255, 255, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.2);
    will-change: transform;
}

/* Colores de pelotero */
.ball-green {
    background: radial-gradient(circle at 30% 30%, var(--primary-green), #4a7c17);
}

.ball-red {
    background: radial-gradient(circle at 30% 30%, var(--primary-red), #c0392b);
}

.ball-blue {
    background: radial-gradient(circle at 30% 30%, var(--primary-blue), #2980b9);
}

.ball-yellow {
    background: radial-gradient(circle at 30% 30%, var(--primary-yellow), #d4ac0d);
}

/* Sección Carrusel */
.carousel-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.carousel-section h2 {
    color: var(--dark-gray);
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.carousel-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.8);
}

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

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

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

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

.indicator.active {
    background: var(--white);
    transform: scale(1.3);
}

/* Sección Sobre Nosotros */
.about {
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.features-list {
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.features-list li:last-child {
    border-bottom: none;
}

.about-highlight {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-box {
    padding: 2rem;
    border-radius: 1rem;
    color: var(--white);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.highlight-box h3 {
    margin-bottom: 0.5rem;
    color: var(--white);
}

.highlight-box p {
    margin: 0;
    opacity: 0.95;
}

.highlight-box.red {
    background: linear-gradient(135deg, var(--primary-red) 0%, #C0392B 100%);
}

.highlight-box.blue {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2980B9 100%);
}

.highlight-box.yellow {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #E8B708 100%);
    color: var(--dark-gray);
}

.highlight-box.green {
    background: linear-gradient(135deg, var(--primary-green) 0%, #27AE60 100%);
}

.highlight-box.yellow h3,
.highlight-box.yellow p {
    color: var(--dark-gray);
}

/* Sección Horarios */
.schedules {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);

}

.schedules .container {
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.schedules h2 {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin: 0 0 0.5rem;
}

.schedule-duration {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 2rem;
}

.schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(29, 78, 216, 0.12);
}

.schedule-table thead th {
    background-color: var(--primary-red);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 1.25rem;
}

.schedule-table tbody td {
    padding: 1.25rem;
    font-size: 1rem;
    background-color: var(--light-gray);
    color: var(--text-color);
    border-top: 1px solid #ddd;
    line-height: 1.6;
    text-align: center;
}

.schedule-table tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.schedule-table tbody td:first-child {
    font-weight: 700;
    width: 45%;
}

/* Responsive: en pantallas chicas la tabla se apila */
@media (max-width: 480px) {
    .schedule-table thead {
        display: none;
    }

    .schedule-table,
    .schedule-table tbody,
    .schedule-table tr,
    .schedule-table td {
        display: block;
        width: 100%;
    }

    .schedule-table tbody td:first-child {
        width: 100%;
        background-color: var(--primary-red);
        color: var(--white);
        border-top: none;
    }
}

/* Sección Tarifas */
.rates {
    margin-top: 4rem;
}

.rates-highlight {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.rates-highlight .highlight-box h3 {
    font-size: 4.5rem;
}

.rates-highlight .highlight-box h4 {
    font-size: 2.5rem;
}


/* Sección Reservar */
.booking {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.booking h2 {
    color: var(--dark-gray);
}

.booking-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group select,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    background-color: var(--white);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    resize: vertical;
}

.form-group .checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-group label input {
    width: auto;
    margin: 0;
}

.booking-form .btn-secondary {
    width: 100%;
}

.not-available {
    color: #dc3545;
    display: none;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-yellow);
    font-size: 2rem;
}

.footer-section p {
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    opacity: 0.8;
}

.footer-section p a {
    text-decoration: underline;
}

.footer-section p a:visited,
.footer-section p a:link,
.footer-section p a:hover,
.footer-section p a:active {
    text-decoration: underline;
    color: var(--white);
}

.footer-section p i.nf-fa-whatsapp {
    color: var(--primary-red);
}

.footer-section p i.nf-fa-instagram {
    color: var(--primary-blue);
}

.footer-section p i.nf-md-email_outline {
    color: var(--primary-green);
}

.footer-section p i.nf-md-map_marker {
    color: var(--primary-yellow);
}


/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalScale 0.3s ease-out;
}

@keyframes modalScale {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header h2 {
    margin-top: 0.5rem;
    color: #333;
}

.modal-icon {
    font-size: 3.5rem;
}

.modal-body p {
    color: #555;
    margin: 1.2rem 0;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        /* Mostramos el botón en móvil */
    }

    .nav-menu {
        display: none;
        /* Ocultamos el menú por defecto */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        gap: 0;
    }

    .nav-menu.show {
        display: flex;
        /* Se muestra al hacer clic */
    }

    .nav-link {
        display: block;
        padding: 1rem 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link:hover,
    .nav-link.active {
        border-bottom-color: var(--primary-blue);
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .rates {
        margin-top: 3rem;
    }

    .rates-highlight {
        grid-template-columns: 1fr;
    }

    .rates-highlight .highlight-box h3 {
        font-size: 2.5rem;
    }

    .rates-highlight .highlight-box h4 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer h4 {
        font-size: 2rem;
    }

    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .carousel-control.prev {
        left: 10px;
    }

    .carousel-control.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 2rem;
    }

    .hero {
        padding: 4rem 1rem;
    }

    .booking-form {
        padding: 1.5rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}