/* style/privacy-policy.css */

/* Custom Colors */
:root {
    --s6666-primary: #11A84E; /* Main color */
    --s6666-secondary: #22C768; /* Auxiliary color */
    --s6666-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    --s6666-card-bg: #11271B; /* Card Background */
    --s6666-bg: #08160F; /* General Background */
    --s6666-text-main: #F2FFF6; /* Main Text Color */
    --s6666-text-secondary: #A7D9B8; /* Secondary Text Color */
    --s6666-border: #2E7A4E; /* Border Color */
    --s6666-glow: #57E38D; /* Glow Color */
    --s6666-gold: #F2C14E; /* Gold Color */
    --s6666-divider: #1E3A2A; /* Divider Color */
    --s6666-deep-green: #0A4B2C; /* Deep Green Color */
}

/* Base styles for the page content */
.page-privacy-policy {
    background-color: var(--s6666-bg); /* Dark background */
    color: var(--s6666-text-main); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Space for footer */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    box-sizing: border-box;
    overflow: hidden; /* Ensure no overflow */
}

.page-privacy-policy__hero-image {
    width: 100%;
    max-width: 1920px; /* Match max hero image size */
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px; /* Space between image and text */
}

.page-privacy-policy__hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    color: var(--s6666-text-main);
}

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

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

/* CTA Button */
.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--s6666-button-gradient);
    color: #ffffff;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

/* General Section Styling */
.page-privacy-policy__section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: var(--s6666-card-bg); /* Darker card background */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--s6666-border);
    box-sizing: border-box;
}

.page-privacy-policy__content-area {
    margin-top: 0; /* Adjusted for hero section */
}

.page-privacy-policy__section-title {
    font-size: 2em;
    color: var(--s6666-primary); /* Primary color for section titles */
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid var(--s6666-divider);
    padding-bottom: 15px;
}

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

.page-privacy-policy__text-block p {
    margin-bottom: 15px;
    color: var(--s6666-text-secondary);
    font-size: 1em;
}

.page-privacy-policy__image-block {
    text-align: center;
    margin: 40px 0;
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: block; /* Ensure it behaves as a block element */
    margin: 0 auto; /* Center image */
}

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

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

.page-privacy-policy__faq-item {
    background-color: var(--s6666-bg); /* Slightly darker for FAQ items */
    border: 1px solid var(--s6666-border);
    border-radius: 8px;
    overflow: hidden;
    color: var(--s6666-text-main);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--s6666-gold); /* Gold for FAQ questions */
    background-color: var(--s6666-deep-green); /* Deep green background for questions */
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: var(--s6666-primary); /* Hover effect */
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

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

.page-privacy-policy__faq-answer p {
    padding-top: 15px;
    padding-bottom: 15px;
    margin: 0;
}

/* For <details> tag, default open state */
.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding-top: 15px;
    padding-bottom: 15px;
}

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


/* Contact Section specific styling */
.page-privacy-policy__contact-section {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.page-privacy-policy__btn-contact {
    margin-top: 20px;
    background: var(--s6666-secondary); /* Use auxiliary color for contact button */
    color: #ffffff;
    padding: 12px 25px;
    font-size: 1.05em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.page-privacy-policy__btn-contact:hover {
    background: #1eaf5d; /* Slightly darker hover */
}

/* Responsive Design */
@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; /* body handles --header-offset, this is small visual padding */
    }

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

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

    .page-privacy-policy__cta-button {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-privacy-policy__section,
    .page-privacy-policy__content-area,
    .page-privacy-policy__contact-section,
    .page-privacy-policy__faq-section {
        margin: 20px auto;
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-privacy-policy__sub-title {
        font-size: 1.3em;
        margin-top: 25px;
    }

    /* Mobile image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Ensure image containers also adapt */
    .page-privacy-policy__image-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* FAQ specific mobile styles */
    .page-privacy-policy__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 20px;
    }
    .page-privacy-policy__faq-item[open] .page-privacy-policy__faq-answer {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    /* Button group responsiveness - though not explicitly in this page, general rule */
    .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;
    }
}