/* style/gdpr.css */

/* Base Styles */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #1a1a2e; /* Inherited from body, but reinforce */
}

.page-gdpr a {
    color: #26A9E0; /* Brand color for links */
    text-decoration: none;
}

.page-gdpr a:hover {
    text-decoration: underline;
    color: #EA7C07; /* Login color for hover for some contrast */
}

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

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    background-color: #1a1a2e;
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-gdpr__hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}

.page-gdpr__hero-content {
    text-align: center;
    max-width: 800px;
}

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

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

.page-gdpr__hero-cta-button {
    display: inline-block;
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-gdpr__hero-cta-button:hover {
    background-color: #1e87b7; /* Darker shade for hover */
    transform: translateY(-2px);
    text-decoration: none;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 1000px;
    margin-top: 40px;
    text-align: center;
}

.page-gdpr__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: block; /* Ensure it behaves well with max-width */
    margin: 0 auto;
}

/* Section General Styles */
.page-gdpr__section {
    padding: 80px 0;
    text-align: left;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: #26A9E0; /* Brand color */
}

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

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-gdpr__paragraph--light {
    color: #f0f0f0;
}

.page-gdpr__image-wrapper {
    margin-top: 40px;
    text-align: center;
}

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

/* Introduction Section */
.page-gdpr__introduction {
    background-color: #1a1a2e; /* Dark background */
    color: #ffffff;
}

/* Principles Section */
.page-gdpr__principles {
    background-color: #26A9E0; /* Brand color background */
    color: #ffffff;
}

.page-gdpr__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-gdpr__principles-grid {
    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.1); /* Slightly transparent white for dark bg */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.page-gdpr__card--light {
    background-color: #ffffff;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-gdpr__card--light .page-gdpr__card-title {
    color: #26A9E0; /* Brand color for titles on light card */
}

.page-gdpr__card--light .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__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #ffffff; /* White title on dark card */
}

.page-gdpr__card-text {
    font-size: 1em;
    color: #f0f0f0; /* Light text on dark card */
}

/* User Rights Section */
.page-gdpr__user-rights {
    background-color: #1a1a2e; /* Dark background */
    color: #ffffff;
}

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

.page-gdpr__right-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark bg */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-gdpr__right-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #26A9E0; /* Brand color for titles */
}

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

/* Data Protection Section */
.page-gdpr__data-protection {
    background-color: #26A9E0; /* Brand color background */
    color: #ffffff;
}

.page-gdpr__protection-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-gdpr__list-item {
    font-size: 1.1em;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #f0f0f0;
}

.page-gdpr__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #ffffff;
}

.page-gdpr__list-item--light {
    color: #f0f0f0;
}

/* Contact Support Section */
.page-gdpr__contact-support {
    background-color: #1a1a2e; /* Dark background */
    color: #ffffff;
}

.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-gdpr__contact-list .page-gdpr__list-item {
    margin-bottom: 10px;
}

.page-gdpr__contact-link {
    color: #26A9E0;
    text-decoration: none;
}

.page-gdpr__contact-link:hover {
    text-decoration: underline;
    color: #EA7C07;
}

/* FAQ Section */
.page-gdpr__faq {
    background-color: #1a1a2e; /* Dark background */
    color: #ffffff;
}

.page-gdpr__faq-list {
    margin-top: 40px;
}

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    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: #ffffff;
    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-heading {
    margin: 0;
    flex-grow: 1;
    color: #ffffff;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: #26A9E0; /* Brand color for toggle icon */
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Plus to Minus visual */
}

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

.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;
    color: #f0f0f0;
}

/* Final CTA Section */
.page-gdpr__final-cta {
    background-color: #26A9E0; /* Brand color background */
    color: #ffffff;
    text-align: center;
}

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

.page-gdpr__final-cta .page-gdpr__paragraph {
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

.page-gdpr__cta-button--primary {
    display: inline-block;
    background-color: #EA7C07; /* Login button color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Ensure padding is included in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-gdpr__cta-button--primary:hover {
    background-color: #c06306; /* Darker shade for hover */
    transform: translateY(-2px);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.8em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__paragraph,
    .page-gdpr__list-item,
    .page-gdpr__card-text,
    .page-gdpr__right-description {
        font-size: 1em;
    }
    .page-gdpr__principles-grid,
    .page-gdpr__rights-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-container {
        flex-direction: column;
        padding: 40px 15px;
        gap: 20px;
    }

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

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

    .page-gdpr__hero-cta-button,
    .page-gdpr__cta-button--primary {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

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

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

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

    .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__image-wrapper,
    .page-gdpr__principles-grid,
    .page-gdpr__rights-list,
    .page-gdpr__final-cta .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    .page-gdpr__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .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 15px;
    }

    .page-gdpr__cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
    .page-gdpr__card-title,
    .page-gdpr__right-title,
    .page-gdpr__faq-heading {
        font-size: 1.2em;
    }
}