/* ===== ESTILOS GENERALES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #0c243c;
    color: #fff;
    line-height: 1.6;
}

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

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== HEADER ===== */
.main-header {
    background-color: #0c243c;
    box-shadow: none;
    padding: 15px 0;
    margin-bottom: 30px;
}

.logo-container {
    display: flex;
    justify-content: center;
}

.logo {
    max-width: 150px;
    height: auto;
}

/* ===== NAVIGATION - HORIZONTAL ===== */
.main-menu {
    background-color: #0c243c;
    padding: 15px 0;
    text-align: center;
}

.main-menu ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.main-menu li {
    margin: 0 20px;
}

.main-menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.main-menu a:hover {
    color: #4dabf7;
}

/* ===== HERO ===== */
.hero {
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url('https://www.propadelschool.com/assets/images/backgrounds/campo-de-pade1-FINAL.gif');
    background-size: cover;
    background-position: center;
    background-color: #0c243c;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

/* ===== BOTONES ===== */
.btn {
    padding: 12px 30px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #0c243c;
    border: 1px solid #ffffff;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 10px auto 20px;
    font-weight: bold;
}

.btn:hover { 
    background-color: #ffffff;
    color: #0c243c;
}

.text-btn {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 30px;
    background-color: transparent;
}

.text-btn:hover { 
    text-decoration: underline; 
}

.black-text { 
    color: black; 
}

/* ===== SECCIONES ===== */
.section { 
    padding: 60px 0; 
    text-align: center; 
}

/* ===== SECCIÃ“N ABOUT ===== */
#about {
    background-color: #0c243c;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 1000px;
    padding: 40px;
}

#about h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #ffffff;
}

#about p {
    max-width: 750px;
    margin: 15px auto;
    line-height: 1.6;
    color: #ffffff;
}

#about p:nth-child(3)::after {
    content: "";
    display: block;
    margin-bottom: 60px;
}

#about .content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

#about img {
    max-width: 225px !important;
    height: 281.25px !important;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
    float: left;
}

#about .text-container {
    text-align: left;
    max-width: 70%;
    margin-left: 20px;
}

#about .text-container h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #ffffff;
}

#about .text-container p {
    color: #ffffff;
    margin: 0;
    margin-bottom: 8px;
}

#about .black-btn {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 30px;
    padding: 15px 30px;
    font-size: 1rem;
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

#about .black-btn:hover {
    background-color: #ffffff;
    color: #0c243c;
}

/* ===== PROGRAMAS ===== */
.programs-section {
    background-color: #0c243c;
    color: white;
    padding: 40px 20px;
    border-radius: 10px;
    margin: 0 0 20px 0;
}

.programs-label {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    padding: 15px 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    display: block;
    text-align: center;
}

.program-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 10px;
}

.program-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    padding: 20px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-icon { 
    font-size: 2rem; 
    margin-bottom: 15px; 
    color: white; 
}

.program-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #0c243c;
    font-weight: bold;
    background-color: white;
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
    border: 2px solid white;
}

.program-discount, .program-price, .program-features li { 
    color: white; 
}

.program-price small { 
    text-decoration: line-through; 
    color: #777; 
}

.program-features {
    list-style-type: none;
    padding: 0;
    text-align: left;
    margin-bottom: 20px;
}

.program-features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.program-features li:before {
    content: "✓";
    color: #4CAF50;
    position: absolute;
    left: 0;
}

/* ===== PANTALLA DE PAGO ===== */
.payment-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.payment-content {
    background-color: #0c243c;
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    width: 80%;
}

.payment-content h2 { 
    font-size: 2rem; 
    margin-bottom: 20px; 
}

.payment-content p { 
    font-size: 1.2rem; 
    margin-bottom: 30px; 
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.back-button:hover { 
    background-color: #45a049; 
}

/* ===== FORMULARIO DE CONTACTO ===== */
.main-content {
    flex: 1;
    padding: 0;
}

.form-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin: 0 auto;
}

.form-container h2 {
    margin-top: 0;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

.codigo-contacto {
    text-align: center;
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: bold;
    color: #4dabf7;
}

/* ===== ALERTAS ===== */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.success {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.error {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

/* ===== MENSAJE DE REGISTRO ===== */
.register-message {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px 20px;
    margin: 0 auto 20px auto;
    max-width: 800px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.register-content h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.register-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 10px;
    line-height: 1.4;
}
    font-size: 1.2rem;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.register-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.register-btn:hover {
    background-color: #45a049;
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

/* ===== FOOTER ===== */
.main-footer,
.footer {
    background-color: #0a1a2a;
    color: white;
    padding: 30px 0;
    margin-top: 50px;
    text-align: center;
}

.footer-content p,
.footer p {
    margin: 5px 0;
}

.footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #4dabf7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    .hero p {
        font-size: 1.2rem;
        margin-bottom: 3px;
    }
    
    .btn {
        margin: 5px auto 20px;
    }
    
    #about {
        padding: 20px;
    }
    
    #about .content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    #about img {
        margin: 0 auto 20px;
        max-width: 150px !important;
        height: 187.5px !important;
        float: none;
    }
    
    #about .text-container {
        max-width: 100%;
        text-align: center;
        margin-left: 0;
    }
    
    #about .text-container p {
        margin-bottom: 6px;
    }
    
    #about p:nth-child(3)::after {
        margin-bottom: 30px;
    }
    
    .button-row {
        flex-direction: column;
    }
    
    .main-header {
        margin-bottom: 20px;
    }
    
    .form-container h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .button {
        margin-bottom: 10px;
    }
    
    .program-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .program-card {
        max-width: 100%;
    }
    
    .main-menu ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-menu li {
        margin: 5px 0;
    }
    
    .register-message {
        margin: 0 20px;
        padding: 12px 15px;
    }
    
    .register-content h3 {
        font-size: 1.1rem;
    }
    
    .register-content p {
        font-size: 1rem;
    }
    
    .register-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 6px;
    }
    
    .hero h2 {
        font-size: 1.5rem;
        margin-bottom: 6px;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 2px;
    }
    
    .btn {
        margin: 3px auto 20px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    #about h2 {
        font-size: 2rem;
    }
    
    .program-card {
        min-width: 280px;
    }
    
    .main-menu a {
        font-size: 0.85rem;
    }
}