/* style/privacy-policy.css */

/* Variables (if any, typically in shared.css) */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --bg-dark: #08160F; /* Background */
    --card-bg: #11271B; /* Card BG */
    --text-main: #F2FFF6; /* Text Main */
    --text-secondary: #A7D9B8; /* Text Secondary */
    --border-color: #2E7A4E; /* Border */
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for the page, dark background needs light text */
    background-color: var(--bg-dark); /* Page background */
    padding-bottom: 40px; /* Add some padding at the bottom before footer */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    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 no overflow */
    background-color: var(--bg-dark); /* Ensure hero section has dark background */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for the image */
    margin-bottom: 30px; /* Space between image and text */
}

.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;
    color: var(--text-main);
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 3.5vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    color: var(--gold-color); /* Gold color for main title */
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Subtle glow */
}

.page-privacy-policy__subtitle {
    font-size: 1.1em;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--card-bg); /* Use card background for content area */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: var(--text-main); /* Light text on dark card background */
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--gold-color);
    margin-top: 50px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--divider-color);
    padding-bottom: 15px;
}

.page-privacy-policy__sub-section-title {
    font-size: 1.8em;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-privacy-policy__paragraph {
    font-size: 1em;
    margin-bottom: 15px;
    color: var(--text-main);
}

.page-privacy-policy__paragraph a {
    color: var(--gold-color);
    text-decoration: underline;
}

.page-privacy-policy__paragraph a:hover {
    color: var(--glow-color);
}

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

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

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

.page-privacy-policy__image-inline {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-privacy-policy__faq-item {
    background-color: var(--bg-dark); /* Slightly darker for FAQ items */
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden; /* For smooth transition */
    color: var(--text-main);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    color: var(--gold-color);
    background-color: var(--card-bg); /* Use card background for question */
    border-bottom: 1px solid var(--border-color);
    user-select: none;
    list-style: none; /* Hide default marker for summary */
}

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

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

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

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate for minus sign effect */
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-content {
        padding: 0 15px;
    }
    .page-privacy-policy__content-area {
        padding: 30px 15px;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 1.5em;
    }
}

@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 already handles offset */
    }
    .page-privacy-policy__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-privacy-policy__subtitle {
        font-size: 1em;
    }
    .page-privacy-policy__content-area {
        padding: 20px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-privacy-policy__section-title {
        font-size: 1.6em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 15px;
    }
    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item {
        font-size: 0.95em;
    }
    .page-privacy-policy__image-inline {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box !important;
    }
    .page-privacy-policy__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 15px 15px;
    }

    /* Mobile specific for buttons (if any) */
    .page-privacy-policy__cta-button,
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary,
    .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__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;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-privacy-policy__cta-buttons {
        display: flex;
        flex-direction: column;
    }
}