/* style/privacy-policy.css */

/* Base Styles & Typography */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--bg-dark); /* Inherited from shared, assuming dark */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 60px 20px;
}

.page-privacy-policy__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.5); /* Darken image for better text readability */
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    z-index: 1;
    color: #ffffff;
}

.page-privacy-policy__main-title {
    font-size: 3.2em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-privacy-policy__dark-section {
    background-color: #000080; /* Auxiliary dark blue background */
    color: #ffffff;
}

.page-privacy-policy__section-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-privacy-policy__section-title {
    font-size: 2.5em;
    color: #FFD700;
    margin-bottom: 30px;
    text-align: center;
}

.page-privacy-policy__sub-section-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-privacy-policy__text-block {
    font-size: 1.1em;
    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;
    font-size: 1.05em;
}

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

/* Buttons */
.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
}

.page-privacy-policy__btn-primary {
    background-color: #FFD700;
    color: #000080; /* Dark blue text on gold button */
    border: 2px solid #FFD700;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #e0b800;
    color: #00005a;
}

.page-privacy-policy__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    margin-left: 20px;
}

.page-privacy-policy__btn-secondary:hover {
    background-color: #FFD700;
    color: #000080;
}

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

.page-privacy-policy__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark section */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    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;
    font-size: 1.2em;
    color: #FFD700;
    background-color: rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question h3 {
    margin: 0;
    color: #FFD700;
    font-size: 1.2em;
}

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(45deg);
}

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

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

.page-privacy-policy__faq-answer p {
    margin: 0;
    font-size: 1.05em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }

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

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

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

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

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

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

    .page-privacy-policy__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
        margin-left: 0;
        margin-bottom: 15px;
    }

    .page-privacy-policy__btn-secondary {
        margin-left: 0;
    }

    .page-privacy-policy__hero-content .page-privacy-policy__cta-button:last-child {
        margin-bottom: 0;
    }

    .page-privacy-policy__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 20px auto;
    }

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

    .page-privacy-policy__faq-question h3 {
        font-size: 1em;
    }

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

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

    .page-privacy-policy__section-container,
    .page-privacy-policy__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }

    .page-privacy-policy__faq-item {
        margin-left: 0;
        margin-right: 0;
    }
}