/* style/gdpr.css */

/* Base styles for the GDPR page */
.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 handled by shared.css or global */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    height: 60vh; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

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

.page-gdpr__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
    z-index: 2;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
}

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

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

.page-gdpr__hero-button,
.page-gdpr__cta-button {
    display: inline-block;
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-gdpr__hero-button:hover,
.page-gdpr__cta-button:hover {
    background-color: #1a7bb3; /* Darker shade on hover */
}

/* General Section Styling */
.page-gdpr__section {
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-gdpr__section-title {
    font-size: 2.2em;
    color: #ffffff; /* Default for dark background */
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-gdpr__sub-title {
    font-size: 1.6em;
    color: #26A9E0; /* Brand primary color */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-gdpr__text-block {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.8;
}

.page-gdpr__text-block p {
    margin-bottom: 20px;
    color: #ffffff;
}

.page-gdpr__text-link {
    color: #26A9E0;
    text-decoration: underline;
}

.page-gdpr__text-link:hover {
    color: #1a7bb3;
}

/* Color Contrast Specifics */
.page-gdpr__dark-bg {
    background-color: #1a1a1a; /* Slightly lighter dark for contrast with body #121212 */
    color: #ffffff;
}

.page-gdpr__light-bg {
    background-color: #2c2c2c; /* Light background on a darker page, but still dark */
    color: #ffffff;
}

.page-gdpr__light-bg .page-gdpr__section-title,
.page-gdpr__light-bg .page-gdpr__sub-title {
    color: #26A9E0; /* Ensure headings stand out */
}

.page-gdpr__light-bg .page-gdpr__text-block p {
    color: #f0f0f0;
}


/* List Styles */
.page-gdpr__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    max-width: 900px;
    margin: 0 auto 20px auto;
    padding-left: 20px;
    color: #ffffff;
}

.page-gdpr__list li {
    margin-bottom: 10px;
    color: #f0f0f0;
}

.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    max-width: 900px;
    margin: 0 auto 20px auto;
    color: #ffffff;
}

.page-gdpr__contact-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #f0f0f0;
}

/* Image and Grid Layout */
.page-gdpr__grid-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.page-gdpr__grid-container--reverse {
    flex-direction: row-reverse;
}

.page-gdpr__grid-container .page-gdpr__text-block,
.page-gdpr__grid-container .page-gdpr__image-container {
    flex: 1;
    min-width: 300px;
}

.page-gdpr__image-container {
    text-align: center;
}

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

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

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly darker for question header */
    transition: background-color 0.3s ease;
    color: #ffffff;
}

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

/* Details/Summary specific styles */
.page-gdpr__faq-item summary {
    list-style: none; /* Remove default marker */
}
.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit */
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #26A9E0;
    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: 15px 25px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: #f0f0f0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-gdpr__faq-answer p {
    margin-bottom: 10px;
    color: #f0f0f0;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.5em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__text-block {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        height: 50vh;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-gdpr__hero-title {
        font-size: 2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__hero-button,
    .page-gdpr__cta-button {
        padding: 12px 25px;
        font-size: 0.9em;
    }

    .page-gdpr__section {
        padding: 40px 15px;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-gdpr__sub-title {
        font-size: 1.4em;
    }
    .page-gdpr__text-block,
    .page-gdpr__list,
    .page-gdpr__contact-list {
        padding-left: 0;
        margin-left: 0;
        font-size: 0.95em;
    }
    .page-gdpr__list li {
        margin-left: 15px;
    }

    .page-gdpr__grid-container {
        flex-direction: column;
        gap: 30px;
    }
    .page-gdpr__grid-container--reverse {
        flex-direction: column;
    }

    /* Images responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__image-container,
    .page-gdpr__text-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Buttons responsiveness */
    .page-gdpr__hero-button,
    .page-gdpr__cta-button,
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr a[class*="button"],
    .page-gdpr a[class*="btn"] {
        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;
        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;
        flex-direction: column !important;
        gap: 10px;
        display: flex;
    }

    /* FAQ */
    .page-gdpr__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-gdpr__faq-answer {
        padding: 10px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__hero-description {
        font-size: 0.9em;
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
    }
    .page-gdpr__sub-title {
        font-size: 1.2em;
    }
}