@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@400;500;600;700&display=swap');

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.estructura {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-image: url("../Fotos/fondo_emtre.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    /* Transparencia mediante color de overlay + blend */
    background-color: rgba(255, 255, 255, 0.692); /* color semitransparente */
    background-blend-mode: overlay; /* combina imagen y color */
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #e6f8ff;
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

#cabezera {
    padding: 2vh 3vw;
    background-color: #f2f2f2;
   /* min-height: 82px; */  
    display: flex;
    justify-content: center;
}

.header-content {
    width: 100%;
    max-width: 1200px; /* Opcional: para limitar el ancho */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5vh;
}

.logo-emtre {
    max-width: 55vw;
    max-height: 12vh;
    object-fit: contain;
    margin-top: 1vh;
}

.language-selector {
    white-space: nowrap;
}

/* emtre: más fino pero aún en negrita ligera */
.language-selector .emtre {
    font-weight: 500;         /* semi-negrita, más fino que bold */
    font-size: clamp(12px, 3vh, 18px);
    color: #1f7a5c;
    font-style: italic;
}

/* todos: más grande y más oscuro */
.language-selector .todos {
    font-weight: 800;         /* negrita más fuerte */
    font-size: clamp(14px, 4vh, 20px);
    color: #2a6853;           /* un verde más oscuro */   
    font-style: italic;
}


/* Versión para escritorio */
@media (min-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo-emtre {
        max-width: 200px; /* Tamaño fijo para desktop */
    }
}

.navbar-titulo {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: bold;
    text-transform: uppercase; /* asegura mayúsculas */
    letter-spacing: 1px;       /* opcional: abre un poco las letras */
    margin: 1vh;
}



/* Contenedor principal */
.container-principal {
    display: flex;
    flex-direction: column; /* 🔹 Uno debajo de otro */
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem; /* Espacio entre opciones */
    padding: 1rem;
    padding-top: 1.5rem;
}

/* Cada opción */
.opcion {
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

/* Botón circular */
.btn-opcion {
    background-color: #1f7a5c;
    border: none;
    border-radius: 50%;
    display: flex;
    object-fit: contain;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, width 0.2s, height 0.2s;
    overflow: hidden;
    position: relative;

    /* 🔹 Tamaño dinámico según la pantalla, pero siempre proporcional */
    width: clamp(80px, 25vmin, 90px);
    height: clamp(80px, 25vmin, 90px);
}

.btn-opcion img {
    width: 120%; /* más pequeño para dejar margen interno */
    height: 120%;
    object-fit: cover;
}

.btn-text {
    width: 100%;
    max-width: 1000px;
    border-radius: 10px;
    background-color: #2a6853;
    color: #fff;
    font-size: clamp(1vmin);
    text-align: center;
    font-weight: bold;
    font-family: 'Montserrat Alternates', sans-serif;
    margin-top: -1vh;
    padding: 1vh 10vw 1vh 10vw;
}

/* Texto debajo del botón */
.opcion p {
    margin-top: 0.5rem;
    text-align: center;
    flex-shrink: 0;
    font-size: clamp(0.8rem, 1.5vmin, 1rem);
}


.btn-opcion:active {
    transform: scale(0.95);
}


/* Estado IA */
.estado-ia {
    margin-top: 10px;
    background-color: #f8f4f1;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    text-align: center;
}

/* Responsividad */
@media (max-width: 480px) {
    .btn-opcion {
        width: 20vw;
        height: 20vw;
    }

    .opcion p {
        font-size: 13px;
    }

    .estado-ia {
        font-size: 12px;
    }
}
