/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Dark body background (#1a1a1a) requires light text */
    background-color: #1a1a1a; /* Ensure consistency if main is not transparent */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px; /* Ensure hero section is prominent */
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
}

.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;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
    border-radius: 10px;
}

.page-gdpr__hero-title {
    font-size: 2.8em;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

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

.page-gdpr__btn-primary {
    display: inline-block;
    background-color: #C30808; /* Register/Login button color */
    color: #FFFF00; /* Register/Login font color */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin: 10px;
    border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
    background-color: #9c0606;
    color: #ffffff;
}

.page-gdpr__btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
    margin: 10px;
}

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

/* Content Area */
.page-gdpr__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-gdpr__dark-section {
    background-color: #017439; /* Brand primary color as background */
    color: #ffffff;
}

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

.page-gdpr__section-title {
    font-size: 2.2em;
    color: #ffffff; /* Default for dark background */
    margin-bottom: 30px;
    text-align: center;
}

.page-gdpr__dark-section .page-gdpr__section-title {
    color: #ffffff;
}

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Light grey for readability on dark background */
}

.page-gdpr__dark-section .page-gdpr__paragraph {
    color: #f0f0f0;
}

.page-gdpr__paragraph a {
    color: #FFFF00; /* Highlight links */
    text-decoration: underline;
}

.page-gdpr__paragraph a:hover {
    color: #ffffff;
}

/* Image with Text Block */
.page-gdpr__image-text-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-gdpr__image-text-block--reverse {
    flex-direction: row-reverse;
}

.page-gdpr__content-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-gdpr__content-image--center {
    display: block;
    margin: 40px auto;
    max-width: 80%; /* Smaller for specific contact image */
}

.page-gdpr__text-content {
    flex: 1;
    max-width: 50%;
}

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

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

.page-gdpr__list-item strong {
    color: #ffffff; /* Ensure strong text stands out */
}

/* Contact Info Section */
.page-gdpr__contact-info {
    text-align: center;
    margin-bottom: 40px;
}

.page-gdpr__contact-info .page-gdpr__paragraph {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly lighter background for FAQ items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-item[open] > .page-gdpr__faq-question {
    background-color: rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #FFFF00; /* Highlight toggle icon */
}

.page-gdpr__faq-answer {
    padding: 20px;
    padding-top: 0;
    font-size: 1.1em;
    color: #f0f0f0;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.2em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__image-text-block {
        flex-direction: column;
        text-align: center;
    }
    .page-gdpr__image-text-block--reverse {
        flex-direction: column; /* Keep consistent on smaller screens */
    }
    .page-gdpr__content-image,
    .page-gdpr__text-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__hero-section {
        min-height: 400px;
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header adjustment */
    }
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .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-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-gdpr__content-area,
    .page-gdpr__container {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
    .page-gdpr__paragraph {
        font-size: 1em;
    }
    .page-gdpr__list {
        margin-left: 20px;
    }
    .page-gdpr__list-item {
        font-size: 1em;
    }
    .page-gdpr__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-gdpr__faq-answer {
        padding: 15px;
    }

    /* Images responsive */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__image-text-block .page-gdpr__content-image,
    .page-gdpr__content-image--center {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0; /* Remove potential padding from parent */
    }
    /* All containers with images */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__image-text-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}