/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

.page-gdpr a {
    color: #FFFFFF;
    text-decoration: none;
}

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

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

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

.page-gdpr__dark-bg {
    background-color: #0a0a0a; /* Dark background matching body */
    color: #ffffff;
}

.page-gdpr__light-bg {
    background-color: #1a1a1a; /* 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;
    color: #f0f0f0;
}

.page-gdpr__inline-link {
    color: #FFFF00;
    font-weight: bold;
}

/* Hero Section */
.page-gdpr__hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background-color: #0a0a0a; /* Ensure dark background for hero */
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.page-gdpr__hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
    z-index: 1;
    padding-right: 40px;
}

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

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

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

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

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-gdpr__btn-primary {
    background-color: #C30808; /* Login/Register button color */
    color: #FFFF00; /* Login/Register font color */
    border: 2px solid #C30808;
    margin-right: 15px;
}

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

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: #017439; /* Brand green for text */
    border: 2px solid #017439;
}

.page-gdpr__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

.page-gdpr__hero-cta {
    margin-top: 20px;
}

/* Grid Container for User Rights */
.page-gdpr__grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark bg */
    color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
}

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

.page-gdpr__how-to-exercise {
    margin-top: 40px;
    text-align: center;
    font-style: italic;
}

/* List styles */
.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-gdpr__list-item {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 5px solid #017439;
    color: #f0f0f0;
}

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

/* Policy Links */
.page-gdpr__policy-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 40px;
}

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

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

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

.page-gdpr__faq-question h3 {
    margin: 0;
    color: #017439;
    font-size: 1.2em;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #FFFF00; /* Yellow for toggle icon */
    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;
    color: #f0f0f0;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

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

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

/* Contact Support Section */
.page-gdpr__contact-support .page-gdpr__btn-primary,
.page-gdpr__contact-support .page-gdpr__btn-secondary {
    margin-top: 20px;
}

.page-gdpr__contact-support .page-gdpr__btn-primary {
    margin-right: 15px;
}

.page-gdpr__contact-support .page-gdpr__container {
    text-align: center;
}

/* Image container */
.page-gdpr__image-container {
    margin-top: 40px;
    text-align: center;
}

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

/* Conclusion Section */
.page-gdpr__conclusion .page-gdpr__container {
    text-align: center;
}

.page-gdpr__conclusion .page-gdpr__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 3em;
    }
    .page-gdpr__hero-description {
        font-size: 1.1em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__hero-section {
        flex-direction: column;
        text-align: center;
        min-height: auto;
    }
    .page-gdpr__hero-content {
        padding-right: 0;
        padding-bottom: 40px;
    }
    .page-gdpr__hero-image-wrapper {
        padding-top: 20px;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-gdpr__hero-title {
        font-size: 2.2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__text-block {
        font-size: 1em;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-bottom: 15px;
        margin-right: 0;
    }
    .page-gdpr__policy-links {
        flex-direction: column;
        gap: 15px;
    }
    .page-gdpr__container,
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__hero-content,
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__image-container,
    .page-gdpr__policy-links,
    .page-gdpr__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__faq-question,
    .page-gdpr__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 15px;
    }
}

@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.5em;
    }
    .page-gdpr__card-title {
        font-size: 1.2em;
    }
    .page-gdpr__text-block {
        font-size: 0.95em;
    }
}