/* Encabezado sobre la fotografía */

.encabezado-inicio {
    position: absolute;
    top: 25px;
    left: 8%;
    z-index: 10;

    display: flex;
    align-items: center;
    gap: 12px;

    color: white;
}

.logo-inicio {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.texto-encabezado h2 {
    font-size: 25px;
    margin-bottom: 3px;
}

.texto-encabezado p {
    font-size: 13px;
    color: #ffffff;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}
/* Pantalla inicial de CultivaAyuda */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    font-family: Arial, sans-serif;
}

/* Fondo de pantalla completa */

.pantalla-inicio {
    min-height: 100vh;
    min-height: 100svh;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    background:
        linear-gradient(
            rgba(8, 39, 23, 0.38),
            rgba(8, 39, 23, 0.48)
        ),
        url('/public/images/inicio/inicio-cultivayauda.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;


padding: 30px 20px;
}

/* Contenido central */

.contenido-inicio {
    width: 100%;
    max-width: 900px;
    text-align: center;
}

.contenido-inicio h1 {
    color: white;
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 700;
    margin-bottom: 18px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}


.descripcion-inicio {
    color: #ffffff;
    font-size: clamp(16px, 2vw, 19px);
    font-weight: 500;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto 32px;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}

}

/* Botones */

.acciones {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.acciones a {
    display: inline-block;
    min-width: 165px;

    background-color: #267344;
    color: white;

    text-decoration: none;
    text-align: center;

    padding: 15px 25px;
    border-radius: 8px;

    font-size: 16px;
    font-weight: 600;

    transition: background-color 0.3s, transform 0.3s;
}

.acciones a:hover {
    background-color: #07552B;
    transform: translateY(-2px);
}

/* Adaptación a celulares */

@media (max-width: 600px) {
    .encabezado-inicio {
    top: 18px;
    left: 20px;
    gap: 9px;
}

.logo-inicio {
    width: 48px;
    height: 48px;
}

.texto-encabezado h2 {
    font-size: 19px;
}

.texto-encabezado p {
    font-size: 11px;
}

    .contenido-inicio h1 {
        font-size: 32px;
        margin-bottom: 28px;
    }

    .acciones {
        flex-direction: column;
        gap: 12px;
    }

    .acciones a {
        width: 100%;
        max-width: 250px;
    }
}
