/* 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 (#0a0a0a) */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px; /* Ensure hero has a decent height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

.page-privacy-policy__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.5); /* Darken image for better text readability */
}

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

.page-privacy-policy__hero-title {
    font-size: 2.8em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

/* Primary Button */
.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #1a7bbd; /* Darker shade on hover */
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #0a0a0a; /* Ensure consistency with body background */
    color: #ffffff; /* Light text for dark background */
    box-sizing: border-box;
}

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

.page-privacy-policy__section-title {
    font-size: 2em;
    color: #26A9E0; /* Brand primary color for titles */
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(38, 169, 224, 0.3);
    padding-bottom: 10px;
}

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

.page-privacy-policy__highlight {
    color: #26A9E0; /* Highlight important terms */
    font-weight: bold;
}

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

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

.page-privacy-policy__link {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
    color: #1a7bbd;
    text-decoration: underline;
}

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

/* Contact Info */
.page-privacy-policy__contact-info {
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(38, 169, 224, 0.1); /* Light transparent background */
    border-left: 5px solid #26A9E0;
    border-radius: 5px;
    margin-bottom: 30px;
}

.page-privacy-policy__contact-item {
    margin-bottom: 10px;
    color: #f0f0f0;
}

/* Secondary Button */
.page-privacy-policy__btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #26A9E0;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #26A9E0;
    cursor: pointer;
    font-size: 1em;
    margin-top: 20px;
}

.page-privacy-policy__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

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

.page-privacy-policy__faq-item {
    background-color: rgba(38, 169, 224, 0.1); /* Slightly transparent background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-item:hover {
    background-color: rgba(38, 169, 224, 0.2);
}

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

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

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

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    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 all content */
    padding: 15px 20px;
}

/* --- Responsive Design --- */

/* Mobile adaptation for images, videos, and buttons */
@media (max-width: 768px) {
    .page-privacy-policy__hero-title {
        font-size: 2em;
    }

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

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        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;
        margin-bottom: 10px; /* Add some space between stacked buttons */
    }

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

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

    .page-privacy-policy__section-title {
        font-size: 1.6em;
        margin-top: 30px;
    }

    .page-privacy-policy img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important; /* Ensure padding/border don't cause overflow */
    }

    /* All containers that might hold images/videos/buttons */
    .page-privacy-policy__hero-section,
    .page-privacy-policy__content-area,
    .page-privacy-policy__container,
    .page-privacy-policy__faq-list,
    .page-privacy-policy__faq-item,
    .page-privacy-policy__contact-info {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* Specific adjustment for hero padding-top on mobile if needed, though var should handle it */
    .page-privacy-policy__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-privacy-policy__list {
        margin-left: 20px;
    }

    .page-privacy-policy__faq-question {
        font-size: 1em;
        padding: 15px;
    }

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

    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 10px 15px;
    }
}

/* Ensure content images are not too small in content area */
.page-privacy-policy__content-area img {
    min-width: 200px;
    min-height: 200px;
}

/* For general elements that might have images/buttons, ensure they don't overflow */
.page-privacy-policy div,
.page-privacy-policy section {
    box-sizing: border-box;
}