/* ===================================
   Modern Footer Styles - Fixed
   =================================== */

.modern-footer {
    background: #2d3748;
    color: #e2e8f0;
    margin-top: 60px;
    clear: both;
}

.footer-main {
    padding: 50px 0 30px;
}

.footer-main .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* Footer Brand */
.footer-brand {
    grid-column: span 1;
}

.footer-logo {
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.footer-brand h3 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 10px 0 5px 0;
}

.footer-tagline {
    font-size: 12px;
    color: #cbd5e0;
    font-style: italic;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #a0aec0;
}

/* Footer Columns */
.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #2d5f3f;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact .icon {
    font-size: 18px;
    flex-shrink: 0;
}

.footer-contact strong {
    color: white;
}

/* Footer Bottom */
.footer-bottom {
    background: #1a202c;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #a0aec0;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-icon.facebook:hover {
    background: #1877f2;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.youtube:hover {
    background: #ff0000;
}

.social-icon.whatsapp:hover {
    background: #25d366;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d5f3f 0%, #1a4d2e 100%);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(45, 95, 63, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(45, 95, 63, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 40px 0 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-logo img {
        width: 70px;
        height: 70px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* Dark Mode */
body.dark-mode .modern-footer {
    background: #1a1a1a;
}

body.dark-mode .footer-bottom {
    background: #0a0a0a;
}
