/**
 * Footer Redesign Styles
 * Modern footer with columns and subscription form
 */

.footer-top-banner {
    background: linear-gradient(135deg, rgba(107, 33, 168, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%);
    padding: 16px 0;
    border-bottom: 2px solid rgba(107, 33, 168, 0.2);
}

.footer-main {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e5e7eb;
    padding: 60px 0 40px;
}

.footer-branding {
    margin-bottom: 30px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-box {
    width: 50px;
    height: 50px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 5px;
}

.footer-logo-box svg {
    width: 100%;
    height: 100%;
}

.footer-logo-text {
    font-size: 24px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}

.footer-company-name {
    font-size: 28px;
    font-weight: 900;
    color: white;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.footer-tagline {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 400;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(107, 33, 168, 0.5), transparent);
    margin: 30px 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #6B21A8, #DC2626);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul li a:hover {
    color: #6B21A8;
    transform: translateX(5px);
}

.footer-column ul li a::before {
    content: '→';
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #6B21A8;
}

.footer-column ul li a:hover::before {
    opacity: 1;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d1d5db;
    font-size: 15px;
    margin-bottom: 16px;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    color: #6B21A8;
    flex-shrink: 0;
}

.footer-subscribe {
    background: rgba(107, 33, 168, 0.1);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(107, 33, 168, 0.2);
}

.footer-subscribe p {
    color: #d1d5db;
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-subscribe-form {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-subscribe-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(107, 33, 168, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-subscribe-input::placeholder {
    color: #9ca3af;
}

.footer-subscribe-input:focus {
    outline: none;
    border-color: #6B21A8;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(107, 33, 168, 0.1);
}

.footer-subscribe-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #6B21A8 0%, #DC2626 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.footer-subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 33, 168, 0.4);
}

.footer-subscribe-btn:active {
    transform: translateY(0);
}

.footer-bottom {
    border-top: 1px solid rgba(107, 33, 168, 0.2);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}

.footer-scroll-to-top-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.footer-scroll-to-top-btn {
    width: 56px;
    height: 56px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #6B21A8 0%, #DC2626 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(107, 33, 168, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.footer-scroll-to-top-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(107, 33, 168, 0.6);
    background: linear-gradient(135deg, #7C3AED 0%, #EF4444 100%);
}

.footer-scroll-to-top-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.footer-scroll-to-top-btn svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2.5;
}

@media (max-width: 768px) {
    .footer-scroll-to-top-wrapper {
        bottom: 20px;
        right: 20px;
    }
    
    .footer-scroll-to-top-btn {
        width: 48px;
        height: 48px;
    }
    
    .footer-scroll-to-top-btn svg {
        width: 20px;
        height: 20px;
    }
}

.footer-copyright {
    color: #9ca3af;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #6B21A8;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(107, 33, 168, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(107, 33, 168, 0.3);
}

.footer-social-link:hover {
    background: linear-gradient(135deg, #6B21A8 0%, #DC2626 100%);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(107, 33, 168, 0.4);
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
    fill: #d1d5db;
    transition: fill 0.3s ease;
}

.footer-social-link:hover svg {
    fill: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 40px 0 30px;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-subscribe-form {
        flex-direction: column;
    }
    
    .footer-subscribe-btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-company-name {
        font-size: 22px;
    }
}

