/* Legal Pages CSS - Datezy */

/* Header Styling */
.legal-header {
    background: var(--primary-gradient, linear-gradient(135deg, #ff6b9d 0%, #c44c9b 100%));
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.legal-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-header .logo img {
    height: 40px;
}

.legal-header .nav-links {
    display: flex;
    gap: 2rem;
}

.legal-header .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.legal-header .nav-links a:hover {
    opacity: 0.8;
}

/* Main Content */
.legal-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
    min-height: 70vh;
}

.legal-header-content {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 2px solid #f0f0f0;
}

.legal-header-content h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.last-updated {
    color: #666;
    font-size: 1.1rem;
    font-style: italic;
}

/* Text Content */
.legal-text {
    line-height: 1.8;
    font-size: 1rem;
    color: #444;
}

.legal-text section {
    margin-bottom: 3rem;
}

.legal-text h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #ff6b9d;
    font-weight: 600;
}

.legal-text h3 {
    font-size: 1.4rem;
    color: #34495e;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-weight: 600;
}

.legal-text h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
    font-weight: 600;
}

.legal-text p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.legal-text ul, .legal-text ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-text li {
    margin-bottom: 0.8rem;
}

.legal-text strong {
    color: #2c3e50;
    font-weight: 600;
}

.legal-text a {
    color: #ff6b9d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-text a:hover {
    color: #c44c9b;
    text-decoration: underline;
}

/* Tables */
.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.cookie-table th {
    background: #ff6b9d;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.cookie-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.cookie-table tr:nth-child(even) {
    background: #f9f9f9;
}

.cookie-table tr:hover {
    background: #f0f0f0;
}

/* Legal Footer */
.legal-footer {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
    text-align: center;
    border-left: 4px solid #ff6b9d;
}

.legal-footer p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #2c3e50;
}

/* Footer Section */
.legal-footer-section {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
}

.footer-legal-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #ff6b9d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-header .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .legal-header-content h1 {
        font-size: 2.2rem;
    }
    
    .legal-text h2 {
        font-size: 1.6rem;
    }
    
    .legal-text h3 {
        font-size: 1.3rem;
    }
    
    .legal-content {
        padding: 1rem;
    }
    
    .footer-legal {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-table {
        overflow-x: auto;
    }
    
    .cookie-table table {
        min-width: 600px;
    }
}

@media (max-width: 480px) {
    .legal-header-content h1 {
        font-size: 1.8rem;
    }
    
    .legal-text h2 {
        font-size: 1.4rem;
    }
    
    .legal-text {
        font-size: 0.95rem;
    }
    
    .legal-text ul, .legal-text ol {
        padding-left: 1.5rem;
    }
    
    .cookie-table th, .cookie-table td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .legal-header,
    .legal-footer-section {
        background: none !important;
        color: black !important;
    }
    
    .legal-text a {
        color: black !important;
        text-decoration: underline !important;
    }
    
    .cookie-table th {
        background: #f0f0f0 !important;
        color: black !important;
    }
}

/* Dark Mode Support (Future Enhancement) */
@media (prefers-color-scheme: dark) {
    .legal-content {
        background: #1a1a1a;
        color: #e0e0e0;
    }
    
    .legal-text {
        color: #e0e0e0;
    }
    
    .legal-text h2,
    .legal-text h3,
    .legal-text h4 {
        color: #ffffff;
    }
    
    .legal-footer {
        background: #2d2d2d;
        color: #e0e0e0;
    }
}

/* Accessibility Improvements */
.legal-text:focus-within {
    outline: 2px solid #ff6b9d;
    outline-offset: 2px;
}

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

/* Highlight on Target */
:target {
    background: rgba(255, 107, 157, 0.1);
    padding: 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
} 