/* style/gdpr.css */

/* Variables and base styles for the page */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-on-dark: #FFFFFF; /* For dark backgrounds */
    --text-on-light: #333333; /* For light backgrounds */
    --link-color: #26A9E0;
    --button-primary-bg: #26A9E0;
    --button-primary-text: #FFFFFF;
    --button-secondary-bg: #FFFFFF;
    --button-secondary-text: #26A9E0;
    --login-color: #EA7C07; /* Specific color for login if used */
    --body-bg: #0a0a0a; /* From prompt, dark background */
}

/* Body background is dark (#0a0a0a), so page content needs light text */
.page-gdpr {
    color: var(--text-on-dark); /* Default text color for the page */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--body-bg); /* Inherit or set explicitly to match body */
}

/* Ensure links within the content are visible */
.page-gdpr__link {
    color: var(--link-color);
    text-decoration: underline;
}
.page-gdpr__link:hover {
    color: #1a7bb0; /* Slightly darker blue on hover */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding as body handles --header-offset */
    background-color: var(--body-bg); /* Match body background */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-gdpr__hero-content {
    max-width: 1200px;
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    box-sizing: border-box;
}

.page-gdpr__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-on-dark);
    max-width: 900px;
    margin: 0 auto 20px auto;
    /* No fixed font-size, rely on weight/line-height for hierarchy */
}

.page-gdpr__hero-description {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
}

/* Content Sections */
.page-gdpr__content-section {
    padding: 60px 0;
    background-color: var(--body-bg); /* Default to dark background */
}

.page-gdpr__dark-section {
    background-color: rgba(38, 169, 224, 0.1); /* Slightly tinted dark background */
    color: var(--text-on-dark);
}

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

.page-gdpr__section-title {
    font-size: 2.2em;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.page-gdpr__sub-title {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-gdpr__paragraph {
    margin-bottom: 20px;
    color: var(--text-on-dark);
}

.page-gdpr__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__grid-item {
    background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white card */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-on-dark);
}

.page-gdpr__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-gdpr__image--center {
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__list-item {
    margin-bottom: 10px;
}
.page-gdpr__list-item strong {
    color: var(--primary-color);
}


/* FAQ Section */
.page-gdpr__faq-section {
    background-color: rgba(38, 169, 224, 0.15); /* Darker tinted background for contrast */
    padding-bottom: 80px;
}

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

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter card for FAQ */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-on-dark);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1); /* Slightly darker for question row */
    color: var(--text-on-dark);
    list-style: none; /* For details/summary */
}
.page-gdpr__faq-question::-webkit-details-marker {
    display: none;
}
.page-gdpr__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    content: "−";
}

.page-gdpr__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.8);
}
.page-gdpr__faq-answer .page-gdpr__paragraph {
    margin-bottom: 0;
}

.page-gdpr__faq-image {
    margin-top: 40px;
}

/* CTA Section */
.page-gdpr__cta-section {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #1a7bb0); /* Gradient for CTA */
    color: var(--text-on-dark);
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box; /* Important for button responsiveness */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
    text-align: center;
}

.page-gdpr__btn-primary {
    background-color: var(--button-primary-bg);
    color: var(--button-primary-text);
    border: 2px solid var(--button-primary-bg);
}

.page-gdpr__btn-primary:hover {
    background-color: #1a8cc4; /* A slightly darker blue */
    border-color: #1a8cc4;
}

.page-gdpr__btn-secondary {
    background-color: var(--button-secondary-bg);
    color: var(--button-secondary-text);
    border: 2px solid var(--button-secondary-text);
}

.page-gdpr__btn-secondary:hover {
    background-color: var(--button-secondary-text);
    color: var(--button-secondary-bg);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        padding: 30px 20px;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__sub-title {
        font-size: 1.3em;
    }
}

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

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

    /* All image containers responsiveness */
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__grid-item,
    .page-gdpr__container,
    .page-gdpr__cta-section,
    .page-gdpr__faq-section,
    .page-gdpr__content-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    /* Specific padding for sections if needed to override container */
    .page-gdpr__hero-section,
    .page-gdpr__cta-section,
    .page-gdpr__faq-section,
    .page-gdpr__content-section {
      padding-left: 0 !important;
      padding-right: 0 !important;
    }
    .page-gdpr__hero-content {
      padding-left: 15px !important;
      padding-right: 15px !important;
    }

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

    .page-gdpr__main-title {
        font-size: 1.8em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__sub-title {
        font-size: 1.2em;
    }

    /* Button responsiveness */
    .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;
        padding: 12px 20px !important;
        font-size: 1em !important;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

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

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