
/* --- CSS VARIABLES (Event Theming basato sulle immagini) --- */
:root {
    /* Colori presi dal logo Oltre i Passi e dalle locandine */
    --primary-green: #2C5E3B; /* Verde bosco del logo Oltre i Passi */
    --primary-earth: #B56B2E; /* Terra bruciata/Arancio del logo */
    --primary-sand: #F2E3C6;  /* Colore sfondo mappa/sabbia */
    --primary-blue: #2B6DA1;  /* Blu Cubish */

    --bg-white: #FFFFFF;
    --text-dark: #2D2D2D; 
    --text-gray: #5F6368;
    --border-light: #E8EAED;
}

/* --- GLOBAL STYLES --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: var(--bg-white); color: var(--text-dark); line-height: 1.6; }
a { text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.rounded-img { border-radius: 12px; width: 100%; height: auto; display: block; object-fit: cover; }
.shadow { box-shadow: 0 10px 30px rgba(0,0,0,0.08); }

/* --- NAVIGAZIONE --- */
nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 5%; border-bottom: 1px solid var(--border-light); background: var(--bg-white); }

/* --- BOTTONI --- */
.btn-primary { background-color: var(--primary-earth); color: white; padding: 12px 24px; border-radius: 8px; font-weight: 600; transition: all 0.3s ease; display: inline-block; }
.btn-primary:hover { background-color: #9A5925; transform: translateY(-2px); }
.btn-outline-light { color: white; border: 2px solid white; padding: 12px 24px; border-radius: 8px; font-weight: 600; transition: all 0.3s ease; display: inline-block; }
.btn-outline-light:hover { background-color: white; color: var(--primary-green); }
.btn-merch { background-color: var(--primary-green); color: white; padding: 12px 24px; border-radius: 8px; font-weight: 600; display: inline-block; transition: all 0.3s ease; }
.btn-merch:hover { background-color: #1A3E26; }

/* --- HERO SECTION --- */
.event-hero { 
    position: relative; 
    background-image: url('651686003_1367595405384886_4119846022930734920_n-4.jpg'); /* Immagine paesaggio francescano */
    background-size: cover; 
    background-position: center; 
    color: white; 
    padding: 120px 20px; 
    text-align: center; 
}
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(44, 94, 59, 0.7); /* Verde overlay */ z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.event-dates { background: rgba(255,255,255,0.2); padding: 6px 16px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; letter-spacing: 1px; display: inline-block; margin-bottom: 20px; }
.event-hero h1 { font-size: 4rem; font-weight: 800; line-height: 1.1; margin-bottom: 10px; }
.subtitle { font-size: 2rem; font-weight: 500; color: var(--primary-sand); margin-bottom: 24px; }
.hero-desc { font-size: 1.2rem; margin-bottom: 40px; opacity: 0.9; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; }

/* --- ABOUT SECTION --- */
.about-event { padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 2.5rem; color: var(--primary-green); margin-bottom: 24px; }
.about-text p { margin-bottom: 16px; font-size: 1.1rem; color: var(--text-gray); }

/* --- PARTNERS NETWORK --- */
.partners-network { padding: 80px 0; background-color: var(--primary-sand); }
.partners-network h2 { font-size: 2.5rem; color: var(--primary-green); margin-bottom: 50px; }
.network-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.network-card { background: white; padding: 30px; border-radius: 12px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.card-img { width: 100%; height: 160px; object-fit: cover; border-radius: 8px; margin-bottom: 20px; }
.card-img-placeholder { width: 100%; height: 160px; border-radius: 8px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; color: white; }
.network-card h3 { color: var(--primary-earth); margin-bottom: 15px; font-size: 1.3rem; }
.network-card p { color: var(--text-gray); font-size: 0.95rem; }

/* --- MAPPA SECTION --- */
.map-section { padding: 80px 0; }
.map-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.map-text h2 { font-size: 2.5rem; color: var(--primary-green); margin-bottom: 24px; }
.map-text p { margin-bottom: 24px; font-size: 1.1rem; color: var(--text-gray); }
.feature-list { list-style: none; }
.feature-list li { margin-bottom: 16px; font-size: 1.1rem; }

/* --- ACTION SECTIONS (T-shirt & Quiz) --- */
.action-sections { padding: 80px 0; }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.action-card { border-radius: 16px; padding: 50px 40px; color: white; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.merchandise-card { background: linear-gradient(135deg, var(--primary-green), #1A3E26); }
.quiz-card { background: linear-gradient(135deg, var(--primary-earth), #9A5925); }
.action-card h3 { font-size: 2rem; margin-bottom: 20px; }
.action-card p { margin-bottom: 30px; font-size: 1.1rem; opacity: 0.9; }

/* --- FOOTER --- */
.event-footer { background-color: #111; color: white; padding: 40px 20px; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .event-hero h1 { font-size: 2.8rem; }
    .subtitle { font-size: 1.5rem; }
    .hero-buttons { flex-direction: column; }
    .about-grid, .map-layout, .action-grid { grid-template-columns: 1fr; gap: 40px; }
}
