/* style/gdpr.css */

/* Custom colors from requirements */
:root {
    --color-primary: #11A84E; /* Main */
    --color-secondary: #22C768; /* Aux */
    --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-gdpr scope */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text-main); /* Default text color for the page */
    background-color: var(--color-background); /* Default background for the page */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    background-color: var(--color-deep-green); /* Example background */
}

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

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    filter: none; /* Ensure no filter */
}

.page-gdpr__hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-gdpr__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    font-weight: bold;
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-gdpr__hero-description {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

/* General Section Styling */
.page-gdpr__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-gdpr__section--alt-bg {
    background-color: var(--color-card-bg);
}

.page-gdpr__heading {
    font-size: 2.5rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-gdpr__sub-heading {
    font-size: 1.8rem;
    color: var(--color-gold);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-gdpr__paragraph {
    margin-bottom: 15px;
    color: var(--color-text-main);
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

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

/* Card Styling for image sections */
.page-gdpr__image-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.page-gdpr__image-card-img {
    width: 100%;
    height: auto;
    max-width: 800px; /* Example max-width */
    border-radius: 6px;
    margin-bottom: 20px;
    object-fit: cover;
    filter: none; /* Ensure no filter */
}

.page-gdpr__image-card-caption {
    font-style: italic;
    color: var(--color-text-secondary);
}

/* Call to Action Buttons */
.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-text-main); /* White text on green button */
    border: none;
    cursor: pointer;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__cta-button--secondary {
    background: var(--color-card-bg); /* Use card background for secondary button */
    color: var(--color-primary); /* Primary color text */\    border: 2px solid var(--color-primary);
}

.page-gdpr__cta-button--secondary:hover {
    background: var(--color-primary);
    color: var(--color-text-main);
}

.page-gdpr__link {
    color: var(--color-primary);
    text-decoration: underline;
}

.page-gdpr__link:hover {
    color: var(--color-gold);
}

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

.page-gdpr__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden; /* For smooth transition if using max-height */
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--color-text-main);
    cursor: pointer;
    background-color: var(--color-card-bg);
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: var(--color-deep-green);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    background-color: var(--color-deep-green);
    color: var(--color-gold);
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-primary);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    color: var(--color-gold);
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--color-text-secondary);
}

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

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

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

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

    .page-gdpr__section {
        padding: 40px 15px;
    }

    .page-gdpr__heading {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .page-gdpr__sub-heading {
        font-size: 1.5rem;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-gdpr__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__image-card,
    .page-gdpr__faq-list,
    .page-gdpr__faq-item,
    .page-gdpr__cta-buttons,
    .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; /* Ensure no overflow */
    }

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

    .page-gdpr video,
    .page-gdpr__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}

/* Ensure no filter on images */
.page-gdpr img {
    filter: none;
}