/* style/gdpr.css */
.page-gdpr {
    color: #ffffff; /* Body background is dark, so text should be light */
    background-color: transparent; /* Rely on shared.css for body background */
}

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 30px;
}

.page-gdpr__hero-title {
    font-size: 3.2em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.page-gdpr__hero-button {
    display: inline-block;
    background-color: #EA7C07; /* Login color for CTA */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-gdpr__hero-button:hover {
    background-color: #d46a00;
}

.page-gdpr__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.6); /* Slightly darken the image for text readability */
}

.page-gdpr__section {
    padding: 60px 20px;
    position: relative;
}

.page-gdpr__content-area {
    max-width: 1200px;
    margin: 0 auto;
    color: #333333;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-gdpr__sub-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-gdpr__paragraph {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #333333;
}

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

.page-gdpr__list-item {
    font-size: 1.05em;
    line-height: 1.6;
    margin-bottom: 10px;
}

.page-gdpr__dark-bg {
    background-color: #000000; /* Dark background */
    color: #ffffff; /* Light text */
}

.page-gdpr__dark-bg .page-gdpr__section-title,
.page-gdpr__dark-bg .page-gdpr__sub-title {
    color: #26A9E0;
}

.page-gdpr__dark-bg .page-gdpr__paragraph,
.page-gdpr__dark-bg .page-gdpr__list-item {
    color: #f0f0f0;
}

.page-gdpr__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-gdpr__light-bg .page-gdpr__section-title,
.page-gdpr__light-bg .page-gdpr__sub-title {
    color: #26A9E0;
}

.page-gdpr__image-text-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
}

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

.page-gdpr__image-left,
.page-gdpr__image-right {
    flex: 0 0 40%;
    max-width: 40%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-gdpr__text-content {
    flex: 1;
}

.page-gdpr__rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-gdpr__card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-gdpr__card--white {
    background-color: #ffffff;
    color: #333333;
}

.page-gdpr__card--white .page-gdpr__card-title {
    color: #26A9E0;
}

.page-gdpr__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-gdpr__card-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #26A9E0;
    margin-bottom: 15px;
}

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

.page-gdpr__card--white .page-gdpr__card-text {
    color: #333333;
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-gdpr__paragraph--call-to-action {
    text-align: center;
    margin-top: 40px;
    font-size: 1.2em;
    font-weight: 500;
}

.page-gdpr__link-button {
    display: inline-block;
    background-color: #26A9E0;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.page-gdpr__link-button:hover {
    background-color: #1a8cc4;
}

.page-gdpr__link-button--inverted {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-gdpr__link-button--inverted:hover {
    background-color: #f0f0f0;
}

.page-gdpr__link-inline {
    color: #26A9E0;
    text-decoration: underline;
    font-weight: 500;
}

.page-gdpr__link-inline:hover {
    color: #1a8cc4;
}

/* FAQ Section */
.page-gdpr__faq-section {
    padding: 60px 20px;
}

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

.page-gdpr__faq-item {
    background-color: #f8f8f8;
    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: 20px 25px;
    cursor: pointer;
    background-color: #ffffff;
    color: #333333;
    font-weight: 600;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

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

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f8f8f8;
    color: #333333;
}

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

.page-gdpr__faq-answer p {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.8em;
    }

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

    .page-gdpr__sub-title {
        font-size: 1.6em;
    }

    .page-gdpr__image-text-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .page-gdpr__image-left,
    .page-gdpr__image-right {
        max-width: 80%;
        flex: 0 0 80%;
        margin-bottom: 30px;
    }
}

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

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

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

    .page-gdpr__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }

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

    .page-gdpr__content-area,
    .page-gdpr__container,
    .page-gdpr__faq-list {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-gdpr__sub-title {
        font-size: 1.4em;
    }

    .page-gdpr__paragraph,
    .page-gdpr__list-item,
    .page-gdpr__card-text {
        font-size: 0.95em;
    }

    .page-gdpr__image-left,
    .page-gdpr__image-right {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 20px;
    }

    .page-gdpr__card {
        padding: 20px;
    }

    .page-gdpr__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

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

    .page-gdpr__link-button,
    .page-gdpr__hero-button {
        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__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-gdpr__faq-answer {
        padding: 0 20px;
    }

    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 10px 20px 15px;
    }

    /* Ensure content containers don't cause horizontal scroll */
    .page-gdpr__content-area,
    .page-gdpr__data-collection-section,
    .page-gdpr__user-rights-section,
    .page-gdpr__security-section,
    .page-gdpr__retention-contact-section,
    .page-gdpr__faq-section {
        overflow-x: hidden;
    }
}