/* style/privacy-policy.css */

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

/* Base styles for the page content, considering dark body background */
.page-privacy-policy {
    background-color: var(--body-bg); /* Ensure main content area matches body background */
    color: var(--text-main); /* Light text on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Add some padding at the bottom */
}

/* H1 font size constraint: use clamp or rely on weight/line-height */
.page-privacy-policy__main-title {
    font-size: clamp(28px, 4vw, 48px); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    color: var(--gold-color); /* Highlight H1 with gold */
    margin-bottom: 20px;
    text-align: center;
}

.page-privacy-policy__description {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

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

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

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

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

.page-privacy-policy li {
    margin-bottom: 8px;
    color: var(--text-main);
}

.page-privacy-policy__link {
    color: var(--secondary-color);
    text-decoration: underline;
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image first, then content */
    align-items: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    overflow: hidden; /* Ensure no overflow */
}

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

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

.page-privacy-policy__hero-content {
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
    z-index: 1; /* Ensure content is above any potential background effects */
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--body-bg); /* Consistent with body */
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-privacy-policy__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

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

/* Call to Action (CTA) */
.page-privacy-policy__cta-wrapper {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: var(--card-bg); /* Darker background for CTA */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.page-privacy-policy__cta-text {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 25px;
}

/* Buttons */
.page-privacy-policy__btn-primary {
    display: inline-block;
    background: var(--button-gradient);
    color: #ffffff; /* White text on button gradient */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    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), 0 0 20px var(--glow-color);
}

/* Contact List */
.page-privacy-policy__contact-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-privacy-policy__contact-list li {
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--text-main);
}

.page-privacy-policy__contact-list strong {
    color: var(--gold-color);
}


/* FAQ Section */
.page-privacy-policy__faq-section {
    padding: 60px 20px;
    background-color: var(--deep-green); /* A slightly different dark green */
    color: var(--text-main);
    margin-top: 40px;
}

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

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

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--card-bg);
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: rgba(var(--primary-color), 0.1);
}

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

.page-privacy-policy__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    color: var(--gold-color); /* Make the +/- more visible */
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    content: "−"; /* Changed by JS for better control */
}

.page-privacy-policy__faq-answer {
    padding: 0 20px 20px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

/* Ensure summary marker is hidden for details tag */
.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: 1024px) {
    .page-privacy-policy__section-title {
        font-size: 28px;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-privacy-policy__hero-section {
        padding: 10px 15px 40px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(24px, 6vw, 36px);
    }
    .page-privacy-policy__description {
        font-size: 16px;
        padding: 0 10px;
    }
    .page-privacy-policy__content-area,
    .page-privacy-policy__faq-section {
        padding: 30px 15px;
    }
    .page-privacy-policy__section-title {
        font-size: 24px;
        text-align: left;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 20px;
    }
    .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-left: 15px;
        padding-right: 15px;
    }
    .page-privacy-policy__cta-wrapper {
        padding: 20px;
    }
    .page-privacy-policy__cta-text {
        font-size: 18px;
    }

    /* Mobile image, video, button responsive styles - IMPORTANT */
    .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-image-wrapper,
    .page-privacy-policy__image-wrapper,
    .page-privacy-policy__cta-wrapper,
    .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;
    }
    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    /* For multiple buttons, if any, ensure they wrap */
    .page-privacy-policy__button-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}