/* style/gdpr.css */

/* Custom Colors */
:root {
    --page-gdpr-primary-color: #11A84E;
    --page-gdpr-secondary-color: #22C768;
    --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-gdpr-card-bg: #11271B;
    --page-gdpr-background: #08160F;
    --page-gdpr-text-main: #F2FFF6;
    --page-gdpr-text-secondary: #A7D9B8;
    --page-gdpr-border-color: #2E7A4E;
    --page-gdpr-glow: #57E38D;
    --page-gdpr-gold: #F2C14E;
    --page-gdpr-divider: #1E3A2A;
    --page-gdpr-deep-green: #0A4B2C;
    --page-gdpr-light-text-on-dark: #F2FFF6; /* Text Main for dark backgrounds */
    --page-gdpr-dark-text-on-light: #333333; /* Default dark text for light backgrounds */
}

/* Base styles for the GDPR page content */
.page-gdpr {
    background-color: var(--page-gdpr-background); /* Deep Green */
    color: var(--page-gdpr-text-main); /* Text Main for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Ensure some space above footer */
}

/* Container for content sections */
.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-gdpr__hero-section {
    display: flex;
    flex-direction: column; /* Image above, text below */
    align-items: center;
    text-align: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    background-color: var(--page-gdpr-deep-green); /* A darker shade for the hero section if needed, or same as background */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Max width for the image */
    margin-bottom: 30px; /* Space between image and content */
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-gdpr__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 3.5vw, 3.5em); /* Responsive font size for H1 */
    color: var(--page-gdpr-glow); /* Glow color for main title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
    max-width: 100%;
}

.page-gdpr__intro-text {
    font-size: 1.1em;
    color: var(--page-gdpr-text-main);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Content Sections */
.page-gdpr__content-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--page-gdpr-divider);
}

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

.page-gdpr__section-title {
    font-size: 2.2em;
    color: var(--page-gdpr-gold); /* Gold color for section titles */
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-gdpr__paragraph {
    font-size: 1em;
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

/* Specific background/text colors for sections */
.page-gdpr__dark-bg {
    background-color: var(--page-gdpr-card-bg); /* Card BG for dark sections */
    color: var(--page-gdpr-text-main); /* Text Main */
}

.page-gdpr__light-bg {
    background-color: #ffffff; /* Explicitly white background for light sections */
    color: var(--page-gdpr-dark-text-on-light); /* Dark text on light background */
}

/* Fix for text contrast on light background */
.page-gdpr__text-contrast-fix p,
.page-gdpr__text-contrast-fix li,
.page-gdpr__text-contrast-fix a {
    color: var(--page-gdpr-dark-text-on-light); /* Ensure dark text on light background */
}

/* Content Images */
.page-gdpr__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    max-width: 800px; /* Ensure content images are not too wide */
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

/* Links */
.page-gdpr__link {
    color: var(--page-gdpr-glow); /* Glow color for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: var(--page-gdpr-gold); /* Gold color on hover */
}

/* Contact List */
.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-gdpr__contact-item {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-gdpr__contact-label {
    color: var(--page-gdpr-gold);
    margin-right: 10px;
}

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 30px;
}

.page-gdpr__faq-item {
    background-color: var(--page-gdpr-card-bg); /* Use card background for FAQ items */
    border: 1px solid var(--page-gdpr-border-color);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: var(--page-gdpr-text-main); /* Ensure text is visible on card background */
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--page-gdpr-gold); /* Gold color for FAQ questions */
    background-color: var(--page-gdpr-deep-green); /* Slightly darker background for question header */
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: var(--page-gdpr-primary-color); /* Primary color on hover */
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-gdpr-glow); /* Glow color for toggle icon */
}

.page-gdpr__faq-answer {
    padding: 0 20px 20px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    color: var(--page-gdpr-text-main); /* Text Main for answer content */
    background-color: var(--page-gdpr-card-bg);
}

/* For <details> tag, native handling, CSS for toggle icon */
.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
    max-height: 1000px; /* Sufficiently large for content */
    padding-top: 20px;
    transition: max-height 0.5s ease-in, padding 0.5s ease-in;
}

.page-gdpr__faq-item summary {
    list-style: none; /* Remove default marker */
}

.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for WebKit browsers */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }

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

    .page-gdpr__hero-section {
        padding: 10px 0 40px 0;
    }

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

    .page-gdpr__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust H1 for mobile */
        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__paragraph {
        font-size: 0.95em;
        margin-bottom: 15px;
    }

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

    /* Content area images CSS size enforcement for mobile */
    .page-gdpr__content-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* Ensure all sections and containers are responsive */
    .page-gdpr__content-section,
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Mobile adjustments for FAQ */
    .page-gdpr__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-gdpr__faq-toggle {
        font-size: 1.2em;
    }

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

    .page-gdpr__faq-item[open] .page-gdpr__faq-answer {
        padding-top: 15px;
    }
}

/* Ensure content images are not smaller than 200px even with general img rules */
.page-gdpr__content-image {
    min-width: 200px;
    min-height: 200px;
}

/* No CSS filters for images */
.page-gdpr img {
    filter: none !important;
}