/* ========================================
   UNIFIED FOOTER STYLES
   Uses theme variables for light/dark mode
   ======================================== */

/* Base footer-modern styles */
.footer-modern {
    position: relative;
    background: var(--footer-bg);
    padding: 80px 0 40px;
    overflow: hidden;
    z-index: 1;
    border-top: 1px solid var(--border-light);
}

/* Subtle Ambient Glow */
.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 5% 100%, var(--accent-purple-10) 0%, transparent 50%),
        radial-gradient(ellipse at 95% 0%, var(--accent-pink-10) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, var(--accent-cyan-05) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.footer-modern .container {
    position: relative;
    z-index: 1;
}

/* Footer Logo */
.footer-modern .footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.footer-modern .footer-logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 20px var(--accent-purple-20));
}

.footer-modern .footer-brand-text {
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-modern .footer-brand-section p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 320px;
}

/* Social Icons */
.footer-modern .social-icons {
    display: flex;
    gap: 14px;
}

.footer-modern .social-icons a {
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.footer-modern .social-icons a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.footer-modern .social-icons a i {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
}

.footer-modern .social-icons a:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: transparent;
    box-shadow: var(--shadow-glow-purple);
}

.footer-modern .social-icons a:hover::before {
    opacity: 1;
}

.footer-modern .social-icons a:hover i {
    color: white;
}

/* Footer Columns */
.footer-modern .footer-col {
    margin-bottom: 2rem;
}

.footer-modern .footer-col h5 {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.footer-modern .footer-col h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-modern .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-modern .footer-col ul li {
    margin-bottom: 14px;
}

.footer-modern .footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-flex;
    align-items: center;
    position: relative;
}

.footer-modern .footer-col ul li a::before {
    content: '';
    position: absolute;
    left: -12px;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.25s ease;
}

.footer-modern .footer-col ul li a:hover {
    color: var(--text-primary);
    padding-left: 6px;
}

.footer-modern .footer-col ul li a:hover::before {
    width: 6px;
}

/* Divider */
.footer-modern hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--border-medium) 50%,
        transparent 100%);
    margin: 40px 0;
}

/* Copyright */
.footer-modern .copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-modern .text-muted {
    color: var(--text-muted) !important;
    font-style: italic;
}

/* Coffee Button */
.footer-modern .btn-coffee {
    background: transparent !important;
    border: 2px solid #FFDD00 !important;
    color: #FFDD00 !important;
    font-weight: 700 !important;
    padding: 10px 24px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
}

.footer-modern .btn-coffee:hover {
    background: #FFDD00 !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 221, 0, 0.3) !important;
}

.footer-modern .btn-coffee i {
    font-size: 1.1em;
    margin-right: 8px;
    color: inherit !important;
    transition: transform 0.3s ease;
}

.footer-modern .btn-coffee:hover i {
    transform: rotate(-10deg) scale(1.1);
}

/* ========================================
   RESPONSIVE FOOTER
   ======================================== */
@media (max-width: 992px) {
    .footer-modern {
        padding: 60px 0 30px;
    }
    
    .footer-modern .footer-logo img {
        height: 40px;
    }
    
    .footer-modern .footer-brand-text {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .footer-modern {
        padding: 50px 0 25px;
    }
    
    .footer-modern .footer-col {
        margin-bottom: 1.5rem;
    }
    
    .footer-modern .social-icons a {
        width: 42px;
        height: 42px;
    }
}
