/* --- Reseteo básico y configuración global --- */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

/* --- Contenedor principal con Flexbox --- */
.container {
    display: flex;
    width: 100%;
    height: 100vh; /* Ocupa toda la altura de la pantalla */
}

/* --- Columna de la Imagen (Izquierda) --- */
.image-column {
    flex: 1; /* Ocupa la mitad del espacio disponible */
    background-image: url('SAER.jpg'); /* Asegúrate que la imagen está en la misma carpeta */
    background-size: cover;
    background-position: center;
    position: relative; /* Necesario para posicionar el contenido superpuesto */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: left;
    padding: 0 40px;
}

.image-overlay-content {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.image-overlay-content h1 {
    font-size: 4rem; /* 64px */
    margin: 0;
}

.image-overlay-content h2 {
    font-size: 2rem; /* 32px */
    font-weight: 300;
    margin: 0;
    line-height: 1.2;
}

.decorative-line {
    height: 5px;
    width: 100px;
    background-color: #00AEEF; /* Un azul cian similar al de la imagen */
    margin: 20px 0;
}


/* --- Columna del Texto (Derecha) --- */
.text-column {
    flex: 1; /* Ocupa la otra mitad del espacio */
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5%;
}

.content-wrapper {
    max-width: 500px;
}

#saer-title {
    font-size: 1.8rem; /* 28px */
    color: #333;
    margin-bottom: 25px;
}

#saer-description {
    font-size: 1rem; /* 16px */
    color: #555;
    line-height: 1.6;
    white-space: pre-wrap; /* Mantiene los saltos de línea del texto en JS */
    margin-bottom: 30px;
}

#request-button {
    background-color: #007BFF; /* Un azul estándar */
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#request-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px); /* Pequeño efecto al pasar el ratón */
}

/* --- Diseño Responsivo para pantallas pequeñas --- */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Apila las columnas verticalmente */
    }
    .image-column, .text-column {
        flex: none;
        width: 100%;
        height: 50vh; /* Cada columna ocupa la mitad de la altura */
    }
    .text-column {
        height: auto; /* La altura se ajusta al contenido */
        padding: 40px 20px;
    }
}

/* --- Estilos para la Notificación Flotante (Toast) --- */
.toast-notification {
    visibility: hidden; /* Oculto por defecto */
    min-width: 280px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.5s, bottom 0.5s;
}

/* Clase que se añade con JS para mostrar el toast */
.toast-notification.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px; /* Sube un poco al aparecer */
}
