/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background #1a1a2e */
    background-color: transparent; /* Main content sections will define their own backgrounds */
}

/* Section styling */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    box-sizing: border-box;
    overflow: hidden; /* Ensure content does not overflow */
}

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for readability */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFFFFF; /* Ensure high contrast */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-gdpr__lead-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-gdpr__content-section {
    padding: 80px 0;
    box-sizing: border-box;
}

.page-gdpr__dark-bg {
    background-color: #1a1a2e; /* Dark background from body color */
    color: #ffffff; /* Light text for dark background */
}

.page-gdpr__light-bg {
    background-color: #ffffff;
    color: #333333; /* Dark text for light background */
}

.page-gdpr__text-dark {
    color: #333333; /* For elements on light background */
}

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

.page-gdpr__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #017439; /* Brand color for titles */
}
.page-gdpr__dark-bg .page-gdpr__section-title {
    color: #FFFFFF; /* White titles on dark background */
}

.page-gdpr__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #017439; /* Brand color for subtitles */
}
.page-gdpr__dark-bg .page-gdpr__sub-title {
    color: #FFFFFF; /* White subtitles on dark background */
}

.page-gdpr__paragraph {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

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

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

.page-gdpr__link {
    color: #017439; /* Brand color for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}
.page-gdpr__link:hover {
    color: #004d2b; /* Darker shade on hover */
}
.page-gdpr__dark-bg .page-gdpr__link {
    color: #a0e0b5; /* Lighter shade on dark background */
}
.page-gdpr__dark-bg .page-gdpr__link:hover {
    color: #ffffff;
}

/* Image styling */
.page-gdpr__image-inline {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* CTA Buttons */
.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__btn-primary {
    background-color: #017439; /* Main brand color */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-gdpr__btn-primary:hover {
    background-color: #004d2b;
    border-color: #004d2b;
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: #017439;
    border: 2px solid #017439;
}

.page-gdpr__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

/* Specific button colors from custom palette */
.page-gdpr__hero-section .page-gdpr__btn-primary { /* Register button */
    background-color: #C30808;
    border-color: #C30808;
    color: #FFFF00;
}
.page-gdpr__hero-section .page-gdpr__btn-primary:hover {
    background-color: #a30707;
    border-color: #a30707;
}

.page-gdpr__hero-section .page-gdpr__btn-secondary { /* Login button */
    background-color: transparent;
    border-color: #C30808;
    color: #FFFF00;
}
.page-gdpr__hero-section .page-gdpr__btn-secondary:hover {
    background-color: #C30808;
    color: #FFFF00;
}


/* FAQ Section */
.page-gdpr__faq-section {
    padding: 80px 0;
    background-color: #ffffff; /* Light background for FAQ */
}

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

.page-gdpr__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    background-color: #f0f0f0;
    color: #333333;
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker for details summary */
}
.page-gdpr__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg);
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #555555;
}

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

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

.page-gdpr__conclusion-section .page-gdpr__link {
    color: #FFFF00; /* Yellow for links on green background */
}
.page-gdpr__conclusion-section .page-gdpr__link:hover {
    color: #ffffff;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Small top padding, body handles --header-offset */
    }

    .page-gdpr__hero-content {
        padding: 25px;
        max-width: 100%;
        box-sizing: border-box !important;
    }

    .page-gdpr__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .page-gdpr__lead-text {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }

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

    .page-gdpr__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-gdpr__section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-gdpr__sub-title {
        font-size: clamp(1.3rem, 5vw, 1.7rem);
        margin-top: 25px;
        margin-bottom: 15px;
    }

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

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

    /* All containing elements for images */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* CTA buttons responsiveness */
    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 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: 12px 20px; /* Adjust padding for smaller screens */
        font-size: 1rem;
    }

    .page-gdpr__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

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