/* style/gdpr.css */

/* Base styles and container */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light background */
    background-color: #ffffff; /* Default white background */
}

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

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

.page-gdpr__dark-bg {
    background-color: #017439; /* Brand primary color */
    color: #ffffff; /* White text for dark background */
}

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3; /* Make background image subtle */
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Enhance readability on image */
}

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

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

/* Buttons */
.page-gdpr__btn-primary {
    display: inline-block;
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

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

/* Content Sections */
.page-gdpr__content-section {
    padding: 60px 0;
    background-color: #ffffff; /* Light background for content */
    color: #333333;
}

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

.page-gdpr__paragraph {
    margin-bottom: 15px;
    text-align: justify;
}

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

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

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

.page-gdpr__contact-info {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 25px;
    border-radius: 8px;
    margin: 40px 0;
}

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

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

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

/* FAQ Section */
.page-gdpr__faq-section {
    padding: 60px 0;
    background-color: #f5f5f5; /* Slightly different light background */
    color: #333333;
}

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

.page-gdpr__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    background-color: #fdfdfd;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome/Safari */
}

.page-gdpr__faq-question:hover {
    background-color: #f0f0f0;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to cross */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    font-size: 0.95em;
    color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-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 {
        flex-direction: column;
        text-align: center;
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top for fixed header */
        min-height: 400px;
    }

    .page-gdpr__hero-content {
        max-width: 100%;
    }

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

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

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

    .page-gdpr__container,
    .page-gdpr__content-section,
    .page-gdpr__faq-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Image responsive adaptions */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* All containers that might hold images/buttons/videos */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-section,
    .page-gdpr__content-section,
    .page-gdpr__faq-section,
    .page-gdpr__contact-info {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Button responsive adaptations */
    .page-gdpr__btn-primary {
        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__button-group,
    .page-gdpr__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
}