/* style/gdpr.css */

/* Base styles for GDPR page */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--dark-bg-1); /* Assuming shared.css defines a dark background for body */
}

/* Ensure main content has light background and dark text for contrast */
.page-gdpr__content-section {
    background-color: #FFFFFF;
    color: #333333;
    padding: 60px 20px;
}

.page-gdpr__dark-bg {
    background-color: #26A9E0; /* Brand primary color for dark sections */
    color: #ffffff; /* White text on brand primary color */
}

.page-gdpr__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px; /* Minimum height for hero section */
}

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-gdpr__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

.page-gdpr__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__dark-bg .page-gdpr__section-title {
    color: #ffffff;
}

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

.page-gdpr__paragraph {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-gdpr__list-item {
    margin-bottom: 10px;
    line-height: 1.6;
}

.page-gdpr__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__btn-primary {
    display: inline-block;
    background-color: #26A9E0;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
}

.page-gdpr__btn-primary:hover {
    background-color: #1a7bbd;
    transform: translateY(-2px);
}

.page-gdpr__inline-link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-gdpr__inline-link:hover {
    text-decoration: underline;
}

.page-gdpr__cta-buttons {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

/* FAQ Section */
.page-gdpr__faq-section {
    padding: 60px 20px;
}

.page-gdpr__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-item[open] {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    position: relative;
    list-style: none; /* For details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
    display: none;
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
    pointer-events: none; /* Allow click on entire summary */
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    pointer-events: none; /* Allow click on entire summary */
}

.page-gdpr__faq-answer {
    padding: 0 20px 20px;
    font-size: 1.1em;
    color: #f0f0f0;
    line-height: 1.6;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 60px 15px;
        min-height: 300px;
    }

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

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

    .page-gdpr__section-title {
        font-size: 1.6em;
    }

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

    .page-gdpr__paragraph,
    .page-gdpr__list,
    .page-gdpr__list-item,
    .page-gdpr__faq-question,
    .page-gdpr__faq-answer {
        font-size: 1em;
    }

    .page-gdpr__btn-primary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Ensure images/videos/buttons and their containers are responsive */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Fixed header offset for mobile */
    }

    .page-gdpr__video,
    .page-gdpr video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-gdpr__video-section,
    .page-gdpr__video-container,
    .page-gdpr__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-gdpr__cta-button,
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr a[class*="button"],
    .page-gdpr 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;
    }

    .page-gdpr__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__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;
    }
}