/* style/privacy-policy.css */

/* Custom Properties based on the provided color palette */
:root {
    --page-privacy-policy-bg-dark: #08160F;
    --page-privacy-policy-bg-card: #11271B;
    --page-privacy-policy-text-main: #F2FFF6;
    --page-privacy-policy-text-secondary: #A7D9B8;
    --page-privacy-policy-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-privacy-policy-border-color: #2E7A4E;
    --page-privacy-policy-glow-color: #57E38D;
    --page-privacy-policy-gold-color: #F2C14E;
    --page-privacy-policy-divider-color: #1E3A2A;
    --page-privacy-policy-deep-green: #0A4B2C;
}

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

.page-privacy-policy a {
    color: var(--page-privacy-policy-glow-color); /* Links stand out */
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

/* Hero Section */
.page-privacy-policy__hero-section {
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    background-color: var(--page-privacy-policy-deep-green); /* Slightly different dark background */
    color: var(--page-privacy-policy-text-main);
    overflow: hidden; /* Ensure no overflow */
}

.page-privacy-policy__hero-image {
    width: 100%;
    max-width: 1200px; /* Constrain image width */
    height: 675px; /* Set height based on 1200x675 aspect ratio, will be overridden by auto on mobile */
    display: block;
    margin-bottom: 30px; /* Space between image and content */
    border-radius: 8px;
    object-fit: cover;
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin-bottom: 30px; /* Space between hero content and next section */
    order: 2; /* Ensures content is below image */
}

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

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

/* Table of Contents */
.page-privacy-policy__table-of-contents {
    background-color: var(--page-privacy-policy-bg-card);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: -30px; /* Pull up slightly into hero section */
    position: relative;
    z-index: 1;
}

.page-privacy-policy__toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.page-privacy-policy__toc-list li {
    background-color: var(--page-privacy-policy-deep-green);
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.page-privacy-policy__toc-list li:hover {
    background-color: var(--page-privacy-policy-border-color);
}

.page-privacy-policy__toc-list li a {
    display: block;
    padding: 15px 20px;
    color: var(--page-privacy-policy-text-main);
    font-weight: bold;
    font-size: 1.05em;
    text-decoration: none;
}

/* Content Sections */
.page-privacy-policy__content-section {
    background-color: var(--page-privacy-policy-bg-card);
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--page-privacy-policy-gold-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--page-privacy-policy-divider-color);
}

.page-privacy-policy__sub-title {
    font-size: clamp(1.4em, 2.5vw, 1.8em);
    color: var(--page-privacy-policy-glow-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

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

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

.page-privacy-policy__list li {
    margin-bottom: 10px;
}

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

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

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

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

/* CTA Buttons */
.page-privacy-policy__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Crucial for responsive buttons */
    max-width: 100%; /* For responsive buttons */
}

.page-privacy-policy__btn-primary {
    background: var(--page-privacy-policy-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Reverse gradient on hover */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

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

.page-privacy-policy__btn-secondary:hover {
    background-color: var(--page-privacy-policy-glow-color);
    color: var(--page-privacy-policy-bg-dark); /* Dark text on bright background */
    transform: translateY(-2px);
}

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

.page-privacy-policy__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-privacy-policy__faq-item {
    background-color: var(--page-privacy-policy-deep-green);
    border-radius: 8px;
    overflow: hidden;
    color: var(--page-privacy-policy-text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-privacy-policy__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    list-style: none; /* Remove default marker */
    color: var(--page-privacy-policy-text-main);
}

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

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

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

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

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

/* Ensure no CSS filter changes image colors */
.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 !important; /* Ensure small top padding */
    }

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

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

    .page-privacy-policy__section {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__table-of-contents {
        margin-top: -20px;
    }

    .page-privacy-policy__toc-list {
        grid-template-columns: 1fr;
    }

    .page-privacy-policy__section-title {
        font-size: clamp(1.5em, 5vw, 2em);
        margin-bottom: 20px;
    }

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

    /* 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/videos/buttons */
    .page-privacy-policy__hero-section,
    .page-privacy-policy__content-section,
    .page-privacy-policy__table-of-contents,
    .page-privacy-policy__faq-section,
    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Special handling for sections to avoid double padding if already applied */
    .page-privacy-policy__section {
      padding-left: 15px !important;
      padding-right: 15px !important;
    }


    /* Buttons responsiveness */
    .page-privacy-policy__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

    .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: 12px 20px; /* Adjust padding for smaller screens */
        font-size: 1em;
    }

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

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