/* style/gdpr.css */

/* Custom properties for colors */
:root {
    --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: #2E7A4E;
    --page-gdpr-glow: #57E38D;
    --page-gdpr-gold: #F2C14E;
    --page-gdpr-divider: #1E3A2A;
    --page-gdpr-deep-green: #0A4B2C;
    --page-gdpr-primary-color: #11A84E; /* Main color */
    --page-gdpr-secondary-color: #22C768; /* Auxiliary color */
}

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

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    box-sizing: border-box;
    background-color: var(--page-gdpr-deep-green); /* Slightly different background for hero */
}

.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;
}

.page-gdpr__hero-content {
    text-align: center;
    max-width: 900px;
    color: var(--page-gdpr-text-main); /* Ensure light text */
}

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

.page-gdpr__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--page-gdpr-text-secondary); /* Secondary text color */
}

/* CTA Button */
.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--page-gdpr-button-gradient);
    color: #ffffff; /* White text for button */
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-gdpr__cta-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Reverse gradient on hover */
}

/* Content Sections */
.page-gdpr__content-section {
    padding: 60px 0;
    background-color: var(--page-gdpr-background);
}

.page-gdpr__deep-green-bg {
    background-color: var(--page-gdpr-deep-green);
}

.page-gdpr__section-title {
    font-size: 2.2em;
    color: var(--page-gdpr-gold);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.page-gdpr__paragraph {
    font-size: 1em;
    margin-bottom: 20px;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__paragraph a {
    color: var(--page-gdpr-secondary-color); /* Links in paragraphs */
    text-decoration: underline;
}

.page-gdpr__paragraph a:hover {
    color: var(--page-gdpr-gold);
}

.page-gdpr__image-inline {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-gdpr__list-item {
    background-color: var(--page-gdpr-card-bg); /* Darker background for list items */
    border: 1px solid var(--page-gdpr-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    color: var(--page-gdpr-text-main);
    font-size: 1.05em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__list-item strong {
    color: var(--page-gdpr-secondary-color);
}

/* Contact Section Specifics */
.page-gdpr__contact-section {
    padding: 60px 0;
    background-color: var(--page-gdpr-deep-green); /* Use deep green for contrast */
}

.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-gdpr__contact-item {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    color: var(--page-gdpr-text-main);
    font-size: 1.05em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__contact-item strong {
    color: var(--page-gdpr-secondary-color);
}

/* FAQ Section */
.page-gdpr__faq-section {
    padding: 60px 0;
    background-color: var(--page-gdpr-background);
}

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

.page-gdpr__faq-item {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-gdpr-text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    color: var(--page-gdpr-text-main);
    background-color: var(--page-gdpr-card-bg);
    border-bottom: 1px solid transparent; /* No border initially */
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-gdpr__faq-item[open] > .page-gdpr__faq-question {
    border-bottom: 1px solid var(--page-gdpr-divider); /* Border when open */
}

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

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

.page-gdpr__faq-qtext {
    color: var(--page-gdpr-text-main);
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    font-weight: 300;
    color: var(--page-gdpr-secondary-color);
    margin-left: 10px;
}

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

.page-gdpr__faq-answer p {
    margin-bottom: 0;
}

/* Final CTA Section */
.page-gdpr__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--page-gdpr-deep-green); /* Use deep green for this section */
}

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

.page-gdpr__cta-title {
    font-size: 2.5em;
    color: var(--page-gdpr-gold);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-gdpr__btn-primary {
    background: var(--page-gdpr-button-gradient);
    color: #ffffff;
    border: none;
    padding: 18px 40px;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 5px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: clamp(1.8em, 4vw, 2.5em);
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset */
    }
    .page-gdpr__container {
        padding: 0 15px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.5em, 6vw, 2em);
    }
    .page-gdpr__description {
        font-size: 1em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__cta-title {
        font-size: 2em;
    }
    .page-gdpr__paragraph,
    .page-gdpr__list-item,
    .page-gdpr__contact-item,
    .page-gdpr__faq-question,
    .page-gdpr__faq-answer {
        font-size: 16px; /* Base font size for mobile */
    }

    /* Mobile image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Mobile button responsiveness */
    .page-gdpr__cta-button,
    .page-gdpr__btn-primary,
    .page-gdpr a[class*="button"],
    .page-gdpr a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
    }
    
    /* Button containers for mobile */
    .page-gdpr__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* Content sections and cards on mobile */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__content-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    /* Ensure content area images are at least 200px */
    .page-gdpr img {
        min-width: 200px;
        min-height: 200px;
    }
}

/* Ensure content area images are at least 200px */
.page-gdpr__content-section img,
.page-gdpr__contact-section img {
    min-width: 200px;
    min-height: 200px;
}

/* Color contrast enforcement (based on dark background --page-gdpr-background) */
.page-gdpr h1,
.page-gdpr h2,
.page-gdpr h3,
.page-gdpr h4,
.page-gdpr h5,
.page-gdpr h6 {
    color: var(--page-gdpr-gold); /* Headings use gold for visibility */
}

.page-gdpr p,
.page-gdpr li,
.page-gdpr span {
    color: var(--page-gdpr-text-main); /* Main text uses light color */
}

.page-gdpr__description,
.page-gdpr__faq-answer {
    color: var(--page-gdpr-text-secondary); /* Secondary text uses slightly dimmer light color */
}

.page-gdpr__cta-button {
    color: #ffffff; /* White text on gradient button */
}

/* Ensure no filter is applied to images */
.page-gdpr img {
    filter: none !important;
}

/* Content area images CSS size lower bound (min 200px) */
.page-gdpr__content-section img,
.page-gdpr__contact-section img,
.page-gdpr__hero-section img {
    min-width: 200px;
    min-height: 200px;
    /* Ensure no CSS rules accidentally shrink images below 200px */
    width: auto;
    height: auto;
}

@media (max-width: 768px) {
    .page-gdpr__hero-section .page-gdpr__hero-image-wrapper,
    .page-gdpr__hero-section .page-gdpr__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}