/* RESET E IMPOSTAZIONI SCUOLA (VERDANA) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Verdana', sans-serif;
}

:root {
    --accent-red: #ff0000; /* Rosso Videomaker */
    --dark-blue: #2c3e50;
    --light-bg: #f0f2f5;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-bg);
    color: #333;
    line-height: 1.25; /* Interlinea multipla 1,2 */
}

/* NAVIGAZIONE */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    z-index: 1000;
    text-align: center;
}

nav ul { list-style: none; }
nav ul li { display: inline; margin: 0 20px; }
nav a {
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: bold;
    font-size: 14px;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    padding-bottom: 5px;
}

nav a:hover {
    color: var(--accent-red);
    border-bottom: 2px solid var(--accent-red);
}

/* STRUTTURA SLIDE CON ANIMAZIONE EVIDENTE */
.slide {
    background: white;
    min-height: 100vh;
    padding: 100px 10% 60px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 2px solid #eee;
    
    opacity: 0;
    transform: translateY(100px) scale(0.95); 
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1); 
    will-change: opacity, transform;
}

.slide.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* TITOLI */
h1 { 
    font-size: 42px; 
    color: var(--accent-red); 
    text-align: center; 
    margin-bottom: 15px;
    letter-spacing: -1px;
}
h2.section-title { font-size: 28px; border-bottom: 3px solid var(--accent-red); padding-bottom: 10px; margin-bottom: 30px; }
h3 { font-size: 20px; color: var(--dark-blue); margin-bottom: 15px; }

/* NUOVO LAYOUT DI DETTAGLIO PER LA SLIDE INTRODUTTIVA */
.intro-meta {
    margin-bottom: 25px;
    font-size: 16px;
    color: #444;
}

.subsection-title {
    font-size: 18px;
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-weight: bold;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

.company-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    min-height: 180px;
}

.logo-wrapper {
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.logo-wrapper img {
    max-height: 100%;
    max-width: 90%;
    object-fit: contain;
}

.company-info h4 {
    font-size: 15px;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.hours-badge {
    display: inline-block;
    background: #fff0f0;
    color: var(--accent-red);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid rgba(255, 0, 0, 0.15);
}

.orientation-box {
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 25px;
}

.orientation-box h3 {
    font-size: 18px;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.orientation-box ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
}

.orientation-box ul li {
    position: relative;
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.4;
}

/* Indicatore quadrato rosso prima di ogni attività */
.orientation-box ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 7px;
    height: 7px;
    background: var(--accent-red);
}

/* BOX E CARDS GENERALI */
.candidato-box {
    background: #f9f9f9;
    padding: 30px;
    border-left: 10px solid var(--accent-red);
    margin: 40px auto;
    width: fit-content;
    font-size: 18px;
}

.card, .reflection-box {
    background: #fff;
    border: 1px solid #ddd;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.server-notice {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin-top: 50px;
}

footer {
    padding: 20px;
    text-align: center;
    background: var(--dark-blue);
    color: white;
    font-size: 12px;
}

.logo {
    width: 20%;
    display: inline-block;
    margin: 0 10px 20px 10px;
}

.logo-kennedy {
    width: 30%;
    display: inline-block;
    margin: 0 10px 20px 10px;
}