/* style/privacy-policy.css */

/* Custom Colors */
:root {
    --page-bg-color: #08160F;
    --page-card-bg: #11271B;
    --page-text-main: #F2FFF6;
    --page-text-secondary: #A7D9B8;
    --page-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-button-text: #F2FFF6;
    --page-border-color: #2E7A4E;
    --page-glow-color: #57E38D;
    --page-gold-color: #F2C14E;
    --page-divider-color: #1E3A2A;
    --page-deep-green-color: #0A4B2C;
}

.page-privacy-policy {
    background-color: var(--page-bg-color); /* Matches background: #08160F */
    color: var(--page-text-main); /* Matches Text Main: #F2FFF6 for contrast */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    font-size: 1.05em;
}

/* Hero Section */
.page-privacy-policy__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    text-align: center;
    background-color: var(--page-deep-green-color); /* Use a darker green for hero background */
    border-bottom: 1px solid var(--page-divider-color);
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
}

.page-privacy-policy__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 3.5vw, 3.2em); /* Using clamp for H1 as per instructions */
    color: var(--page-gold-color); /* Gold for main title */
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: bold;
    letter-spacing: 0.5px;
}

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

/* General Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    color: var(--page-text-main); /* Main text color */
}

.page-privacy-policy__section-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.page-privacy-policy__section-title {
    font-size: 2em;
    color: var(--page-gold-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--page-divider-color);
    padding-bottom: 10px;
}

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

.page-privacy-policy p {
    margin-bottom: 1em;
    color: var(--page-text-main);
}

.page-privacy-policy ul,
.page-privacy-policy ol {
    margin-bottom: 1em;
    padding-left: 20px;
    color: var(--page-text-main);
}

.page-privacy-policy li {
    margin-bottom: 0.5em;
    color: var(--page-text-secondary);
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* Call to Action Block */
.page-privacy-policy__cta-block {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background-color: var(--page-card-bg); /* Matches Card BG: #11271B */
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--page-border-color);
}

.page-privacy-policy__cta-block p {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: var(--page-text-secondary);
}

/* Buttons */
.page-privacy-policy__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: var(--page-button-gradient); /* Matches Button gradient */
    color: var(--page-button-text); /* Matches Button Text: #F2FFF6 */
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-privacy-policy__text-link {
    color: var(--page-gold-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy__text-link:hover {
    color: var(--page-glow-color);
}


/* FAQ Section */
.page-privacy-policy__faq-section {
    background-color: var(--page-deep-green-color); /* Different background for FAQ */
    padding: 60px 20px;
    border-top: 1px solid var(--page-divider-color);
}

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

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--page-gold-color); /* Gold for questions */
    background-color: var(--page-card-bg);
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: rgba(var(--page-gold-color), 0.1); /* Slightly lighter hover */
}

.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: 0.95em;
    color: var(--page-text-secondary);
}

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

/* 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; /* Small top padding for mobile hero */
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust H1 for mobile */
    }

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

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

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

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

    .page-privacy-policy p,
    .page-privacy-policy ul,
    .page-privacy-policy ol,
    .page-privacy-policy li,
    .page-privacy-policy__faq-answer {
        font-size: 0.95em;
    }

    /* Images */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__content-area,
    .page-privacy-policy__section-wrapper,
    .page-privacy-policy__cta-block,
    .page-privacy-policy__faq-section,
    .page-privacy-policy__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure content doesn't overflow */
    }

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

    .page-privacy-policy__cta-block {
        padding: 30px 15px;
    }
}