/* style/privacy-policy.css */

/* Global styles for the page content, assuming a dark body background from shared.css */
.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main, #F2FFF6); /* Main text color for dark backgrounds */
    background-color: var(--background, #08160F); /* Page background color */
}

/* Container for consistent padding and max-width */
.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;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    overflow: hidden;
    background-color: var(--deep-green, #0A4B2C); /* Dark green background */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: none; /* Ensure no CSS filter */
}

.page-privacy-policy__hero-content {
    position: relative; /* Ensure content is above any background effects */
    z-index: 2;
    padding-top: 30px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main, #F2FFF6);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__description {
    font-size: 1.15rem;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-privacy-policy__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
    color: #ffffff; /* White text for contrast */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    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(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

/* Content Area */
.page-privacy-policy__content-area {
    padding: 60px 20px;
    background-color: var(--background, #08160F); /* Ensure consistent background */
    color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--gold, #F2C14E); /* Gold for main titles */
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: left;
    border-bottom: 2px solid var(--divider, #1E3A2A);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 600;
    color: var(--text-main, #F2FFF6);
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

.page-privacy-policy p {
    margin-bottom: 15px;
    color: var(--text-secondary, #A7D9B8);
    font-size: 1rem;
}

.page-privacy-policy strong {
    color: var(--text-main, #F2FFF6);
}

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

.page-privacy-policy ul li {
    margin-bottom: 10px;
    color: var(--text-secondary, #A7D9B8);
}

/* Image blocks within content */
.page-privacy-policy__image-block {
    margin: 30px auto;
    max-width: 800px;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__image {
    width: 100%;
    height: auto;
    display: block;
    filter: none; /* Ensure no CSS filter */
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

/* Contact Info */
.page-privacy-policy__contact-info {
    background-color: var(--card-b-g, #11271B); /* Card background color */
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__contact-info p {
    margin-bottom: 10px;
    color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__contact-info strong {
    color: var(--gold, #F2C14E);
}

/* FAQ Section */
.page-privacy-policy__faq-list {
    margin-top: 40px;
}

.page-privacy-policy__faq-item {
    background-color: var(--card-b-g, #11271B); /* Card background color */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border, #2E7A4E);
}

.page-privacy-policy__faq-item summary {
    list-style: none; /* Remove default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main, #F2FFF6);
    background-color: var(--deep-green, #0A4B2C); /* Darker green for summary */
    border-bottom: 1px solid var(--border, #2E7A4E);
}

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--gold, #F2C14E);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or similar */
}

.page-privacy-policy__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary, #A7D9B8);
}

/* Call to Action Section */
.page-privacy-policy__cta-section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--deep-green, #0A4B2C); /* Use a brand color for CTA background */
    color: var(--text-main, #F2FFF6);
    margin-top: 40px;
}

.page-privacy-policy__cta-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    color: var(--gold, #F2C14E);
    margin-bottom: 20px;
}

.page-privacy-policy__cta-text {
    font-size: 1.15rem;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__cta-button {
    /* Inherits from .page-privacy-policy__btn-primary */
}

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

    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
        padding-bottom: 40px;
    }

    .page-privacy-policy__hero-content {
        padding-top: 20px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-privacy-policy__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-privacy-policy__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__sub-title {
        font-size: clamp(1.2rem, 5vw, 1.5rem);
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-privacy-policy p,
    .page-privacy-policy ul li {
        font-size: 0.95rem;
    }

    .page-privacy-policy__image-block {
        margin: 20px auto;
    }

    .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__content-area,
    .page-privacy-policy__cta-section,
    .page-privacy-policy__hero-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-x: hidden !important; /* Ensure no horizontal scroll */
    }

    .page-privacy-policy__video-section {
        padding-top: 10px !important;
    }

    /* Buttons responsive */
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__cta-button,
    .page-privacy-policy a[class*="button"],
    .page-privacy-policy a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px; /* Adjust padding for smaller screens */
        font-size: 1rem;
    }

    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__button-group,
    .page-privacy-policy__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-privacy-policy__cta-buttons {
        display: flex;
        flex-direction: column;
    }

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

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