/* ===== FONT & RESET ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: #1a1a1a;
    line-height: 1.6;
}

/* ===== HERO ===== */
.hero {
    height: 60vh;
    background: url("/blog_di_informatica/heroblog.avif") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}
.hero-content {
    position: relative;
    color: #fff;
    max-width: 800px;
    padding: 20px;
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 12px;
}
.hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* ===== MAIN CONTENT ===== */
main {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

/* ===== FAQ ===== */
.faq-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 20px;
}
.faq-item {
    margin-bottom: 20px;
}
.faq-domanda {
    cursor: pointer;
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
}
.faq-risposta {
    display: none;
    padding-left: 10px;
    color: #555;
    font-size: 16px;
    line-height: 1.5;
}
.faq-risposta.visibile {
    display: block;
}

/* ===== LUOGHI ===== */
.luoghi-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 12px;
}
#lista-luoghi {
    list-style: disc;
    padding-left: 20px;
}
.luogo {
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: background 0.2s;
}
.luogo.evidenziato {
    background-color: #4CAF50;
    font-weight: bold;
    color: white;
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 60px;
    padding: 30px 0;
    border-top: 1px solid #eee;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    .hero p {
        font-size: 16px;
    }
}
