:root {
    --primary-color: #11A84E; /* Green */
    --secondary-color: #22C768; /* Lighter Green */
    --button-gradient-start: #2AD16F;
    --button-gradient-end: #13994A;
    --card-bg: #11271B;
    --background-color: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;

    /* Body background is #f4f4f4 (light), so text should be dark. */
    --body-text-color: #333333;
    --body-background-color: #f4f4f4; /* From shared.css */
    --light-section-text-color: var(--body-text-color);
    --light-section-bg-color: #ffffff;
    --dark-section-text-color: var(--text-main);
    --dark-section-bg-color: var(--background-color);
}

.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--body-text-color); /* Default text color for light background */
    background-color: var(--body-background-color);
    padding-bottom: 50px; /* Ensure space above footer */
}

/* Content Container for max-width */
.page-gdpr__content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 60px 0;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Ensure hero section has a minimum height */
    padding-top: 10px; /* Small top padding, body handles header offset */
}

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

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability */
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    color: var(--dark-section-text-color); /* White text on dark hero image */
    max-width: 800px;
    padding: 20px;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--gold-color); /* Use gold for main title for emphasis */
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-gdpr__subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-main);
}

/* Buttons */
a.page-gdpr__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, var(--button-gradient-start) 0%, var(--button-gradient-end) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Button responsive */
    box-sizing: border-box; /* Button responsive */
    white-space: normal; /* Button responsive */
    word-wrap: break-word; /* Button responsive */
}

a.page-gdpr__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

a.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    border: 2px solid var(--primary-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Button responsive */
    box-sizing: border-box; /* Button responsive */
    white-space: normal; /* Button responsive */
    word-wrap: break-word; /* Button responsive */
}

a.page-gdpr__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Section Styling */
.page-gdpr__introduction-section,
.page-gdpr__rights-section,
.page-gdpr__contact-section {
    background-color: var(--light-section-bg-color); /* White background for light sections */
    color: var(--light-section-text-color); /* Dark text for light sections */
    padding: 60px 0;
}

.page-gdpr__principles-section,
.page-gdpr__ensure-compliance-section,
.page-gdpr__faq-section {
    background-color: var(--dark-section-bg-color); /* Dark background for dark sections */
    color: var(--dark-section-text-color); /* Light text for dark sections */
    padding: 60px 0;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary-color); /* Primary color for section titles */
    position: relative;
    padding-bottom: 15px;
}

.page-gdpr__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--gold-color);
    border-radius: 2px;
}

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: inherit; /* Inherit color from parent section */
}

/* Lists */
.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-gdpr__list-item {
    background-color: var(--card-bg); /* Dark card background */
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main); /* Light text on dark card */
}

.page-gdpr__list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-gdpr__list-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--gold-color); /* Gold for list titles */
}

.page-gdpr__list-description {
    font-size: 1em;
    color: var(--text-secondary); /* Secondary text color */
}

.page-gdpr__list--numbered {
    counter-reset: gdpr-counter;
}

.page-gdpr__list--numbered .page-gdpr__list-item {
    position: relative;
    padding-left: 50px;
}

.page-gdpr__list--numbered .page-gdpr__list-item::before {
    counter-increment: gdpr-counter;
    content: counter(gdpr-counter);
    position: absolute;
    left: 0;
    top: 20px;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
}

/* Image with Text Block */
.page-gdpr__image-text-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-gdpr__image-block-image {
    flex: 1;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Responsive image */
    height: auto; /* Responsive image */
    object-fit: cover;
}

.page-gdpr__list--grid {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.page-gdpr__list--grid .page-gdpr__list-item {
    margin-bottom: 0; /* Remove extra margin for grid items */
}

/* Contact Section Grid */
.page-gdpr__contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-gdpr__contact-info {
    text-align: left;
}

.page-gdpr__contact-image {
    text-align: center;
}

.page-gdpr__btn-primary--contact {
    margin-top: 20px;
}

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

.page-gdpr__faq-item {
    background-color: var(--card-bg); /* Dark card background */
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main); /* Light text on dark card */
}

.page-gdpr__faq-item[open] {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--deep-green); /* Slightly different background for question */
    color: var(--gold-color); /* Gold for FAQ question */
    user-select: none;
    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-qtext {
    flex-grow: 1;
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to cross */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1.05em;
    color: var(--text-secondary); /* Secondary text color for answer */
}

.page-gdpr__faq-answer .page-gdpr__paragraph {
    margin-bottom: 15px;
}

/* --- Responsive Design --- */

/* Ensure all images are responsive */
.page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* All containers for responsive */
.page-gdpr__section,
.page-gdpr__card,
.page-gdpr__container,
.page-gdpr__hero-section,
.page-gdpr__introduction-section,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__ensure-compliance-section,
.page-gdpr__contact-section,
.page-gdpr__faq-section,
.page-gdpr__image-text-block,
.page-gdpr__contact-grid,
.page-gdpr__faq-list,
.page-gdpr__list--grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* Prevent horizontal scroll */
}

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

    .page-gdpr__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
        min-height: 350px;
    }

    .page-gdpr__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-gdpr__subtitle {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-gdpr__section-title::after {
        width: 60px;
    }

    .page-gdpr__paragraph {
        font-size: 1em;
    }

    .page-gdpr__list-item {
        padding: 20px;
    }

    .page-gdpr__list-title {
        font-size: 1.2em;
    }

    .page-gdpr__list-description {
        font-size: 0.95em;
    }

    .page-gdpr__list--numbered .page-gdpr__list-item {
        padding-left: 40px;
    }

    .page-gdpr__list--numbered .page-gdpr__list-item::before {
        top: 15px;
        width: 25px;
        height: 25px;
        font-size: 1em;
    }

    .page-gdpr__image-text-block {
        flex-direction: column;
        gap: 30px;
    }

    .page-gdpr__list--grid {
        grid-template-columns: 1fr; /* Single column for grid on mobile */
        gap: 15px;
    }

    .page-gdpr__contact-grid {
        grid-template-columns: 1fr; /* Single column for contact grid on mobile */
        gap: 30px;
    }

    .page-gdpr__contact-info {
        text-align: center;
    }

    a.page-gdpr__btn-primary,
    a.page-gdpr__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        margin-bottom: 10px; /* Space between stacked buttons */
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-gdpr__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__btn-container {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-gdpr__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-gdpr__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 1em;
    }

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

    .page-gdpr__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: 100% !important; /* Hero image should fill its wrapper */
    }

    .page-gdpr__content-container {
        padding: 0 15px; /* Adjust padding for mobile */
    }

    .page-gdpr__introduction-section,
    .page-gdpr__principles-section,
    .page-gdpr__rights-section,
    .page-gdpr__ensure-compliance-section,
    .page-gdpr__contact-section,
    .page-gdpr__faq-section {
        padding: 40px 0; /* Adjust section padding for mobile */
    }
}