/* =====================================================
   FOOTER.CSS - Footer Section Styles
   ===================================================== */

/* Footer Section */
.footer-section {
    background: var(--dark-900);
    position: relative;
}

/* Footer Pattern */
.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 90%, rgba(15, 112, 191, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

/* Footer Logo */
.footer-logo {
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: translateX(5px);
}

.footer-logo .logo-icon {
    transition: all 0.3s ease;
}

.footer-logo:hover .logo-icon {
    box-shadow: 0 8px 25px rgba(15, 112, 191, 0.4);
}

/* Footer Columns */
.footer-col {
    display: flex;
    flex-direction: column;
}

/* Footer Title */
.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

/* Footer Links */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 1rem;
}

.footer-links a:hover::before {
    width: 0.5rem;
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--gray-400);
    font-size: 0.95rem;
}

.footer-contact svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Footer Socials */
.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.social-btn-sm {
    width: 40px;
    height: 40px;
    background: var(--dark-700);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn-sm:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 112, 191, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
}

.footer-legal a {
    position: relative;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.footer-legal a:hover::after {
    width: 100%;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(15, 112, 191, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(15, 112, 191, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a:hover {
        padding-left: 0;
    }

    .footer-links a::before {
        display: none;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
