/* style/gdpr-compliance.css */

/* Base styles for the GDPR Compliance page */
.page-gdpr-compliance {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css (#121212) */
}

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

.page-gdpr-compliance__hero-section {
    position: relative;
    padding: 100px 0;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    text-align: center;
    overflow: hidden;
    background-color: #1a1a1a; /* Slightly lighter dark background for hero */
}

.page-gdpr-compliance__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3; /* Make background image subtle */
}

.page-gdpr-compliance__main-title {
    font-size: 3em;
    color: #26A9E0; /* Brand color for main title */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-gdpr-compliance__intro-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-gdpr-compliance__cta-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-gdpr-compliance__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-gdpr-compliance__btn-primary:hover {
    background-color: #1e87c0; /* Darker shade on hover */
    border-color: #1e87c0;
}

.page-gdpr-compliance__btn-secondary {
    background-color: transparent;
    color: #26A9E0; /* Brand color text */
    border: 2px solid #26A9E0;
}

.page-gdpr-compliance__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-gdpr-compliance__content-area {
    padding: 60px 0;
    background-color: #121212; /* Explicitly dark background for content area */
    color: #ffffff; /* Light text */
}

.page-gdpr-compliance__section-title {
    font-size: 2.2em;
    color: #26A9E0;
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
}

.page-gdpr-compliance__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-gdpr-compliance__list {
    list-style: disc;
    margin-left: 40px;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-gdpr-compliance__list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-gdpr-compliance__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* No CSS filter allowed for changing color */
}

.page-gdpr-compliance__faq-section {
    margin-top: 50px;
}

.page-gdpr-compliance__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly visible card on dark background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-gdpr-compliance__faq-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr-compliance__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    color: #ffffff;
}

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

.page-gdpr-compliance__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.page-gdpr-compliance__faq-item.active .page-gdpr-compliance__faq-toggle {
    transform: rotate(45deg);
    color: #EA7C07; /* Login color for active toggle */
}

.page-gdpr-compliance__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

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

.page-gdpr-compliance__video-section {
    padding: 80px 0;
    text-align: center;
    background-color: #1a1a1a; /* Dark background for video section */
    color: #ffffff;
}

.page-gdpr-compliance__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px; /* Max width for video */
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
    width: 100%; /* Ensure it takes full width within its container */
}

.page-gdpr-compliance__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    cursor: pointer; /* Indicate clickable */
}

.page-gdpr-compliance__video-caption {
    font-style: italic;
    margin-top: 20px;
    color: #f0f0f0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-gdpr-compliance__hero-section {
        padding: 60px 20px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }

    .page-gdpr-compliance__main-title {
        font-size: 2.2em;
    }

    .page-gdpr-compliance__intro-text {
        font-size: 1em;
    }

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

    .page-gdpr-compliance__paragraph,
    .page-gdpr-compliance__list li {
        font-size: 0.95em;
    }

    .page-gdpr-compliance__list {
        margin-left: 20px;
    }

    /* Images responsiveness */
    .page-gdpr-compliance img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Containers for images, videos, buttons */
    .page-gdpr-compliance__hero-section,
    .page-gdpr-compliance__content-area,
    .page-gdpr-compliance__video-section,
    .page-gdpr-compliance__container,
    .page-gdpr-compliance__faq-section,
    .page-gdpr-compliance__video-wrapper {
        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 */
    }

    /* Buttons responsiveness */
    .page-gdpr-compliance__cta-button,
    .page-gdpr-compliance__btn-primary,
    .page-gdpr-compliance__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px; /* Adjust padding for smaller screens */
    }

    /* If multiple buttons are in a flex container, ensure they stack or wrap */
    .page-gdpr-compliance__hero-section .page-gdpr-compliance__cta-button {
        margin: 10px 0; /* Stack buttons vertically */
    }

    /* Video responsiveness */
    .page-gdpr-compliance__video-wrapper {
        padding-bottom: 56.25% !important; /* Maintain aspect ratio */
        height: auto !important;
        margin: 20px auto;
    }

    .page-gdpr-compliance__video {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    .page-gdpr-compliance__faq-question {
        padding: 15px;
    }

    .page-gdpr-compliance__faq-answer {
        padding: 0 15px;
    }

    .page-gdpr-compliance__faq-item.active .page-gdpr-compliance__faq-answer {
        padding: 15px !important;
    }
}