/* Professional Footer - Clean & Modern */

.main-footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #3b82f6 50%, transparent 100%);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem 1.5rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 2rem;
    }
}

/* Logo Section */
.footer-brand {
    grid-column: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.footer-logo:hover {
    color: #60a5fa;
    text-decoration: none;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
    color: #60a5fa;
    margin-right: 12px;
    transition: transform 0.3s ease;
}

.footer-logo:hover .footer-logo-icon {
    transform: rotate(5deg) scale(1.05);
}

.footer-description {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 15px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.footer-social-link:hover {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
    transform: translateY(-2px);
    text-decoration: none;
}

.footer-social-icon {
    width: 20px;
    height: 20px;
}

/* Footer Sections */
.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    position: relative;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 24px;
    height: 2px;
    background: #60a5fa;
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 4px 0;
    border-radius: 4px;
}

.footer-link:hover {
    color: #60a5fa;
    text-decoration: none;
    transform: translateX(4px);
}

.footer-link::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #60a5fa;
    border-radius: 50%;
    margin-right: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-link:hover::before {
    opacity: 1;
}

/* Contact Section */
.footer-contact-item {
    display: flex;
    align-items: center;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-contact-item:hover {
    color: #60a5fa;
}

.footer-contact-icon {
    width: 18px;
    height: 18px;
    color: #60a5fa;
    margin-right: 12px;
    flex-shrink: 0;
}

/* Newsletter Section (Optional) */
.footer-newsletter {
    margin-top: 1.5rem;
}

.footer-newsletter-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
}

.footer-newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.footer-newsletter-input {
    flex: 1;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-newsletter-input:focus {
    outline: none;
    border-color: #60a5fa;
    background: rgba(255, 255, 255, 0.12);
}

.footer-newsletter-input::placeholder {
    color: #94a3b8;
}

.footer-newsletter-btn {
    padding: 8px 16px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-newsletter-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: #94a3b8;
    font-size: 14px;
    text-align: center;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: #60a5fa;
    text-decoration: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    animation: fadeInUp 0.8s ease forwards;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-logo {
        font-size: 1.25rem;
    }
    
    .footer-logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .footer-newsletter-form {
        flex-direction: column;
    }
    
    .footer-newsletter-btn {
        align-self: flex-start;
    }
}

/* Dark mode enhancements */
@media (prefers-color-scheme: dark) {
    .main-footer {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    }
} 