/* ====================================
   FOOTER STYLES - DIGISAPIENCE
   ==================================== */

/* ===== FOOTER BASE ===== */
.site-footer {
    background: #0A0A0A;
    border-top: 1px solid rgba(248, 190, 20, 0.1);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(248, 190, 20, 0.3) 20%, 
        rgba(248, 190, 20, 0.3) 80%, 
        transparent 100%);
}

/* ===== FOOTER GRID ===== */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

/* ===== FOOTER COLUMNS ===== */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-col h4 {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* ===== ABOUT SECTION ===== */
.footer-about-text {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 14px;
}

/* ===== SOCIAL LINKS ===== */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary);
    color: #000000;
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(248, 190, 20, 0.3);
}

/* ===== FOOTER LINKS ===== */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    color: var(--primary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    left: -15px;
}

/* ===== CONTACT INFO ===== */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-contact i {
    width: 20px;
    color: var(--primary);
    font-size: 16px;
}

.footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--primary);
}

/* ===== NEWSLETTER ===== */
.footer-newsletter {
    margin-top: 20px;
}

.footer-newsletter h4 {
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    position: relative;
}

.newsletter-input {
    flex: 1;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0 15px;
    color: var(--text-light);
    font-size: 14px;
    transition: var(--transition);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-input::placeholder {
    color: var(--text-muted);
}

.newsletter-btn {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border: none;
    border-radius: 6px;
    color: #000000;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(248, 190, 20, 0.3);
}

.newsletter-btn i {
    font-size: 18px;
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: #000000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 5px 20px rgba(248, 190, 20, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(248, 190, 20, 0.4);
}

.back-to-top i {
    font-size: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .footer-social {
        justify-content: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .newsletter-form {
        max-width: 300px;
        margin: 0 auto;
    }
}