/* style/privacy-policy.css */

/* --- Base Styles --- */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main for dark background */
    background-color: #08160F; /* Background */
}

.page-privacy-policy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-privacy-policy__section {
    padding: 60px 0;
}

/* Specific background for dark sections, ensuring contrast */
.page-privacy-policy__dark-bg {
    background-color: #11271B; /* Card BG, slightly lighter dark */
    color: #F2FFF6;
}

/* --- Typography --- */
.page-privacy-policy__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    font-weight: bold;
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-privacy-policy__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: bold;
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 40px;
}

.page-privacy-policy__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: bold;
    color: #57E38D; /* Glow */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy__description,
.page-privacy-policy p,
.page-privacy-policy li {
    font-size: 1.1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 15px;
}

.page-privacy-policy__list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-privacy-policy__list li {
    margin-bottom: 10px;
}

.page-privacy-policy a {
    color: #57E38D; /* Glow for links */
    text-decoration: underline;
}

.page-privacy-policy a:hover {
    color: #F2C14E; /* Gold on hover */
    text-decoration: none;
}

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden; /* Prevent image overflow */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7); /* Slightly dim the image for better text readability, allowed as it's not changing color */
}

.page-privacy-policy__hero-content {
    text-align: center;
    padding: 30px 20px;
    max-width: 900px;
    margin-top: -100px; /* Pull content up slightly over the image for visual flow, but not overlaying on the image itself */
    position: relative;
    z-index: 1;
    background-color: rgba(8, 22, 15, 0.8); /* Background color to ensure text readability over image */
    border-radius: 10px;
    padding-top: 120px; /* Give space for text that is 'above' the actual image due to negative margin */
    padding-bottom: 40px;
}

.page-privacy-policy__hero-content .page-privacy-policy__description {
    color: #A7D9B8; /* Secondary text color */
}

/* --- Buttons --- */
.page-privacy-policy__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* For responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    text-align: center;
}

.page-privacy-policy__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #ffffff; /* White text for contrast */
    border: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__btn-secondary {
    background-color: transparent;
    color: #57E38D; /* Glow for text */
    border: 2px solid #57E38D; /* Glow for border */
}

.page-privacy-policy__btn-secondary:hover {
    background-color: #57E38D; /* Glow for background on hover */
    color: #08160F; /* Dark text on hover */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* --- Image Styling (Content Area) --- */
.page-privacy-policy__image-wrapper {
    margin: 40px auto;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    object-fit: cover;
}

/* --- FAQ Section --- */
.page-privacy-policy__faq-section {
    padding: 80px 0;
    background-color: #11271B; /* Card BG */
}

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

.page-privacy-policy__faq-item {
    background-color: #08160F; /* Background */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-privacy-policy__faq-item[open] {
    background-color: #0A4B2C; /* Deep Green */
    border-color: #57E38D; /* Glow */
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    color: #F2FFF6; /* Text Main */
    list-style: none; /* Remove default marker for details summary */
}

.page-privacy-policy__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    color: #F2FFF6; /* Text Main */
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: #57E38D; /* Glow */
}

.page-privacy-policy__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.1rem;
    color: #A7D9B8; /* Text Secondary */
}

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

/* --- Contact List --- */
.page-privacy-policy__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: center;
}

.page-privacy-policy__contact-list li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #A7D9B8; /* Text Secondary */
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-content {
        margin-top: -80px;
        padding-top: 100px;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__section {
        padding: 40px 0;
    }

    .page-privacy-policy__hero-section {
        padding-bottom: 40px;
    }

    .page-privacy-policy__hero-content {
        margin-top: -60px;
        padding-top: 80px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__main-title {
        font-size: 2.2rem;
    }

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

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

    .page-privacy-policy p,
    .page-privacy-policy li {
        font-size: 1rem;
    }

    /* Mobile image adaptation */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure min size is kept */
        min-height: 200px !important; /* Ensure min size is kept */
    }
    
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent content overflow */
    }

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

    /* Mobile button adaptation */
    .page-privacy-policy__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-privacy-policy__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }

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

@media (max-width: 480px) {
    .page-privacy-policy__main-title {
        font-size: 1.8rem;
    }

    .page-privacy-policy__section-title {
        font-size: 1.5rem;
    }

    .page-privacy-policy__sub-title {
        font-size: 1.2rem;
    }
}