/* style/gdpr.css */
/* Custom colors from palette */
:root {
    --page-gdpr-bg: #08160F;
    --page-gdpr-card-bg: #11271B;
    --page-gdpr-text-main: #F2FFF6;
    --page-gdpr-text-secondary: #A7D9B8;
    --page-gdpr-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-gdpr-border: #2E7A4E;
    --page-gdpr-glow: #57E38D;
    --page-gdpr-gold: #F2C14E;
    --page-gdpr-divider: #1E3A2A;
    --page-gdpr-deep-green: #0A4B2C;
}

.page-gdpr {
    background-color: var(--page-gdpr-bg); /* Ensure page content area uses the specified background color */
    color: var(--page-gdpr-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure space above footer */
}

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    text-align: center;
    overflow: hidden; /* Ensure no overflow */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure it takes full width */
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Use clamp for H1 */
    color: var(--page-gdpr-text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    letter-spacing: -0.02em;
}

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

.page-gdpr__btn-primary {
    display: inline-block;
    background: var(--page-gdpr-btn-gradient);
    color: var(--page-gdpr-text-main); /* White text for contrast */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

.page-gdpr__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--page-gdpr-bg); /* Ensure content area uses page bg */
}

.page-gdpr__section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: var(--page-gdpr-text-main);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-gdpr__section-description {
    font-size: 1.05em;
    color: var(--page-gdpr-text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.page-gdpr__article-section {
    background-color: var(--page-gdpr-card-bg);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-gdpr-border);
}

.page-gdpr__article-title {
    font-size: 2em;
    color: var(--page-gdpr-gold); /* Gold for important titles */
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid var(--page-gdpr-divider);
    padding-bottom: 15px;
}

.page-gdpr__article-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.page-gdpr__article-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-gdpr__sub-title {
    font-size: 1.6em;
    color: var(--page-gdpr-text-main);
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr p {
    color: var(--page-gdpr-text-secondary);
    margin-bottom: 15px;
}

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

.page-gdpr__list li {
    margin-bottom: 10px;
    color: var(--page-gdpr-text-secondary);
}

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

.page-gdpr__text-link {
    color: var(--page-gdpr-glow); /* Bright color for links */
    text-decoration: none;
    border-bottom: 1px solid var(--page-gdpr-glow);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-gdpr__text-link:hover {
    color: var(--page-gdpr-gold);
    border-color: var(--page-gdpr-gold);
}

.page-gdpr__faq-section {
    margin-top: 60px;
    margin-bottom: 60px;
    background-color: var(--page-gdpr-card-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-gdpr-border);
}

.page-gdpr__faq-list {
    margin-top: 30px;
}

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

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

.page-gdpr__faq-question:hover {
    background-color: rgba(46, 122, 78, 0.5); /* Lighter deep green */
}

.page-gdpr__faq-item[open] > .page-gdpr__faq-question {
    background-color: var(--page-gdpr-border);
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    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.95em;
}

/* Hide default details marker */
.page-gdpr__faq-item summary {
    list-style: none;
}
.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-gdpr__contact-section {
    background-color: var(--page-gdpr-card-bg);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-gdpr-border);
}

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

.page-gdpr__contact-list {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 30px;
    color: var(--page-gdpr-text-secondary);
}

.page-gdpr__contact-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-gdpr__contact-list li a {
    color: var(--page-gdpr-glow);
    text-decoration: none;
}

.page-gdpr__contact-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-gdpr__disclaimer-section {
    background-color: var(--page-gdpr-deep-green);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--page-gdpr-border);
    margin-top: 40px;
}

.page-gdpr__disclaimer-content p {
    color: var(--page-gdpr-text-secondary);
    font-size: 0.95em;
}

/* Ensure color contrast for elements not explicitly styled */
.page-gdpr h1, .page-gdpr h2, .page-gdpr h3, .page-gdpr h4, .page-gdpr h5, .page-gdpr h6 {
    color: var(--page-gdpr-text-main);
}
.page-gdpr strong {
    color: var(--page-gdpr-text-main);
}

/* --- Responsive styles --- */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        padding: 0 15px;
    }

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

    .page-gdpr__section-title {
        font-size: 2em;
    }

    .page-gdpr__article-title {
        font-size: 1.8em;
    }

    .page-gdpr__sub-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
        padding-bottom: 20px;
    }

    .page-gdpr__hero-section {
        padding: 10px 15px 40px; /* Small top padding */
    }

    .page-gdpr__hero-image-wrapper {
        margin-bottom: 20px;
    }

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

    .page-gdpr__main-title {
        font-size: clamp(1.6em, 6vw, 2.5em);
        margin-bottom: 15px;
    }

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

    .page-gdpr__btn-primary {
        padding: 12px 25px;
        font-size: 0.95em;
    }

    .page-gdpr__content-area {
        padding: 30px 15px;
    }

    .page-gdpr__section-intro {
        margin-bottom: 40px;
    }

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

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

    .page-gdpr__article-section {
        padding: 25px;
        margin-bottom: 30px;
    }

    .page-gdpr__article-title {
        font-size: 1.6em;
        margin-bottom: 20px;
    }

    .page-gdpr__sub-title {
        font-size: 1.2em;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .page-gdpr p {
        font-size: 0.9em;
    }

    .page-gdpr__list {
        margin-left: 20px;
    }

    .page-gdpr__list li {
        font-size: 0.9em;
    }

    .page-gdpr__faq-section {
        padding: 25px;
        margin-top: 40px;
        margin-bottom: 40px;
    }

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

    .page-gdpr__faq-toggle {
        font-size: 1.2em;
    }

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

    .page-gdpr__contact-section {
        padding: 25px;
        margin-bottom: 30px;
    }

    .page-gdpr__contact-list li {
        font-size: 1em;
    }

    .page-gdpr__disclaimer-section {
        padding: 20px;
        margin-top: 30px;
    }

    .page-gdpr__disclaimer-content p {
        font-size: 0.85em;
    }

    /* Mobile forced responsive styles */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-section,
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__hero-content,
    .page-gdpr__content-area,
    .page-gdpr__article-section,
    .page-gdpr__faq-section,
    .page-gdpr__contact-section,
    .page-gdpr__disclaimer-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    .page-gdpr__btn-primary,
    .page-gdpr__btn-contact {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        text-align: center; /* Center text in button */
        padding-left: 15px;
        padding-right: 15px;
    }

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

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