/* 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: #000000; /* Assuming body background is dark */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    color: #ffffff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-gdpr__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

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

/* General Section Styling */
.page-gdpr__section {
    padding: 60px 0;
}

.page-gdpr__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-gdpr__dark-section {
    background-color: #000000; /* Match body background */
    color: #ffffff;
}

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

.page-gdpr__heading {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
}

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

.page-gdpr__sub-heading {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-gdpr__paragraph a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-gdpr__paragraph a:hover {
    color: #EA7C07; /* Login color for hover */
}

.page-gdpr__text-highlight {
    color: #26A9E0;
    font-weight: bold;
}

.page-gdpr__list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

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

/* Grid Layout for sections with image and text */
.page-gdpr__grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-gdpr__grid-layout--reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl; /* Reverse order for content flow */
}

.page-gdpr__grid-layout--reverse > .page-gdpr__grid-item {
    direction: ltr; /* Reset text direction for content */
}

.page-gdpr__image-wrapper {
    text-align: center;
}

.page-gdpr__image-full {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: block; /* Ensure it behaves as a block element */
    margin: 0 auto; /* Center image */
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    font-size: 1.1em;
    margin-top: 20px;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding and border in element's total width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-gdpr__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
    margin-right: 15px;
}

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

.page-gdpr__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
    background-color: #e0e0e0;
    color: #1a7fb0;
    border-color: #1a7fb0;
}

/* FAQ Section */
.page-gdpr__faq-section {
    background-color: #000000; /* Dark background for FAQ */
    color: #ffffff;
    padding: 60px 0;
}

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

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

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

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

.page-gdpr__faq-title {
    margin: 0;
    color: #ffffff;
}

.page-gdpr__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #26A9E0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Plus to minus visual effect */
    color: #EA7C07; /* Highlight toggle on active */
}

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

.page-gdpr__faq-answer .page-gdpr__paragraph {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.8em;
    }
    .page-gdpr__hero-description {
        font-size: 1.1em;
    }
    .page-gdpr__heading {
        font-size: 2em;
    }
    .page-gdpr__sub-heading {
        font-size: 1.6em;
    }
    .page-gdpr__paragraph,
    .page-gdpr__list-item {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 80px 0;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }
    .page-gdpr__hero-title {
        font-size: 2.2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__heading {
        font-size: 1.8em;
    }
    .page-gdpr__sub-heading {
        font-size: 1.4em;
    }
    .page-gdpr__grid-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .page-gdpr__grid-layout--reverse {
        grid-template-columns: 1fr;
        direction: ltr; /* Reset to default for mobile */
    }
    .page-gdpr__grid-layout--reverse > .page-gdpr__grid-item {
        direction: ltr;
    }
    .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-right: 0;
        margin-bottom: 15px; /* Stack buttons */
    }
    .page-gdpr__btn-primary:last-child,
    .page-gdpr__btn-secondary:last-child {
        margin-bottom: 0;
    }
    .page-gdpr__hero-content .page-gdpr__btn-primary {
        margin-right: 0;
    }

    /* Mobile image and video responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}