/* Footer Principal */
.blog-footer {
    background: var(--blue);
    color: var(--white);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 26px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--white));
}

/* Logo */
.footer-logo {
    width: 100%; height: 80px;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.footer-logo img{
    width: 100%; height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Description */
.footer-description {
    color: var(--white);
    margin: 16px auto;
    text-align: center;
}

/* Liens sociaux */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--red);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 180, 219, 0.3);
}

/* Liste des liens */
.footer-links {
    list-style: none;
}

.footer-links li {
    padding: 8px 0;
}

.footer-links li:not(:last-child){
    border-bottom: 1px solid var(--light-white);
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    transition: transform 0.3s ease;
    color: var(--red);
}

.footer-links a:hover {
    color: var(--red);
    transform: translateX(5px);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* Newsletter */
.newsletter-text {
    color: var(--white);
    margin-bottom: 15px;
}

.newsletter-form {
    margin-bottom: 15px;
}

.input-group {
    display: flex;
    gap: 5px;
}

.input-group input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--white);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #00b4db;
    background: rgba(255, 255, 255, 0.1);
}

.input-group input::placeholder {
    color: var(--white);
}

.input-group button {
    padding: 0 16px;
    background: var(--red);
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.input-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 180, 219, 0.3);
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px 0;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: var(--white);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--red);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        padding: 40px 20px 30px;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-col h3 {
        display: block;
    }

    .footer-description,
    .privacy-text {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 30px 15px 20px;
    }

    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
}