/* style/privacy-policy.css */

/* Custom properties for colors from the prompt */
:root {
    --page-privacy-policy-primary-color: #11A84E;
    --page-privacy-policy-secondary-color: #22C768;
    --page-privacy-policy-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-privacy-policy-card-bg: #11271B;
    --page-privacy-policy-background: #08160F;
    --page-privacy-policy-text-main: #F2FFF6;
    --page-privacy-policy-text-secondary: #A7D9B8;
    --page-privacy-policy-border: #2E7A4E;
    --page-privacy-policy-glow: #57E38D;
    --page-privacy-policy-gold: #F2C14E;
    --page-privacy-policy-divider: #1E3A2A;
    --page-privacy-policy-deep-green: #0A4B2C;
}

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-privacy-policy {
    background-color: var(--page-privacy-policy-background); /* Dark background */
    color: var(--page-privacy-policy-text-main); /* Light text for contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 1rem;
    padding-bottom: 60px; /* Space above footer */
}

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

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

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

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

.page-privacy-policy__main-title {
    color: var(--page-privacy-policy-text-main);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    /* No fixed font-size, rely on weight/line-height as per instructions */
}

.page-privacy-policy__description {
    color: var(--page-privacy-policy-text-secondary);
    font-size: 1.125rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width for wrapping */
    max-width: 600px; /* Limit button group width */
    margin: 0 auto;
    box-sizing: border-box;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px; /* Ensure buttons have a decent minimum width */
    max-width: 100%; /* Ensure buttons don't overflow */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-privacy-policy__btn-primary {
    background: var(--page-privacy-policy-button-gradient);
    color: #ffffff; /* White text for primary button */
    border: none;
}

.page-privacy-policy__btn-primary:hover {
    opacity: 0.9;
    box-shadow: 0 0 15px var(--page-privacy-policy-glow);
}

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

.page-privacy-policy__btn-secondary:hover {
    background: var(--page-privacy-policy-primary-color);
    color: #ffffff;
}

/* Content Area Sections */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
    color: var(--page-privacy-policy-text-main); /* Ensure text is readable on dark background */
}

.page-privacy-policy__section-title {
    color: var(--page-privacy-policy-text-main);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid var(--page-privacy-policy-divider);
    padding-bottom: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-privacy-policy__text-block ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

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

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

.page-privacy-policy__text-block a {
    color: var(--page-privacy-policy-secondary-color);
    text-decoration: underline;
}

.page-privacy-policy__text-block a:hover {
    color: var(--page-privacy-policy-gold);
}

.page-privacy-policy__image-block {
    margin: 40px 0;
    text-align: center;
    width: 100%;
    max-width: 800px; /* Limit image block width */
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    overflow: hidden;
}

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

/* FAQ Section */
.page-privacy-policy__faq-section {
    background-color: var(--page-privacy-policy-card-bg); /* Darker green background for FAQ */
    padding: 60px 20px;
    border-radius: 10px;
    margin-top: 40px;
}

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

.page-privacy-policy__faq-item {
    background-color: var(--page-privacy-policy-deep-green); /* Even darker for items */
    border: 1px solid var(--page-privacy-policy-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-privacy-policy-text-main);
}

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

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

.page-privacy-policy__faq-item summary:hover {
    background-color: var(--page-privacy-policy-primary-color);
}

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to cross */
}

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

.page-privacy-policy__faq-answer p {
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: 2.5rem;
    }
    .page-privacy-policy__section-title {
        font-size: 2rem;
    }
}

@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 */
    }

    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-privacy-policy__hero-content {
        padding: 0 15px;
    }

    .page-privacy-policy__main-title {
        font-size: 2rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }

    .page-privacy-policy__description {
        font-size: 1rem;
    }

    .page-privacy-policy__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        min-width: unset !important; /* Allow buttons to shrink */
        padding: 12px 20px;
        font-size: 1rem;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

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

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

    .page-privacy-policy__image-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    
    .page-privacy-policy__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

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

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

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