/* ============================================
   MODERN FOOTER SECTION
   Inspired by shadcn/ui design patterns
   ============================================ */

/* ============================================
   FOOTER CONTAINER
   ============================================ */
.modern-footer {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 3rem 2rem;
    background: #0a0a0a;
    backdrop-filter: blur(10px);
    border-top: none;
    border-radius: 0;
}

.modern-footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Top Divider Line with Blur Effect */
.footer-divider {
    display: none;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
}

/* ============================================
   BRAND SECTION
   ============================================ */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-copyright {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    color: #ffffff !important;
    margin: 0;
}

/* ============================================
   FOOTER LINKS GRID
   ============================================ */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.footer-section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.footer-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.footer-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links-list li {
    margin: 0;
}

.footer-link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    color: #ffffff !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: #ffffff !important;
    transform: translateX(4px);
}

.footer-link i {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-link:hover i {
    transform: scale(1.1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet and Desktop */
@media screen and (min-width: 768px) {
    .modern-footer {
        padding: 4rem 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 2fr;
        gap: 3rem;
    }

    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
        margin-top: 0;
    }

    .footer-brand {
        gap: 2rem;
    }
}

/* Large Desktop */
@media screen and (min-width: 1280px) {
    .modern-footer {
        border-radius: 3rem 3rem 0 0;
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    .modern-footer {
        padding: 2.5rem 1.5rem;
        border-radius: 0;
    }

    .footer-divider {
        width: 50%;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .footer-logo img {
        height: 40px;
    }

    .footer-copyright {
        font-size: 0.8125rem;
        line-height: 1.5;
    }
    
    .footer-brand {
        gap: 1.5rem;
    }
    
    .footer-section {
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-section:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .modern-footer {
        padding: 2rem 1rem;
    }

    .footer-section-title {
        font-size: 0.75rem;
        margin-bottom: 0.875rem;
    }

    .footer-link {
        font-size: 0.875rem;
    }
    
    .footer-logo img {
        height: 36px;
    }
    
    .footer-copyright {
        font-size: 0.75rem;
    }
    
    .footer-links-grid {
        gap: 1.5rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .footer-section,
    .footer-link {
        transition: none;
        animation: none;
    }

    .footer-section {
        opacity: 1;
        transform: none;
    }
}

/* Focus States */
.footer-link:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* ============================================
   DARK MODE SUPPORT (Optional)
   ============================================ */
@media (prefers-color-scheme: dark) {
    .modern-footer {
        background: linear-gradient(180deg, rgba(31, 41, 55, 0.8) 0%, rgba(17, 24, 39, 0.9) 100%);
        border-top-color: rgba(75, 85, 99, 0.5);
    }

    .footer-section-title {
        color: #f9fafb;
    }

    .footer-link {
        color: #9ca3af;
    }

    .footer-link:hover {
        color: #f9fafb;
    }

    .footer-copyright {
        color: #9ca3af;
    }

    .footer-divider {
        background: linear-gradient(90deg, transparent, rgba(229, 231, 235, 0.2), transparent);
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .modern-footer {
        background: white;
        border-top: 1px solid #e5e7eb;
        border-radius: 0;
    }

    .footer-divider {
        display: none;
    }

    .footer-link {
        color: #1f2937;
    }
}
