/* Importar fuente de Google Fonts */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    line-height: 1.6;
    background-color: #000000;
    color: #f4f4f4;
}

html {
    user-select: none;
    scroll-behavior: smooth;
}

.header {
    background-color: #1a1a1a;
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-weight: 400;
    font-size: 3rem;
    color: #ffd200;
    text-decoration: none;
    font-family: "Black Ops One", sans-serif;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    font-weight: 700;
    color: #ffffff;
    transition: all ease-in 0.3s;
}

.nav-links a:hover {
    padding: 8px;
    border-radius: 12px;
    color: rgb(39, 39, 39);
    background-color: #ffd200;
}

/* Sección Hero */
.hero {
    color: #fff;
    text-align: center;
    padding: 0px 20px;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: #ffd200;
    border: none;
    color: rgb(39, 39, 39);
    text-decoration: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 5px;
    transition: all ease-in 0.3s;
}

.cta-button:hover{
    color: white;
    border: 2px solid #ffd200;
    background-color: #000000;
    padding: 20px 35px;
}

/* Secciones de contenido */
section {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 2rem;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffd200;
    text-transform: uppercase;
}

/* Sección de Servicios */
.service-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.service-card {
    background-color: #1a1a1a;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    flex-basis: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

/* Sección de Clases */
.class-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.class-card {
    background-color: #212121;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 5px solid #ffd200;
}

.class-card h4 {
    font-size: 1.5rem;
    margin-top: 0;
}

/* Sección de Planes */
.plans-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.plan-card {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    flex-basis: 300px;
    text-align: left;
    transition: transform 0.3s;
}

.plan-card.featured {
    background-color: #ffd200;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(255, 87, 34, 0.3);
}

.plan-card h3 {
    font-size: 2rem;
    text-align: center;
}

.plan-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin: 1rem 0;
}

.plan-card ul {
    list-style: none;
    padding: 0;
}

.plan-card li {
    padding: 0.5rem 0;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.291);
}

.plan-button {
    background-color: #ffd200;
    color: #fff;
    border: none;
    padding: 12px 20px;
    width: 100%;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 1.5rem;
    transition: all ease-in 0.3s;
}

.plan-button.featured {
    background-color: #fff;
    color: #ffd200;
    transition: all ease-in 0.3s;
}

.plan-button:hover {
    background-color: #b09000;
}

.plan-button.featured:hover {
    background-color: #000000;
    color: white;
}

/* Sección de Contacto */
/* Sección de Contacto */
.contact {
    background-color: #1a1a1a;
    padding: 4rem 2rem;
    border-radius:24px;
    max-width: 800px;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    color: #f4f4f4;
    background: none;
    border: none;
    border-bottom: 2px solid #555;
    outline: none;
    resize: none;
    field-sizing: content;
    transition: border-bottom-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: #ffd200;
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 1rem;
    color: #aaa;
    pointer-events: none;
    transition: 0.3s ease all;
}

/* Animación de la etiqueta al enfocar o al tener contenido */
.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -20px;
    font-size: 0.8rem;
    color: #ffd200;
}

.submit-button {
    background-color: #ffd200;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.submit-button:hover {
    background-color: #ffd200;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #e0e0e0;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

.social-links a {
    color: #e0e0e0;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ffd200;
}

/* ======================================================= */
/* MEDIA QUERIES PARA RESPONSIVE               */
/* ======================================================= */

/* Para pantallas de tablet y móviles grandes (menos de 768px) */
@media screen and (max-width: 768px) {
    .header nav {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-top: 1.5rem;
    }
    
    .logo {
        font-size: 2.5rem;
    }

    .hero-content {
        padding-top: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 2rem;
    }
    
    .service-card,
    .plan-card {
        flex-basis: 100%; /* Las tarjetas ocupan todo el ancho disponible */
    }
}

/* Para pantallas de móviles pequeños (menos de 480px) */
@media screen and (max-width: 480px) {
    body {
        font-size: 0.9rem;
    }

    .header {
        padding: 1rem;
    }

    .logo {
        font-size: 2rem;
    }

    .nav-links a:hover {
        padding: 6px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .plan-card.featured {
        transform: scale(1); /* Desactivamos el escalado en móviles */
    }
    
    .contact {
        padding: 2rem 1rem;
    }
}