/* style/gdpr.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --dark-text-color: #333333;
    --light-text-color: #ffffff;
    --login-button-color: #EA7C07;
    --background-color: #FFFFFF;
    --black-color: #000000;
}

.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--light-text-color); /* Body background is dark, so text should be light */
    background-color: var(--dark-bg-1); /* Inherited from shared.css */
}

.page-gdpr__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px;
    padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a7fb8 100%);
    color: var(--light-text-color);
    text-align: center;
    overflow: hidden;
    position: relative;
}

.page-gdpr__hero-content {
    max-width: 800px;
    margin-bottom: 40px;
    z-index: 2;
}

.page-gdpr__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: var(--secondary-color);
}

.page-gdpr__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-gdpr__hero-image-container {
    width: 100%;
    max-width: 1200px;
    margin-top: 20px;
    z-index: 1;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: block;
}

.page-gdpr__btn-primary {
    display: inline-block;
    background-color: var(--login-button-color); /* Using login color for primary CTA */
    color: var(--light-text-color);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    border: none;
}

.page-gdpr__btn-primary:hover {
    background-color: #c96700;
}

.page-gdpr__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    color: var(--light-text-color); /* Default text color for content areas */
}

.page-gdpr__dark-section {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly darker background for contrast */
    color: var(--light-text-color);
}

.page-gdpr__container {
    max-width: 1000px;
    margin: 0 auto;
}

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

.page-gdpr__sub-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: bold;
}

.page-gdpr__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--light-text-color);
}

.page-gdpr__two-columns {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-gdpr__text-column {
    flex: 1;
}

.page-gdpr__image-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: block;
}

.page-gdpr__reverse-columns {
    flex-direction: row-reverse;
}

.page-gdpr__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--light-text-color);
}

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

.page-gdpr__list.page-gdpr__list--ordered {
    list-style: decimal inside;
}

.page-gdpr__list-item a,
.page-gdpr__text-block a {
    color: var(--primary-color);
    text-decoration: underline;
}

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

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--light-text-color);
}

.page-gdpr__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--secondary-color);
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-item summary:hover {
    background-color: rgba(255, 255, 255, 0.18);
}

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

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

.page-gdpr__faq-answer {
    padding: 15px 25px 25px;
    font-size: 1.05em;
    line-height: 1.6;
    color: var(--light-text-color);
}

.page-gdpr__faq-answer p {
    margin-bottom: 10px;
    color: var(--light-text-color);
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-gdpr__hero-title {
        font-size: 2.5em;
    }

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

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

    .page-gdpr__two-columns {
        flex-direction: column;
        gap: 30px;
    }

    .page-gdpr__reverse-columns {
        flex-direction: column;
    }
}

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

    .page-gdpr__hero-section {
        padding: 60px 15px 30px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header spacing */
    }

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

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

    .page-gdpr__btn-primary {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

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

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

    .page-gdpr__text-block, .page-gdpr__list, .page-gdpr__list-item {
        font-size: 1em;
    }
    
    /* Mobile image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__hero-image-container,
    .page-gdpr__image-column,
    .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-gdpr__content-image {
        max-width: 100% !important;
    }
    /* Ensure content areas have padding on mobile */
    .page-gdpr__content-area .page-gdpr__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

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

    .page-gdpr__faq-answer {
        padding: 10px 20px 20px;
        font-size: 0.95em;
    }
}

/* Color contrast safety checks */
/* Ensure text is light on dark background by default */
.page-gdpr p, .page-gdpr li, .page-gdpr__text-block {
    color: var(--light-text-color);
}

.page-gdpr__faq-item {
    color: var(--light-text-color);
}
.page-gdpr__faq-item summary {
    color: var(--secondary-color);
}
.page-gdpr__faq-answer {
    color: var(--light-text-color);
}

/* Links within text blocks */
.page-gdpr__text-block a, .page-gdpr__list-item a, .page-gdpr__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

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