/* style/privacy-policy.css */
/* Custom Colors */
:root {
    --page-privacy-policy-bg: #08160F; /* Background */
    --page-privacy-policy-card-bg: #11271B; /* Card BG */
    --page-privacy-policy-text-main: #F2FFF6; /* Text Main */
    --page-privacy-policy-text-secondary: #A7D9B8; /* Text Secondary */
    --page-privacy-policy-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --page-privacy-policy-border: #2E7A4E; /* Border */
    --page-privacy-policy-glow: #57E38D; /* Glow */
    --page-privacy-policy-gold: #F2C14E; /* Gold */
    --page-privacy-policy-divider: #1E3A2A; /* Divider */
    --page-privacy-policy-deep-green: #0A4B2C; /* Deep Green */
}

.page-privacy-policy {
    background-color: var(--page-privacy-policy-bg);
    color: var(--page-privacy-policy-text-main); /* Default text color on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Add some padding at the bottom */
}

/* Fixed header spacing - body handles padding-top */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure it takes full width */
    margin-bottom: 20px; /* Space between image and content */
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(17, 39, 27, 0.8); /* Semi-transparent dark green background for readability */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 3.5vw, 3em); /* Responsive font size for H1 */
    color: var(--page-privacy-policy-text-main);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-privacy-policy__intro-description {
    font-size: 1.1em;
    color: var(--page-privacy-policy-text-secondary);
    margin-bottom: 30px;
}

.page-privacy-policy__section {
    padding: 40px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-privacy-policy__section--overview {
    background-color: var(--page-privacy-policy-bg); /* Use main background for overview */
}

.page-privacy-policy__section--data-collection,
.page-privacy-policy__section--data-sharing,
.page-privacy-policy__section--user-rights,
.page-privacy-policy__section--changes {
    background-color: var(--page-privacy-policy-card-bg); /* Darker background for specific sections */
    color: var(--page-privacy-policy-text-main);
}

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

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--page-privacy-policy-glow); /* Using glow for titles */
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.page-privacy-policy__sub-title {
    font-size: 1.6em;
    color: var(--page-privacy-policy-text-main);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-privacy-policy__text-block {
    font-size: 1em;
    color: var(--page-privacy-policy-text-secondary);
    margin-bottom: 15px;
}

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

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

.page-privacy-policy__list-item strong {
    color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__link {
    color: var(--page-privacy-policy-glow); /* Links use a brighter green */
    text-decoration: underline;
}

.page-privacy-policy__link:hover {
    color: var(--page-privacy-policy-gold);
}

.page-privacy-policy__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
}

/* CTA Button Styles */
.page-privacy-policy__cta-button {
    display: inline-block;
    background: var(--page-privacy-policy-btn-gradient);
    color: var(--page-privacy-policy-text-main);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-privacy-policy__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.page-privacy-policy__cta-button--contact {
    margin-right: 20px;
    margin-bottom: 20px;
}

.page-privacy-policy__cta-button--download {
    margin-top: 20px;
}

.page-privacy-policy__text-block--final-cta {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--page-privacy-policy-glow);
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

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

.page-privacy-policy__faq-item {
    background-color: var(--page-privacy-policy-card-bg);
    border: 1px solid var(--page-privacy-policy-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: var(--page-privacy-policy-text-main);
    background-color: var(--page-privacy-policy-deep-green); /* Slightly different background for question */
    border-bottom: 1px solid var(--page-privacy-policy-divider);
}

.page-privacy-policy__faq-question:hover {
    background-color: rgba(10, 75, 44, 0.8); /* Darken on hover */
}

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--page-privacy-policy-glow);
}

.page-privacy-policy__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--page-privacy-policy-text-secondary);
    background-color: var(--page-privacy-policy-card-bg); /* Same as card background */
}

/* Details tag specific styles for FAQ */
.page-privacy-policy__faq-item summary {
    list-style: none;
}
.page-privacy-policy__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
    border-bottom: 1px solid var(--page-privacy-policy-divider);
}

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

    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset */
    }

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

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
        margin-bottom: 10px;
    }

    .page-privacy-policy__intro-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-privacy-policy__section {
        padding: 30px 15px;
        margin-bottom: 20px;
    }

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

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

    .page-privacy-policy__sub-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-privacy-policy__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: unset; /* Allow smaller images on mobile if needed */
        min-height: unset;
    }
    
    .page-privacy-policy__list {
        margin-left: 15px;
    }

    .page-privacy-policy__cta-button {
        padding: 12px 20px;
        font-size: 1em;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 15px; /* Stack buttons vertically */
        margin-right: 0 !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-privacy-policy__cta-button--contact {
        margin-right: 0;
    }
    .page-privacy-policy__cta-button--download {
        margin-top: 15px;
    }

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

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