/* style/privacy-policy.css */

/* Variables from custom colors */
: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;
}

.page-privacy-policy {
    background-color: var(--page-privacy-policy-background); /* Dark background */
    color: var(--page-privacy-policy-text-main); /* Light text for contrast */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto; /* Ensure aspect ratio is maintained */
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

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

.page-privacy-policy__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    color: var(--page-privacy-policy-gold);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

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

.page-privacy-policy__cta-button {
    display: inline-block;
    background: var(--page-privacy-policy-button-gradient);
    color: var(--page-privacy-policy-text-main);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    max-width: 100%; /* Button responsiveness */
    box-sizing: border-box; /* Button responsiveness */
    white-space: normal; /* Button responsiveness */
    word-wrap: break-word; /* Button responsiveness */
}

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

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

.page-privacy-policy__section:last-of-type {
    border-bottom: none;
}

.page-privacy-policy__container {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%; /* Ensure container takes full width up to max-width */
    box-sizing: border-box;
}

.page-privacy-policy__section-title {
    font-size: 2.5rem;
    color: var(--page-privacy-policy-primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 0 5px rgba(17, 168, 78, 0.4);
}

.page-privacy-policy__sub-title {
    font-size: 1.8rem;
    color: var(--page-privacy-policy-secondary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.4;
}

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

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

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.5;
}

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

.page-privacy-policy__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

/* FAQ Section */
.page-privacy-policy__faq {
    padding-bottom: 80px;
}

.page-privacy-policy__faq-list {
    margin-top: 40px;
}

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--page-privacy-policy-text-main);
    background-color: var(--page-privacy-policy-deep-green);
    border-bottom: 1px solid var(--page-privacy-policy-border);
    list-style: none; /* For details/summary */
}

.page-privacy-policy__faq-item[open] > .page-privacy-policy__faq-question {
    border-bottom: 1px solid var(--page-privacy-policy-border);
}

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--page-privacy-policy-gold);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg);
}

.page-privacy-policy__faq-answer {
    padding: 20px;
    font-size: 1rem;
    color: var(--page-privacy-policy-text-secondary);
    line-height: 1.6;
    background-color: rgba(17, 39, 27, 0.8); /* Slightly lighter than card-bg */
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Small top padding, body handles header offset */
    }

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

    .page-privacy-policy__main-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .page-privacy-policy__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-privacy-policy__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100% !important;
        max-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__section {
        padding: 40px 15px;
    }

    .page-privacy-policy__section-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .page-privacy-policy__sub-title {
        font-size: 1.5rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-privacy-policy__text-block,
    .page-privacy-policy__list-item,
    .page-privacy-policy__faq-question,
    .page-privacy-policy__faq-answer {
        font-size: 0.95rem;
    }

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

    /* All containers that might hold images or other content */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Specific for hero image wrapper to remove extra padding */
    .page-privacy-policy__hero-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    /* FAQ for mobile */
    .page-privacy-policy__faq-question {
        padding: 15px;
    }
    .page-privacy-policy__faq-answer {
        padding: 15px;
    }
}