/*
Style css di base
Autore: Davide Borrello
Versione: 0.1
*/

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

#cesium {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

/* Logo iniziale: centrato in overlay */
/*#floating-logo {*/
/*    position: fixed;*/
/*    top: 10%;*/
/*    left: 10%;*/
/*    transform: translate(-50%, -50%);*/
/*    height: 80px;*/
/*    z-index: 10;*/
/*    cursor: pointer;*/
/*    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);*/
/*    opacity: 0.9;*/
/*    border-radius: 5px;*/
/*}*/

/*#floating-logo:hover {*/
/*    opacity: 1;*/
/*}*/

/* Header nascosto in alto */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: white;
    display: flex;
    align-items: center;
    padding: 0 24px;
    box-sizing: border-box;
    z-index: 20;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: top 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#header.visible {
    top: 0;
}

/* Logo dentro l’header (dopo l’espansione) */
.header-logo {
    height: 70px;
    margin-right: 20px;
    border-radius: 4px;
    opacity: 1;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

#header.visible #header-logo {
    opacity: 1;
    transform: scale(1);
}

.header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    opacity: 1;
    transform: translateY(-10px);
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

#header.visible .header-text {
    opacity: 1;
    transform: translateY(0);
}

.header-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 500;
    color: #2d3748;
    letter-spacing: -0.2px;
}

.header-subtitle {
    margin: 0;
    font-size: 0.82rem;
    color: #718096;
    font-weight: 400;
}

/*.btn-university {*/
/*    margin-left: auto;*/
/*    padding: 6px 16px;*/
/*    font-size: 0.85rem;*/
/*    font-weight: 500;*/
/*    color: #2b6cb0;*/
/*    background: rgba(43, 108, 176, 0.08);*/
/*    border: 1px solid rgba(43, 108, 176, 0.18);*/
/*    border-radius: 6px;*/
/*    text-decoration: none;*/
/*    cursor: pointer;*/
/*    opacity: 1;*/
/*    transform: translateY(-5px);*/
/*    transition: all 0.3s ease 0.2s;*/
/*}*/

#header.visible .btn-university {
    opacity: 1;
    transform: translateY(0);
}

.btn-university:hover {
    background: rgba(43, 108, 176, 0.15);
    border-color: rgba(43, 108, 176, 0.3);
    color: #2b6cb0;
}