/* style/privacy-policy.css */

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

.page-privacy-policy {
    background-color: var(--page-bg);
    color: var(--text-main); /* Ensure light text on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 1rem;
    padding-bottom: 60px; /* Space for footer */
}

.page-privacy-policy__hero-section {
    position: relative;
    padding: 60px 20px 40px; /* Adjusted padding, small top padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--deep-green); /* Example background for hero */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Match content width */
    margin-bottom: 30px;
}

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

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-privacy-policy__main-title {
    font-size: clamp(2rem, 4vw, 3rem); /* H1 font size with clamp */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--text-main);
}

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

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-privacy-policy__section {
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px solid var(--divider-color);
}

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

.page-privacy-policy__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--gold-color);
    margin-bottom: 25px;
    font-weight: 600;
}

.page-privacy-policy__subsection-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--glow-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

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

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

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

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

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

/* Images in content */
.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 800px; /* Example max-width for content images */
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* Button styles */
.page-privacy-policy__button-group {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-privacy-policy__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main); /* White text on button */
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s 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);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: var(--card-bg); /* Darker background for FAQ card */
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__faq-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 30px;
}

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

.page-privacy-policy__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    background-color: var(--deep-green);
    color: var(--text-main);
    font-weight: bold;
    font-size: 1.1rem;
    list-style: none; /* Remove default marker */
}

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

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 10px;
    color: var(--glow-color);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    content: '−'; /* This is handled by JS for non-details elements, for details it's visual only */
}

.page-privacy-policy__faq-answer {
    padding: 15px 20px;
    background-color: var(--card-bg);
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: clamp(1.8rem, 5vw, 2.8rem);
    }
    .page-privacy-policy__description {
        font-size: 1rem;
    }
    .page-privacy-policy__section-title {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }
    .page-privacy-policy__subsection-title {
        font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-privacy-policy__hero-section {
        padding: 40px 15px 30px;
    }
    .page-privacy-policy__content-area {
        padding: 30px 15px;
    }
    .page-privacy-policy__section {
        padding: 15px 0;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
    .page-privacy-policy__description {
        font-size: 0.95rem;
    }
    .page-privacy-policy__section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }
    .page-privacy-policy__subsection-title {
        font-size: clamp(1.1rem, 4.5vw, 1.6rem);
    }
    .page-privacy-policy__btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Mobile image, video, button responsive requirements */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-privacy-policy video,
    .page-privacy-policy__video { /* If video is ever added */
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }

    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__content-area,
    .page-privacy-policy__section,
    .page-privacy-policy__faq-section,
    .page-privacy-policy__video-section, /* If video is ever added */
    .page-privacy-policy__video-container, /* If video is ever added */
    .page-privacy-policy__video-wrapper, /* If video is ever added */
    .page-privacy-policy__cta-button,
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary,
    .page-privacy-policy a[class*="button"],
    .page-privacy-policy a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }
    
    .page-privacy-policy__cta-button,
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary,
    .page-privacy-policy a[class*="button"],
    .page-privacy-policy a[class*="btn"] {
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Ensure buttons stack or wrap */
    .page-privacy-policy__button-group {
        display: flex;
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 10px;
    }
    
    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* body handles --header-offset */
    }
}

/* No CSS filter for images */
.page-privacy-policy img {
    filter: none !important;
}