/* Base Styles */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #f8f9fa;
}

/* Correction du défilement horizontal */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* Footer Styles - Mobile First Approach */
.site-footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #111 100%);
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 106, 0, 0.2);
    margin-top: auto; 
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-top {
    padding-bottom: 30px;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.footer-column {
    margin-bottom: 25px;
}

.footer-column h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: rgb(241, 154, 100);
}

.newsletter-column p {
    margin-bottom: 15px;
    color: #aaa;
    font-size: 14px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    color: #333;
    width: 100%;
    background-color: #f1f1f1;
    transition: all 0.3s;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(241, 154, 100, 0.3);
}

.newsletter-form button {
    background: rgb(241, 154, 100);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.newsletter-message {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    text-align: center;
}

.newsletter-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.newsletter-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.social-links {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

.social-links a {
    color: #fff;
    background: rgba(255,255,255,0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    transition: all 0.3s;
    display: inline-block;
    font-size: 14px;
}

/* Contact Column */
.contact-column .contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-column .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-column .contact-item i {
    color: rgb(241, 154, 100);
    margin-top: 3px;
    min-width: 20px;
    font-size: 14px;
}

.contact-column .contact-item p,
.contact-column .contact-item a {
    margin: 0;
    color: #aaa;
    font-size: 14px;
}

.contact-column .contact-item a:hover {
    color: rgb(241, 154, 100);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 10px;
    color: #aaa;
    font-size: 13px;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.legal-links a {
    color: #aaa;
    transition: all 0.3s;
    font-size: 13px;
}

/* Hover Effects */
.newsletter-form button:hover,
.social-links a:hover,
.footer-links a:hover,
.legal-links a:hover {
    background: rgb(241, 154, 100);
    color: white;
}

.footer-links a:hover {
    transform: translateX(5px);
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Tablet Styles (768px and up) */
@media (min-width: 768px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .newsletter-form {
        flex-direction: row;
        align-items: center;
    }
    
    .newsletter-form input {
        border-radius: 25px 0 0 25px;
        width: auto;
        flex-grow: 1;
        padding: 8px 20px;
    }
    
    .newsletter-form button {
        border-radius: 0 25px 25px 0;
        width: auto;
        padding: 8px 25px;
    }
    
    .social-links {
        justify-content: flex-start;
        flex-direction: row;
        flex-wrap: nowrap;
    }
    
    .footer-bottom {
        text-align: left;
    }
    
    .footer-bottom .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .footer-bottom p {
        margin-bottom: 0;
    }
}

/* Desktop Styles (1024px and up) */
@media (min-width: 1024px) {
    .footer-top {
        padding-bottom: 40px;
    }
    
    .footer-columns {
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
    }
    
    .footer-column h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .newsletter-column p,
    .footer-links a,
    .contact-column .contact-item p,
    .contact-column .contact-item a {
        font-size: 15px;
    }

    .newsletter-form input {
        padding: 10px 25px;
    }

    .newsletter-form button {
        padding: 10px 25px;
    }
}

/* Large Desktop Styles (1440px and up) */
@media (min-width: 1440px) {
    .container {
        padding: 0;
    }
    
    .footer-columns {
        gap: 60px;
    }

    .newsletter-form {
        max-width: 500px;
    }
}
