/* ==============================================================================
    FOOTER STYLESHEET - ENHANCED
    - Dark Theme with Yellow Accent
    - Social Media Links
    - Floating WhatsApp Button
    - Responsive Design
    ============================================================================== */

/* ==============================================================================
    MAIN FOOTER
    ============================================================================== */

footer {
    background-color: #1e1e1e; /* Dark background */
    color: white;
    padding: 60px 20px 20px;
    margin-top: 30px;
    border-top: 15px solid #ffc107; /* Yellow accent border */
}

/* Footer Content Grid */
.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.footer-section h3 {
    color: #ffc107; /* Yellow accent for headings */
    font-family: 'Oswald', 'Impact', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    line-height: 1.6;
    color: #d0d0d0;
    font-size: 0.95rem;
}

/* ==============================================================================
    SOCIAL MEDIA LINKS
    ============================================================================== */

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2d2d2d;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Individual Social Media Colors on Hover */
.social-icon.facebook:hover {
    background-color: #1877f2;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 20px rgba(24, 119, 242, 0.5);
}

.social-icon.twitter:hover {
    background-color: #000000;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.social-icon.tiktok:hover {
    background-color: #000000;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

/* ==============================================================================
    FOOTER BOTTOM
    ============================================================================== */

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #3d3d3d;
    margin: 0 auto;
    max-width: 1200px;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-bottom-links a {
    color: #d0d0d0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-bottom-links a:hover {
    color: #ffc107;
}

.footer-bottom-links .separator {
    color: #5d5d5d;
    font-size: 0.9rem;
}

.footer-bottom p {
    color: #9e9e9e;
    font-size: 0.9rem;
    margin: 10px 0;
}

.design-credit {
    font-size: 0.85rem;
    color: #7d7d7d;
    margin-top: 15px;
}

.design-credit a {
    color: #ffc107;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.design-credit a:hover {
    color: #ffcd38;
    text-decoration: underline;
}

/* ==============================================================================
    FLOATING WHATSAPP BUTTON
    ============================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* WhatsApp green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    cursor: pointer;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: white;
}

/* Hover Effect */
.whatsapp-float:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
    background-color: #20ba5a;
}

/* Pulse Animation */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    animation: whatsapp-pulse 2s infinite;
    z-index: -1;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Optional: Add a small notification badge */
.whatsapp-float::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 12px;
    height: 12px;
    background-color: #ffc107;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: badge-pulse 1.5s infinite;
}

@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* ==============================================================================
    RESPONSIVE DESIGN
    ============================================================================== */

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 40px 15px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-bottom-links .separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 25px;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* ==============================================================================
    ACCESSIBILITY
    ============================================================================== */

/* Focus states for keyboard navigation */
.social-icon:focus,
.footer-links a:focus,
.whatsapp-float:focus {
    outline: 2px solid #ffc107;
    outline-offset: 3px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float::before,
    .whatsapp-float::after,
    .social-icon,
    .footer-links li a {
        animation: none;
        transition: none;
    }
}