/* style/gdpr.css */

/* Variables from custom colors */
:root {
    --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;

    /* Buttons */
    --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);

    /* Brand colors for contrast fallback */
    --page-gdpr-primary-brand: #11A84E;
    --page-gdpr-secondary-brand: #22C768;
}

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

/* Responsive image base styles */
.page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* Section styling */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    text-align: center;
    overflow: hidden; /* For image */
}

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

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability */
    border-radius: 0; /* Hero image doesn't need rounded corners */
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* H1 clamp font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-gdpr-text-main);
}

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

.page-gdpr__content-section {
    padding: 80px 20px;
}

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--page-gdpr-gold);
    text-align: center;
}

.page-gdpr__paragraph {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--page-gdpr-text-secondary);
    text-align: justify;
}

.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-gdpr__list-item {
    background-color: var(--page-gdpr-card-bg);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    color: var(--page-gdpr-text-main);
    border: 1px solid var(--page-gdpr-border);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.page-gdpr__list-item::before {
    content: '✅';
    display: inline-block;
    margin-right: 8px;
    font-size: 1.2em;
    line-height: 1;
    color: var(--page-gdpr-glow);
}

.page-gdpr__image-wrapper {
    margin: 40px auto;
    text-align: center;
    max-width: 800px;
}

/* Color contrast classes */
.page-gdpr__dark-section {
    background-color: var(--page-gdpr-background);
    color: var(--page-gdpr-text-main);
}

.page-gdpr__light-bg {
    background-color: #1a362a; /* Slightly lighter dark for contrast with dark-section */
    color: var(--page-gdpr-text-main);
}

.page-gdpr__light-bg .page-gdpr__paragraph,
.page-gdpr__light-bg .page-gdpr__list-item {
    color: var(--page-gdpr-text-secondary);
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__btn-primary {
    background: var(--page-gdpr-button-gradient);
    color: #ffffff; /* White text for gradient button */
    border: none;
    margin-right: 15px;
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-gdpr__btn-secondary:hover {
    background: var(--page-gdpr-glow);
    color: var(--page-gdpr-background); /* Dark text for light background */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.3);
}

.page-gdpr__contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* FAQ Section */
.page-gdpr__faq-section {
    padding: 80px 20px;
}

.page-gdpr__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: 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);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--page-gdpr-text-main);
    user-select: none;
    list-style: none; /* For details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

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

.page-gdpr__faq-qtext {
    flex-grow: 1;
    text-align: left;
}

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

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    content: '−'; /* Change to minus when open for details tag */
}

/* Contact Section */
.page-gdpr__contact-section {
    text-align: center;
    padding: 80px 20px;
}

.page-gdpr__contact-content {
    max-width: 900px;
}

.page-gdpr__contact-image {
    margin-top: 50px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        padding: 0 20px;
    }
    .page-gdpr__section-title {
        font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    }
    .page-gdpr__sub-title {
        font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    }
}

@media (max-width: 768px) {
    /* General content area padding for mobile */
    .page-gdpr__container,
    .page-gdpr__hero-section,
    .page-gdpr__content-section,
    .page-gdpr__faq-section,
    .page-gdpr__contact-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    /* Buttons */
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-right: 0 !important;
        margin-bottom: 15px; /* Add spacing between stacked buttons */
    }

    .page-gdpr__contact-buttons {
        flex-direction: column !important;
        gap: 0;
    }

    /* Hero section specific */
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* body handles --header-offset */
        padding-bottom: 40px;
    }

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

    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .page-gdpr__hero-description {
        font-size: 1rem;
    }

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

    .page-gdpr__sub-title {
        font-size: clamp(1.1rem, 6vw, 1.6rem);
    }

    .page-gdpr__paragraph {
        font-size: 0.95rem;
    }

    .page-gdpr__list-item {
        font-size: 0.95rem;
        padding: 12px 15px;
    }

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

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

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: clamp(1.6rem, 9vw, 2.2rem);
    }
    .page-gdpr__section-title {
        font-size: clamp(1.4rem, 8vw, 2rem);
    }
    .page-gdpr__sub-title {
        font-size: clamp(1rem, 7vw, 1.4rem);
    }
}