/* style/privacy-policy.css */
/* Custom Properties from Color Palette */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color-page: #08160F; /* Specific background for this page's content area */
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-privacy-policy {
    background-color: var(--background-color-page);
    color: var(--text-main); /* Main text color for dark background */
    font-family: 'Arial', sans-serif; /* Example font, replace with actual site font */
    line-height: 1.6;
    padding-bottom: 60px; /* Space before footer */
}

/* H1 Font Size constraint */
.page-privacy-policy__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    color: var(--gold-color); /* H1 can use brand color, ensuring contrast */
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px auto;
}

.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Forced image above text */
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, body handles --header-offset */
    overflow: hidden;
    background-color: var(--deep-green); /* A darker green for hero section background */
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    max-height: 500px; /* Limit height for visual balance */
    margin-bottom: 30px; /* Space between image and content */
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    width: 100%;
    padding: 0 20px;
    text-align: center;
}

.page-privacy-policy__hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary); /* Secondary text color */
    margin-bottom: 30px;
}

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 50px;
    margin-bottom: 25px;
    text-align: center;
}

.page-privacy-policy__text-block {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 20px;
    text-align: justify;
}

.page-privacy-policy__card {
    background-color: var(--card-bg); /* Card background color */
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-main); /* Ensure text is readable on card background */
}

.page-privacy-policy__card-title {
    font-size: 1.3rem;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-privacy-policy__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-privacy-policy__list-item {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-privacy-policy__list-item::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-privacy-policy__list--numbered .page-privacy-policy__list-item::before {
    content: counter(list-item) '.';
    counter-increment: list-item;
    color: var(--primary-color);
    font-weight: bold;
}

.page-privacy-policy__list--checked .page-privacy-policy__list-item::before {
    content: '✓';
    color: var(--glow-color); /* Use glow color for checked items */
    font-weight: bold;
}

.page-privacy-policy__list--bullet .page-privacy-policy__list-item::before {
    content: '•';
    color: var(--gold-color);
    font-weight: bold;
}

.page-privacy-policy__list--contact .page-privacy-policy__list-item::before {
    content: '→'; /* Arrow for contact items */
    color: var(--secondary-color);
    font-weight: bold;
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy a {
    color: var(--glow-color); /* Link color */
    text-decoration: underline;
    transition: color 0.3s ease;
}

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

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

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-color);
    background-color: var(--deep-green); /* Slightly different background for question */
    border-bottom: 1px solid var(--divider-color);
}

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

.page-privacy-policy__faq-question::marker {
    display: none;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow-color);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    content: '−';
}

.page-privacy-policy__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--text-main);
    border-top: 1px solid var(--divider-color);
    animation: fadein 0.3s ease-out;
}

@keyframes fadein {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

    .page-privacy-policy__hero-section {
        padding: 10px 0 40px 0;
    }

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

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

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

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

    .page-privacy-policy__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__text-block {
        font-size: 0.95rem;
    }

    .page-privacy-policy__card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__card-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .page-privacy-policy__list-item {
        font-size: 0.95rem;
        margin-bottom: 8px;
        padding-left: 20px;
    }

    /* Mobile image adaptation */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-section,
    .page-privacy-policy__content-area,
    .page-privacy-policy__faq-list,
    .page-privacy-policy__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Override for specific hero/content area that already has padding */
    .page-privacy-policy__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-privacy-policy__content-area {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-privacy-policy__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-privacy-policy__faq-question {
        padding: 15px;
    }
    .page-privacy-policy__faq-answer {
        padding: 15px;
    }

    /* Ensure no horizontal scroll */
    body {
        overflow-x: hidden;
    }
    .page-privacy-policy {
        overflow-x: hidden;
    }
}