/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    color: #FFFFFF;
    overflow: hidden;
    padding: 60px 20px;
    background-color: #26A9E0; /* Brand primary color for hero */
}

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Slightly transparent to allow text readability */
    filter: none !important; /* Ensure no CSS filter changes image color */
}

.page-gdpr__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    border-radius: 8px;
}

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

.page-gdpr__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #F0F0F0;
}

/* General Content Area */
.page-gdpr__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--background-color, #FFFFFF);
    color: #333333;
}

.page-gdpr__container {
    max-width: 960px;
    margin: 0 auto;
}

.page-gdpr__section {
    padding: 30px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.page-gdpr__section:last-of-type {
    border-bottom: none;
}

.page-gdpr__heading {
    font-size: 2em;
    color: #26A9E0; /* Brand primary color for headings */
    margin-bottom: 20px;
    text-align: center;
}

.page-gdpr__heading + .page-gdpr__paragraph {
    margin-top: 0;
}

.page-gdpr__paragraph {
    margin-bottom: 15px;
    text-align: justify;
}

.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);
    filter: none !important; /* Ensure no CSS filter changes image color */
}

.page-gdpr__list {
    list-style-type: disc;
    margin: 20px 0 20px 40px;
    padding: 0;
}

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

.page-gdpr__link {
    color: #26A9E0;
    text-decoration: underline;
}

.page-gdpr__link:hover {
    color: #EA7C07; /* Login color for hover for contrast */
}

/* Buttons */
.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Important for responsive buttons */
}

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

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

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

.page-gdpr__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1a7fb8;
}

.page-gdpr__cta-section {
    text-align: center;
    background-color: #f5f5f5;
    padding: 40px;
    border-radius: 8px;
    margin-top: 40px;
    border: 1px solid #e0e0e0;
}

.page-gdpr__cta-heading {
    font-size: 2.2em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-gdpr__cta-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #555555;
}

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

.page-gdpr__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-size: 1.1em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for details/summary */
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0;
}

.page-gdpr__faq-answer {
    padding: 0 20px 15px;
    color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.5em;
    }
    .page-gdpr__heading {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header on mobile */
    }
    .page-gdpr__hero-title {
        font-size: 2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__heading {
        font-size: 1.5em;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .page-gdpr__cta-button {
        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-section {
        padding: 30px 15px !important;
    }
    .page-gdpr__list {
        margin-left: 20px;
    }
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        filter: none !important; /* Ensure no CSS filter changes image color */
    }
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-section,
    .page-gdpr__hero-container,
    .page-gdpr__faq-list,
    .page-gdpr__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no horizontal scroll */
    }
    .page-gdpr__faq-question {
        padding: 12px 15px;
        font-size: 1em;
    }
    .page-gdpr__faq-answer {
        padding: 0 15px 12px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__heading {
        font-size: 1.3em;
    }
    .page-gdpr__cta-heading {
        font-size: 1.8em;
    }
}

/* Ensure no filter on images */
.page-gdpr img {
    filter: none !important;
}