/* ========================================
   ASTROCHEAT - FOOTER STYLES
   ======================================== */

/* Footer Container */
.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    border-top: 1px solid rgba(78, 205, 196, 0.3);
    margin-top: 80px;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #4ecdc4, transparent);
}

/* Footer Content */
.footer .container {
    position: relative;
    z-index: 2;
}

.footer h3 {
    color: #4ecdc4;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(78, 205, 196, 0.5);
}

.footer h4 {
    color: #4ecdc4;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer p {
    color: #b8b8b8;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(78, 205, 196, 0.1);
    border: 2px solid rgba(78, 205, 196, 0.3);
    border-radius: 50%;
    color: #4ecdc4;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: rgba(78, 205, 196, 0.2);
    border-color: #4ecdc4;
    color: #ff6b6b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b8b8b8;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    color: #4ecdc4;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #4ecdc4;
    padding-left: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(78, 205, 196, 0.2);
    margin-top: 40px;
    padding-top: 30px;
}

.footer-bottom p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.footer-bottom .text-right {
    text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
        margin-top: 60px;
    }
    
    .footer .row {
        flex-direction: column;
    }
    
    .footer .col-3 {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
    
    .footer h3 {
        font-size: 1.5rem;
    }
    
    .footer h4 {
        font-size: 1.2rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom .row {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom .text-right {
        text-align: center;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer h3 {
        font-size: 1.3rem;
    }
    
    .footer h4 {
        font-size: 1.1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .footer-links a {
        font-size: 14px;
    }
}

/* Animation for footer elements */
.footer .col-3 {
    animation: fadeInUp 0.6s ease-out;
}

.footer .col-3:nth-child(1) { animation-delay: 0.1s; }
.footer .col-3:nth-child(2) { animation-delay: 0.2s; }
.footer .col-3:nth-child(3) { animation-delay: 0.3s; }
.footer .col-3:nth-child(4) { animation-delay: 0.4s; }

/* Hover effects for footer sections */
.footer .col-3:hover h4 {
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

/* Footer background pattern */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%234ecdc4" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}
