/* ===== FOOTER STYLES ===== */

/* Footer Top Section */
.footer-top {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.footer-section {
    position: relative;
    z-index: 2;
}

/* Company Info Section */
.company-info .footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    max-width: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    object-fit: contain;
    background: transparent;
    filter: brightness(1.1);
}

.company-name {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--white);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.footer-description {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
    text-align: justify;
}

/* Brands Showcase */
.brands-showcase {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.brand-badge {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 12px 18px;
    text-align: center;
    transition: var(--transition);
    min-width: 120px;
}

.brand-badge:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.brand-name {
    display: block;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}

.brand-name.lenox {
    color: #FFD700;
}

.brand-name.ecoshine {
    color: #32CD32;
}

.brand-badge small {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

/* Footer Titles */
.footer-title {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #FFFFFF !important;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-title i {
    color: var(--accent-color);
    font-size: 20px;
}

/* Ensure all footer titles are white */
.footer-section h5,
.footer-section .footer-title,
h5.footer-title {
    color: #FFFFFF !important;
}

/* Additional specificity for white titles */
.footer-top .footer-title,
.footer-top h5 {
    color: #FFFFFF !important;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(-5px);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.footer-links a i {
    font-size: 12px;
    width: 16px;
    opacity: 0.7;
}

/* Contact Section */
.contact-section .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    transition: var(--transition);
}

.contact-section .contact-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateX(-5px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(50, 205, 50, 0.3);
}

.contact-icon.whatsapp {
    background: #25D366;
}

.contact-icon i {
    font-size: 18px;
    color: var(--white);
}

.contact-details h6 {
    font-weight: 600;
    font-size: 14px;
    color: var(--white);
    margin-bottom: 5px;
}

.contact-details p,
.contact-details a {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    margin: 0;
    text-decoration: none;
    line-height: 1.5;
}

.contact-details a:hover {
    color: var(--accent-color);
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    padding: 5px 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 5px;
    font-size: 12px !important;
    transition: var(--transition);
}

.map-link:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

/* Social Media Section */
.footer-social {
    background: rgba(0,0,0,0.9);
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.social-content {
    text-align: center;
}

.social-title {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--white);
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    text-decoration: none;
    transition: var(--transition);
    min-width: 80px;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
}

.social-link:hover::before {
    left: 100%;
}

.social-link i {
    font-size: 24px;
    transition: var(--transition);
}

.social-link span {
    font-size: 12px;
    font-weight: 500;
    color: var(--white);
    transition: var(--transition);
}

/* Social Link Colors */
.social-link.facebook:hover {
    background: #1877F2;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.4);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #F56040, #E1306C, #833AB4);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(225, 48, 108, 0.4);
}

.social-link.twitter:hover {
    background: #1DA1F2;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(29, 161, 242, 0.4);
}

.social-link.whatsapp:hover {
    background: #25D366;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.social-link.youtube:hover {
    background: #FF0000;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4);
}

/* Address Item Special Styling */
.address-item {
    background: rgba(255,255,255,0.15) !important;
    border: 1px solid rgba(255,255,255,0.2);
}

.address-item:hover {
    background: rgba(255,255,255,0.25) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-top {
        padding: 40px 0 30px;
    }
    
    .company-info .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .brands-showcase {
        justify-content: center;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        min-width: 60px;
        padding: 12px;
    }
    
    .contact-section .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-title {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-top {
        padding: 30px 0 20px;
    }
    
    .social-title {
        font-size: 18px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        min-width: 50px;
        padding: 10px;
    }
    
    .social-link span {
        display: none;
    }
    
    .brand-badge {
        min-width: 100px;
        padding: 10px 15px;
    }
}

/* Animation for elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    animation: fadeInUp 0.6s ease-out;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

/* Footer Bottom Section */
.footer-bottom {
    background: rgba(0,0,0,0.95);
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 5px;
    font-weight: 500;
}

.powered-by {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

.developer-name {
    color: var(--accent-color);
    font-weight: 600;
}

.payment-methods {
    text-align: right;
}

.payment-text {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 10px;
    display: block;
    font-weight: 500;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.payment-icon {
    width: 40px;
    height: 30px;
    object-fit: contain;
    background: rgba(255,255,255,0.1);
    padding: 5px;
    border-radius: 8px;
    transition: var(--transition);
    filter: brightness(0.9);
}

.payment-icon:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
    filter: brightness(1.2);
}

.whatsapp-payment {
    width: 40px;
    height: 30px;
    background: #25D366;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}

.whatsapp-payment:hover {
    background: #128C7E;
    transform: scale(1.1);
}

.whatsapp-payment i {
    font-size: 18px;
    color: white;
}

/* Tooltip for social links */
.social-link[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.3s;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}