/* Footer Component Styles */
.site-footer {
    border-top: 1px solid var(--glass-border);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    left: 0;
    bottom: 80px;
    width: 100%;
    z-index: 1;
    display: none;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
}

.footer-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 150px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-red));
    border-color: var(--accent-red);
    color: #000;
    transform: translateY(-2px);
}

.social-link i {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    color: var(--accent-red);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-red));
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 0.25rem 0;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-red);
    padding-left: 0.5rem;
}

.footer-column p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent-red);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.newsletter-input::placeholder {
    color: var(--text-secondary);
}

.newsletter-btn {
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-red));
    border: none;
    border-radius: 8px;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(var(--accent-red), 0.3);
}

.newsletter-btn i {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.footer-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.heart-icon {
    width: 14px;
    height: 14px;
    color: #ff4757;
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Light theme adjustments */
[data-theme="light"] .site-footer {
    background: linear-gradient(180deg, 
        rgba(245, 242, 232, 0.98) 0%, 
        rgba(235, 232, 222, 1) 100%);
}

[data-theme="light"] .footer-tagline,
[data-theme="light"] .footer-column a,
[data-theme="light"] .footer-column p,
[data-theme="light"] .footer-copyright p,
[data-theme="light"] .footer-info {
    color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .social-link {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .newsletter-input {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .newsletter-input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .footer-bottom {
    border-top-color: rgba(0, 0, 0, 0.1);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-content {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-btn {
        align-self: flex-start;
        width: fit-content;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-social {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-brand {
        align-items: center;
        text-align: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
        display: none;
    }
}