/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #1a1a1a; /* Body background from shared.css */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 80px 0;
    padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
    text-align: center;
    overflow: hidden; /* For background image */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Minimum height for hero */
}

.page-gdpr__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(1, 116, 57, 0.8), rgba(0, 0, 0, 0.6)); /* Overlay */
    z-index: 1;
}

.page-gdpr__hero-section .page-gdpr__container {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.page-gdpr__main-title {
    font-size: 3.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #FFFF00; /* Yellow for prominence */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-gdpr__hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* General Content Sections */
.page-gdpr__section {
    padding: 60px 0;
}

.page-gdpr__content-area {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for contrast on dark body */
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__section-title {
    font-size: 2.2em;
    color: #017439; /* Brand green */
    margin-bottom: 25px;
    text-align: center;
}

.page-gdpr__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Light gray for readability on dark background */
}

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

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

.page-gdpr__list-item strong {
    color: #FFFF00; /* Yellow for emphasis */
}

.page-gdpr__link {
    color: #017439; /* Brand green for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: #FFFF00; /* Yellow on hover */
}

.page-gdpr__image-wrapper {
    margin-top: 30px;
    text-align: center;
}

.page-gdpr__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Specific Section Backgrounds */
.page-gdpr__dark-bg {
    background-color: #1a1a1a;
    color: #ffffff;
}

.page-gdpr__light-bg {
    background-color: rgba(255, 255, 255, 0.1); /* Lighter background for contrast */
    color: #ffffff;
}

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

.page-gdpr__dark-section .page-gdpr__section-title {
    color: #FFFF00; /* Yellow title on green background */
}

.page-gdpr__dark-section .page-gdpr__text-block {
    color: #ffffff;
}

/* CTA Section */
.page-gdpr__cta-section {
    text-align: center;
    padding: 80px 0;
    background-color: #017439; /* Brand green background */
    color: #ffffff;
}

.page-gdpr__cta-section .page-gdpr__section-title {
    color: #FFFF00; /* Yellow title */
    margin-bottom: 20px;
}

.page-gdpr__cta-section .page-gdpr__text-block {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #ffffff;
}

.page-gdpr__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-gdpr__btn {
    display: inline-block;
    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;
    box-sizing: border-box;
    max-width: 100%; /* For responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-gdpr__btn-register {
    background-color: #C30808; /* Register red */
    color: #FFFF00; /* Register font yellow */
    border: 2px solid #C30808;
}

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

.page-gdpr__btn-login {
    background-color: #C30808; /* Login red */
    color: #FFFF00; /* Login font yellow */
    border: 2px solid #C30808;
}

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

/* FAQ Section */
.page-gdpr__faq-section {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ */
    color: #ffffff;
}

.page-gdpr__faq-section .page-gdpr__section-title {
    color: #017439;
    margin-bottom: 40px;
}

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

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-item[open] {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFF00; /* Yellow for question */
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-question::-webkit-details-marker {
    display: none;
}
.page-gdpr__faq-question::marker { /* Standard way for marker */
    display: none;
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: #017439; /* Green for toggle */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate to form an 'X' or similar */
}

.page-gdpr__faq-answer {
    padding: 20px;
    font-size: 1.1em;
    color: #f0f0f0; /* Light gray for answer text */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 60px 0;
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important; /* Fixed header offset for mobile */
    }
    .page-gdpr__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-gdpr__intro-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-gdpr__section {
        padding: 40px 0;
    }
    .page-gdpr__content-area .page-gdpr__container {
        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__text-block,
    .page-gdpr__list-item,
    .page-gdpr__faq-question,
    .page-gdpr__faq-answer {
        font-size: 1em;
    }

    /* Image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__image-wrapper,
    .page-gdpr__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding: 0 15px; /* Add padding to image wrappers */
    }

    /* Button responsiveness */
    .page-gdpr__button-group {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Add side padding to button group */
    }
    .page-gdpr__btn {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
    }

    .page-gdpr__cta-section {
        padding: 60px 0;
    }
    .page-gdpr__cta-container {
        padding: 0 15px;
    }

    /* FAQ responsiveness */
    .page-gdpr__faq-list {
        padding: 0 15px;
    }
    .page-gdpr__faq-question {
        padding: 15px;
    }
    .page-gdpr__faq-answer {
        padding: 15px;
    }
}