/* Reset básico para evitar márgenes por defecto del navegador */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body, html {
    height: 100%;
    width: 100%;
}

/* Configuración del fondo responsivo */
body {
    /* He colocado una imagen real de un entorno de salud por defecto.
       Si tienes una foto real específica del Tolima, cambia esta URL por la ruta de tu imagen local (ej: url('fondo-tolima.jpg')) */
    background-image: url('https://images.unsplash.com/photo-1538108149393-fbbd81895907?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Flexbox para centrar el contenido vertical y horizontalmente */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Capa de contraste */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65); /* Negro al 65% de opacidad */
    z-index: 1;
}

/* Contenedor central */
.content {
    position: relative;
    z-index: 2; /* Para que quede por encima del overlay */
    text-align: center;
    color: #ffffff;
    padding: 20px;
    width: 90%;
    max-width: 800px;
}

.logo {
    max-width: 180px;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

/* Estilos del botón */
.btn-central {
    display: inline-block;
    background-color: #d60b0f; /* Verde estándar para temas de salud/aprobación */
    color: #ffffff;
    padding: 15px 45px;
    font-size: 1.25rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* Efectos al pasar el cursor y hacer clic */
.btn-central:hover {
    background-color: #218838;
    transform: scale(1.05);
}

.btn-central:active {
    transform: scale(0.95);
}

/* Media Queries para diseño responsivo en teléfonos móviles */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .btn-central {
        padding: 12px 35px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
}