/* style/privacy-policy.css */

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

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

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Ensure content starts below fixed header */
    box-sizing: border-box;
}

.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;
    padding: 40px 20px;
}

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

.page-privacy-policy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

/* General Content Area */
.page-privacy-policy__content-area {
    padding: 60px 0;
    background-color: #0d0d0d; /* Slightly lighter dark background for content */
    color: #f0f0f0;
}

.page-privacy-policy__introduction-text {
    font-size: 1.1em;
    margin-bottom: 40px;
    line-height: 1.7;
    color: #e0e0e0;
}

.page-privacy-policy__section-title {
    font-size: 2em;
    color: #26A9E0; /* Brand color for main titles */
    margin-top: 50px;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(38, 169, 224, 0.3);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-section-title {
    font-size: 1.5em;
    color: #ffffff;
    margin-top: 35px;
    margin-bottom: 20px;
}

.page-privacy-policy__paragraph {
    margin-bottom: 20px;
    color: #e0e0e0;
}

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

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

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

/* Buttons */
.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: #26A9E0;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

/* Image Styling */
.page-privacy-policy__image-wrapper {
    margin: 30px 0;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
    object-fit: cover;
}

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

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

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

.page-privacy-policy__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08); /* Slightly darker for question header */
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.page-privacy-policy__faq-title {
    font-size: 1.2em;
    color: #ffffff;
    margin: 0;
    flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to form an X or minus */
}

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

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 1000px !important; /* Ensure it expands sufficiently */
    padding: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-privacy-policy__hero-title {
        font-size: 2em;
    }

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

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

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

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item,
    .page-privacy-policy__introduction-text {
        font-size: 0.95em;
    }

    /* Mobile image 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__container,
    .page-privacy-policy__content-area,
    .page-privacy-policy__hero-section,
    .page-privacy-policy__faq-section,
    .page-privacy-policy__faq-item,
    .page-privacy-policy__faq-question,
    .page-privacy-policy__faq-answer {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Ensure hero padding top is correct for mobile */
    .page-privacy-policy__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    /* Mobile 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: 12px 15px !important; /* Adjust padding for smaller screens */
    }

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

    .page-privacy-policy__content-area {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__hero-title {
        font-size: 1.8em;
    }

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

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

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

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

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