/* Modern Footer Styles */
.footer-wcp {
    background: var(--wcp-gradient-dark);
    color: var(--wcp-white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-wcp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.footer-wcp > .container {
    position: relative;
    z-index: 2;
}

.footer-brand img {
    filter: brightness(0) invert(1);
}

.footer-brand h5 {
    font-family: var(--wcp-font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wcp-white);
    text-decoration: none;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--wcp-gradient-primary);
    color: var(--wcp-white);
    transform: translateY(-3px);
    box-shadow: var(--wcp-shadow-lg);
}

.footer-wcp h5 {
    font-family: var(--wcp-font-heading);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--wcp-white);
}

.footer-wcp ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-wcp ul li a:hover {
    color: var(--wcp-white);
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.newsletter-section {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form .form-control-wcp {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--wcp-white);
}

.newsletter-form .form-control-wcp::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .form-control-wcp:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--wcp-primary);
    color: var(--wcp-white);
}

.footer-bottom {
    margin-top: 2rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--wcp-white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-wcp {
        padding: 3rem 0 2rem;
    }
    
    .newsletter-section .row {
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form .btn-wcp-primary {
        width: 100%;
    }
    
    .footer-bottom .row {
        text-align: center;
    }
    
    .footer-bottom .col-lg-6:last-child {
        margin-top: 1rem;
    }
}

/* Animation Effects */
.footer-wcp .fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.footer-wcp .fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effects */
.footer-wcp .col-lg-4:hover .footer-brand img,
.footer-wcp .col-lg-2:hover h5 {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Gradient Text */
.footer-brand h5 {
    background: var(--wcp-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--wcp-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: var(--wcp-shadow-lg);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--wcp-shadow-xl);
    color: white;
}

/* Loading Animation */
.footer-wcp .loading {
    position: relative;
    overflow: hidden;
}

.footer-wcp .loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: loading 2s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Active Menu States */
.footer-wcp a.text-warning {
    color: var(--wcp-accent) !important;
    font-weight: 600;
    text-decoration: underline;
}
