/* css/privacy-policy.css - New Sleek Style */

/* Main page wrapper for consistent background */
body { /* Ensures body uses theme from base.css */
    background-color: var(--bg-main);
    color: var(--text-main);
}

/* --- Hero Section for Legal Pages --- */
.privacy-hero { /* Assuming .terms-hero will share this style or have its own */
    padding: 4rem 1rem 3rem; /* Adjusted padding */
    text-align: center;
    background-color: var(--bg-surface); /* Use surface color for a distinct header area */
    border-bottom: 1px solid var(--border-main);
    position: relative;
}
/* Optional: Subtle pattern for hero background if desired from contact page */
.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at top center, rgba(var(--accent-main-rgb), 0.02) 0%, transparent 50%);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}
.privacy-hero .hero-content { /* Ensure content is above pseudo-element */
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.privacy-hero h1 {
    font-family: var(--font-headings);
    font-size: clamp(2rem, 5vw, 2.8rem); /* Slightly smaller for legal pages */
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-headings);
}
.privacy-hero h1 .gradient-text { /* If you want to use gradient text in hero title */
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.privacy-hero p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Main Content Container for Legal Text --- */
.privacy-container { /* This class is on the <main> element */
    max-width: 800px; /* Optimal width for readability of long text */
    margin: 2.5rem auto 4rem auto; /* Top/bottom margin, centered */
    padding: 0 1.5rem; /* Side padding */
}

.privacy-content { /* This class is on the <section> holding the text */
    background-color: var(--bg-surface); /* Content area background */
    border-radius: 10px;
    padding: 2rem 2.5rem; /* Generous padding for content */
    box-shadow: var(--shadow-main-medium);
    border: 1px solid var(--border-main);
}

/* --- Typography for Legal Content --- */
.privacy-content h2 {
    font-family: var(--font-headings);
    font-size: 1.6rem;
    color: var(--text-headings);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
}
.privacy-content h3 {
    font-family: var(--font-headings);
    font-size: 1.25rem;
    color: var(--text-headings);
    margin-top: 2rem; /* Space above H3 */
    margin-bottom: 0.75rem;
}
.privacy-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.75; /* Increased line height for readability */
    font-size: 0.95rem;
}
.privacy-content ul {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding-left: 1.25rem; /* Standard indent for lists */
    font-size: 0.95rem;
    line-height: 1.7;
}
.privacy-content ul li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem; /* Space after bullet */
}
.privacy-content ul li::marker {
    color: var(--accent-main); /* Style list bullets */
}
.privacy-content a {
    color: var(--accent-main);
    text-decoration: none; /* Remove underline by default */
    border-bottom: 1px solid rgba(var(--accent-main-rgb), 0.4); /* Subtle underline */
    transition: color 0.2s ease, border-bottom-color 0.2s ease;
}
.privacy-content a:hover {
    color: var(--accent-main-hover);
    border-bottom-color: var(--accent-main-hover);
}
.privacy-content strong {
    font-weight: 600;
    color: var(--text-main); /* Make strong text stand out slightly more */
}

/* Contact Details within Legal Pages (if present) */
.privacy-content .contact-details { /* Assuming same structure as contact page */
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}
.privacy-content .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 0.75rem; /* More compact */
    background-color: var(--bg-main);
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
}
.privacy-content .contact-icon {
    font-size: 1.3rem; /* Slightly smaller icon */
    color: var(--accent-main);
    margin-top: 0.1em;
    flex-shrink: 0;
}
.privacy-content .contact-content h3 {
    font-family: var(--font-primary); /* Use primary font for these smaller headings */
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 0; /* Reset margin from generic H3 */
    margin-bottom: 0.2rem;
    color: var(--text-headings);
}
.privacy-content .contact-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

/* --- Responsive Design for Legal Pages --- */
@media (max-width: 768px) {
    .privacy-hero { padding: 3rem 1rem 2rem; }
    .privacy-hero h1 { font-size: clamp(1.8rem, 5vw, 2.2rem); }
    .privacy-hero p { font-size: clamp(0.9rem, 2.5vw, 1rem); }

    .privacy-container { margin-top: 2rem; margin-bottom: 2.5rem; padding: 0 1rem; }
    .privacy-content { padding: 1.5rem; }
    .privacy-content h2 { font-size: 1.4rem; }
    .privacy-content h3 { font-size: 1.15rem; margin-top: 1.5rem; }
    .privacy-content p, .privacy-content ul { font-size: 0.9rem; line-height: 1.7; }
}

@media (max-width: 480px) {
    .privacy-content { padding: 1.25rem 1rem; }
    .privacy-hero h1 { font-size: 1.6rem; }
    .privacy-hero p { font-size: 0.85rem; }
}