/* style/privacy-policy.css */

/* Custom Properties (for colors based on the provided palette) */
: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); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: 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__image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-privacy-policy__hero-content {
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    color: var(--page-privacy-policy-gold); /* Gold for main title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-privacy-policy__intro-text {
    font-size: 1.1em;
    color: var(--page-privacy-policy-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* Ensure container takes full width for responsive wrapping */
    max-width: 500px; /* Limit max width for button group */
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    overflow: hidden; /* Prevent overflow */
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
}

.page-privacy-policy__btn-primary {
    background: var(--page-privacy-policy-btn-gradient);
    color: var(--page-privacy-policy-text-main); /* White text for primary button */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__btn-secondary {
    background: transparent;
    color: var(--page-privacy-policy-glow); /* Glow color for secondary button text */
    border: 2px solid var(--page-privacy-policy-glow);
}

.page-privacy-policy__btn-secondary:hover {
    background: rgba(87, 227, 141, 0.1); /* Light transparent background on hover */
    transform: translateY(-3px);
}

.page-privacy-policy__content-section {
    padding: 60px 20px;
    background-color: var(--page-privacy-policy-bg);
}

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

.page-privacy-policy__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--page-privacy-policy-gold);
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: bold;
    line-height: 1.3;
}

.page-privacy-policy__subsection-title {
    font-size: clamp(1.4em, 2.5vw, 1.8em);
    color: var(--page-privacy-policy-glow);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-privacy-policy__text-block {
    margin-bottom: 20px;
    color: var(--page-privacy-policy-text-main);
}

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

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    color: var(--page-privacy-policy-text-main);
}

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

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-privacy-policy__contact-link {
    color: var(--page-privacy-policy-glow);
    text-decoration: underline;
}

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

.page-privacy-policy__cta-block {
    background-color: var(--page-privacy-policy-card-bg);
    border: 1px solid var(--page-privacy-policy-border);
    border-radius: 10px;
    padding: 40px;
    margin-top: 50px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__cta-text {
    font-size: 1.3em;
    color: var(--page-privacy-policy-text-main);
    margin-bottom: 25px;
    font-weight: bold;
}

.page-privacy-policy__btn-large {
    padding: 18px 40px;
    font-size: 1.15em;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    padding: 60px 20px;
    background-color: var(--page-privacy-policy-deep-green); /* Slightly different background for FAQ */
}

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

.page-privacy-policy__faq-item summary {
    list-style: none; /* Hide default marker for details tag */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--page-privacy-policy-text-main);
    font-size: 1.1em;
}

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__faq-question:hover {
    color: var(--page-privacy-policy-glow);
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--page-privacy-policy-glow);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to become cross */
}

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

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

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

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

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

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

    .page-privacy-policy__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__content-section,
    .page-privacy-policy__faq-section {
        padding: 30px 15px;
    }

    .page-privacy-policy__container {
        padding: 0 15px;
        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: 20px;
    }

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

    .page-privacy-policy__list {
        margin-left: 20px;
    }

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

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

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

    /* Ensure all images within content sections are responsive */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
}

/* Global image styles to ensure minimum size and no small icons */
.page-privacy-policy img {
    min-width: 200px;
    min-height: 200px;
}