@import url('https://fonts.googleapis.com/css2?family=Helvetica+Neue:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #000;
    background-color: #F0F0F0;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.1);
}

.logo-text {
    font-weight: 700;
    font-size: 24px;
    color: #000;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #FFD700;
    color: #1A1A2E;
    border: 2px solid #FFD700;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.2);
}

.nav-button:hover {
    background-color: #FFC300;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 195, 0, 0.3);
}

.nav-button:active {
    transform: translateY(0);
}

section.donations {
    padding: 160px 0 80px;
    background: #fff;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: #FFD700;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #1A1A2E;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.payment-methods {
    margin-bottom: 60px;
}

.method-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 20px 0;
}

.method-card {
    background: #F9F9F9;
    padding: 30px;
    border-radius: 12px;
    width: 350px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: calc(var(--delay) * 0.1s);
    border: 1px solid rgba(0,0,0,0.05);
}

.method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.payment-icon {
    font-size: 3rem;
    color: #1A1A2E;
    margin-bottom: 20px;
    display: block;
    transition: all 0.3s ease;
}

/* EFFETTI HOVER COMPLETI SULLE ICONE */
.method-card[data-method="paypal"] .payment-icon:hover,
.method-card[data-method="paypal"] .donate-btn:hover ~ .payment-icon,
.method-card[data-method="paypal"]:hover .payment-icon,
.method-card[data-method="paypal"] .donate-btn:hover + h4 + p + .payment-icon {
    color: #FFD700;
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
}

.method-card[data-method="revolut"] .payment-icon:hover,
.method-card[data-method="revolut"] .donate-btn:hover ~ .payment-icon,
.method-card[data-method="revolut"]:hover .payment-icon,
.method-card[data-method="revolut"] .donate-btn:hover + h4 + p + .payment-icon {
    color: #FFD700;
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
}

.method-card[data-method="iban"] .payment-icon:hover,
.method-card[data-method="iban"] .iban-details:hover ~ .payment-icon,
.method-card[data-method="iban"]:hover .payment-icon {
    color: #FFD700;
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
}

.method-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1A1A2E;
}

.method-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.donate-btn {
    background: #FFD700;
    color: #1A1A2E;
    padding: 15px 30px;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.donate-btn:hover {
    background: #FFC300;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 195, 0, 0.4);
}

.donate-btn:active {
    transform: translateY(0);
}

.donate-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.donate-btn:hover i {
    transform: translateY(-3px);
}

.iban-details {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: left;
    font-family: monospace;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.iban-details:hover {
    border-color: #FFD700;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

.security-info {
    margin: 60px 0;
}

.security-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 300px;
    text-align: left;
}

.feature i {
    font-size: 2rem;
    color: #FFD700;
    min-width: 40px;
}

/* SEZIONE FAQ MIGLIORATA */
.faq {
    max-width: 800px;
    margin: 60px auto;
    text-align: left;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 40px;
}

.faq-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #1A1A2E;
    position: relative;
}

.faq-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #FFD700;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.faq-item {
    margin-bottom: 30px;
    padding: 25px;
    border-radius: 12px;
    background: #F9F9F9;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.faq-item:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #FFD700;
    transform: translateX(5px);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h4 {
    font-size: 1.3rem;
    color: #1A1A2E;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h4::before {
    content: 'Q';
    display: inline-block;
    width: 28px;
    height: 28px;
    background: #FFD700;
    color: #1A1A2E;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    font-weight: bold;
    font-size: 0.9rem;
}

.faq-item p {
    color: #555;
    line-height: 1.7;
    padding-left: 38px;
    position: relative;
}

.faq-item p::before {
    content: 'A';
    display: inline-block;
    width: 28px;
    height: 28px;
    background: #1A1A2E;
    color: #FFD700;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    font-weight: bold;
    font-size: 0.9rem;
    position: absolute;
    left: 0;
    top: 0;
}

.faq-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: calc(var(--delay) * 0.1s);
}

/* FOOTER STYLES */
footer {
    background: #1A1A2E;
    color: white;
    text-align: center;
    padding: 40px 0;
}

footer p {
    margin: 15px 0;
    font-size: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icons a {
    color: white;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #FFD700;
    transform: scale(1.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .method-card {
        width: 300px;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .method-card {
        width: 100%;
        max-width: 400px;
    }
    
    section.donations {
        padding-top: 180px;
    }
    
    .security-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature {
        max-width: 100%;
    }

    /* FAQ responsive */
    .faq {
        padding: 25px;
    }
    
    .faq-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .donate-btn {
        padding: 12px 24px;
    }
    
    .method-card {
        padding: 20px;
    }
    
    .payment-icon {
        font-size: 2.5rem;
    }

    /* FAQ mobile */
    .faq-item {
        padding: 18px;
    }
    
    .faq-item h4 {
        font-size: 1.1rem;
    }
    
    .faq-item h4::before,
    .faq-item p::before {
        width: 24px;
        height: 24px;
        line-height: 24px;
    }
    
    .faq-item p {
        padding-left: 34px;
    }
}