/* style/gdpr.css */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background #0a0a0a */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background-color: #017439; /* Brand color for hero */
}

.page-gdpr__hero-content {
    z-index: 1;
    max-width: 800px;
}

.page-gdpr__hero-title {
    font-size: 2.8em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-gdpr__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-gdpr__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
}

.page-gdpr__btn-primary {
    background-color: #C30808; /* Custom color for register/login */
    color: #FFFF00; /* Custom font color for register/login */
    border: 2px solid #C30808;
}

.page-gdpr__btn-primary:hover {
    background-color: #e02a2a;
    border-color: #e02a2a;
    color: #ffffff;
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-gdpr__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
    border-color: #ffffff;
}

.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;
    opacity: 0.2; /* Subtle background image */
    display: block;
}

/* Content Area */
.page-gdpr__content-area {
    background-color: #1a1a1a; /* Slightly lighter dark background for content */
    padding: 60px 0;
    color: #f0f0f0; /* Light text for dark background */
}

.page-gdpr__section-title {
    font-size: 2.2em;
    color: #017439; /* Brand color for titles */
    margin-bottom: 30px;
    text-align: center;
    padding-top: 20px;
}

.page-gdpr__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #e0e0e0;
}

.page-gdpr__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-gdpr__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-gdpr__list-item strong {
    color: #017439; /* Highlight key terms with brand color */
}

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

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

.page-gdpr__contact-info {
    margin: 30px 0;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    border-left: 5px solid #017439;
    border-radius: 8px;
    color: #f0f0f0;
}

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

.page-gdpr__contact-item a {
    color: #FFFF00; /* Custom color for links in contact info */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__contact-item a:hover {
    color: #017439;
    text-decoration: underline;
}

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-gdpr__faq-item {
    background-color: rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: #f0f0f0;
}

.page-gdpr__faq-item summary {
    list-style: none; /* Remove default marker */
    cursor: pointer;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    color: #017439; /* Brand color for FAQ questions */
    transition: background-color 0.3s ease;
}

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

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

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #FFFF00; /* Custom color for toggle icon */
}

.page-gdpr__faq-answer {
    padding: 20px 25px;
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 1.1em;
    color: #e0e0e0;
}

.page-gdpr__faq-answer p {
    margin-bottom: 15px;
}

/* CTA Section at bottom */
.page-gdpr__cta-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #017439; /* Brand color for CTA background */
    color: #ffffff;
    border-radius: 10px;
    margin-top: 60px;
}

.page-gdpr__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-gdpr__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.2em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .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 15px; /* Adjust padding for mobile */
    }
    .page-gdpr__content-area {
        padding: 40px 0;
    }
    .page-gdpr__container {
        padding: 0 15px; /* Add padding to container on mobile */
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
        margin-bottom: 20px;
    }
    .page-gdpr__text-block,
    .page-gdpr__list-item,
    .page-gdpr__contact-item,
    .page-gdpr__faq-answer {
        font-size: 0.95em;
    }
    .page-gdpr__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-gdpr__faq-answer {
        padding: 15px 20px;
    }
    .page-gdpr__cta-title {
        font-size: 1.8em;
    }
    .page-gdpr__cta-description {
        font-size: 1em;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Mobile image/video adaptation */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__image-wrapper,
    .page-gdpr__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.5em;
    }
    .page-gdpr__section-title {
        font-size: 1.4em;
    }
    .page-gdpr__cta-title {
        font-size: 1.6em;
    }
}