/* style/gdpr.css */

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

/* Base styles for the page content, assuming body has a dark background from shared.css */
.page-gdpr {
    font-family: 'Arial', sans-serif; /* Placeholder font */
    color: var(--color-text-main); /* Default text color for the page */
    background-color: var(--color-background); /* Override if needed, but usually body handles this */
    line-height: 1.6;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    text-align: center;
    background-color: var(--color-deep-green); /* Fallback/container background */
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
    border-radius: 8px;
}

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1; /* Ensure content is above any background elements */
    color: var(--color-text-main);
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-gdpr__hero-description {
    font-size: 1.1em;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-gdpr__btn-primary {
    background: var(--color-button-gradient-start); /* Fallback */
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-text-main);
    border: 2px solid var(--color-button-gradient-start);
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: var(--color-glow);
    border: 2px solid var(--color-glow);
}

.page-gdpr__btn-secondary:hover {
    background-color: var(--color-glow);
    color: var(--color-background);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* General Section Styles */
.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-gdpr__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.3;
}

.page-gdpr__sub-title {
    font-size: clamp(1.4em, 2.5vw, 1.8em);
    color: var(--color-glow);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-gdpr__text-block {
    font-size: 1em;
    margin-bottom: 15px;
    color: var(--color-text-secondary);
}

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

/* List Styles */
.page-gdpr__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-gdpr__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--color-text-secondary);
}

.page-gdpr__list-item::before {
    content: '✅'; /* Green checkmark for lists */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-glow);
    font-size: 1.2em;
}

.page-gdpr__list-item strong {
    color: var(--color-text-main);
}

/* Dark Section for contrast */
.page-gdpr__dark-section {
    background-color: var(--color-card-bg); /* Darker background for contrast */
    color: var(--color-text-main);
}

.page-gdpr__dark-section .page-gdpr__text-block,
.page-gdpr__dark-section .page-gdpr__list-item {
    color: var(--color-text-secondary);
}

.page-gdpr__dark-section .page-gdpr__section-title {
    color: var(--color-gold);
}

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

.page-gdpr__contact-list .page-gdpr__list-item {
    padding-left: 0; /* Remove checkmark for contact list */
    margin-bottom: 15px;
}
.page-gdpr__contact-list .page-gdpr__list-item::before {
    content: none;
}

.page-gdpr__contact-link {
    color: var(--color-glow);
    text-decoration: none;
    font-weight: 600;
}

.page-gdpr__contact-link:hover {
    text-decoration: underline;
    color: var(--color-gold);
}

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

.page-gdpr__faq-item {
    background-color: var(--color-deep-green);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--color-text-main);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    background-color: var(--color-deep-green);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
    display: none;
}

.page-gdpr__faq-question:hover {
    background-color: var(--color-deep-green); /* Slightly darker on hover */
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
    color: var(--color-text-main);
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--color-glow);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to X or minus */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    font-size: 0.95em;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Promotion CTA Section */
.page-gdpr__promotion-cta-section {
    background-color: var(--color-card-bg);
    padding: 60px 20px;
    text-align: center;
}

/* Image Responsive Optimization (Global for .page-gdpr img) */
.page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensure images maintain aspect ratio without stretching */
}

/* Ensure images maintain original colors */
.page-gdpr img {
    filter: none !important; /* Explicitly ensure no filters are applied */
}

/* Responsive 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; /* body handles --header-offset */
    }

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

    .page-gdpr__hero-description {
        font-size: 1em;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%; /* Ensure container takes full width */
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

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

    .page-gdpr__section-title {
        font-size: clamp(1.5em, 7vw, 2em);
    }

    .page-gdpr__sub-title {
        font-size: clamp(1.2em, 5vw, 1.5em);
    }

    .page-gdpr__content-image {
        margin: 20px auto;
    }

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

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

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

    /* All containers with images/content for mobile */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-section,
    .page-gdpr__introduction-section,
    .page-gdpr__what-is-gdpr-section,
    .page-gdpr__hello88-approach-section,
    .page-gdpr__your-rights-section,
    .page-gdpr__how-hello88-implements-section,
    .page-gdpr__contact-section,
    .page-gdpr__faq-section,
    .page-gdpr__promotion-cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Video specific mobile rules (if any videos were added) */
    .page-gdpr video,
    .page-gdpr__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }

    .page-gdpr__video-section,
    .page-gdpr__video-container,
    .page-gdpr__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }

    .page-gdpr__video-section {
      padding-top: 10px !important; /* Small top padding for video section */
    }
}