/* css/footer.css */

/* --- Footer Styling --- */
.main-footer {
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
    display: inline-block;
}

/* Hover Effect: Slide Right & Turn Red */
.footer-links a:hover {
    color: var(--primary-red);
    transform: translateX(5px);
}

/* Social Buttons */
.social-btn {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 4px;
    transition: 0.3s;
}

.social-btn:hover {
    background: var(--primary-red);
    color: #fff;
}

.hover-white:hover { color: #fff !important; }

/* --- Fixed Buttons Styling --- */

/* Base Styles */
.fixed-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, background-color 0.3s;
    z-index: 1000;
    font-size: 22px;
    position: fixed;
}

.fixed-btn:hover {
    transform: translateY(-5px);
}

/* 1. Scroll Top (Bottom Right) */
.scroll-top {
    bottom: 30px;
    right: 30px;
    background-color: #c5a47e; /* Gold color from screenshot */
}
.scroll-top:hover {
    background-color: var(--primary-red);
}

/* 2. Communication Buttons (Bottom Left) */
.fixed-comm-buttons {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.fixed-btn {
    position: static; /* Reset static inside flex container */
}

/* WhatsApp Color */
.whatsapp-btn {
    background-color: #25D366;
}
.whatsapp-btn:hover {
    background-color: #128C7E;
}

/* Call Button Color */
.call-btn {
    background-color: var(--primary-red);
}
.call-btn:hover {
    background-color: #b01015;
}

/* Tooltip on Hover (Optional Polish) */
.tooltip-text {
    position: absolute;
    left: 60px;
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    white-space: nowrap;
}

.fixed-btn:hover .tooltip-text {
    opacity: 1;
    left: 65px;
}

/* ===========================
   MOBILE RESPONSIVE STYLES
   =========================== */

@media (max-width: 768px) {
    /* Footer Mobile Layout */
    .main-footer {
        padding-top: 40px !important;
        padding-bottom: 20px !important;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .main-footer .row {
        margin: 0 !important;
        max-width: 100%;
    }
    
    .main-footer .container {
        max-width: 100%;
        width: 100%;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .main-footer .col-lg-4,
    .main-footer .col-lg-2,
    .main-footer .col-md-6 {
        margin-bottom: 30px;
    }
    
    .main-footer .col-6 {
        margin-bottom: 20px;
    }
    
    .footer-brand h3 {
        font-size: 1.2rem !important;
    }
    
    .footer-brand p {
        font-size: 13px !important;
    }
    
    .main-footer h5 {
        font-size: 1rem !important;
        margin-bottom: 15px !important;
    }
    
    .footer-links a {
        font-size: 13px !important;
    }
    
    .footer-contact li {
        margin-bottom: 20px !important;
    }
    
    .footer-contact .text-secondary {
        font-size: 12px !important;
    }
    
    .footer-contact .text-white {
        font-size: 13px !important;
    }
    
    .main-footer .border-top {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
    }
    
    .main-footer .border-top .d-flex {
        justify-content: center !important;
    }
    
    /* Fixed Buttons Mobile */
    .fixed-comm-buttons {
        bottom: 20px !important;
        left: 20px !important;
        gap: 12px !important;
    }
    
    .fixed-btn {
        width: 45px !important;
        height: 45px !important;
        font-size: 18px !important;
    }
    
    .tooltip-text {
        display: none !important; /* Hide tooltips on mobile */
    }
}

@media (max-width: 576px) {
    .fixed-comm-buttons {
        bottom: 15px !important;
        left: 15px !important;
    }
    
    .fixed-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
    
    .main-footer {
        padding-top: 30px !important;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}