/* 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: #0a0a0a; /* Ensure consistency with body background if not inheriting */
    padding-top: var(--header-offset, 120px); /* Space for fixed header */
}

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

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

.page-gdpr__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #FFFFFF; /* White for dark background */
    font-weight: bold;
}

.page-gdpr__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Slightly off-white for body text */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    overflow: hidden;
    background-color: #017439; /* Brand color as background */
}

.page-gdpr__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.2; /* Subtle background image */
}

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-gdpr__hero-title {
    font-size: 3em;
    color: #FFFF00; /* Yellow for prominence, high contrast */
    margin-bottom: 20px;
    line-height: 1.2;
}

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

/* Call to Action Button */
.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__btn-primary {
    background-color: #C30808; /* Red for registration/login */
    color: #FFFF00; /* Yellow text for red background */
    margin: 10px;
}

.page-gdpr__btn-primary:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
    background-color: #017439; /* Brand green */
    color: #FFFFFF;
    margin: 10px;
    border: 2px solid #FFFFFF;
}

.page-gdpr__btn-secondary:hover {
    background-color: #005a2e;
    transform: translateY(-2px);
}

.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Intro Section */
.page-gdpr__intro-section {
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
}

/* Principles Section */
.page-gdpr__principles-section {
    background-color: #017439; /* Brand green dark background */
    color: #ffffff;
    padding-bottom: 100px;
}

.page-gdpr__principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 0 20px;
}

.page-gdpr__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    height: 100%; /* Ensure cards are same height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #ffffff; /* White text for cards */
}

.page-gdpr__card-title {
    font-size: 1.5em;
    color: #FFFF00; /* Yellow title for cards */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__card-text {
    font-size: 1em;
    color: #f0f0f0;
    flex-grow: 1;
}

.page-gdpr__section-image {
    max-width: 800px;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: block; /* Ensure it's treated as a block element */
    margin-left: auto;
    margin-right: auto;
}

/* Rights Section */
.page-gdpr__rights-section {
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
    padding-bottom: 100px;
}

.page-gdpr__rights-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 0 20px;
}

.page-gdpr__right-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter card background */
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #ffffff;
}

.page-gdpr__right-title {
    font-size: 1.4em;
    color: #FFFF00;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-gdpr__right-description {
    font-size: 1em;
    color: #f0f0f0;
    flex-grow: 1;
}

/* Security Section */
.page-gdpr__security-section {
    background-color: #017439; /* Brand green dark background */
    color: #ffffff;
}

.page-gdpr__security-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-gdpr__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #f0f0f0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

/* Contact Section */
.page-gdpr__contact-section {
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
}

.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-gdpr__contact-list .page-gdpr__list-item {
    background-color: rgba(255, 255, 255, 0.08);
}

.page-gdpr__contact-list a {
    color: #FFFF00; /* Yellow for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__contact-list a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* FAQ Section */
.page-gdpr__faq-section {
    background-color: #017439; /* Brand green dark background */
    color: #ffffff;
}

.page-gdpr__faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly darker card background for contrast */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

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

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

.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;
    color: #f0f0f0; /* Light text for answer */
    font-size: 1em;
}

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

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

.page-gdpr__faq-answer a {
    color: #FFFF00;
    text-decoration: none;
}

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

/* Conclusion Section */
.page-gdpr__conclusion-section {
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
}

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

    .page-gdpr__container {
        padding: 15px;
    }

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

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

    .page-gdpr__hero-section {
        padding: 80px 0;
        min-height: 450px;
    }

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

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

    .page-gdpr__cta-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__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-gdpr__principles-grid,
    .page-gdpr__rights-list {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .page-gdpr__card,
    .page-gdpr__right-item {
        padding: 20px;
    }

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

    .page-gdpr__list-item {
        font-size: 1em;
        padding: 15px;
    }

    .page-gdpr__section-image {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important; /* Ensure images scale */
        display: block !important;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px; /* Add padding to prevent overflow */
    }

    .page-gdpr__faq-list {
        padding: 0 15px;
    }

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

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

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

    /* Ensure all content containers are responsive */
    .page-gdpr__section,
    .page-gdpr__container,
    .page-gdpr__principles-grid,
    .page-gdpr__rights-list,
    .page-gdpr__security-list,
    .page-gdpr__contact-list,
    .page-gdpr__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    
    /* Ensure video sections also respect mobile padding */
    .page-gdpr__video-section {
        padding-left: 15px;
        padding-right: 15px;
        padding-top: var(--header-offset, 120px) !important; /* Fixed header offset for mobile */
    }
}