/* style/gdpr.css */

/* Base Styles */
.page-gdpr {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #FFFFFF; /* White for dark sections */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
}

.page-gdpr__sub-title {
    font-size: 1.8em;
    color: #017439; /* Brand color for sub-titles on light backgrounds */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-gdpr__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: inherit; /* Inherit color from parent section */
}

/* Section Backgrounds */
.page-gdpr__dark-section {
    background-color: #1a1a2e; /* Body background color */
    color: #ffffff;
    padding: 60px 0;
}

.page-gdpr__light-bg {
    background-color: #ffffff;
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}

/* Hero Section */
.page-gdpr__hero-section {
    text-align: center;
    padding-bottom: 40px; /* Adjust padding if needed, header offset is already on .page-gdpr */
}

.page-gdpr__hero-title {
    font-size: 3.2em;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

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

.page-gdpr__hero-image-wrapper {
    margin: 40px auto;
    max-width: 1200px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Buttons */
.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-gdpr__cta-buttons--centered {
    margin-top: 50px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-gdpr__btn-primary {
    background-color: #C30808; /* Custom color for register/login type actions */
    color: #FFFF00; /* Custom text color for register/login type actions */
    border: 2px solid #C30808;
}

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

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: #017439; /* Brand primary color for text on light background */
    border: 2px solid #017439;
}

.page-gdpr__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
    transform: translateY(-2px);
}

/* List Styles */
.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
}

.page-gdpr__list-item {
    background-color: rgba(1, 116, 57, 0.05); /* Very light brand color tint for list items */
    border-left: 5px solid #017439;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 1.05em;
    color: inherit;
}

.page-gdpr__list-item strong {
    color: #017439;
}

/* Content Images */
.page-gdpr__image-container {
    margin: 40px auto;
    max-width: 1000px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Video Section */
.page-gdpr__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 40px auto;
    max-width: 1000px;
    background-color: #000;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.page-gdpr__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* FAQ Section */
.page-gdpr__faq-section .page-gdpr__section-title {
    color: #017439; /* Brand color for title on light background */
}

.page-gdpr__faq-list {
    margin-top: 30px;
}

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-title {
    margin: 0;
    font-size: 1.2em;
    color: #017439; /* Brand primary color */
    font-weight: bold;
}

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

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

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    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 contain content */
    padding: 15px 25px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-gdpr__container {
        padding: 0 15px;
    }

    .page-gdpr__section-title {
        font-size: 2em;
        margin-bottom: 20px;
    }

    .page-gdpr__sub-title {
        font-size: 1.5em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

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

    .page-gdpr__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        width: 100%;
    }

    /* Mobile image responsive adaptation */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-gdpr__hero-image-wrapper,
    .page-gdpr__image-container,
    .page-gdpr__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0;
        margin-right: 0;
        border-radius: 0; /* Remove border-radius on mobile for full width */
    }

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

    /* Content sections padding adjustment for mobile */
    .page-gdpr__hero-section,
    .page-gdpr__content-area,
    .page-gdpr__video-section,
    .page-gdpr__faq-section,
    .page-gdpr__cta-section {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    .page-gdpr__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure video section starts below header on mobile */
    }

    .page-gdpr__faq-question {
        padding: 15px 20px;
    }

    .page-gdpr__faq-answer {
        padding: 0 20px;
    }

    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px 20px;
    }
}