/* ===== assets/css/footer.css ===== */

/* ===== RESET (important for footer) ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* ===== FOOTER MAIN STYLES ===== */
.site-footer {
    background: #1a1a2e;
    color: #b0c4de;
    padding: 40px 0 20px;
    width: 100%;
    position: relative;
    left: 0;
    right: 0;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
}

.footer-col {
    width: 100%;
    min-width: 0;
}

.footer-col h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #667eea;
}

/* Company Info */
.footer-logo {
    margin-bottom: 10px;
}

.footer-logo .logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.footer-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo .logo-text h1 {
    color: ghostwhite;
    font-size: 18px;
    margin: 0;
}

.footer-logo .logo-text span {
    color: #b0c4de;
    font-size: 12px;
}

.company-desc {
    color: #b0c4de;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
    word-wrap: break-word;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.social-link.facebook { background: #1877f2; }
.social-link.instagram { background: #e4405f; }
.social-link.whatsapp { background: #25d366; }
.social-link.youtube { background: #ff0000; }

/* Footer Links */
.footer-links ul,
.footer-service ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-service li {
    margin-bottom: 8px;
}

.footer-links a,
.footer-service a {
    color: #b0c4de;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}

.footer-links a:hover,
.footer-service a:hover {
    color: white;
    padding-left: 5px;
}

/* Contact */
.footer-contact p {
    color: #b0c4de;
    font-size: 13px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    word-wrap: break-word;
}

.footer-contact i {
    color: #667eea;
    width: 16px;
    font-size: 12px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    width: 100%;
}

.footer-bottom p {
    color: #b0c4de;
    font-size: 12px;
    margin-bottom: 5px;
    word-wrap: break-word;
}

.powered-by {
    color: #b0c4de;
    font-size: 12px;
    margin-top: 5px;
}

.powered-by a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.powered-by a:hover {
    color: #ffd700;
}

/* ===== MOBILE FIXES - CRITICAL ===== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-logo .logo-link {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-bottom p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .footer-bottom p {
        font-size: 10px;
        line-height: 1.4;
    }
    
    .footer-col h4 {
        font-size: 15px;
    }
    
    .company-desc {
        font-size: 12px;
    }
}