/*--------------------------------------------------------------
Glassmorphism Footer Styles
--------------------------------------------------------------*/

/* Main Footer Container */
.site-footer-glass {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    margin-top: 4rem;
}

/* Subtle glow line at top */
.site-footer-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent
    );
}

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

/* Footer Sections */
.footer-section-glass {
    display: flex;
    flex-direction: column;
}

.footer-title-glass {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: white;
    letter-spacing: -0.01em;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

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

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

.footer-links-glass a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.footer-links-glass a:hover {
    color: #0ea5e9;
    transform: translateX(4px);
}

/* Social Media Icons - Glassmorphism Style */
.social-icons-glass {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-icon-glass {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon-glass:hover {
    background: rgba(14, 165, 233, 0.3);
    border-color: #0ea5e9;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.3);
}

.social-icon-glass:active {
    transform: translateY(-2px) scale(1.05);
}

/* Newsletter Form - Glassmorphism */
.newsletter-form-glass {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-input-glass {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-size: 0.9375rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-input-glass::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input-glass:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.newsletter-button-glass {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.newsletter-button-glass:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.newsletter-button-glass:active {
    transform: scale(1.05) rotate(10deg);
}

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

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

/* Footer Menu */
.footer-nav-glass {
    flex-shrink: 0;
}

.footer-menu-glass {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.footer-menu-glass li {
    margin: 0;
}

.footer-menu-glass a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0 0.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-menu-glass li:last-child a {
    border-right: none;
    padding-right: 0;
}

.footer-menu-glass li:first-child a {
    padding-left: 0;
}

.footer-menu-glass a:hover {
    color: #0ea5e9;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section-glass {
    animation: fadeInUp 0.6s ease-out;
}

.footer-section-glass:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-section-glass:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-section-glass:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-section-glass:nth-child(4) {
    animation-delay: 0.4s;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content-glass {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .site-footer-glass {
        padding: 3rem 0 1.5rem;
        margin-top: 3rem;
    }

    .footer-content-glass {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section-glass {
        text-align: left;
    }

    .social-icons-glass {
        justify-content: flex-start;
    }

    .newsletter-form-glass {
        flex-direction: column;
        gap: 0.75rem;
    }

    .newsletter-button-glass {
        width: 100%;
        border-radius: 50px;
        height: 48px;
    }

    .footer-bottom-glass {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-menu-glass {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .footer-menu-glass a {
        border-right: none;
        padding: 0.5rem 0;
    }

    .footer-copyright {
        order: 2;
    }

    .footer-nav-glass {
        order: 1;
    }
}

@media (max-width: 480px) {
    .site-footer-glass {
        padding: 2rem 0 1rem;
    }

    .footer-title-glass {
        font-size: 1rem;
    }

    .footer-description,
    .footer-links-glass a {
        font-size: 0.875rem;
    }

    .social-icon-glass {
        width: 36px;
        height: 36px;
    }

    .newsletter-input-glass {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

/* Dark Mode Support (Optional) */
body.dark-mode .site-footer-glass {
    background: linear-gradient(135deg, rgba(10, 15, 25, 0.98) 0%, rgba(0, 0, 0, 0.99) 100%);
}

/* Accessibility */
.footer-section-glass a:focus,
.social-icon-glass:focus,
.newsletter-input-glass:focus,
.newsletter-button-glass:focus {
    outline: 2px solid #0ea5e9;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .site-footer-glass {
        background: #1e293b;
        backdrop-filter: none;
    }
    
    .social-icons-glass,
    .newsletter-form-glass {
        display: none;
    }
}
