/* legal.css - Additional styles for legal page */

.legal-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.legal-documents {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 3rem;
}

.document-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.document-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.document-card h2 {
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.document-card p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.document-link {
    display: inline-block;
    background: #3498db;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.document-link:hover {
    background: #2980b9;
    text-decoration: none;
}

.document-link.active {
    background: #2c3e50;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.legal-section {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.legal-section h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.legal-section h3 {
    color: #2c3e50;
    margin: 1.5rem 0 0.75rem;
    font-size: 1.2rem;
}

.legal-section p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: #555;
    line-height: 1.5;
}

.legal-section strong {
    color: #2c3e50;
}

.back-to-top {
    text-align: right;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.back-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-link:hover {
    text-decoration: underline;
}

.contact-box {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0 1.5rem;
}

.contact-box address {
    font-style: normal;
    color: #555;
    margin-top: 0.5rem;
}

.legal-contact {
    background: #e8f4fc;
    border-radius: 10px;
    padding: 2rem;
    margin: 3rem 0 2rem;
}

.legal-contact h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-item {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.contact-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-item a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item address {
    font-style: normal;
    color: #555;
    line-height: 1.5;
}

.privacy-footer .legal-notice {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 0.5rem;
    font-style: italic;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .legal-documents {
        grid-template-columns: 1fr;
    }
    
    .legal-section {
        padding: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .document-card {
        padding: 1.25rem;
    }
}

/* Print styles */
@media print {
    .document-card {
        break-inside: avoid;
        border: 1px solid #ddd;
    }
    
    .legal-section {
        break-inside: avoid;
        border: 1px solid #ddd;
        border-left: 4px solid #3498db;
    }
    
    .back-to-top,
    .document-link {
        display: none;
    }
}