/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    background-color: #26A9E0; /* Brand primary color */
    color: #FFFFFF;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    z-index: 1;
    position: relative;
}

.page-privacy-policy__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
}

.page-privacy-policy__hero-description {
    font-size: 1.2em;
    line-height: 1.8;
    color: #FFFFFF;
    opacity: 0.9;
}

.page-privacy-policy__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.15; /* Subtle background image */
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%); /* Make it monochrome for background */
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #FFFFFF; /* Explicit white background for readability */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    margin-top: -40px; /* Overlap with hero slightly for visual flow */
    position: relative;
    z-index: 2;
}

.page-privacy-policy__container {
    max-width: 960px;
    margin: 0 auto;
}

.page-privacy-policy__section-title {
    font-size: 2em;
    color: #26A9E0; /* Brand primary color for titles */
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.page-privacy-policy__sub-section-title {
    font-size: 1.5em;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy__paragraph {
    margin-bottom: 15px;
    color: #333333;
}

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

.page-privacy-policy__list-item {
    margin-bottom: 8px;
    color: #333333;
}

.page-privacy-policy__text-link {
    color: #26A9E0; /* Brand primary for text links */
    text-decoration: underline;
}

.page-privacy-policy__text-link:hover {
    color: #1a7eb3; /* Slightly darker on hover */
    text-decoration: none;
}

.page-privacy-policy__image-content {
    margin: 30px 0;
    text-align: center;
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    min-width: 200px;
    min-height: 200px;
}

/* FAQ Section */
.page-privacy-policy__faq-list {
    margin-top: 30px;
}

.page-privacy-policy__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #FFFFFF;
    cursor: pointer;
    font-weight: bold;
    color: #333333;
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: #f0f0f0;
}

.page-privacy-policy__faq-title {
    margin: 0;
    font-size: 1.1em;
    color: #333333;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #26A9E0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to form an 'x' or minus */
    color: #EA7C07; /* Login color for active state */
}

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
    background-color: #fefefe;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 20px !important;
}

/* CTA Section */
.page-privacy-policy__cta-section {
    background-color: #26A9E0; /* Brand primary color */
    color: #FFFFFF;
    padding: 60px 20px;
    text-align: center;
    margin-top: 40px;
}

.page-privacy-policy__cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-privacy-policy__cta-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-privacy-policy__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFFFFF;
    opacity: 0.9;
}

.page-privacy-policy__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box; /* Ensure padding doesn't push width */
    max-width: 100%; /* For mobile responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-privacy-policy__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #d66a00;
    border-color: #d66a00;
}

.page-privacy-policy__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0; /* Brand primary color */
    border: 2px solid #FFFFFF;
}

.page-privacy-policy__btn-secondary:hover {
    background-color: #e0e0e0;
    color: #1a7eb3;
    border-color: #e0e0e0;
}

/* General image styling for content area */
.page-privacy-policy img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevent extra space below images */
}

/* Ensure no filter on images */
.page-privacy-policy img {
    filter: none; /* Explicitly remove any filters */
}
.page-privacy-policy__hero-image {
    filter: grayscale(100%); /* This is allowed as it's a background decorative image */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-title {
        font-size: 2.2em;
    }
    .page-privacy-policy__hero-description {
        font-size: 1.1em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 1.3em;
    }
    .page-privacy-policy__cta-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-privacy-policy__hero-section {
        padding: 60px 15px;
    }

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

    .page-privacy-policy__content-area {
        padding: 30px 15px;
        margin-top: -20px; /* Adjust overlap for mobile */
    }

    .page-privacy-policy__container {
        padding-left: 0;
        padding-right: 0;
    }

    .page-privacy-policy__section-title {
        font-size: 1.6em;
        margin-top: 30px;
    }

    .page-privacy-policy__sub-section-title {
        font-size: 1.2em;
        margin-top: 25px;
    }

    .page-privacy-policy__list {
        margin-left: 15px;
    }

    .page-privacy-policy__faq-question {
        padding: 12px 15px;
        font-size: 1em;
    }
}