/* Legal Pages CSS - Datezy */

/* Premium Dark Theme (Legal Pages) */
:root {
    --primary-gradient: linear-gradient(135deg, #F78D93 0%, #FF9AA2 50%, #FFB3BA 100%);
    --accent-pink: #F78D93;
    --bg-dark: #1A1A1A;
    --bg-dark-secondary: #2D2D30;
    --bg-dark-card: #252528;
    --text-white: #FFFFFF;
    --text-light-gray: #B0B0B0;
    --text-dark-gray: #6B6B6B;
    --shadow-dark: 0 10px 40px rgba(0, 0, 0, 0.5);
}

body {
    background: var(--bg-dark);
    color: var(--text-white);
}

/* Header Styling */
.legal-header {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
    border-bottom: 1px solid rgba(247, 141, 147, 0.2);
}

.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: var(--text-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: 1px solid rgba(247, 141, 147, 0.15);
}

.legal-header-content h1 {
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.last-updated {
    color: var(--text-light-gray);
    font-size: 1.1rem;
    font-style: italic;
}

/* Text Content */
.legal-text {
    line-height: 1.8;
    font-size: 1rem;
    color: var(--text-light-gray);
}

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

.legal-text h2 {
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(247, 141, 147, 0.6);
    font-weight: 600;
}

.legal-text h3 {
    font-size: 1.4rem;
    color: var(--text-white);
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-weight: 600;
}

.legal-text h4 {
    font-size: 1.2rem;
    color: var(--text-white);
    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: var(--text-white);
    font-weight: 600;
}

.legal-text a {
    color: var(--accent-pink);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-text a:hover {
    color: var(--text-white);
    text-decoration: underline;
}

/* Tables */
.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--bg-dark-card);
    box-shadow: var(--shadow-dark);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(247, 141, 147, 0.15);
}

.cookie-table th {
    background: rgba(247, 141, 147, 0.15);
    color: var(--text-white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.cookie-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: var(--text-light-gray);
}

.cookie-table tr:nth-child(even) {
    background: rgba(255,255,255,0.02);
}

.cookie-table tr:hover {
    background: rgba(247, 141, 147, 0.06);
}

/* Legal Footer */
.legal-footer {
    background: var(--bg-dark-card);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
    text-align: center;
    border-left: 4px solid var(--accent-pink);
    box-shadow: var(--shadow-dark);
    border: 1px solid rgba(247, 141, 147, 0.15);
}

.legal-footer p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--text-light-gray);
}

/* Footer Section */
.legal-footer-section {
    background: #0F0F0F;
    color: var(--text-white);
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(247, 141, 147, 0.1);
}

.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: var(--text-light-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* 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;
} 