/* style/gdpr.css */

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

/* Header offset for fixed header */
.page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply header offset */
}

/* Hero Section */
.page-gdpr__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: #26A9E0; /* Brand color background */
    color: #ffffff; /* White text on brand color background */
    position: relative;
    overflow: hidden;
}

.page-gdpr__hero-content {
    max-width: 900px;
    z-index: 1;
    margin-bottom: 30px;
}

.page-gdpr__hero-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #ffffff;
}

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

.page-gdpr__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.15; /* Subtle background image */
}

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

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    margin: 10px;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

.page-gdpr__btn-primary {
    background-color: #ffffff; /* White background for primary CTA */
    color: #26A9E0; /* Brand color text */
    border: 2px solid #ffffff;
}

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

.page-gdpr__btn-secondary {
    background-color: #26A9E0; /* Brand color background for secondary CTA */
    color: #ffffff; /* White text */
    border: 2px solid #ffffff;
}

.page-gdpr__btn-secondary:hover {
    background-color: #1a7aab;
    border-color: #1a7aab;
}

/* Content Sections */
.page-gdpr__content-section {
    padding: 40px 20px;
    background-color: #f8f9fa; /* Light grey background for content */
    color: #333333;
}

.page-gdpr__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-gdpr__section-title {
    font-size: 2em;
    margin-bottom: 25px;
    color: #26A9E0; /* Brand color for section titles */
    text-align: center;
}

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

.page-gdpr__paragraph {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-gdpr__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-gdpr__list-item {
    margin-bottom: 8px;
    font-size: 1.1em;
}

.page-gdpr__link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-gdpr__link:hover {
    text-decoration: underline;
}

.page-gdpr__image-container {
    margin: 30px 0;
    text-align: center;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.page-gdpr__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 5px;
}

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

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

.page-gdpr__faq-item {
    background-color: #f8f9fa;
    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: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background-color: #eaf6fa; /* Lighter brand color */
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-qtext {
    flex-grow: 1;
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1.05em;
    color: #555555;
    background-color: #fefefe;
}

/* Remove default details marker */
.page-gdpr__faq-item > summary {
    list-style: none;
}
.page-gdpr__faq-item > summary::-webkit-details-marker {
    display: none;
}

.page-gdpr__cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.4em;
    }
    .page-gdpr__hero-description {
        font-size: 1.1em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__sub-title {
        font-size: 1.3em;
    }
    .page-gdpr__paragraph,
    .page-gdpr__list-item,
    .page-gdpr__faq-question,
    .page-gdpr__faq-answer {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        flex-direction: column;
        padding: 40px 15px;
        text-align: center;
        padding-top: var(--header-offset, 120px) !important; /* Apply header offset for mobile as well */
    }
    .page-gdpr__hero-title {
        font-size: 2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__hero-content {
        margin-bottom: 20px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        display: block;
        width: 100%;
        margin: 10px 0;
        max-width: 100% !important; /* Mobile button width */
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__cta-wrapper {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

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

    /* Image responsiveness for mobile */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__image-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__hero-description {
        font-size: 0.95em;
    }
    .page-gdpr__section-title {
        font-size: 1.4em;
    }
    .page-gdpr__sub-title {
        font-size: 1.1em;
    }
    .page-gdpr__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px 15px 20px;
    }
}