/* 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: #0d0d0d; /* Assuming --neon-background-dark is a dark color for overall body */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

/* Color contrast classes for sections */
.page-gdpr__light-bg {
    background-color: #ffffff;
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}

.page-gdpr__dark-bg {
    background-color: #017439; /* Primary brand color as dark background */
    color: #ffffff; /* Light text for dark background */
    padding: 60px 0;
}

/* Hero Section */
.page-gdpr__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background-color: #0d0d0d; /* Match body background */
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.page-gdpr__hero-content {
    max-width: 800px;
    z-index: 1;
    margin-bottom: 40px;
    position: relative; /* To ensure content is above image */
}

.page-gdpr__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFF00; /* Highlighted color for title */
    line-height: 1.2;
}

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

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

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability, but NOT color changing */
}


/* Section Titles */
.page-gdpr__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
    color: inherit; /* Inherit color from parent section (light/dark bg) */
}

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: inherit;
}

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

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

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

.page-gdpr__btn-secondary {
    background-color: #ffffff;
    color: #017439; /* Primary brand color */
    border: 2px solid #017439;
}

.page-gdpr__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005a2e;
    border-color: #005a2e;
}

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

.page-gdpr__right-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: #333333; /* Dark text for light card */
}

.page-gdpr__right-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #017439; /* Primary brand color */
}

.page-gdpr__right-description {
    font-size: 1em;
    line-height: 1.5;
}

/* Info Blocks */
.page-gdpr__info-block {
    background-color: rgba(255, 255, 255, 0.1); /* Subtle white overlay for dark background */
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    color: #ffffff;
}

.page-gdpr__info-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #FFFF00; /* Highlighted color */
}

.page-gdpr__info-text {
    font-size: 1.1em;
    line-height: 1.6;
}

/* Security Grid */
.page-gdpr__security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__security-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: #333333; /* Dark text for light card */
}

.page-gdpr__security-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #017439; /* Primary brand color */
}

.page-gdpr__security-description {
    font-size: 1em;
    line-height: 1.5;
}

/* Contact Info */
.page-gdpr__contact-info {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin-top: 40px;
    color: #333333; /* Dark text for light card */
}

.page-gdpr__contact-text {
    font-size: 1.1em;
    margin-bottom: 10px;
}

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

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Subtle white overlay for dark background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #FFFF00; /* Highlighted color */
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    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;
}

.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: 0;
    font-size: 1em;
    line-height: 1.6;
}

/* Image styles */
.page-gdpr__image-wrapper {
    margin: 40px auto;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-gdpr__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    margin: 0 auto; /* Center image */
}

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

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header */
    }

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

    .page-gdpr__hero-section {
        padding: 60px 15px;
    }

    .page-gdpr__main-title {
        font-size: 2.2em;
    }

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

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

    .page-gdpr__paragraph {
        font-size: 1em;
    }

    .page-gdpr__rights-grid,
    .page-gdpr__security-grid {
        grid-template-columns: 1fr;
    }

    .page-gdpr__right-item,
    .page-gdpr__security-item,
    .page-gdpr__info-block,
    .page-gdpr__contact-info {
        padding: 25px;
    }

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

    .page-gdpr__info-title {
        font-size: 1.5em;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important;
        margin-right: 0;
        margin-bottom: 15px;
        font-size: 1em;
        padding: 12px 20px;
    }

    /* Mobile image responsive */
    .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__hero-image-wrapper,
    .page-gdpr__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-gdpr__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Important for video section if it's the first element */
    }

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

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
    }
    .page-gdpr__hero-section {
        padding: 40px 10px;
    }
}