/* style/privacy-policy.css */

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

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

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden;
    background-color: #000000; /* Ensure dark background for hero */
    color: #ffffff;
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    border-radius: 8px;
}

.page-privacy-policy__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for main title */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.page-privacy-policy__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    background: #26A9E0;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-privacy-policy__cta-button:hover {
    background-color: #1a7fb0;
}

.page-privacy-policy__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability */
}

/* Content Sections */
.page-privacy-policy__content-section {
    padding: 60px 0;
    box-sizing: border-box;
}

.page-privacy-policy__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-privacy-policy__dark-bg {
    background-color: #0d0d0d; /* Slightly lighter dark for contrast with pure black body */
    color: #ffffff;
}

.page-privacy-policy__section-title {
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
    color: #26A9E0;
}

.page-privacy-policy__sub-title {
    font-size: 1.5em;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-privacy-policy__paragraph {
    margin-bottom: 15px;
}

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

.page-privacy-policy__list-item {
    margin-bottom: 8px;
}

.page-privacy-policy__link {
    color: #26A9E0;
    text-decoration: underline;
}

.page-privacy-policy__link:hover {
    color: #1a7fb0;
}

.page-privacy-policy__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);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    padding: 60px 0;
    background-color: #0d0d0d;
    color: #ffffff;
}

.page-privacy-policy__faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    color: #26A9E0;
    transition: color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    color: #ffffff;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(45deg);
}

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-privacy-policy__main-title {
        font-size: 2em;
    }

    .page-privacy-policy__intro-text {
        font-size: 1em;
    }

    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }

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

    .page-privacy-policy__container {
        padding: 15px;
    }

    /* Mobile image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-section,
    .page-privacy-policy__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    /* Mobile button responsiveness */
    .page-privacy-policy__cta-button,
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary,
    .page-privacy-policy a[class*="button"],
    .page-privacy-policy a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
    }
    
    .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;
        display: flex;
        flex-direction: column;
    }
}