/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    color: #ffffff; /* Default text color for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Inherit from body for dark background */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    padding-bottom: 60px;
    background-color: #26A9E0; /* Primary brand color for hero background */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 450px;
}

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

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

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

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

/* Main Content Area */
.page-gdpr__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #1a1a1a; /* Slightly lighter dark background for content area */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.page-gdpr__container {
    max-width: 900px;
    margin: 0 auto;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: bold;
    text-align: left;
}

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

.page-gdpr__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

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

.page-gdpr__list-item::before {
    content: '•';
    color: #26A9E0;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
    top: -2px;
}

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

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

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    max-width: 100%;
}

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

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

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: #26A9E0; /* Brand color text */
    border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

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

/* FAQ Section */
.page-gdpr__faq-container {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
}

.page-gdpr__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #ffffff;
    flex-grow: 1;
}

.page-gdpr__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
    margin-left: 15px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg);
}

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

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

.page-gdpr__faq-answer p {
    margin-bottom: 0;
    padding-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        padding-bottom: 40px;
    }

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

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

    .page-gdpr__content-area {
        padding: 30px 15px;
        margin: 0 10px;
    }

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

    .page-gdpr__paragraph,
    .page-gdpr__list-item,
    .page-gdpr__faq-question h3,
    .page-gdpr__faq-answer p {
        font-size: 1em;
    }

    .page-gdpr__list-item {
        padding-left: 25px;
    }

    .page-gdpr__list-item::before {
        font-size: 1em;
        top: 0;
    }

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

    /* Mobile button responsiveness */
    .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;
        margin-right: 0 !important; /* Remove right margin for stacked buttons */
    }

    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
    }

    /* Ensure content containers also adapt */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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