/* 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: #1a1a2e; /* Inherited from body for consistency or explicitly set */
}

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

.page-gdpr__hero-section {
    position: relative;
    padding: 100px 0;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

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

.page-gdpr__hero-section .page-gdpr__container {
    position: relative;
    z-index: 1;
}

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

.page-gdpr__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-gdpr__btn-primary {
    display: inline-block;
    background-color: #017439; /* Primary brand color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid #017439;
}

.page-gdpr__btn-primary:hover {
    background-color: #005f2c; /* Slightly darker green */
    border-color: #005f2c;
}

.page-gdpr__content-area {
    padding: 60px 0;
    background-color: #1a1a2e; /* Dark background from body */
    color: #ffffff; /* Light text for dark background */
}

.page-gdpr__light-bg {
    background-color: #1a1a2e; /* Ensure consistency with body background */
    color: #ffffff; /* Light text */
}

.page-gdpr__dark-bg {
    background-color: #017439; /* Brand primary color */
    color: #ffffff; /* Light text */
}

.page-gdpr__section-title {
    font-size: 2.5em;
    margin-top: 40px;
    margin-bottom: 25px;
    color: #ffffff;
    text-align: center;
}

.page-gdpr__section-title--light {
    color: #ffffff;
}

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

.page-gdpr__text-link {
    color: #FFFF00; /* Use yellow for links as per custom color for register/login fonts */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__text-link:hover {
    color: #ffcc00; /* Lighter yellow on hover */
}

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

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

.page-gdpr__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-inline {
    margin-right: 15px;
    margin-bottom: 15px;
}

.page-gdpr__btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #FFFF00; /* Yellow for secondary buttons */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #FFFF00;
}

.page-gdpr__btn-secondary:hover {
    background-color: #FFFF00;
    color: #017439; /* Dark green text on yellow background */
}

.page-gdpr__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-gdpr__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 0;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-item[open] {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #FFFF00; /* Yellow for the toggle icon */
}

.page-gdpr__faq-item summary {
    list-style: none; /* Remove default marker */
}

.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-gdpr__faq-answer {
    padding: 15px 25px 25px;
    font-size: 1.1em;
    color: #e0e0e0;
    line-height: 1.6;
}

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

.page-gdpr__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

.page-gdpr__btn-cta {
    font-size: 1.3em;
    padding: 18px 40px;
    background-color: #C30808; /* Register/Login button color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-gdpr__btn-cta:hover {
    background-color: #a00606; /* Darker red */
    border-color: #a00606;
    color: #ffffff; /* White text on hover for better contrast */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.5em;
    }
    .page-gdpr__description {
        font-size: 1.1em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-gdpr__hero-section {
        padding: 80px 20px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-gdpr__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-gdpr__description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .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;
        padding: 12px 20px !important;
        font-size: 1em !important;
    }

    .page-gdpr__button-group {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-gdpr__content-area {
        padding: 40px 0;
    }

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

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

    .page-gdpr__text-block,
    .page-gdpr__list-item,
    .page-gdpr__faq-answer {
        font-size: 1em;
    }

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

    .page-gdpr__faq-toggle {
        font-size: 1.3em;
    }

    /* Image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important; /* Ensure padding/border is included in width */
    }

    .page-gdpr__hero-section,
    .page-gdpr__content-area,
    .page-gdpr__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-gdpr__content-area .page-gdpr__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: 1.8em;
    }
    .page-gdpr__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
    .page-gdpr__btn-cta {
        font-size: 1.1em;
        padding: 15px 30px;
    }
}

/* Ensure contrast for specific elements if needed, though light text on dark bg should be fine */
.page-gdpr__card { /* Using faq-item as card example */
    background: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark body background */
    color: #ffffff;
}

/* Using custom colors for register/login buttons and text */
.page-gdpr__btn-primary {
    background: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}
.page-gdpr__btn-primary:hover {
    background: #005f2c;
    border-color: #005f2c;
    color: #ffffff;
}

/* Secondary button with yellow text */
.page-gdpr__btn-secondary {
    background: transparent;
    color: #FFFF00; /* Yellow text */
    border: 2px solid #FFFF00;
}
.page-gdpr__btn-secondary:hover {
    background: #FFFF00;
    color: #017439; /* Dark green text on yellow background */
}

.page-gdpr__btn-cta {
    background: #C30808; /* Register/Login button color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}
.page-gdpr__btn-cta:hover {
    background: #a00606; /* Darker red */
    border-color: #a00606;
    color: #ffffff; /* White text on hover for better contrast */
}

/* Ensure text links are visible */
.page-gdpr__text-link {
    color: #FFFF00; /* Yellow for links */
}
.page-gdpr__text-link:hover {
    color: #ffcc00;
}