/* Privacy Page Specific Styles */

/* Main content styling */
.privacy-content {
    margin-top: 100px; /* Account for fixed header */
    padding: 40px 0;
    background-color: #ffffff;
    min-height: calc(100vh - 200px);
}

/* Privacy header */
.privacy-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.privacy-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.privacy-header .last-updated {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Privacy body content */
.privacy-body {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

/* Privacy sections */
.privacy-section {
    margin-bottom: 40px;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #667eea;
}

.privacy-section h2 {
    color: #667eea;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.privacy-section h3 {
    color: #764ba2;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 25px 0 15px 0;
}

.privacy-section h4 {
    color: #555;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 0 10px 0;
}

.privacy-section p {
    margin-bottom: 15px;
    text-align: justify;
}

.privacy-section .intro {
    font-size: 1.1rem;
    font-weight: 400;
    color: #555;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    margin-bottom: 25px;
}

/* Table of contents */
.table-of-contents {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.table-of-contents ol {
    margin: 0;
    padding-left: 20px;
}

.table-of-contents li {
    margin-bottom: 8px;
    font-weight: 500;
}

.table-of-contents a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Lists styling */
.privacy-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.privacy-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.privacy-section li strong {
    color: #667eea;
    font-weight: 600;
}

/* Contact info section */
.contact-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.contact-details {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-details p {
    margin-bottom: 10px;
}

.contact-details strong {
    color: #667eea;
}

/* Navigation active state */
.nav a.active {
    background: rgba(255,255,255,0.2);
    border-radius: 5px;
    padding: 8px 15px;
    font-weight: 600;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Responsive design */
@media (max-width: 768px) {
    .privacy-content {
        margin-top: 80px;
        padding: 20px 0;
    }
    
    .privacy-header {
        margin-bottom: 30px;
        padding: 30px 20px;
    }
    
    .privacy-header h1 {
        font-size: 2rem;
    }
    
    .privacy-body {
        padding: 0 15px;
    }
    
    .privacy-section {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .privacy-section h3 {
        font-size: 1.3rem;
    }
    
    .privacy-section h4 {
        font-size: 1.1rem;
    }
    
    .table-of-contents {
        padding: 20px 15px;
    }
    
    .contact-info,
    .contact-details {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .privacy-header h1 {
        font-size: 1.8rem;
    }
    
    .privacy-header .last-updated {
        font-size: 1rem;
    }
    
    .privacy-section {
        padding: 15px 10px;
    }
    
    .privacy-section h2 {
        font-size: 1.4rem;
    }
    
    .table-of-contents ol {
        padding-left: 15px;
    }
}

/* Print styles */
@media print {
    .header,
    .footer {
        display: none;
    }
    
    .privacy-content {
        margin-top: 0;
    }
    
    .privacy-section {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    .privacy-header {
        background: none;
        color: #333;
        box-shadow: none;
    }
}

/* Accessibility improvements */
.privacy-section:focus-within {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.table-of-contents a:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
    border-radius: 3px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .privacy-section {
        border-left-width: 6px;
    }
    
    .privacy-header {
        background: #000;
        color: #fff;
    }
    
    .privacy-section h2 {
        color: #000;
    }
}
