/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #000000; /* Ensure main content area also has a dark background for contrast */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #26A9E0; /* Brand color for hero background */
    color: #FFFFFF;
    padding: 60px 20px;
}

.page-privacy-policy__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Make background image subtle */
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    border-radius: 8px;
}

.page-privacy-policy__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.page-privacy-policy__intro-text {
    font-size: 1.2em;
    line-height: 1.8;
    color: #f0f0f0;
}

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #0d0d0d; /* Darker background for content sections */
    color: #ffffff;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: #26A9E0;
    margin-top: 40px;
    margin-bottom: 25px;
    border-bottom: 2px solid #26A9E0;
    padding-bottom: 10px;
}

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

.page-privacy-policy p {
    margin-bottom: 15px;
    color: #f0f0f0;
}

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

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    color: #f0f0f0;
}

.page-privacy-policy__list-item strong {
    color: #26A9E0;
}

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

.page-privacy-policy__contact-link {
    color: #26A9E0;
    text-decoration: none;
}

.page-privacy-policy__contact-link:hover {
    text-decoration: underline;
}

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

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #FFFFFF;
    cursor: pointer;
    background-color: #26A9E0; /* Brand color for FAQ question background */
    border-bottom: 1px solid #26A9E0;
    transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-privacy-policy__faq-answer {
    padding: 20px 25px;
    background-color: #0d0d0d;
    color: #f0f0f0;
    border-top: 1px solid #333333;
}

/* Details element native toggle styling */
.page-privacy-policy__faq-item summary {
    list-style: none;
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: 2.2em;
    }
    .page-privacy-policy__intro-text {
        font-size: 1.1em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.4em;
    }
}

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

    .page-privacy-policy__hero-section {
        min-height: 300px;
        padding: 40px 15px;
    }

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

    .page-privacy-policy__main-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-privacy-policy__intro-text {
        font-size: 1em;
    }

    .page-privacy-policy__content-area {
        padding: 20px 15px;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .page-privacy-policy__container {
        padding: 0 10px;
    }

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

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

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

    /* Mobile specific image adaptation */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-privacy-policy__hero-image,
    .page-privacy-policy__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .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;
    }

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

    .page-privacy-policy__faq-answer {
        padding: 15px 20px;
    }
}