/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    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 */
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
}

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

.page-gdpr__section {
    padding: 60px 0;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    overflow: hidden;
    background-color: #1a1a2e; /* Fallback if image not loaded */
}

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-gdpr__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-gdpr__hero-section .page-gdpr__container {
    position: relative;
    z-index: 3;
    color: #ffffff;
}

.page-gdpr__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* Buttons */
.page-gdpr__cta-button,
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 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;
    cursor: pointer;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Ensure padding is included in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-gdpr__cta-button,
.page-gdpr__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-gdpr__cta-button:hover,
.page-gdpr__btn-primary:hover {
    background-color: #1e87b7;
    border-color: #1e87b7;
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    margin-left: 15px;
}

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

/* Section Titles */
.page-gdpr__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.page-gdpr__sub-title {
    font-size: 1.8em;
    color: #ffffff; /* Keep white for dark background */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-gdpr__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #f0f0f0; /* Slightly off-white for readability */
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 40px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-gdpr__list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-gdpr__list li strong {
    color: #26A9E0; /* Highlight important terms */
}

.page-gdpr a {
    color: #26A9E0;
    text-decoration: none;
}

.page-gdpr a:hover {
    text-decoration: underline;
}

/* Image styles */
.page-gdpr__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Enforce minimum width */
    min-height: 200px; /* Enforce minimum height */
}

.page-gdpr__image--right {
    float: right;
    margin-left: 30px;
    width: 50%; /* Example width */
}

.page-gdpr__image--left {
    float: left;
    margin-right: 30px;
    width: 50%; /* Example width */
}

.page-gdpr__image--centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 70%; /* Example width */
}

/* Clearfix for floated images */
.page-gdpr__section::after {
    content: "";
    display: table;
    clear: both;
}

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

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ item */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: #26A9E0; /* Brand color for question */
    border-radius: 8px 8px 0 0;
}

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

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

.page-gdpr__faq-item.active .page-gdpr__faq-question {
    border-radius: 8px 8px 0 0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Plus sign to X or minus */
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px; /* Initial padding */
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05); /* Darker background for answer */
    border-radius: 0 0 8px 8px;
    color: #f0f0f0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Ensure it expands sufficiently */
    padding: 20px !important; /* Final padding */
}

/* CTA Section */
.page-gdpr__cta-section {
    background-color: #1a1a2e; /* Dark background for CTA */
    text-align: center;
    padding: 80px 0;
}

.page-gdpr__dark-section {
    background-color: #1a1a2e;
    color: #ffffff;
}

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

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

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%; /* Ensure container doesn't overflow */
    box-sizing: border-box; /* Include padding/border in width */
    overflow: hidden; /* Hide overflow */
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.8em;
    }

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

    .page-gdpr__sub-title {
        font-size: 1.5em;
    }

    .page-gdpr__image--right,
    .page-gdpr__image--left {
        float: none;
        margin: 30px auto;
        width: 80%;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
    }

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

    .page-gdpr__hero-section {
        padding: 80px 0;
        min-height: 400px;
    }

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

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

    .page-gdpr__cta-button,
    .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: 0 0 10px 0 !important; /* Stack buttons */
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !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__section {
        padding: 40px 0;
    }

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

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

    .page-gdpr__text-block,
    .page-gdpr__list li {
        font-size: 1em;
    }

    .page-gdpr__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin-left: auto;
        margin-right: auto;
        min-width: unset !important; /* Allow images to shrink if needed for max-width: 100% */
        min-height: unset !important;
    }

    .page-gdpr__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

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

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

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

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

/* Ensure no CSS filter changes image colors */
.page-gdpr img {
    filter: none; /* Explicitly ensure no filter */
}

/* Content area images CSS dimensions lower bound - applies to img within .page-gdpr, but min-width/height is unset in mobile media query */
.page-gdpr img:not(.page-gdpr__hero-image) {
    min-width: 200px; 
    min-height: 200px; 
}

/* Specific overrides for video responsiveness if present, though not in this page */
.page-gdpr video,
.page-gdpr__video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}
.page-gdpr__video-section,
.page-gdpr__video-container,
.page-gdpr__video-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
@media (max-width: 768px) {
    .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__video-section {
        padding-top: var(--header-offset, 120px) !important; 
    }
    .page-gdpr__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}