/* style/privacy-policy.css */

/* --- Base Styles --- */
.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

.page-privacy-policy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
    position: relative;
    padding: 120px 20px 80px;
    padding-top: var(--header-offset, 120px);
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.page-privacy-policy__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 1;
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-privacy-policy__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-privacy-policy__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* --- Content Area --- */
.page-privacy-policy__content-area {
    padding: 60px 0;
    background-color: #1a1a1a; /* Dark background for content sections */
    color: #ffffff; /* Light text for dark background */
}

.page-privacy-policy__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for main titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.page-privacy-policy__sub-section-title {
    font-size: 1.8em;
    color: #26A9E0; /* Brand color for sub-titles */
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(38, 169, 224, 0.3);
    padding-bottom: 10px;
}

.page-privacy-policy__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 40px;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-privacy-policy__list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-privacy-policy__list strong {
    color: #26A9E0; /* Highlight important terms */
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__image-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

/* --- Buttons --- */
.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: #26A9E0;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #26A9E0;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #1e87c2;
    transform: translateY(-2px);
}

/* --- Links --- */
.page-privacy-policy a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    color: #1e87c2;
    text-decoration: underline;
}

/* --- Accessibility & Contrast --- */
.page-privacy-policy__dark-bg {
    background-color: #121212; /* Body background color */
    color: #ffffff; /* Light text for dark background */
}

.page-privacy-policy__light-bg {
    background-color: #1a1a1a; /* Adjusted to be dark for consistency with body */
    color: #ffffff; /* Light text */
}

/* Ensure all text within the main content area has sufficient contrast */
.page-privacy-policy h1,
.page-privacy-policy h2,
.page-privacy-policy h3,
.page-privacy-policy h4,
.page-privacy-policy h5,
.page-privacy-policy h6 {
    color: #26A9E0; /* Brand color for headings on dark background */
}

.page-privacy-policy p,
.page-privacy-policy li,
.page-privacy-policy a {
    color: #e0e0e0; /* Slightly off-white for body text on dark background */
}

.page-privacy-policy a:hover {
    color: #26A9E0; /* Ensure hover color is distinct and readable */
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
        min-height: 400px;
    }

    .page-privacy-policy__hero-title {
        font-size: 2.2em;
    }

    .page-privacy-policy__hero-description {
        font-size: 1em;
    }

    .page-privacy-policy__section-title {
        font-size: 2em;
    }

    .page-privacy-policy__sub-section-title {
        font-size: 1.5em;
    }

    .page-privacy-policy__text-block,
    .page-privacy-policy__list li {
        font-size: 1em;
    }

    /* Images responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-privacy-policy__image-wrapper,
    .page-privacy-policy__content-area,
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Button responsiveness */
    .page-privacy-policy__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
    }

    .page-privacy-policy__cta-buttons { /* If there were multiple buttons */
        display: flex;
        flex-direction: column;
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}