/* style/gdpr.css */

:root {
    --primary-color: #FFD700;
    --secondary-color: #1A202C;
    --text-on-dark: #ffffff;
    --text-on-light: #333333;
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg-dark: rgba(255, 255, 255, 0.05);
}

.page-gdpr {
    background-color: var(--secondary-color); /* Body background is dark */
    color: var(--text-on-dark);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Add some padding at the bottom for footer */
}

.page-gdpr__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is not covered by fixed header */
    background-color: var(--secondary-color);
    overflow: hidden;
    text-align: center;
}

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

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: var(--text-on-dark);
}

.page-gdpr__hero-title {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-on-dark);
}

.page-gdpr__btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color); /* Text on primary button should contrast well */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
}

.page-gdpr__btn-primary:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    color: var(--secondary-color);
}

.page-gdpr__content-section {
    padding: 40px 20px;
    background-color: var(--secondary-color);
}

.page-gdpr__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-gdpr__text-block {
    background-color: var(--card-bg-dark);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    color: var(--text-on-dark);
}

.page-gdpr__text-block h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-gdpr__text-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--text-on-dark);
}

.page-gdpr__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-on-dark);
}

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

.page-gdpr__list a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__list a:hover {
    color: #e6c200;
    text-decoration: underline;
}

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

.page-gdpr__image--left {
    float: left;
    margin-right: 25px;
    margin-bottom: 15px;
    max-width: 40%;
}

.page-gdpr__image--right {
    float: right;
    margin-left: 25px;
    margin-bottom: 15px;
    max-width: 40%;
}

.page-gdpr__image--center {
    margin-left: auto;
    margin-right: auto;
    max-width: 60%;
}

/* Clearfix for floating images */
.page-gdpr__text-block::after {
    content: "";
    display: table;
    clear: both;
}

/* FAQ Section */
.page-gdpr__faq-section {
    padding: 60px 20px;
    background-color: var(--secondary-color);
}

.page-gdpr__faq-list {
    background-color: var(--card-bg-dark);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 20px;
}

.page-gdpr__faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.page-gdpr__faq-item:last-child {
    border-bottom: none;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-on-dark);
    cursor: pointer;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    color: var(--primary-color);
}

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

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg);
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-on-dark);
    font-size: 1.05em;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .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__text-block h3 {
        font-size: 1.6em;
    }
    .page-gdpr__image--left, .page-gdpr__image--right {
        max-width: 100%;
        float: none;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }
}

@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;
    }
    .page-gdpr__hero-title {
        font-size: 2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__btn-primary {
        padding: 12px 25px;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-gdpr__text-block {
        padding: 20px;
    }
    .page-gdpr__text-block h3 {
        font-size: 1.4em;
    }
    .page-gdpr__list {
        margin-left: 0;
        padding-left: 20px;
    }
    .page-gdpr__faq-question {
        font-size: 1.1em;
    }
    .page-gdpr__faq-answer {
        font-size: 1em;
    }

    /* Image responsive adaptions */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__text-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }
    .page-gdpr__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-gdpr__hero-content {
        padding: 0 15px;
    }

    /* Button responsive adaptions */
    .page-gdpr__btn-primary,
    .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;
    }
}

/* Printing specific styles to ensure good contrast on dark background */
@media print {
    .page-gdpr {
        background-color: #ffffff !important;
        color: #000000 !important;
    }
    .page-gdpr__hero-section,
    .page-gdpr__content-section,
    .page-gdpr__faq-section {
        background-color: #ffffff !important;
    }
    .page-gdpr__hero-title,
    .page-gdpr__section-title,
    .page-gdpr__text-block h3,
    .page-gdpr__faq-question {
        color: #000000 !important;
        text-shadow: none !important;
    }
    .page-gdpr__btn-primary {
        background-color: #f0f0f0 !important;
        color: #000000 !important;
        border: 1px solid #ccc !important;
    }
    .page-gdpr__text-block,
    .page-gdpr__faq-list {
        background-color: #f8f8f8 !important;
        box-shadow: none !important;
        border: 1px solid #eee !important;
    }
    .page-gdpr__list a,
    .page-gdpr__faq-toggle {
        color: #000000 !important;
    }
    .page-gdpr__hero-image {
        opacity: 0.1 !important;
    }
}