/* style/privacy-policy.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-dark: #000000; /* From body background */
    --login-button-color: #EA7C07;
}

.page-privacy-policy {
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark); /* Ensure consistency */
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--primary-color);
    overflow: hidden;
}

.page-privacy-policy__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.2;
}

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

.page-privacy-policy__hero-title {
    font-size: 2.8em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-privacy-policy__hero-description {
    font-size: 1.2em;
    color: var(--secondary-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    background: var(--login-button-color); /* Use specific color for CTA */
    color: var(--secondary-color);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
}

.page-privacy-policy__btn-primary:hover {
    background-color: darken(var(--login-button-color), 10%); /* Example for hover */
    opacity: 0.9;
}

.page-privacy-policy__content-area {
    background-color: var(--secondary-color); /* White background for content for readability */
    color: var(--text-dark); /* Dark text on white background */
    padding: 60px 20px;
}

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

.page-privacy-policy__section-title {
    font-size: 2em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-privacy-policy__text-block {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-privacy-policy__text-block a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

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

.page-privacy-policy__sub-list {
    list-style: circle;
    margin-left: 20px;
    margin-top: 5px;
}

.page-privacy-policy__sub-list-item {
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 5px;
}

.page-privacy-policy__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.page-privacy-policy__faq-section {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 60px 20px;
    text-align: center;
}

.page-privacy-policy__faq-section .page-privacy-policy__section-title {
    color: var(--secondary-color);
    margin-bottom: 40px;
}

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

.page-privacy-policy__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--secondary-color);
}

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
}

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

.page-privacy-policy__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--secondary-color);
}

.page-privacy-policy__faq-answer p {
    margin-bottom: 10px;
}

.page-privacy-policy__faq-answer a {
    color: var(--secondary-color);
    text-decoration: underline;
}

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

    .page-privacy-policy__hero-title {
        font-size: 2em;
    }

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

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

    .page-privacy-policy__container {
        padding: 0 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-privacy-policy__text-block,
    .page-privacy-policy__list-item,
    .page-privacy-policy__sub-list-item {
        font-size: 1em;
        line-height: 1.5;
    }

    /* Images responsive for mobile */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Buttons responsive for mobile */
    .page-privacy-policy__btn-primary,
    .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;
    }

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

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

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