/* style/privacy-policy.css */

/* Custom properties for colors */
:root {
    --page-bg: #08160F; /* Background */
    --card-bg: #11271B; /* Card BG */
    --text-main: #F2FFF6; /* Text Main */
    --text-secondary: #A7D9B8; /* Text Secondary */
    --btn-gradient-start: #2AD16F;
    --btn-gradient-end: #13994A;
    --border-color: #2E7A4E; /* Border */
    --glow-color: #57E38D; /* Glow */
    --gold-color: #F2C14E; /* Gold */
    --divider-color: #1E3A2A; /* Divider */
    --deep-green: #0A4B2C; /* Deep Green */
}

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

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding */
    box-sizing: border-box;
    background-color: var(--card-bg); /* A slightly different dark background for the hero */
}

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

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

.page-privacy-policy__hero-content {
    width: 100%;
    max-width: 900px;
    text-align: center;
}

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

.page-privacy-policy__lead-text {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
    background-color: var(--page-bg); /* Ensure content area uses the main background */
    color: var(--text-main); /* Main text color */
}

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

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--gold-color); /* Gold color for section titles */
    font-weight: 600;
    margin-top: 50px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--divider-color);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-section {
    margin-top: 30px;
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 4px solid var(--deep-green);
}

.page-privacy-policy__sub-title {
    font-size: 1.5em;
    color: var(--text-main);
    font-weight: 500;
    margin-top: 25px;
    margin-bottom: 15px;
}

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

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

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

.page-privacy-policy__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-privacy-policy__link-text {
    color: var(--glow-color); /* A vibrant green for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* CTA Section */
.page-privacy-policy__cta-section {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-privacy-policy__cta-title {
    font-size: 2em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-privacy-policy__cta-description {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, var(--btn-gradient-start) 0%, var(--btn-gradient-end) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--glow-color), 0.4);
}

/* FAQ styles (if using div structure) */
.page-privacy-policy__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-main);
    background-color: var(--deep-green);
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: var(--border-color);
}

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

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

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: var(--text-secondary);
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 2000px; /* Sufficiently large to show content */
    padding: 15px 25px 25px;
}

/* Details/Summary based FAQ (preferred) */
.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg);
}
.page-privacy-policy__faq-item summary {
    list-style: none;
}
.page-privacy-policy__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-privacy-policy__faq-item summary:focus {
    outline: none;
}
.page-privacy-policy__faq-item summary .page-privacy-policy__faq-qtext {
    pointer-events: none; /* Allow click on summary, not just text */
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
    }

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

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

    .page-privacy-policy__sub-title {
        font-size: 1.3em;
    }

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

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.65;
    }

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

    .page-privacy-policy__hero-image-wrapper {
        margin-bottom: 20px;
    }

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

    .page-privacy-policy__lead-text {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-privacy-policy__section-title {
        font-size: 1.5em;
        margin-top: 30px;
        margin-bottom: 15px;
        padding-bottom: 8px;
    }

    .page-privacy-policy__sub-section {
        padding-left: 15px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__sub-title {
        font-size: 1.2em;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .page-privacy-policy__list {
        padding-left: 25px;
    }

    .page-privacy-policy__image-content {
        margin: 20px 0;
        min-width: 200px !important; /* Enforce min size */
        min-height: 200px !important; /* Enforce min size */
    }

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

    /* Mobile video responsiveness (if any) */
    .page-privacy-policy video,
    .page-privacy-policy__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Mobile container responsiveness */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-section,
    .page-privacy-policy__content-area,
    .page-privacy-policy__video-section,
    .page-privacy-policy__video-container,
    .page-privacy-policy__video-wrapper,
    .page-privacy-policy__cta-section,
    .page-privacy-policy__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    
    /* Ensure content images are not too small */
    .page-privacy-policy__content-area img {
      width: 100%; /* Ensure content images fill container */
      max-width: 100%;
      height: auto;
      min-width: 200px;
      min-height: 200px;
    }

    /* Mobile button responsiveness */
    .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;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px; /* Add padding for readability on small buttons */
        padding-right: 15px;
        margin-bottom: 10px; /* Stack buttons */
    }

    .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;
        display: flex; /* Ensure flex for wrapping */
        flex-direction: column; /* Stack buttons vertically */
    }

    .page-privacy-policy__cta-section {
        padding: 30px 15px;
        margin-top: 40px;
    }

    .page-privacy-policy__cta-title {
        font-size: 1.5em;
        margin-bottom: 10px;
    }

    .page-privacy-policy__cta-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    
    /* FAQ mobile adjustments */
    .page-privacy-policy__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 20px;
    }
    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 10px 20px 20px;
    }
}

/* Ensure content area images are at least 200x200px in CSS */
.page-privacy-policy__content-area img {
  min-width: 200px;
  min-height: 200px;
}

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