/* 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: transparent; /* Body background is #000000 from shared.css */
}

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

.page-privacy-policy__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.page-privacy-policy__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-privacy-policy__intro-text {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    line-height: 1.5;
    color: #f0f0f0;
}

/* CTA Button in Hero */
.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #FFFF00;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #a00606;
    transform: translateY(-3px);
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #ffffff; /* Light background for content */
    color: #333333; /* Dark text for light background */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.page-privacy-policy__section-heading {
    font-size: 2.2em;
    color: #017439; /* Brand color for headings */
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.page-privacy-policy__section-heading:first-of-type {
    margin-top: 0;
}

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

.page-privacy-policy__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
    font-size: 1.1em;
    color: #333333;
}

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

.page-privacy-policy__nested-list {
    list-style: circle inside;
    margin-top: 10px;
    padding-left: 20px;
}

.page-privacy-policy__image-block {
    margin: 40px 0;
    text-align: center;
}

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

.page-privacy-policy__image-caption {
    font-size: 0.9em;
    color: #666666;
    margin-top: 10px;
}

.page-privacy-policy__content-area a {
    color: #017439;
    text-decoration: underline;
}

.page-privacy-policy__content-area a:hover {
    color: #005a2e;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    margin-top: 60px;
    border-top: 1px solid #e0e0e0;
    padding-top: 40px;
}

.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: 20px;
    cursor: pointer;
    background-color: #eaf7ed; /* Lighter brand color */
    color: #017439;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

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

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

.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: #333333;
}

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

.page-privacy-policy__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: 2.8em;
    }

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

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

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

    .page-privacy-policy__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
        min-height: 400px;
    }

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

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

    .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-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__content-area {
        padding: 30px 15px;
        margin-top: -30px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__section-heading {
        font-size: 1.8em;
    }

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

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

    .page-privacy-policy__image-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

    .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 15px;
    }
}

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

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

    .page-privacy-policy__section-heading {
        font-size: 1.5em;
    }
}