/* style/privacy-policy.css */

/* Base styles for the page, ensuring light text on dark body background */
.page-privacy-policy {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body background is handled by shared.css */
}

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

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

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

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 3.5vw, 3.2em); /* Adaptive font size */
    font-weight: 700;
    color: #26A9E0; /* Brand primary color for title */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-privacy-policy__hero-description {
    font-size: 1.1em;
    color: #f0f0f0; /* Slightly off-white for body text */
    max-width: 800px;
    margin: 0 auto;
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
    color: #f0f0f0; /* Ensure light text on dark body background */
}

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

.page-privacy-policy__section-title {
    font-size: clamp(1.6em, 2.5vw, 2.5em);
    color: #26A9E0;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.page-privacy-policy p {
    margin-bottom: 15px;
    font-size: 1em;
    color: #f0f0f0;
}

.page-privacy-policy__link {
    color: #26A9E0; /* Brand primary color for links */
    text-decoration: underline;
}

.page-privacy-policy__link:hover {
    color: #4dc2f7; /* Lighter shade on hover */
    text-decoration: none;
}

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

/* Call to Action (CTA) */
.page-privacy-policy__cta-wrapper {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 0 15px; /* Ensure padding for mobile */
    box-sizing: border-box;
}

.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;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-privacy-policy__btn-primary {
    background: #26A9E0; /* Primary brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-privacy-policy__btn-primary:hover {
    background: #1a87b6; /* Slightly darker on hover */
    border-color: #1a87b6;
}

.page-privacy-policy__btn-secondary {
    background: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-privacy-policy__btn-secondary:hover {
    background: rgba(38, 169, 224, 0.1); /* Light background on hover */
    color: #4dc2f7;
}

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

.page-privacy-policy__faq-item {
    background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards on dark background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-privacy-policy__faq-item details {
    list-style: none; /* Hide default marker for details */
}

.page-privacy-policy__faq-item details::-webkit-details-marker {
    display: none;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1em;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.15); /* Slightly darker for question header */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background: rgba(255, 255, 255, 0.2);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
    border-bottom: 1px solid #26A9E0; /* Highlight open question */
}

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

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

.page-privacy-policy__faq-answer {
    padding: 20px;
    font-size: 1em;
    color: #f0f0f0;
    line-height: 1.6;
}

/* 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; /* Small top padding for mobile */
    }

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

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

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

    .page-privacy-policy__section-title {
        font-size: clamp(1.4em, 6vw, 2em);
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-privacy-policy p {
        font-size: 0.95em;
    }

    .page-privacy-policy__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
        margin: 20px 0;
    }

    .page-privacy-policy__cta-wrapper {
        flex-direction: column;
        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;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-privacy-policy__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-privacy-policy__faq-answer {
        padding: 15px;
        font-size: 0.95em;
    }

    /* Ensure all content containers are responsive */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}