/* view/footer.css - Footer Styles */

/* ============================================
   FOOTER MAIN STYLES
============================================ */
.footer-main {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    margin-top: 4rem;
    position: relative;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 20px 1.5rem;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Footer Columns */
.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* Footer Logo */
.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--text-primary);
}

.footer-logo span span {
    color: var(--primary);
}

.footer-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.footer-links li a i {
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links li a:hover i {
    transform: translateX(3px);
}

/* Contact Info */
.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: flex;
    gap: 0.8rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-contact p i {
    color: var(--primary);
    width: 20px;
    margin-top: 0.2rem;
}

/* Newsletter Section */
.footer-newsletter {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-newsletter-content h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.footer-newsletter-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-newsletter-form {
    display: flex;
    gap: 0.5rem;
    min-width: 300px;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s;
}

.footer-newsletter-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(243,167,44,0.1);
}

.footer-newsletter-form button {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243,167,44,0.3);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.footer-bottom-left p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
}

.footer-payment {
    display: flex;
    gap: 0.8rem;
    font-size: 1.5rem;
    color: var(--text-muted);
}

.footer-payment i {
    transition: all 0.3s;
    cursor: pointer;
}

.footer-payment i:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.footer-links-bottom {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s;
}

.footer-links-bottom a:hover {
    color: var(--primary);
}

/* ============================================
   RESPONSIVE FOOTER
============================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 2rem 16px 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-newsletter {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .footer-newsletter-form {
        width: 100%;
        min-width: auto;
        flex-direction: column;
    }
    
    .footer-newsletter-form button {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-right {
        align-items: center;
    }
    
    .footer-payment {
        justify-content: center;
    }
    
    .footer-links-bottom {
        justify-content: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links li a {
        justify-content: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 1.5rem 12px 1rem;
    }
    
    .footer-links-bottom {
        gap: 1rem;
    }
}