/* 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; /* Dark body background #0d0d0d, so light text */
    background-color: transparent; /* Body background is handled by shared.css */
    padding-bottom: 60px; /* Space before footer */
}

.page-privacy-policy__hero-section {
    position: relative;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background-color: #017439; /* Primary brand color for hero */
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* For image */
}

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

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

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

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

.page-privacy-policy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7); /* Darken image slightly to ensure text contrast */
}

.page-privacy-policy__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #0d0d0d; /* Explicitly set background for content sections */
    color: #ffffff; /* Light text for dark background */
}

.page-privacy-policy__dark-bg {
    background-color: #0d0d0d;
    color: #ffffff;
}

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

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

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

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
    max-width: 100%; /* Ensure button responsiveness */
    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: none;
}

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

.page-privacy-policy__btn-secondary {
    background-color: #017439; /* Primary brand color */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-privacy-policy__btn-secondary:hover {
    background-color: #005a2e;
    transform: translateY(-2px);
}

.page-privacy-policy__btn-tertiary {
    background-color: transparent;
    color: #017439;
    border: 2px solid #017439;
}

.page-privacy-policy__btn-tertiary:hover {
    background-color: rgba(1, 116, 57, 0.1);
    transform: translateY(-2px);
}

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

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-privacy-policy__contact-list {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
}

.page-privacy-policy__contact-item {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-privacy-policy__contact-link {
    color: #017439; /* Brand color for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
    color: #005a2e;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    padding: 60px 20px;
    color: #ffffff;
    text-align: center;
}

.page-privacy-policy__faq-container {
    max-width: 900px;
    margin: 30px auto 0 auto;
    text-align: left;
}

.page-privacy-policy__faq-item {
    background-color: #0d0d0d;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #2a2a2a;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: #017439; /* Primary color for question background */
    border-bottom: 1px solid #005a2e;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-privacy-policy__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for details/summary */
}

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

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

.page-privacy-policy__faq-answer {
    padding: 20px 25px;
    font-size: 1.05em;
    color: #f0f0f0;
    background-color: #1a1a1a;
    border-top: 1px solid #2a2a2a;
}

/* For <details> tag, the answer is shown by default when open */
.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
    background-color: #005a2e;
    border-bottom: 1px solid #017439;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: 2.5em;
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
    .page-privacy-policy__hero-section {
        padding: 60px 20px;
        padding-top: var(--header-offset, 120px);
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }

    .page-privacy-policy__main-title {
        font-size: 2em;
        line-height: 1.3;
    }

    .page-privacy-policy__description,
    .page-privacy-policy__text-block,
    .page-privacy-policy__list-item,
    .page-privacy-policy__contact-item,
    .page-privacy-policy__faq-answer p {
        font-size: 1em;
    }

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

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

    /* Images responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: unset !important; /* Allow smaller display sizes if needed */
        min-height: unset !important;
    }

    /* Image containers responsiveness */
    .page-privacy-policy__image-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Buttons responsiveness */
    .page-privacy-policy__cta-button,
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary,
    .page-privacy-policy__btn-tertiary,
    .page-privacy-policy a[class*="button"],
    .page-privacy-policy a[class*="btn"] {
        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;
        text-align: center;
    }

    /* Button container responsiveness */
    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__button-group,
    .page-privacy-policy__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
        display: flex; /* For potential multiple buttons */
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
    }

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

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