/* ============================================
   Modern Footer Styles - ONG Theme
   Adapté depuis le footer original avec couleurs ONG
   ============================================ */

.modern-footer {
    background: linear-gradient(135deg, #243424 0%, #1a2a1a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%231E8F4A" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.modern-footer .container {
    position: relative;
    z-index: 2;
}

/* Footer Main */
.footer-main {
    padding: 4rem 0 2rem;
}

/* Footer Brand */
.footer-brand {
    margin-bottom: 2rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.brand-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--ong-primary-color), #1a7a3d);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(30, 143, 74, 0.3);
}

.brand-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.brand-tagline {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin: 0;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--ong-primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(30, 143, 74, 0.4);
}

/* Footer Sections */
.footer-section {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--ong-primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-link:hover {
    color: var(--ong-primary-color);
    transform: translateX(5px);
}

.footer-link i {
    color: white;
    width: 16px;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(30, 143, 74, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.85rem;
    color: #bdc3c7;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: white;
    font-weight: 500;
}

/* Newsletter Section */
.newsletter-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-title {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.newsletter-description {
    color: #bdc3c7;
    margin: 0;
}

.newsletter-form {
    margin-top: 1rem;
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 25px 0 0 25px;
    padding: 0.75rem 1.5rem;
}

.newsletter-input::placeholder {
    color: #bdc3c7;
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--ong-primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 143, 74, 0.25);
    color: white;
}

.newsletter-btn {
    background: var(--ong-primary-color);
    border: 1px solid var(--ong-primary-color);
    color: white;
    border-radius: 0 25px 25px 0;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #1a7a3d;
    border-color: #1a7a3d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 143, 74, 0.4);
}

/* Footer Bottom */
.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: #bdc3c7;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.legal-link {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--ong-primary-color);
}

/* ============================================
   Responsive Footer
   ============================================ */
@media (max-width: 991px) {
    .footer-main {
        padding: 3rem 0 2rem;
    }

    .newsletter-section {
        text-align: center;
    }

    .newsletter-form {
        margin-top: 1.5rem;
    }

    .footer-legal {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .brand-logo {
        justify-content: center;
        text-align: center;
    }

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

    .footer-legal {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .newsletter-input {
        border-radius: 25px;
        margin-bottom: 1rem;
    }

    .newsletter-btn {
        border-radius: 25px;
        width: 100%;
    }
}
