/* ===== ESTILOS GENERALES - VERSIÓN ÁRABE (RTL) ===== */
/* Este archivo contiene los estilos generales para el sitio en árabe */

/* ===== ESTILOS GENERALES ===== */
html, body { 
    background: linear-gradient(135deg, #0a1929 0%, #1a2f42 100%) !important;
    font-family: 'Arial', 'Tahoma', sans-serif; 
    color: #fff; 
    margin: 0; 
    padding: 0;
    min-height: 100vh;
    direction: rtl; /* Cambio principal para RTL */
    text-align: right; /* Alineación por defecto para RTL */
}

/* Forzar fondo azul marino */
body::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0; /* Cambiado de left a right */
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a1929 0%, #1a2f42 100%);
    z-index: -1;
}

/* ===== TIPOGRAFÍA (TAMAÑO AUMENTADO ~30%) ===== */
h1 {
    font-size: 2.7rem !important; /* Antes 2.5rem */
    font-weight: 600;
    text-align: center !important;
    margin-bottom: 40px;
    color: #ffffff;
}

h2 {
    font-size: 2.2rem; /* Antes 2rem */
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
}

h3 {
    font-size: 1.7rem; /* Antes 1.5rem */
    font-weight: 500;
    color: #ffffff;
}

p {
    font-size: 1.2rem; /* Antes 1.1rem */
    line-height: 1.7;
    margin-bottom: 15px;
}

/* ===== HERO SECTION ===== */
.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-content h1 {
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 2rem; /* Antes 1.8rem */
    font-weight: 400;
    color: #b0c4de;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.4rem; /* Antes 1.2rem */
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* ===== BOTONES PRINCIPALES ===== */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: #4dabf7;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #339af0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(77, 171, 247, 0.4);
}

/* ===== ABOUT SECTION ===== */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    margin-bottom: 10px;
}

.section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
    text-align: center; /* <-- CAMBIO: Texto centrado en lugar de a la derecha */
}

.about-text h2 {
    text-align: center; /* <-- CAMBIO: Título centrado */
    margin-bottom: 20px;
}

.about-text p {
    text-align: center; /* <-- CAMBIO: Párrafo centrado */
}

.about-image {
    flex: 1;
    max-width: 500px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ===== PROGRAMS SECTION ===== */
.programs-section {
    padding: 80px 20px;
    background-color: rgba(255, 255, 255, 0.02);
}

.programs-label {
    display: block;
    text-align: center;
    font-size: 1.3rem; /* Antes 1rem */
    color: #4dabf7;
    font-weight: bold;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.program-card {
    background-color: rgba(12, 36, 60, 0.7);
    border: 1px solid rgba(77, 171, 247, 0.2);
    border-radius: 12px;
    padding: 30px;
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.program-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.program-title {
    font-size: 2rem; /* Antes 1.8rem */
    margin-bottom: 10px;
    color: #ffffff;
}

.program-discount {
    color: #51cf66;
    font-weight: bold;
    margin-bottom: 20px;
}

.program-features {
    list-style: none;
    padding: 0;
    text-align: right;
    margin-bottom: 30px;
}

.program-features li {
    font-size: 1.1rem; /* Un poco más grande */
    margin-bottom: 12px;
    padding-right: 25px;
    position: relative;
}

.program-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    top: 0;
    color: #4CAF50;
    font-weight: bold;
}

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

.text-btn:hover {
    background-color: #4dabf7;
    color: #ffffff;
}
/* --- Estilos para la sección de mensaje de registro --- */
/* ===== رسالة التسجيل (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;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.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;
}

.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);
}
/* ===== PAYMENT SCREEN ===== */
.payment-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 41, 0.95);
    z-index: 10000;
    display: none; /* Se controla con JavaScript */
    justify-content: center;
    align-items: center;
    text-align: center;
}

.payment-content {
    background-color: #0c243c;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #4dabf7;
    max-width: 500px;
}

.payment-content h2 {
    margin-bottom: 20px;
}

.payment-content p {
    margin-bottom: 30px;
}

.back-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #f44336;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem !important; /* Ajustado para móvil */
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }

    .about-content {
        flex-direction: column-reverse; /* Imagen arriba en móvil */
    }

    .about-text {
        text-align: center;
    }

    .about-text h2, .about-text p {
        text-align: center;
    }

    .program-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .program-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem !important; /* Ajustado para móvil pequeño */
    }

    h2 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 15px;
    }

    .programs-section {
        padding: 60px 15px;
    }
}