/* style/gdpr.css */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-color: #C30808;
    --login-color: #C30808;
    --background-color-light: #FFFFFF;
    --background-color-dark: #1a1a2e; /* From body background */
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --highlight-font-color: #FFFF00;
}

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

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

.page-gdpr__hero-section {
    position: relative;
    padding: 80px 0 40px;
    padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    overflow: hidden;
}

.page-gdpr__main-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--text-color-light);
    font-weight: bold;
    line-height: 1.2;
}

.page-gdpr__intro-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__content-section {
    padding: 60px 0;
}

.page-gdpr__text-block {
    background-color: var(--background-color-light);
    color: var(--text-color-dark);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__dark-section .page-gdpr__text-block {
    background-color: rgba(1, 116, 57, 0.85); /* Slightly darker primary color */
    color: var(--text-color-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-gdpr__dark-section .page-gdpr__section-title,
.page-gdpr__dark-section .page-gdpr__sub-title {
    color: var(--text-color-light);
}

.page-gdpr__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
    font-weight: bold;
}

.page-gdpr__sub-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: bold;
}

.page-gdpr__text-block p,
.page-gdpr__text-block ul {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 15px;
}

.page-gdpr__text-block ul {
    list-style-type: disc;
    padding-left: 25px;
}

.page-gdpr__text-block li {
    margin-bottom: 8px;
}

.page-gdpr__link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-gdpr__dark-section .page-gdpr__link {
    color: var(--highlight-font-color);
}

.page-gdpr__image-full-width {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
}

.page-gdpr__image-centered {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
}

/* FAQ Section */
.page-gdpr__faq-section {
    background-color: var(--background-color-light);
    padding: 60px 0;
}

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

.page-gdpr__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-color-dark);
}

.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: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transform: rotate(0deg);
    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;
}

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

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

/* Contact Section */
.page-gdpr__contact-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

.page-gdpr__contact-section .page-gdpr__text-block {
    background-color: rgba(1, 116, 57, 0.85); /* Slightly darker primary color */
    color: var(--text-color-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    font-size: 1.1em;
}

.page-gdpr__contact-list li {
    margin-bottom: 10px;
}

.page-gdpr__contact-list .page-gdpr__link {
    color: var(--highlight-font-color);
    text-decoration: underline;
}

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

.page-gdpr__btn-primary {
    display: inline-block;
    background-color: var(--register-color);
    color: var(--highlight-font-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.5em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__sub-title {
        font-size: 1.5em;
    }
    .page-gdpr__text-block {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 60px 0 30px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }
    .page-gdpr__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-gdpr__intro-text {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    .page-gdpr__sub-title {
        font-size: 1.3em;
        margin-top: 30px;
    }
    .page-gdpr__content-section {
        padding: 40px 0;
    }
    .page-gdpr__text-block {
        padding: 20px;
        border-radius: 0;
        box-shadow: none;
    }
    .page-gdpr__text-block p,
    .page-gdpr__text-block ul {
        font-size: 1em;
    }
    .page-gdpr__faq-question {
        padding: 15px;
        font-size: 1.1em;
    }
    .page-gdpr__faq-answer {
        padding: 0 15px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px;
    }
    .page-gdpr__contact-section {
        padding: 40px 0;
    }
    .page-gdpr__btn-primary {
        padding: 12px 25px;
        font-size: 1.1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-gdpr__cta-wrapper {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-gdpr__hero-image,
    .page-gdpr__image-full-width,
    .page-gdpr__image-centered {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin-left: 0;
        margin-right: 0;
    }
}