/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default light text color for dark body background */
    background-color: var(--dark-bg-1); /* Inherited from shared, assumed dark */
}

/* Ensure main content area has appropriate padding-top for fixed header */
.page-gdpr__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    background-color: #0A2463; /* Main brand color for hero */
    color: #ffffff;
    text-align: center;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Prevent background image overflow */
}

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1;
    position: relative;
}

.page-gdpr__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #E0B14A; /* Auxiliary brand color for emphasis */
    line-height: 1.2;
}

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

.page-gdpr__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.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;
    font-size: 1.1em;
    min-width: 180px; /* Ensure buttons are not too small */
    text-align: center;
    box-sizing: border-box;
}

.page-gdpr__btn-primary {
    background-color: #E0B14A; /* Auxiliary color for primary action */
    color: #0A2463;
    border: 2px solid #E0B14A;
}

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

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: #E0B14A;
    border: 2px solid #E0B14A;
}

.page-gdpr__btn-secondary:hover {
    background-color: #E0B14A;
    color: #0A2463;
}

.page-gdpr__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle background image */
    display: block;
}

/* Content sections */
.page-gdpr__content-section {
    padding: 60px 0;
    background-color: var(--dark-bg-2); /* Slightly lighter dark background */
    color: #ffffff;
}

.page-gdpr__dark-section {
    background-color: #0A2463; /* Main brand color for dark sections */
    color: #ffffff;
}

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

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #E0B14A;
    margin-bottom: 40px;
    text-align: center;
}

.page-gdpr__sub-title {
    font-size: 1.8em;
    color: #E0B14A;
    margin-top: 40px;
    margin-bottom: 20px;
}

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

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

.page-gdpr__list-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #E0B14A;
    padding: 15px 20px;
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #f0f0f0;
    border-radius: 4px;
}

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

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    object-fit: cover; /* Ensure images cover their area */
}

.page-gdpr__content-image--small {
    max-width: 400px;
}

/* Video Section */
.page-gdpr__video-section {
    background-color: #0A2463; /* Dark background for video */
    color: #ffffff;
    padding-bottom: 60px;
}

.page-gdpr__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.page-gdpr__video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-gdpr__video-link {
    display: block;
    cursor: pointer;
}

.page-gdpr__video-caption {
    text-align: center;
    font-style: italic;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-gdpr__video-cta-button {
    margin-top: 20px;
    background-color: #E0B14A;
    color: #0A2463;
    border: 2px solid #E0B14A;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__video-cta-button:hover {
    background-color: #cca03c;
    border-color: #cca03c;
}


/* Contact List */
.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-gdpr__contact-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 4px solid #E0B14A;
    padding: 10px 15px;
    margin-bottom: 8px;
    font-size: 1.1em;
    color: #f0f0f0;
    border-radius: 4px;
}

.page-gdpr__contact-item a {
    color: #E0B14A;
    text-decoration: none;
}

.page-gdpr__contact-item a:hover {
    text-decoration: underline;
}

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

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #E0B14A;
    background-color: rgba(255, 255, 255, 0.05);
    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;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #E0B14A;
}

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

.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; /* Ensure it expands sufficiently */
    padding: 15px 25px 25px;
}

.page-gdpr__faq-answer p {
    margin-bottom: 0;
    font-size: 1.05em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.8em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__sub-title {
        font-size: 1.6em;
    }
    .page-gdpr__paragraph,
    .page-gdpr__list-item,
    .page-gdpr__contact-item,
    .page-gdpr__faq-question,
    .page-gdpr__faq-answer p {
        font-size: 1em;
    }
}

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

    .page-gdpr__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

    .page-gdpr__hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr__video-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__section-title {
        font-size: 1.8em;
    }

    .page-gdpr__sub-title {
        font-size: 1.4em;
    }

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

    /* All images must be responsive */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Enforce minimum size on mobile too */
        min-height: 200px !important; /* Enforce minimum size on mobile too */
    }

    /* All image containers must be responsive */
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__content-section,
    .page-gdpr__video-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Video responsiveness */
    .page-gdpr__video-wrapper {
        padding-bottom: 56.25% !important; /* 16:9 aspect ratio */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-gdpr__video-wrapper video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !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 20px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
    }
    .page-gdpr__sub-title {
        font-size: 1.2em;
    }
}