/* Footer Styles - MASTER FILE - Centralized for all pages */

.site-footer {
    background: linear-gradient(135deg, #0a0e27, #1a1f3a);
    color: #f9fafb;
    padding: 60px 20px 20px;
    margin-top: 80px;
    border-top: 2px solid #3b82f6;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h3 {
    color: #3b82f6;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-column h4 {
    color: #8b5cf6;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-tagline {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1f2937, #111827);
    border: 1px solid #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f9fafb;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: #3b82f6;
    padding-left: 5px;
}

/* Newsletter Section */
.footer-newsletter {
    grid-column: span 1;
}

.newsletter-description {
    color: #d1d5db;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hidden {
    display: none;
}

.newsletter-input-group {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #3b82f6;
    border-radius: 8px;
    background: rgba(31, 41, 55, 0.6);
    color: #f9fafb;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(31, 41, 55, 0.9);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.newsletter-input::placeholder {
    color: #9ca3af;
}

.newsletter-submit {
    padding: 10px 20px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
}

.newsletter-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.newsletter-privacy {
    color: #9ca3af;
    font-size: 0.75rem;
    margin: 0;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(59, 130, 246, 0.3);
    padding-top: 20px;
    margin-top: 20px;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-bottom-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #3b82f6;
}

.footer-divider {
    color: #4b5563;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 20px 20px;
        margin-top: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-newsletter {
        grid-column: span 2;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-newsletter {
        grid-column: span 1;
    }

    .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-submit {
        width: 100%;
    }

    .footer-social {
        justify-content: flex-start;
    }
}
