/* style/gdpr.css */

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

.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--light-text-color); /* Default to light text for dark body background */
    background-color: var(--dark-bg-1); /* Inherited from shared.css */
}

.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 40px;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    color: var(--light-text-color);
    background-color: var(--primary-color);
    overflow: hidden;
}

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-gdpr__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.page-gdpr__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--secondary-color); /* Light background for main content */
    color: var(--dark-text-color); /* Dark text for light background */
}

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

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

.page-gdpr__sub-section-title {
    font-size: 1.5em;
    color: var(--dark-text-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-gdpr__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-gdpr__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

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

.page-gdpr__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.page-gdpr__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    box-sizing: border-box;
}

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

.page-gdpr__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

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

.page-gdpr__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-gdpr__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: var(--black-color);
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-gdpr__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.page-gdpr__video-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.page-gdpr__video-caption {
    text-align: center;
    font-style: italic;
    margin-top: 10px;
    color: var(--dark-text-color);
}

.page-gdpr__faq-section {
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.page-gdpr__faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none; /* For details summary */
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
    transition: transform 0.3s ease;
    color: var(--dark-text-color);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg);
}

.page-gdpr__faq-answer {
    padding-top: 10px;
    font-size: 1.05em;
    color: var(--dark-text-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.2em;
    }
    .page-gdpr__hero-description {
        font-size: 1.1em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 60px 15px 30px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-gdpr__main-title {
        font-size: 1.8em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__content-area {
        padding: 30px 15px;
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
    }
    .page-gdpr__sub-section-title {
        font-size: 1.3em;
    }
    .page-gdpr__text-block, .page-gdpr__list-item, .page-gdpr__faq-answer {
        font-size: 1em;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-gdpr__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
        text-align: center;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__container,
    .page-gdpr__video-wrapper,
    .page-gdpr__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-gdpr__video-wrapper {
        padding-bottom: 56.25% !important;
        height: 0 !important;
    }
    .page-gdpr__video {
        max-width: 100% !important;
        width: 100% !important;
        height: 100% !important;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: 1.5em;
    }
    .page-gdpr__hero-description {
        font-size: 0.9em;
    }
    .page-gdpr__section-title {
        font-size: 1.4em;
    }
    .page-gdpr__faq-question {
        font-size: 1.1em;
    }
}