/* style/gdpr.css */

/* --- Base Styles --- */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background is from shared.css */
}

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

.page-gdpr__section {
    padding: 60px 0;
}

.page-gdpr__dark-section {
    background-color: #1a1a2e; /* Using body background color for dark sections */
    color: #ffffff;
}

.page-gdpr__light-bg {
    background-color: #2a2a4a; /* A slightly lighter dark background for contrast */
    color: #ffffff;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand green for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

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

.page-gdpr__text-block a {
    color: #017439; /* Brand green for links */
    text-decoration: underline;
}

/* --- Hero Section --- */
.page-gdpr__hero-section {
    padding-top: 60px; /* Small top padding, assuming body has offset from shared.css */
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    text-align: left;
    background-color: #1a1a2e; /* Ensure hero has a dark background */
}

.page-gdpr__hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.page-gdpr__hero-content {
    flex: 1;
    padding-right: 40px;
}

.page-gdpr__hero-title {
    font-size: 3.5em;
    color: #FFFFFF; /* White for main hero title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-gdpr__hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-gdpr__hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

/* --- Buttons --- */
a.page-gdpr__btn-primary {
    display: inline-block;
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

a.page-gdpr__btn-primary:hover {
    background-color: #e02c2c;
    transform: translateY(-2px);
}

.page-gdpr__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* --- Content Grid for Data Collection --- */
.page-gdpr__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-gdpr__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    text-align: left;
}

.page-gdpr__card-title {
    font-size: 1.5em;
    color: #017439; /* Brand green for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__card-text {
    font-size: 1em;
    line-height: 1.6;
}

/* --- Lists --- */
.page-gdpr__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-gdpr__list-item {
    background: rgba(255, 255, 255, 0.05); /* Slightly different background for list items */
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 4px solid #017439; /* Brand green accent */
    border-radius: 5px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-gdpr__list-item strong {
    color: #017439; /* Brand green for strong text in list items */
}

.page-gdpr__contact-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-gdpr__contact-item {
    margin-bottom: 10px;
    padding: 10px 0;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-gdpr__contact-item strong {
    color: #017439;
}

/* --- Images in Content --- */
.page-gdpr__image-full-width {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* --- CTA Section --- */
.page-gdpr__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #1a1a2e; /* Dark background for CTA */
}

.page-gdpr__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-gdpr__cta-title {
    font-size: 2.8em;
    color: #FFFFFF;
    margin-bottom: 25px;
    font-weight: bold;
    line-height: 1.2;
}

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

/* --- FAQ Section --- */
.page-gdpr__faq-section {
    padding: 60px 0;
    background-color: #2a2a4a; /* Lighter dark background for FAQ */
    color: #ffffff;
}

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

.page-gdpr__faq-item {
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #017439; /* Brand green for FAQ questions */
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-question h3 {
    margin: 0;
    color: #017439; /* Brand green for FAQ questions */
    font-size: 1.2em;
}

.page-gdpr__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #017439; /* Brand green for toggle icon */
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to form an X or minus */
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: rgba(255, 255, 255, 0.02);
    color: #f0f0f0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px !important;
}

.page-gdpr__faq-answer p {
    margin: 0;
    font-size: 1.1em;
    line-height: 1.6;
}

.page-gdpr__faq-answer a {
    color: #017439;
    text-decoration: underline;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .page-gdpr__hero-container {
        flex-direction: column;
        text-align: center;
    }

    .page-gdpr__hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

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

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

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

    .page-gdpr__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        padding-bottom: 60px;
    }

    .page-gdpr__container {
        padding: 0 15px;
    }

    .page-gdpr__section {
        padding: 40px 0;
    }

    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

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

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

    /* Images responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    
    .page-gdpr__hero-image,
    .page-gdpr__content-grid,
    .page-gdpr__faq-list,
    .page-gdpr__cta-content,
    .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Video responsiveness (if any, though not used here) */
    .page-gdpr video,
    .page-gdpr__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-gdpr__video-section,
    .page-gdpr__video-container,
    .page-gdpr__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Buttons responsiveness */
    a.page-gdpr__btn-primary,
    .page-gdpr__btn-large {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px; /* Add padding to prevent text touching edges */
        padding-right: 15px;
        text-align: center;
    }

    .page-gdpr__cta-buttons,
    .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;
        overflow: hidden !important;
        display: flex; /* Ensure flex for wrapping if multiple buttons */
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
    }

    .page-gdpr__card {
        padding: 20px;
    }

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

    .page-gdpr__list-item {
        font-size: 1em;
        padding: 10px 15px;
    }

    .page-gdpr__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-gdpr__faq-question h3 {
        font-size: 1.1em;
    }

    .page-gdpr__faq-answer {
        padding: 0 15px;
    }
    
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px !important;
    }

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

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