@charset "UTF-8"; /* Reset e ottimizzazioni base */ * { box-sizing: border-box; } body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } img { max-width: 100%; height: auto; }
/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #097bc0;
    --secondary-color: #2b4a72;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --text-dark: #2b4a72;
    --border-light: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    scroll-behavior: smooth;
}

/* Header ottimizzato */
header {
    background-color: var(--white);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

header img {
    height: 50px;
    width: auto;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

nav a:hover {
    color: var(--primary-color);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Menu mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Layout sections */
.section {
    padding: 100px 2rem 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.section:first-of-type {
    padding-top: 120px;
}

.light-section {
    background-color: var(--light-bg);
    margin: 0;
    padding: 80px 0;
}

.light-section .section {
    padding: 20px 2rem;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Merriweather', serif;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Immagini responsive */
.responsive {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin: 2rem auto;
    display: block;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.hero-logo {
    max-width: 400px;
    margin-bottom: 2rem;
}

/* Immagini specifiche per sezioni */
.section-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: 2rem auto;
    display: block;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Grid per immagini del comitato */
.img-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.img-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.img-grid img:hover {
    transform: translateY(-5px);
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    margin: 0.5rem;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

/* Liste migliorate */
.features-list {
    list-style: none;
    max-width: 600px;
    margin: 2rem auto;
}

.features-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Utilities */
.center {
    text-align: center;
}

.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* Contatti */
.contact-info {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--secondary-color), #1a2f4a);
    color: var(--white);
    text-align: center;
    padding: 3rem 2rem 2rem;
}

footer a {
    color: var(--white);
    text-decoration: underline;
}

footer a:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 2rem;
        box-shadow: var(--shadow);
    }

    nav.active {
        display: flex;
    }

    header {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section {
        padding: 80px 1rem 40px;
    }

    .hero-logo {
        max-width: 300px;
    }

    .section-image {
        max-width: 400px;
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
    }

    .img-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Animazioni */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Skip link per accessibilità */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 8px 8px;
}

.skip-link:focus {
    top: 0;
}
