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

/* Body background is dark, so text is light by default */
.page-privacy-policy {
    background-color: var(--page-privacy-policy-background);
    color: var(--page-privacy-policy-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Enforce image on top, text below */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    box-sizing: border-box;
    overflow: hidden;
}

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

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

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

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

.page-privacy-policy__subtitle {
    font-size: 1.2em;
    color: var(--page-privacy-policy-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Area */
.page-privacy-policy__section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--page-privacy-policy-gold);
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: 700;
}

.page-privacy-policy__sub-section-title {
    font-size: 1.6em;
    color: var(--page-privacy-policy-primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

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

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

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

.page-privacy-policy__list li strong {
    color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy a {
    color: var(--page-privacy-policy-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    color: var(--page-privacy-policy-glow);
    text-decoration: underline;
}

/* Buttons */
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-privacy-policy__btn-primary {
    background: var(--page-privacy-policy-button-gradient);
    color: var(--page-privacy-policy-text-main);
    border: 2px solid transparent;
    margin-right: 15px;
}

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

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

.page-privacy-policy__btn-secondary:hover {
    background: var(--page-privacy-policy-primary-color);
    color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Dark Section for CTA */
.page-privacy-policy__dark-section {
    background-color: var(--page-privacy-policy-card-bg); /* Use card background for dark section */
    color: var(--page-privacy-policy-text-main);
    text-align: center;
    padding: 60px 20px;
}

/* Images within content */
.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

/* FAQ Section */
.page-privacy-policy__faq-list {
    margin-top: 30px;
    border-top: 1px solid var(--page-privacy-policy-divider);
}

.page-privacy-policy__faq-item {
    border-bottom: 1px solid var(--page-privacy-policy-divider);
    padding: 20px 0;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--page-privacy-policy-text-main);
    padding: 10px 0;
}

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

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 25px;
    text-align: center;
    color: var(--page-privacy-policy-gold);
}

/* Details tag specific styling */
.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    content: "−"; /* Change to minus when open */
}

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

.page-privacy-policy__faq-answer {
    padding-top: 15px;
    font-size: 1em;
    color: var(--page-privacy-policy-text-secondary);
}

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

/* Ensure no filter on images */
.page-privacy-policy img {
    filter: 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;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }

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

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

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

    .page-privacy-policy__sub-section-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important; /* Remove margin for stacked buttons */
        padding: 12px 15px;
        font-size: 1em;
    }

    .page-privacy-policy__hero-image,
    .page-privacy-policy__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-privacy-policy__faq-question {
        font-size: 1.1em;
    }

    /* All containing elements for images/buttons must be responsive */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__cta-section {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important; /* Prevent content overflow */
    }

    /* Override any default padding/margin for specific sections if needed */
    .page-privacy-policy__hero-content {
        padding: 0 15px;
    }
}