/* style/privacy-policy.css */

/* Custom Color Variables */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-btn-gradient-start: #2AD16F;
    --color-btn-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

.page-privacy-policy {
    background-color: var(--color-background);
    color: var(--color-text-main); /* Default text color for the main content area */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 60px 0; /* General padding */
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--color-deep-green); /* Example background for hero section */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px; /* Space between image and content */
}

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

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

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

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

.page-privacy-policy__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, var(--color-btn-gradient-start) 0%, var(--color-btn-gradient-end) 100%);
    color: var(--color-text-main);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

/* Content Area */
.page-privacy-policy__content-area {
    padding: 60px 0;
    background-color: var(--color-background); /* Ensure contrast */
    color: var(--color-text-main);
}

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

.page-privacy-policy__paragraph {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: var(--color-text-main); /* Ensure contrast with background */
}

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

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

.page-privacy-policy__list-item strong {
    color: var(--color-gold); /* Highlight important terms */
}

.page-privacy-policy__image {
    width: 100%;
    max-width: 800px; /* Constrain image width in content */
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    /* No filter allowed */
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    padding: 40px 0;
    background-color: var(--color-card-bg); /* Use card background for FAQ */
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-section .page-privacy-policy__section-title {
    color: var(--color-gold);
    text-align: center;
    border-bottom: none;
    padding-bottom: 0;
    margin-top: 0;
}

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

.page-privacy-policy__faq-item {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.page-privacy-policy__faq-item summary:hover {
    background-color: #1A5C3C; /* Slightly lighter deep green on hover */
}

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

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    color: var(--color-text-main);
}

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

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

.page-privacy-policy__faq-answer p {
    margin-bottom: 0;
}

/* Call to Action Section */
.page-privacy-policy__cta-section {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--color-deep-green); /* Use deep green for CTA section */
    border-radius: 10px;
    margin-top: 60px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-section .page-privacy-policy__section-title {
    color: var(--color-gold);
    border-bottom: none;
    padding-bottom: 0;
}

.page-privacy-policy__cta-section .page-privacy-policy__paragraph {
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--color-text-secondary);
}

.page-privacy-policy__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.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.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    box-sizing: border-box; /* Crucial for button width */
}

.page-privacy-policy__btn-primary {
    background: linear-gradient(180deg, var(--color-btn-gradient-start) 0%, var(--color-btn-gradient-end) 100%);
    color: var(--color-text-main);
    border: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(180deg, var(--color-btn-gradient-end) 0%, var(--color-btn-gradient-start) 100%); /* Slight gradient shift on hover */
}

.page-privacy-policy__btn-secondary {
    background: var(--color-background);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.page-privacy-policy__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: var(--color-primary);
    color: var(--color-text-main);
}

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

    .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__hero-section {
        padding: 40px 0;
        padding-top: 10px !important; /* Small top padding for mobile */
    }

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

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

    .page-privacy-policy__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

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

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item {
        font-size: 0.95em;
    }

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

    /* All containing elements for images/videos/buttons */
    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__content-area,
    .page-privacy-policy__faq-section,
    .page-privacy-policy__cta-section,
    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__faq-list,
    .page-privacy-policy__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-privacy-policy__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Add padding to button container */
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px; /* Ensure text inside button has padding */
        padding-right: 15px;
    }

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

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