/* ------------------------------------- */
/* ESTILOS DEL PRELOADER (MANTENIDOS)    */
/* ------------------------------------- */

.hidden {
display: none;
}

#preloader {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    z-index: 1000;
    transition: opacity 0.5s ease-out; 
}

#logo-preloader {
    width: 220px; 
    height: 150px;
    border-radius: 50%; 
    animation: spin 1.5s linear infinite; 
}

#company-name {
    margin-top: 60px; 
    font-size: 1.5em; 
    
    color: #333333; 
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.main-header.scrolled .company-name {
    color: #ffffff;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Restablecer */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
}

/* ------------------------------------- */
/* ESTILOS DEL ENCABEZADO (Header Fijo)  */
/* ------------------------------------- */

.main-header {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; 
    padding: 5px 30px; 
    background-color: transparent; 
    color: white;
    transition: background-color 0.3s ease; 
    display: flex;
    justify-content: space-between; 
    align-items: center; 
}

.main-header.scrolled {
    background-color: #000000; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); 
}

.menu-toggle {
    display: none;
}

/* Logo y Nombre */
.logo-container h1 {
    margin: 0;
    font-size: 100%; 
}

.logo-container h1 a {
    display: flex; 
    align-items: center; 
    color: inherit;
    text-decoration: none;
}

.my-company-logo {
    height: 90px;
    width: auto;
    margin-right: 10px; 
}

.company-name {
    font-size: 1.7em; 
    font-weight: 300; 
    letter-spacing: 1px;
    color: #e0e0e0; 
    font-family:Georgia, 'Times New Roman', Times, serif;
}

/* Navegación */
.main-nav ul {
    list-style: none;
    display: flex; 
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    text-decoration: none;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.main-nav a:hover,
.main-nav a.active { 
    background-color: #ff1900;
    color: white;
}


/* ------------------------------------- */
/* 🎯 ESTILOS DE LA NUEVA PORTADA (#anfitriones) - AJUSTADA PARA IMAGEN ANCHA (100vh) */
/* ------------------------------------- */

#anfitriones {
    /* Usar la imagen de ejemplo subida para el CSS */
    /* NOTA: Deberás reemplazar 'URL_DE_TU_IMAGEN_ANAHCA' con la ruta real de tu nueva imagen */
    background: linear-gradient( rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)), url("../img/Bienvenida-soynuevo.png"); 
    background-size: cover;
    background-position: center center; /* Centra la imagen */
    background-attachment: fixed;
    min-height: 100vh; /* ¡Cambiado a 100vh para que ocupe toda la altura de la ventana! */
    display: flex;
    justify-content: center; 
    align-items: center; 
    flex-direction: column; 
    text-align: center;
    color: white; 
}

.presentacion {
    max-width: 800px; 
    padding: 20px;
    margin-top: 0;
}

.presentacion .bienvenida {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 2px;
}

.presentacion h2 {
    font-size: 3em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: Georgia, 'Times New Roman', Times, serif;
    

}

/* ----------------------------------- */
/* RESPONSIVIDAD (MÓVIL) */
/* ----------------------------------- */

@media (max-width: 768px) {
    /* Ajuste para la nueva portada en móvil */
    #anfitriones {
        min-height: 70vh; /* Mantener 70vh en móvil para no ocupar demasiado espacio */
        background-position: center 50%;
    }
    
    .main-header {
        display: grid;
        grid-template-columns: 1fr auto; 
        padding: 15px 20px;
    }

    .menu-toggle {
    
        display: block;
        background: transparent;
        border: none;
        color: white;
        font-size: 2em;
        cursor: pointer;
        line-height: 1; 
        outline: none; 
    }

    .main-nav {
        grid-column: 1 / 3; 
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .main-nav.open {
        max-height: 300px; 
        padding-top: 10px;
    }

    .main-nav ul {
        flex-direction: column; 
    }

    .main-nav li {
        margin: 5px 0; 
        text-align: center;
    }

    .main-nav a {
        display: block; 
        padding: 10px;
        background-color: rgba(255, 255, 255, 0.1);
    }

    .my-company-logo {
        height: 50px;
    }

    /* Ajuste de Texto de Portada en móvil */
    .presentacion {
        margin-top: 50px; 
    }
    /* Busca esta parte en tu CSS y asegúrate de que se vea así */
.presentacion h2 {
    font-size: 4em; /* Un poco más grande para impacto */
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 700; /* Negrita para que resalte */
    text-transform: uppercase; /* Todo en mayúsculas */
    letter-spacing: 5px; /* Espaciado entre letras elegante */
}
    .presentacion .bienvenida {
        font-size: 1.2em;
    }
}






/* 📋 ESTILOS DE BIENVENIDA */
.welcome-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background-color: #dcdcdc; /* Ajusta este color al fondo de tu imagen */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #4a4a4a;
    line-height: 1.6;
    text-align: center;
}

.welcome-content {
    max-width: 800px; /* Limita el ancho para que sea fácil de leer */
}

.welcome-content p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    font-weight: 400;
}

.signature {
    margin-top: 40px;
}

.welcome-title {
    font-size: 1.2rem;
    margin-bottom: 20px !important;
}

.pastors-names {
    font-weight: 600;
    margin-bottom: 5px !important;
}

.church-title {
    font-size: 0.95rem;
    color: #666;
}











/* ------------------------------------- */
/* 📋 ESTILOS DE LA BIO (SECCIÓN NOSOTROS) - Mantenidos */
/* ------------------------------------- */

.bio-section {
    background-color: #f4f4f4; /* Fondo claro */
    padding: 80px 20px;
    text-align: center;
}

.bio-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 110px 20px;
    color: #333;
}

.bio-name {
    font-size: 2.5em;
    font-weight: 600;
    margin-bottom: 5px;
    color: #6f0101; /* Un tono gris para el nombre */
}

.bio-title {
    font-size: 1.5em;
    font-weight: 300;
    margin-bottom: 30px;
    color: #9a0202;
}

.bio-about {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #666;
    text-transform: uppercase;
}

.bio-text p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
    text-align: left; /* Alineación del texto de la biografía */
}


/* ----------------------------------- */
/* RESPONSIVIDAD (MÓVIL) - Mantenidos */
/* ----------------------------------- */

@media (max-width: 768px) {

    
    .bio-section {
        padding: 50px 15px;
    }

    .bio-name {
        font-size: 2em;
    }

    .bio-title {
        font-size: 1.2em;
    }
}


/* ----------------------------------- */
/* 🆕 ESTILOS DE LA NUEVA SECCIÓN "JESÚS" */
/* ----------------------------------- */
#quien-es-jesus {
    background-color: #000000; /* Fondo negro */
    padding: 100px 20px;
    color: white;
    text-align: center;
}

.jesus-content {
    max-width: 800px; /* Ancho similar al contenido de la bio para centrar el texto */
    margin: 0 auto;
}

.jesus-content h1 {
    font-size: 2.5em;
    font-weight: 900; /* Letra más gruesa */
    margin-bottom: 50px;
    letter-spacing: 1px;
    line-height: 1.2;
}

.jesus-content p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 25px;
    font-weight: 400;
    text-align: center; /* Centrar el texto */
}

/* ----------------------------------- */
/* RESPONSIVIDAD (MÓVIL) */
/* ----------------------------------- */

@media (max-width: 768px) {
    /* ... (Estilos de menú y portada móvil anteriores se mantienen) ... */

    #anfitriones {
        min-height: 70vh; 
        background-position: center 50%;
    }
 
    .bio-section {
        padding: 50px 15px;
    }
 
    .bio-name {
        font-size: 2em;
    }

    .bio-title {
        font-size: 1.2em;
    }
    
    /* Ajuste móvil para la nueva sección */
    #quien-es-jesus {
        padding: 50px 15px;
    }
    
    .jesus-content h1 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    
    .jesus-content p {
        font-size: 1em;
    }
}


/* ----------------------------------- */
/* 📧 ESTILOS DE LA SECCIÓN DE CONTACTO (#contacto-form) - Actualizados con campos de la última imagen */
/* ----------------------------------- */

.contacto-section {
    background-color: #f4f4f4; 
    padding: 80px 20px;
    text-align: center;
}

.contacto-titulo {
    font-size: 2em;
    font-weight: 900;
    text-transform: uppercase;
    color: #000; 
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-container {
    max-width: 450px;
    margin: 0 auto;
    background-color: #000000; 
    padding: 30px;
    color: white;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.form-logo {
    margin-bottom: 30px;
}

.hillsong-logo {
    width: 150px; 
    height: auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: #e0e0e0;
}

/* Estilos de inputs de texto y textarea (Actualizado) */
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea { /* Añadido textarea */
    width: 100%;
    padding: 12px;
    border: 2px solid #fff; /* Borde blanco para los inputs */
    background-color: #000; 
    color: white;
    font-size: 1em;
    transition: border-color 0.3s;
    outline: none;
    resize: vertical; /* Permitir redimensionar solo verticalmente para textarea */
    /* Reseteo para inputs de número */
    -moz-appearance: textfield; 
}

.form-group textarea {
    min-height: 80px; 
}


/* Simulación de campo con error/foco (rojo) */
/* El primer campo de texto ahora simula el error/foco */
.form-group input[type="text"]:first-of-type,
.form-group textarea {
    border-color: #fff; /* Reset a blanco */
}
/* Reaplicamos el estilo rojo para simular el error en el campo de texto simple: */
.form-group:nth-child(5) input { 
    border-color: #ff1900; /* Borde rojo como en la imagen para el primer campo nuevo */
}
.error-message {
    color: #ff1900;
    font-size: 0.8em;
    display: block;
    margin-top: 5px;
}

.input-hint {
    font-size: 0.75em;
    color: #aaa;
    margin-top: 5px;
}

/* Estilos para Radio Buttons */
.radio-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.radio-group label {
    font-weight: normal;
    text-transform: none;
    font-size: 1em;
    display: inline-block;
    margin-right: 10px; 
}

.radio-group input[type="radio"] {
    margin-right: 5px;
}

/* Estilos para Checkbox de Consentimiento */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-top: 35px;
    margin-bottom: 35px;
    font-size: 0.9em;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 15px;
    /* Estilos básicos para el checkbox */
    width: 18px;
    height: 18px;
    flex-shrink: 0; /* Evita que el checkbox se encoja */
    margin-top: 2px;
}
.checkbox-group label {
    font-weight: normal;
    text-transform: none;
    line-height: 1.4;
    margin: 0; /* Quitar margen de etiqueta general */
}


/* Estilos para el nuevo botón de ENVIAR (Outline White) */
.submit-button-outline {
    background-color: transparent; /* Fondo transparente */
    color: white;
    padding: 15px 25px;
    border: 2px solid white; /* Borde blanco */
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 20px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.submit-button-outline:hover {
    background-color: rgba(255, 255, 255, 0.1); 
    border-color: #ff1900; /* Borde de color de acento al pasar el ratón (opcional) */
}


/* ----------------------------------- */
/* RESPONSIVIDAD (MÓVIL) */
/* ----------------------------------- */

@media (max-width: 768px) {
    /* ... (Estilos de menú, portada, bio y Jesús móvil anteriores se mantienen) ... */

    /* Ajustes móviles para Contacto */
    .contacto-section {
        padding: 50px 15px;
    }
    
    .contacto-titulo {
        font-size: 1.5em;
        margin-bottom: 30px;
    }

    .form-container {
        padding: 20px;
    }
    
    .radio-group {
        flex-direction: column;
        align-items: flex-start;
    }
    .radio-group label {
        margin-bottom: 5px;
    }
    
    .checkbox-group {
        font-size: 0.8em;
    }
    
    .submit-button-outline {
        padding: 12px 15px;
        font-size: 1em;
    }
}