/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: #FFFFFF; /* Explicitly setting light background */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 100px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
    text-align: center;
    background-color: #26A9E0; /* Main brand color for hero background */
    color: #FFFFFF; /* White text for dark background */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

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

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

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

/* General Content Area */
.page-gdpr__content-area {
    padding: 60px 0;
    margin: 0 auto;
    max-width: 100%;
    overflow: hidden; /* Prevent content overflow */
}

.page-gdpr__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-gdpr__dark-bg {
    background-color: #26A9E0; /* Main brand color */
    color: #FFFFFF;
}

.page-gdpr__section-title {
    font-size: 2.2em;
    color: #26A9E0; /* Main brand color for titles on light background */
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-gdpr__section-title--white {
    color: #FFFFFF;
}

.page-gdpr__sub-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__sub-title--white {
    color: #FFFFFF;
}

.page-gdpr p {
    margin-bottom: 15px;
    color: #333333;
}

.page-gdpr__text--white {
    color: #FFFFFF;
}

.page-gdpr__image {
    max-width: 40%; /* Adjust as needed for layout */
    height: auto;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
    object-fit: cover;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-gdpr__image--right {
    float: right;
}

.page-gdpr__image--left {
    float: left;
}

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

.page-gdpr__list li {
    margin-bottom: 8px;
    color: #333333;
}

.page-gdpr__list--white li,
.page-gdpr__list--white {
    color: #FFFFFF;
}

.page-gdpr__link--white {
    color: #FFFFFF;
    text-decoration: underline;
}

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

.page-gdpr__cta-buttons--center {
    justify-content: center;
}

.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;
    text-align: center;
    min-width: 180px; /* Ensure buttons are not too small */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

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

.page-gdpr__btn-primary:hover {
    background-color: #1a7bb0; /* Slightly darker blue */
    border-color: #1a7bb0;
}

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

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

/* CTA Banner Section */
.page-gdpr__cta-banner {
    padding: 80px 20px;
    text-align: center;
    background-color: #26A9E0; /* Main brand color */
    color: #FFFFFF;
}

.page-gdpr__cta-banner-content {
    max-width: 900px;
}

.page-gdpr__cta-banner-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
}

.page-gdpr__cta-banner-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #FFFFFF;
}


/* FAQ Section */
.page-gdpr__faq-section {
    padding: 60px 0;
    background-color: #FFFFFF;
    color: #333333;
}

.page-gdpr__faq-list {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f9f9f9;
    cursor: pointer;
    font-weight: bold;
    color: #333333;
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-question h3 {
    margin: 0;
    font-size: 1.1em;
    color: #26A9E0; /* Main brand color for FAQ questions */
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #26A9E0;
    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 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff;
    color: #333333;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Important to ensure it expands */
    padding: 20px;
}

.page-gdpr__faq-answer p {
    margin: 0;
    color: #333333;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.2em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__sub-title {
        font-size: 1.4em;
    }
    .page-gdpr__image {
        max-width: 45%;
        margin: 15px;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        min-height: 300px;
    }

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

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

    .page-gdpr__content-area {
        padding: 40px 0;
    }

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

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

    .page-gdpr__image {
        float: none;
        margin: 20px auto;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px; /* Maintain min size */
        min-height: 200px; /* Maintain min size */
    }

    .page-gdpr__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .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;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__cta-banner {
        padding: 50px 15px;
    }

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

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

    .page-gdpr__faq-question {
        padding: 15px;
    }
    .page-gdpr__faq-question h3 {
        font-size: 1em;
    }
    .page-gdpr__faq-answer {
        padding: 0 15px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px;
    }
}