/* style/gdpr.css */

/* Base Styles */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--dark-bg-1);
}

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

.page-gdpr__text-link:hover {
    color: #ffffff;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px);
    text-align: center;
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
    overflow: hidden;
}

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

.page-gdpr__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

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

.page-gdpr__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    overflow: hidden;
}

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%); /* Allowed for aesthetic, not color change */
}

/* Buttons */
.page-gdpr__btn-primary {
    display: inline-block;
    background-color: #C30808; /* Custom Register/Login color */
    color: #ffffff; /* Adjusted for WCAG AA contrast with #C30808 */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

/* Content Area */
.page-gdpr__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

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

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

.page-gdpr__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: inherit; /* Inherits color from parent section */
}

.page-gdpr__text-block {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.8;
}

.page-gdpr__text-block p {
    margin-bottom: 20px;
    color: inherit;
}

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

.page-gdpr__data-list,
.page-gdpr__rights-list,
.page-gdpr__security-list,
.page-gdpr__contact-list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: inherit;
}

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

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

.page-gdpr__faq-container {
    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;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-title {
    font-size: 1.3em;
    margin: 0;
    color: #ffffff;
}

.page-gdpr__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #ffffff;
}

.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;
    color: #ffffff;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Ensure content fits */
    padding: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.8em;
    }

    .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: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-gdpr__main-title {
        font-size: 2.2em;
    }

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

    .page-gdpr__btn-primary {
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

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

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

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

    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-section,
    .page-gdpr__content-area,
    .page-gdpr__faq-section,
    .page-gdpr__faq-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__faq-question {
        padding: 15px;
    }

    .page-gdpr__faq-title {
        font-size: 1.1em;
    }

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

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

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: 1.8em;
    }

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