.site-logo {
    width: 80px;
    height: 80px;
    position: left;
    allign: left;
    top: 50%;
    left: 20px;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -260px;
    width: 240px;
    height: 100%;
    background: rgba(169, 184, 244, 0.85);
    backdrop-filter: blur(8px);
    border-right: 1px solid rgba(255,255,255,0.1);
    padding-top: 80px;
    transition: left 0.4s ease;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(125,211,252,0.3), 0 0 40px rgba(192,132,252,0.2);
}

.side-menu.open {
    left: 0;
}

.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-menu li {
    margin: 20px 0;
}

.side-menu a {
    color: #05131a;
    text-decoration: none;
    font-weight: 800;
    padding: 10px 20px;
    display: block;
    transition: all 0.3s ease;
    position: relative;
}

.side-menu a:hover {
    color: #fff;
    text-shadow: 0 0 8px #7dd3fc, 0 0 15px #c084fc;
}
.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    color: #212121;
    cursor: pointer;
    z-index: 1001;
    text-shadow: 0 0 10px #7dd3fc, 0 0 20px #c084fc;
    transition: transform 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.1);
}
#menuOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 6, 10, 0.6);
    backdrop-filter: blur(3px);
    display: none;
    z-index: 900;
}

#menuOverlay.show {
    display: block;
}
/* ----------------------------------------------------
   SFONDO COSMICO ANIMATO
body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: #05060a;
    color: #e8e8e8;
    overflow-x: hidden;
}
body {
    background-image: url("../assets/pad19comesfondo.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #05060a; /* fallback */
}

---------------------------------------------------- */
body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: #05060a;
    color: #e8e8e8;
    overflow-x: hidden;
}


.stars {
    position: fixed;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
    background-size: 3px 3px;
    animation: drift 60s linear infinite;
    opacity: 0.25;
    z-index: -2;
}

@keyframes drift {
    from { transform: translate(0,0); }
    to { transform: translate(200px, 400px); }
}

/* ----------------------------------------------------
   HEADER
---------------------------------------------------- */
header {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(180deg, #0b0c10, #05060a);
background: linear-gradient(180deg, #ffffff, #988e78);
background-image: url("../assets/pad19comesfondo.jpg");


}

h1 {
    font-size: 3.5rem;
    margin: 0;
    background: linear-gradient(90deg, #7dd3fc, #c084fc);
background: linear-gradient(90deg, #07080c, #0b111d);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px #7dd3fc55; }
    to { text-shadow: 0 0 25px #c084fcaa; }
}

h2 {
    margin-top: 1px;
    font-size: 2rem;
    color: #02367a;
}

p {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.15rem;
    opacity: 0.9;
}

.section {
    padding: 70px 20px;
    text-align: center;
}

/* ----------------------------------------------------
   CARDS FUTURISTICHE
---------------------------------------------------- */
.pillars {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.card {
    background: rgba(167,39,250,0.05);
    padding: 25px;
    border-radius: 14px;
    width: 260px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(125, 211, 252, 0.25);
}

/* ----------------------------------------------------
   LINEA DEL TEMPO
---------------------------------------------------- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto;
    padding-left: 20px;
    border-left: 2px solid #7dd3fc55;
}

.step {
    margin: 40px 0;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.8s ease;
}

.step.visible {
    opacity: 1;
    transform: translateX(0);
}

.step h3 {
    color: #927dfc;
    margin-bottom: 8px;
}

/* ----------------------------------------------------
   PULSANTE PROGRAMMA
---------------------------------------------------- */
.program-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #7dd3fc, #c084fc);
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
    font-size: 1rem;
    margin-top: 20px;
}

.program-btn:hover {
    opacity: 0.8;
}

/* ----------------------------------------------------
   FORM DI ISCRIZIONE
---------------------------------------------------- */
.form-box {
    max-width: 500px;
    margin: 60px auto;
    padding: 30px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1rem;
}

input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 10px #7dd3fc88;
}

button {
    margin-top: 10px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #7dd3fc, #c084fc);
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

button:hover,
.external-btn:hover {
    opacity: 0.8;
}

.external-btn {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
    background: linear-gradient(90deg, #7dd3fc, #c084fc);
    color: #000;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

/* ----------------------------------------------------
   MODAL PROGRAMMA
---------------------------------------------------- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(221, 224, 236, 0.85);
    backdrop-filter: blur(6px);
    overflow-y: auto;
}

.modal-content {
    background: rgba(236, 229, 200, 0.751);
    margin: 40px auto;
    padding: 30px;
    border: 10px solid rgba(234, 193, 193, 0.1);
    width: 80%;
    max-width: 700px;
    max-height: calc(100vh - 80px);
     max-height: fit-content;
    border-radius: 16px;
    color: #000000;
    animation: fadeIn 0.6s ease;
}

.modal-section {
    margin: 20px 0;
    text-align: left;
}

.close {
    float: right;
    font-size: 2rem;
    cursor: pointer;
    color: #080110;
}

.close:hover {
    color: #7dd3fc;
}

/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */
footer {
    padding: 40px 20px;
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
}
