/* style/privacy-policy.css */

/* --- Base Styles & Variables --- */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color); /* Default text color for the page content */
    background-color: var(--background-color); /* Main background color for the page */
}

:root {
    --primary-color: #11A84E; /* Main brand color */
    --secondary-color: #22C768; /* Auxiliary brand color */
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --background-color: #08160F; /* Custom background color */
    --card-bg-color: #11271B; /* Custom card background color */
    --text-main-color: #F2FFF6; /* Custom main text color */
    --text-secondary-color: #A7D9B8; /* Custom secondary text color */
    --border-color: #2E7A4E; /* Custom border color */
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
    --header-offset: 122px; /* Placeholder, actual value from shared.css */
}

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--deep-green-color); /* Example background for hero, ensuring contrast */
    color: var(--text-main-color);
    overflow: hidden; /* Prevent content overflow */
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-bottom: 30px; /* Space between text and image */
    padding: 0 15px;
}

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

.page-privacy-policy__description {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    margin-bottom: 20px;
}

.page-privacy-policy__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* --- Content Area --- */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--background-color); /* Main content background */
    color: var(--text-main-color);
}

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

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--primary-color); /* Use primary color for section titles */
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: 700;
    border-bottom: 2px solid var(--divider-color);
    padding-bottom: 15px;
}

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

.page-privacy-policy__text-block {
    margin-bottom: 20px;
    color: var(--text-secondary-color);
}

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

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

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
    object-fit: cover;
}

.page-privacy-policy__contact-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-privacy-policy__contact-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* --- CTA Section --- */
.page-privacy-policy__cta-section {
    text-align: center;
    padding: 50px 20px;
    margin-top: 50px;
    background-color: var(--card-bg-color); /* Use card background for CTA */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    color: var(--text-main-color);
}

.page-privacy-policy__cta-text {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: var(--text-main-color);
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background: var(--button-gradient);
    color: #ffffff; /* White text on button for contrast */
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

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

.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    background-color: var(--card-bg-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

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

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

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

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

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

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

.page-privacy-policy__faq-item details[open] .page-privacy-policy__faq-answer {
    max-height: 500px; /* Adjust as needed for content length */
    padding: 0 25px 20px;
}

/* Fallback for JS-controlled FAQ (if details not used or JS overrides) */
.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 500px !important; /* Use !important for JS override */
    padding: 0 25px 20px;
}


/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-privacy-policy__content-area {
        padding: 30px 15px;
    }
    .page-privacy-policy__hero-content {
        max-width: 700px;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset */
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-privacy-policy__description {
        font-size: 1em;
    }
    .page-privacy-policy__hero-image {
        min-width: 200px !important;
        min-height: 200px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-privacy-policy__content-area {
        padding: 20px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-privacy-policy__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-privacy-policy__section-title {
        font-size: 1.6em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.2em;
    }
    .page-privacy-policy__text-block,
    .page-privacy-policy__list-item {
        font-size: 0.95em;
    }
    .page-privacy-policy__list {
        margin-left: 15px;
    }
    .page-privacy-policy__content-image {
        min-width: 200px !important;
        min-height: 200px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-privacy-policy__cta-section {
        padding: 30px 15px;
        margin-top: 30px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-privacy-policy__cta-text {
        font-size: 1.2em;
        margin-bottom: 20px;
    }
    .page-privacy-policy__btn-primary {
        padding: 12px 25px;
        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__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 20px 15px;
    }
    .page-privacy-policy__faq-item details[open] .page-privacy-policy__faq-answer,
    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 0 20px 15px;
    }
}