/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background #f5f5f5 */
    background-color: #f5f5f5; /* Inherited from shared, but good to explicitly state for context */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
    padding: 60px 20px;
    overflow: hidden; /* For image positioning */
}

.page-gdpr__hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 1;
    position: relative;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

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

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

.page-gdpr__hero-description a {
    color: #FFFF00; /* Yellow for links on dark background */
    text-decoration: underline;
}

.page-gdpr__hero-description a:hover {
    color: #FFD700;
}

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* Make image subtle behind text */
    z-index: 0;
}

/* General Content Area */
.page-gdpr__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #ffffff; /* White background for readability */
    border-bottom: 1px solid #e0e0e0;
}

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

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand primary color */
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 1em;
    color: #333333;
}

.page-gdpr__paragraph a {
    color: #017439;
    text-decoration: underline;
}

.page-gdpr__paragraph a:hover {
    color: #005a2b;
}

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

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

.page-gdpr__list-item strong {
    color: #017439;
}

.page-gdpr__image-full {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__image-center {
    display: block;
    max-width: 80%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Dark section specific styles */
.page-gdpr__dark-section {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

.page-gdpr__dark-section .page-gdpr__section-title {
    color: #ffffff;
}

.page-gdpr__dark-section .page-gdpr__paragraph,
.page-gdpr__dark-section .page-gdpr__list-item {
    color: #f0f0f0;
}

.page-gdpr__dark-section .page-gdpr__paragraph a {
    color: #FFFF00; /* Yellow for links on dark background */
}

.page-gdpr__dark-section .page-gdpr__paragraph a:hover {
    color: #FFD700;
}

.page-gdpr__dark-section .page-gdpr__list-item strong {
    color: #FFFF00;
}

/* CTA Button */
.page-gdpr__cta-button {
    display: inline-block;
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid transparent;
}

.page-gdpr__cta-button:hover {
    background-color: #a00606;
    transform: translateY(-2px);
    border-color: #FFFF00;
}

.page-gdpr__cta-button--small {
    padding: 10px 20px;
    font-size: 1em;
    margin-top: 20px;
}

/* Contact Info */
.page-gdpr__contact-info {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__contact-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #333333;
}

.page-gdpr__contact-item a {
    color: #017439;
    text-decoration: underline;
}

.page-gdpr__contact-item a:hover {
    color: #005a2b;
}

/* FAQ Section */
.page-gdpr__faq-section {
    background-color: #f0f8ff; /* Light blue background for FAQ */
}

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

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    background-color: #e8f5e9; /* Lighter green for question background */
    color: #017439; /* Brand primary color */
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-question h3 {
    margin: 0;
    font-size: 1em; /* Adjust to fit within the flex container */
    color: #017439;
}

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

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 15px 30px 30px;
}

.page-gdpr__faq-answer .page-gdpr__paragraph {
    margin-bottom: 0;
}

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

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

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

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

    .page-gdpr__hero-section {
        flex-direction: column;
        text-align: center;
        min-height: 400px;
        padding: 40px 15px;
    }

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

    .page-gdpr__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-gdpr__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-gdpr__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        width: 100%; /* Full width button on mobile */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-gdpr__content-area {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-gdpr__paragraph,
    .page-gdpr__list-item,
    .page-gdpr__contact-item {
        font-size: 1em;
    }

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

    .page-gdpr__image-center {
        max-width: 100% !important;
    }

    /* FAQ responsiveness */
    .page-gdpr__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-gdpr__faq-question h3 {
        font-size: 1em;
    }

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

    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 10px 20px 20px;
    }

    /* Ensure containers for images/videos/buttons also respect max-width */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-content {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }

    /* For buttons in groups */
    .page-gdpr__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important; /* Allow buttons to wrap */
      gap: 10px; /* Space between wrapped buttons */
      display: flex; /* Make sure it's a flex container */
      flex-direction: column; /* Stack buttons vertically on mobile */
    }
}