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

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 80px 0;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background-color: #26A9E0; /* Brand color for hero background */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.page-gdpr__hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: relative;
}

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

.page-gdpr__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
}

.page-gdpr__hero-button {
    margin-top: 30px;
    display: inline-block;
}

/* Video Section */
.page-gdpr__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 960px; /* Example max width */
    margin: 30px auto;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__video {
    display: block;
    width: 100%;
    height: auto;
}

.page-gdpr__video-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

/* Content Section */
.page-gdpr__content-section {
    padding: 60px 0;
    background-color: #ffffff; /* Light background for content */
    color: #333333; /* Dark text for light background */
}

.page-gdpr__heading {
    font-size: 2em;
    color: #26A9E0;
    margin-bottom: 20px;
    text-align: center;
}

.page-gdpr__sub-heading {
    font-size: 1.5em;
    color: #26A9E0;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-gdpr__paragraph {
    margin-bottom: 15px;
    line-height: 1.8;
}

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

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

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

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    margin: 10px;
    box-sizing: border-box;
}

.page-gdpr__btn-primary {
    background: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-gdpr__btn-primary:hover {
    background: #1e87b8;
    border-color: #1e87b8;
}

.page-gdpr__btn-secondary {
    background: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
    background: #f0f0f0;
    color: #1e87b8;
    border-color: #1e87b8;
}

/* CTA Section */
.page-gdpr__cta-section {
    padding: 60px 0;
    background-color: #121212; /* Dark background */
    color: #ffffff; /* Light text */
    text-align: center;
}

.page-gdpr__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-gdpr__cta-title {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-gdpr__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 40px;
}

.page-gdpr__faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: #f9f9f9;
    color: #333333;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    background-color: #f0f0f0;
    font-weight: bold;
    color: #26A9E0;
}

.page-gdpr__faq-question:hover {
    background-color: #e5e5e5;
}

.page-gdpr__faq-title {
    margin: 0;
    font-size: 1.2em;
    color: #26A9E0;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #26A9E0;
}

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

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-gdpr__faq-answer .page-gdpr__paragraph {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-gdpr__container {
        padding: 0 15px;
    }

    .page-gdpr__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

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

    .page-gdpr__description {
        font-size: 1em;
    }

    .page-gdpr__heading {
        font-size: 1.5em;
    }

    .page-gdpr__sub-heading {
        font-size: 1.2em;
    }

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

    .page-gdpr__cta-description {
        font-size: 0.9em;
    }

    /* Buttons Responsive */
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 5px 0;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

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

    /* Image and Video Responsive */
    .page-gdpr img,
    .page-gdpr__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__video-wrapper,
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Ensure no horizontal scroll */
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__video-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

}

/* Ensure no filter property is used for images */
.page-gdpr img {
    filter: none; /* Explicitly set to none to ensure no accidental filters */
}

/* Text contrast fixes for dark body background */
.page-gdpr__hero-section .page-gdpr__main-title,
.page-gdpr__hero-section .page-gdpr__description,
.page-gdpr__cta-section .page-gdpr__cta-title,
.page-gdpr__cta-section .page-gdpr__cta-description {
    color: #ffffff;
}

.page-gdpr__content-section .page-gdpr__paragraph,
.page-gdpr__content-section .page-gdpr__list-item,
.page-gdpr__faq-answer .page-gdpr__paragraph,
.page-gdpr__content-section a {
    color: #333333;
}

.page-gdpr__content-section a:hover {
    color: #26A9E0;
}