/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    width: 100%; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden; 
    position: fixed; 
}

/* Sección principal */
.hero {
    background-image: url(../images/fondo.jpg);
    background-size: cover; 
    background-position: center;
    height: 100vh;
    width: 100vw; 
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    touch-action: none; 
}


/* Capa de oscurecimiento */
.overlay {
    background-color: rgba(0, 0, 0, 0.3);
    /* Efecto oscuro */
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end; 
    padding-bottom: 12vh;
}

/* Contenido de texto */
.text-content {
    text-align: center;
    color: white;
    max-width: 300px;
    margin-top: 0; 

}

.text-content h1 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

.text-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Botón */
.btn {
    display: inline-block;
    background-color: #FF8A08;
    color: white;
    padding: 0.8rem 2.2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s;

}

/* RESPONSIVE */
@media (min-width: 768px) {
    .text-content {
        max-width: 400px;
    }

    .text-content h1 {
        font-size: 2.5rem;
    }

    .text-content p {
        font-size: 1.2rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

