/* assets/css/style.css */

/* Import font moderno e leggibile */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* --- RESET & VARIABILI --- */
:root {
    --primary-orange: #e65100;
    --secondary-yellow: #f4a300;
    --gold: #ffd700;
    --light-gold: #fff4d6;
    --dark-gold: #b8860b;
    --burnt-orange: #cc5200;
    --deep-orange: #d84315;
    --bg-dark: #1a252f;
    --text-white: #ffffff;
    --text-dark: #2c2c2c;
    --text-elegant: #3e2723;
    --text-gold: #b8860b;
    --success: #51cf66;
    --error: #ff6b6b;
    --gradient-orange: linear-gradient(135deg, #f4a300 0%, #e65100 100%);
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ffb347 50%, #ff8c42 100%);
    --gradient-elegant: linear-gradient(135deg, #b8860b 0%, #d4af37 50%, #ffd700 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    /* Sfondo arancione-oro più chiaro */
    background: linear-gradient(135deg, #f4d5a6 0%, #f0c98a 15%, #e8b76e 30%, #dfa855 50%, #d89840 70%, #d08a35 85%, #c87d2a 100%);
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.6;
    display: flex; flex-direction: column; min-height: 100vh;
}

a { text-decoration: none; transition: 0.3s; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* =========================================
   HEADER - Effetto Vetro (Glassmorphism)
   ========================================= */
.main-header {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    padding: 10px 0;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 8px 32px rgba(255, 138, 0, 0.2);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Section (sinistra) */
.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
}

.site-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-orange);
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Navigation (destra) */
.main-nav .menu {
    display: flex;
    gap: 35px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 0;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.main-nav a:hover {
    color: var(--deep-orange);
    border-bottom-color: var(--primary-orange);
    transform: translateY(-2px);
}

.main-nav a.active {
    color: var(--deep-orange);
    font-weight: 700;
    border-bottom-color: var(--gold);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

/* =========================================
   CONTENUTO PRINCIPALE & FORM (Dal tuo CSS)
   ========================================= */
main.page-content {
    flex: 1;
    padding: 40px 20px;
}

.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: fadeIn 0.6s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-header {
    background: var(--gradient-orange);
    color: white;
    padding: 30px;
    text-align: center;
}

.form-header h1 { font-size: 2.2em; margin-bottom: 10px; font-weight: 700; }
.form-header p { opacity: 0.95; font-size: 1.1em; }

.registration-form { padding: 40px; }

.form-section { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 2px solid #f0f0f0; }
.form-section:last-of-type { border-bottom: none; }
.form-section h2 {
    color: var(--primary-orange); font-size: 1.4em; margin-bottom: 20px;
    padding-bottom: 5px; border-bottom: 3px solid var(--secondary-yellow); display: inline-block;
}

.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 15px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: #333; font-weight: 600; }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="date"],
.form-group input[type="tel"] {
    width: 100%; padding: 12px 15px;
    border: 2px solid #e0e0e0; border-radius: 8px;
    font-size: 1em; transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none; border-color: var(--secondary-yellow);
    box-shadow: 0 0 0 3px rgba(244, 163, 0, 0.15);
}

/* Upload Style */
.upload-box {
    border: 2px dashed var(--secondary-yellow);
    background: #fffcf5;
    padding: 30px; text-align: center; border-radius: 10px; cursor: pointer;
    transition: 0.3s;
}
.upload-box:hover { background: #fff8e1; border-color: var(--primary-orange); }

.btn-submit {
    width: 100%; padding: 15px;
    background: var(--gradient-orange); color: white;
    border: none; border-radius: 10px;
    font-size: 1.2em; font-weight: 700; cursor: pointer;
    box-shadow: 0 4px 15px rgba(244, 163, 0, 0.4);
    transition: 0.3s; text-transform: uppercase;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(244, 163, 0, 0.6); }
.btn-submit:disabled { background: #ccc; cursor: not-allowed; transform: none; box-shadow: none; }

.alert {
    padding: 20px; text-align: center; border-radius: 10px; margin-top: 20px; display: none;
}
.alert-success { background: linear-gradient(135deg, #51cf66 0%, #37b24d 100%); color: white; }
.alert-error { background: #ffe3e3; color: #c92a2a; border: 1px solid #ffa8a8; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   FOOTER (Nuovo design richiesto)
   ========================================= */
.main-footer {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: #1a1a1a;
    padding: 30px 0 15px; /* Ridotto da 50px/20px a 30px/15px */
    position: relative;
    box-shadow: 0 -8px 32px rgba(255, 138, 0, 0.15);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px; /* Ridotto da 50px a 30px */
    align-items: start;
}

/* Footer Sinistra - Contatti */
.footer-left h3 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    margin-bottom: 12px;
    opacity: 0.95;
    transition: all 0.3s ease;
}

.contact-item:hover {
    opacity: 1;
    transform: translateX(5px);
}

.contact-item svg {
    flex-shrink: 0;
    stroke: var(--dark-gold);
    transition: stroke 0.3s ease;
}

.contact-item:hover svg {
    stroke: var(--primary-orange);
}

.contact-item a {
    color: var(--text-elegant);
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.contact-item a:hover {
    background: var(--gradient-elegant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer Centro - Info Associazione */
.footer-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    width: 48px; /* Ridotto del 40%: 80px * 0.6 = 48px */
    height: auto;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.footer-subtitle {
    font-size: 0.75rem;
    opacity: 0.85;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
    text-transform: uppercase;
    color: var(--dark-gold);
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.footer-address {
    font-size: 0.8rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 5px;
    color: var(--text-elegant);
    font-weight: 500;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.footer-cf {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 12px;
    color: var(--text-elegant);
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.footer-copyright {
    margin-top: 20px;
    font-size: 0.8rem;
    opacity: 0.75;
    color: var(--dark-gold);
    font-style: italic;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Footer Destra - Donazione e Social */
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.donation-wrapper {
    text-align: center;
}

.donation-call {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 12px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.btn-donazione {
    background: var(--dark-gold);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4);
    transition: all 0.3s ease;
    border: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.btn-donazione:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.6);
    background: var(--gold);
}

.footer-logo-small {
    width: 60px;
    height: auto;
    opacity: 0.7;
    transition: 0.3s;
}

.footer-logo-small:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--gold) 100%);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px) scale(1.15);
    box-shadow: 0 6px 20px rgba(230, 81, 0, 0.5);
}

.social-icon svg {
    width: 22px;
    height: 22px;
    fill: white;
}

/* =========================================
   CHRISTMAS SNOW EFFECT ❄️
   ========================================= */
.snowflake {
    position: fixed;
    top: -10px;
    z-index: 9999;
    color: white;
    font-size: 1em;
    pointer-events: none;
    animation: fall linear infinite;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

/* =========================================
   ORGANIC FLOATING BLOBS
   ========================================= */
.organic-layout {
    min-height: 500px;
    position: relative;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.organic-blob {
    position: relative;
    padding: 50px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    z-index: 10;
}

/* Forma a patata con border-radius variabile */
.blob-left {
    width: 400px;
    height: 350px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(15px);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                inset 0 2px 20px rgba(255, 255, 255, 0.2);
    animation: float-left 6s ease-in-out infinite;
    margin-left: 10%;
}

.blob-right {
    width: 380px;
    height: 320px;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.4) 0%, rgba(230, 81, 0, 0.35) 100%);
    backdrop-filter: blur(15px);
    border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
    box-shadow: 0 20px 60px rgba(184, 134, 11, 0.4),
                inset 0 2px 20px rgba(255, 255, 255, 0.15);
    animation: float-right 7s ease-in-out infinite;
    margin-right: 10%;
}

/* Animazioni fluttuanti */
@keyframes float-left {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    25% {
        transform: translateY(-20px) rotate(2deg);
        border-radius: 50% 50% 40% 60% / 55% 40% 60% 45%;
    }
    50% {
        transform: translateY(-30px) rotate(-2deg);
        border-radius: 40% 60% 50% 50% / 45% 60% 40% 55%;
    }
    75% {
        transform: translateY(-15px) rotate(1deg);
        border-radius: 55% 45% 60% 40% / 50% 55% 45% 50%;
    }
}

@keyframes float-right {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
    }
    30% {
        transform: translateY(-25px) rotate(-2deg);
        border-radius: 50% 50% 60% 40% / 50% 60% 40% 50%;
    }
    60% {
        transform: translateY(-35px) rotate(2deg);
        border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%;
    }
    80% {
        transform: translateY(-10px) rotate(-1deg);
        border-radius: 60% 40% 55% 45% / 60% 50% 50% 40%;
    }
}


/* Hover interactions - forme che reagiscono */
.organic-blob:hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4),
                inset 0 2px 30px rgba(255, 255, 255, 0.3);
}

.blob-left:hover {
    animation-play-state: paused;
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
}

.blob-right:hover {
    animation-play-state: paused;
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
}

/* Contenuto dentro le forme */
.blob-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.blob-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.blob-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.95;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    line-height: 1.5;
}

/* Pulsanti dentro la forma destra */
.blob-btn {
    display: block;
    padding: 18px 40px;
    margin: 15px auto;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.blob-btn-primary {
    background: white;
    color: var(--deep-orange);
}

.blob-btn-primary:hover {
    background: var(--gold);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.blob-btn-secondary {
    background: var(--dark-gold);
    color: white;
}

.blob-btn-secondary:hover {
    background: white;
    color: var(--dark-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
}

/* =========================================
   BANNER RUNTS SCORREVOLE (sotto header)
   ========================================= */
.runts-banner {
    position: sticky;
    top: 70px; /* Sotto l'header che è sticky a top: 0 */
    left: 0;
    width: 100%;
    background: rgba(255, 0, 0, 0.25);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    color: #1a1a1a;
    overflow: hidden;
    z-index: 999;
    border-bottom: 2px solid rgba(255, 235, 59, 0.8);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
    height: 35px;
    display: flex;
    align-items: center;
}

.runts-banner-content {
    display: flex;
    animation: scroll-left 30s linear infinite;
    white-space: nowrap;
    padding: 0 20px;
}

.runts-banner-text {
    font-weight: 900;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0 80px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.runts-banner-text::before,
.runts-banner-text::after {
    content: "⚠️";
    font-size: 1.2rem;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Pulsante Home Fluttuante */
.btn-home-float {
    display: none; /* Nascosto su richiesta */
}

.btn-home-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(230, 81, 0, 0.7);
    background: linear-gradient(135deg, var(--secondary-yellow) 0%, var(--primary-orange) 100%);
}

.btn-home-float svg {
    width: 28px;
    height: 28px;
    fill: white;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* =========================================
   HERO SECTION (Homepage)
   ========================================= */
.hero {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-yellow) 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s;
    text-transform: uppercase;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: var(--primary-orange);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-orange);
}

/* =========================================
   CARDS & CONTENT SECTIONS
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transition: all 0.3s;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(230, 81, 0, 0.15);
}

.card-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.card h3 {
    color: var(--primary-orange);
    margin-bottom: 15px;
    font-size: 1.6em;
}

.card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.card-link {
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 1.05em;
}

.card-link:hover {
    color: var(--secondary-yellow);
}

/* Info Section */
.info-section {
    text-align: center;
    margin-top: 60px;
}

.info-section h2 {
    font-size: 2.5em;
    color: var(--primary-orange);
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    background: linear-gradient(135deg, rgba(244, 163, 0, 0.05) 0%, rgba(230, 81, 0, 0.1) 100%);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-orange);
}

.value-item strong {
    display: block;
    font-size: 1.3em;
    color: var(--primary-orange);
    margin-bottom: 10px;
}

.value-item p {
    color: #666;
    line-height: 1.7;
}

/* Content Pages */
.content-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.content-page h1 {
    font-size: 3em;
    color: var(--primary-orange);
    margin-bottom: 30px;
}

.content-page h2 {
    font-size: 2em;
    color: var(--primary-orange);
    margin: 40px 0 20px;
}

.content-page p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
}

.content-page ul {
    list-style: disc;
    margin-left: 30px;
    margin-bottom: 20px;
}

.content-page li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* =========================================
   NEWS BANNER (Google News from n8n)
   ========================================= */
.news-section {
    margin-bottom: 20px;
}

.news-section-title {
    text-align: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 0 20px;
}

.news-banner {
    width: 100%; /* Full width - nessun margine */
    background: white;
    border-top: 2px solid var(--deep-orange);
    border-bottom: 2px solid var(--deep-orange);
    padding: 8px 0; /* Più stretto verticalmente */
    overflow: hidden;
    position: relative;
}

/* Neve accumulata sul bordo inferiore del banner ❄️ */
.news-banner::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to top,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.7) 40%,
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: 50% 50% 0 0 / 30% 30% 0 0;
    filter: blur(2px);
    pointer-events: none;
    z-index: 10;
}

.news-banner-row {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 30px; /* Altezza singola riga */
    display: flex;
    align-items: center;
}

.news-banner-content {
    display: inline-block;
    padding-left: 100%;
    white-space: nowrap;
}

/* Prima riga: veloce (30s) */
.news-banner-row-fast .news-banner-content {
    animation: scroll-news-fast 30s linear infinite;
}

/* Seconda riga: lenta (60s) */
.news-banner-row-slow .news-banner-content {
    animation: scroll-news-slow 60s linear infinite;
}

.news-item {
    display: inline-block;
    color: var(--deep-orange);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0 40px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.news-item a {
    color: var(--deep-orange);
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-item a:hover {
    color: var(--burnt-orange);
    text-decoration: underline;
}

.news-item::before {
    content: "📰";
    margin-right: 8px;
    font-size: 1rem;
}

.news-item::after {
    content: "•";
    margin: 0 15px;
    color: var(--deep-orange);
    font-weight: bold;
}

.news-item:last-child::after {
    content: "";
}

/* Animazione veloce (30 secondi) */
@keyframes scroll-news-fast {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Animazione lenta (60 secondi) */
@keyframes scroll-news-slow {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Loading state */
.news-banner-loading {
    color: var(--deep-orange);
    font-style: italic;
    font-size: 0.85rem;
    padding: 0 20px;
}

/* =========================================
   RESPONSIVE - TABLET (max-width: 1024px)
   ========================================= */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 30px;
    }

    .site-title {
        font-size: 1.1rem;
    }

    .hero-title {
        font-size: 2.8em;
    }

    .hero-subtitle {
        font-size: 1.3em;
    }

    .footer-container {
        gap: 40px;
        padding: 0 30px;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        flex-direction: column;
    }
}

/* =========================================
   RESPONSIVE - TABLET SMALL (max-width: 768px)
   ========================================= */
@media (max-width: 768px) {
    /* Header Mobile */
    .header-container {
        padding: 0 20px;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .site-title {
        font-size: 0.95rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        padding: 20px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav .menu {
        flex-direction: column;
        gap: 15px;
    }

    /* Hero Mobile */
    .hero {
        padding: 60px 20px;
    }

    .hero-title {
        font-size: 2.2em;
    }

    .hero-subtitle {
        font-size: 1.1em;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Footer Mobile */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 0 20px;
    }

    .footer-left {
        align-items: center;
    }

    .footer-left h3 {
        text-align: center;
    }

    .footer-right {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Cards Grid Mobile */
    .cards-grid {
        grid-template-columns: 1fr;
    }

    /* Floating Home Button Mobile */
    .btn-home-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .btn-home-float svg {
        width: 24px;
        height: 24px;
    }

    /* Form Mobile */
    .form-wrapper {
        margin: 30px 15px;
    }

    .form-header h1 {
        font-size: 2em;
    }

    .btn-donazione {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Responsive per forme organiche */
@media (max-width: 1024px) {
    .organic-layout {
        flex-direction: column;
        padding: 60px 20px;
        gap: 50px;
    }

    .blob-left, .blob-right {
        margin-left: auto;
        margin-right: auto;
    }

    .blob-left {
        width: 350px;
        height: 300px;
    }

    .blob-right {
        width: 330px;
        height: 280px;
    }

    .blob-title {
        font-size: 2rem;
    }

    .blob-subtitle {
        font-size: 1rem;
    }

    .blob-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .blob-left {
        width: 300px;
        height: 260px;
    }

    .blob-right {
        width: 280px;
        height: 240px;
    }

    .blob-title {
        font-size: 1.7rem;
    }

    .blob-subtitle {
        font-size: 0.95rem;
    }
}

/* =========================================
   RESPONSIVE - MOBILE (max-width: 480px)
   ========================================= */
@media (max-width: 480px) {
    .logo {
        width: 35px;
        height: 35px;
    }

    .site-title {
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 1.8em;
    }

    .hero-subtitle {
        font-size: 1em;
    }

    .hero {
        padding: 40px 15px;
    }

    .footer-container {
        padding: 0 15px;
    }

    .footer-logo {
        width: 60px;
    }

    .footer-title {
        font-size: 1.2rem;
    }

    .donation-call {
        font-size: 1.1rem;
    }

    .btn-donazione {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }

    .content-page h1 {
        font-size: 2em;
    }

    .content-page h2 {
        font-size: 1.5em;
    }

    .card h3 {
        font-size: 1.3em;
    }

    .form-header h1 {
        font-size: 1.6em;
    }

    .btn-submit {
        font-size: 0.9rem;
        padding: 12px 20px;
    }

    /* RUNTS Banner Mobile */
    .runts-banner {
        height: 32px;
        top: 70px;
    }

    .runts-banner-text {
        font-size: 0.85rem;
        padding: 0 50px;
        letter-spacing: 1.5px;
    }

    .runts-banner-text::before,
    .runts-banner-text::after {
        font-size: 1rem;
    }

    .news-section-title {
        font-size: 0.95rem;
        margin-bottom: 10px;
        letter-spacing: 2px;
    }

    .news-banner {
        padding: 6px 0;
    }

    .news-banner-row {
        height: 25px;
    }

    .news-item {
        font-size: 0.8rem;
        padding: 0 25px;
    }
}
