/* style/gdpr.css */

/* Variables for consistency */
:root {
    --page-gdpr-primary-color: #26A9E0;
    --page-gdpr-secondary-color: #FFFFFF;
    --page-gdpr-dark-bg: #121212; /* Inherited from body */
    --page-gdpr-light-bg: #FFFFFF;
    --page-gdpr-text-light: #ffffff;
    --page-gdpr-text-dark: #333333;
    --page-gdpr-login-color: #EA7C07;
}

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--page-gdpr-text-light); /* Default text color for dark body background */
    background-color: var(--page-gdpr-dark-bg); /* Explicitly set for main content sections */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    background-color: var(--page-gdpr-dark-bg);
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px; /* Space between image and text */
}

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

.page-gdpr__hero-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--page-gdpr-text-light);
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    color: var(--page-gdpr-secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-gdpr__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
}

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

.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;
    max-width: 100%; /* Ensure buttons adapt */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word;
}

.page-gdpr__btn-primary {
    background-color: var(--page-gdpr-login-color); /* Login color for primary action */
    color: var(--page-gdpr-secondary-color);
    border: 2px solid var(--page-gdpr-login-color);
}

.page-gdpr__btn-primary:hover {
    background-color: #d86c06; /* Manually darkened */
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: var(--page-gdpr-primary-color);
    border: 2px solid var(--page-gdpr-primary-color);
}

.page-gdpr__btn-secondary:hover {
    background-color: var(--page-gdpr-primary-color);
    color: var(--page-gdpr-secondary-color);
}

/* Content Sections */
.page-gdpr__content-section {
    padding: 60px 20px;
}

.page-gdpr__light-bg {
    background-color: var(--page-gdpr-light-bg);
    color: var(--page-gdpr-text-dark);
}

.page-gdpr__dark-bg {
    background-color: var(--page-gdpr-dark-bg);
    color: var(--page-gdpr-text-light);
}

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

.page-gdpr__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: var(--page-gdpr-primary-color); /* Use brand color for titles */
    font-weight: bold;
}

.page-gdpr__light-bg .page-gdpr__section-title {
    color: var(--page-gdpr-primary-color);
}

.page-gdpr__dark-bg .page-gdpr__section-title {
    color: var(--page-gdpr-secondary-color);
}

.page-gdpr__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-gdpr__light-bg .page-gdpr__text-block {
    color: var(--page-gdpr-text-dark);
}

.page-gdpr__dark-bg .page-gdpr__text-block {
    color: var(--page-gdpr-text-light);
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-gdpr__light-bg .page-gdpr__list {
    color: var(--page-gdpr-text-dark);
}

.page-gdpr__dark-bg .page-gdpr__list {
    color: var(--page-gdpr-text-light);
}

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

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-gdpr__link {
    color: var(--page-gdpr-primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: #1e87b7; /* Manually darkened */
}

/* FAQ Section */
.page-gdpr__faq-section {
    padding: 60px 20px;
    background-color: var(--page-gdpr-dark-bg);
    color: var(--page-gdpr-text-light);
}

.page-gdpr__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-gdpr-text-light);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    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-item[open] > .page-gdpr__faq-question {
    background-color: rgba(255, 255, 255, 0.1);
}

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

.page-gdpr__faq-qtext {
    flex-grow: 1;
    color: var(--page-gdpr-text-light);
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-gdpr-primary-color);
}

.page-gdpr__faq-answer {
    padding: 20px;
    font-size: 1em;
    color: var(--page-gdpr-text-light);
}

/* Contact Section */
.page-gdpr__contact-section {
    padding: 60px 20px;
    text-align: center;
}

.page-gdpr__contact-info {
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
}

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

    .page-gdpr__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles header offset, small top padding for this section */
    }

    .page-gdpr__hero-content {
        padding: 0 15px;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
        text-align: center;
    }

    .page-gdpr__intro-text {
        font-size: 1em;
        text-align: center;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 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__content-section,
    .page-gdpr__faq-section,
    .page-gdpr__contact-section {
        padding: 30px 15px;
    }

    .page-gdpr__container {
        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__section-title {
        font-size: 1.8em;
        text-align: center;
    }

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

    /* Images responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Video responsiveness (if any, though not explicitly added for GDPR page) */
    .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: 10px !important;
    }
    .page-gdpr__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}