/* ============================================
   FOOTER, COOKIE BANNER & LEGAL MODAL STYLES
   Adaugă acest CSS la sfârșitul fișierului style.css
   ============================================ */

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Footer Links */
.footer-links {
    margin-top: 16px;
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 16px;
    z-index: 1000;
    box-shadow: 0 -4px 20px var(--shadow);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    flex: 1;
}

.cookie-content a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-accept {
    padding: 10px 24px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.cookie-accept:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* Legal Modal */
.legal-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
}

.legal-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text-primary);
}

#modalBody h2 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

#modalBody p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

#modalBody h3 {
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

#modalBody ul {
    color: var(--text-secondary);
    margin-left: 20px;
    margin-bottom: 16px;
}

#modalBody ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

#modalBody strong {
    color: var(--text-primary);
}

/* Mobile Responsive for Footer & Modals */
@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
        max-height: 85vh;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        font-size: 1.5rem;
    }
    
    #modalBody h2 {
        font-size: 1.5rem;
    }
    
    #modalBody h3 {
        font-size: 1.1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-accept {
        width: 100%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 12px;
    }
    
    .cookie-content p {
        font-size: 0.85rem;
    }
    
    .modal-content {
        padding: 25px 15px;
    }
    
    #modalBody {
        font-size: 0.95rem;
    }
}