/* ========================================
   STIFTUNG INFANTIDO - FOOTER
   ======================================== */

#footer {
    background: var(--infantido-dark);
    color: white;
    padding: 50px 0 30px 0;
    margin-top: 60px;
}

#css-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

#css-table .col h3 {
    color: white;
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    font-weight: 700;
}

#css-table .col p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

#css-table .col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#css-table .col li {
    margin-bottom: 10px;
}

#css-table .col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

#css-table .col a:hover {
    color: white;
    text-decoration: underline;
}

/* Newsletter Section */
.newsletter-section {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
}

.newsletter-section h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    font-size: 14px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    font-family: 'Lusitana', serif;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form .btn {
    background: var(--infantido-blue);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 13px;
}

.newsletter-form .btn:hover {
    background: var(--mission-color);
}

/* Sub Footer */
#subFooter {
    background: #1a1d20;
    color: rgba(255, 255, 255, 0.7);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#subFooter .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

#subFooter p {
    margin: 0;
    font-size: 13px;
}

.legal-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: white;
}

.legal-links .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #footer {
        padding: 40px 0 20px 0;
    }

    #css-table {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    #css-table .col {
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    #css-table .col:last-child {
        border-bottom: none;
    }

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

    .newsletter-form input[type="email"],
    .newsletter-form .btn {
        width: 100%;
    }

    #subFooter .wrapper {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    #footer {
        padding: 30px 0 15px 0;
    }

    #css-table .col h3 {
        font-size: 14px;
    }

    #css-table .col p,
    #css-table .col a,
    #css-table .col li {
        font-size: 13px;
    }

    .newsletter-section h3 {
        font-size: 16px;
    }

    .newsletter-section p {
        font-size: 13px;
    }

    .newsletter-form input[type="email"],
    .newsletter-form .btn {
        font-size: 13px;
        padding: 8px 12px;
    }

    #subFooter p,
    .legal-links a {
        font-size: 12px;
    }
}
