/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Assuming body background is light for content areas */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    text-align: center;
    overflow: hidden; /* Ensure content doesn't spill */
    background-color: #26A9E0; /* Brand color for hero background */
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    max-height: 500px; /* Limit height for hero image */
    object-fit: cover;
    display: block;
    margin-bottom: 30px; /* Space between image and text */
}

.page-gdpr__hero-content {
    position: relative; /* Ensure content is above any potential background layers */
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
    color: #FFFFFF;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-gdpr__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #FFFFFF;
}

.page-gdpr__btn-primary {
    display: inline-block;
    background-color: #EA7C07; /* Login color for CTA */
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
    border: none;
}

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

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

.page-gdpr__intro-section,
.page-gdpr__data-collection-section,
.page-gdpr__contact-section,
.page-gdpr__faq-section {
    padding: 60px 0;
    background-color: #FFFFFF; /* Light background for these sections */
    color: #333333;
}

.page-gdpr__dark-section {
    padding: 60px 0;
    background-color: #26A9E0; /* Dark background for these sections */
    color: #FFFFFF;
}

.page-gdpr__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #26A9E0;
}

.page-gdpr__section-title--white {
    color: #FFFFFF;
}

.page-gdpr__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

.page-gdpr__section-description--white {
    color: #f0f0f0;
}

.page-gdpr__text-block {
    font-size: 1em;
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-gdpr__highlight {
    font-weight: 700;
    color: #26A9E0;
}

.page-gdpr__dark-section .page-gdpr__highlight {
    color: #FFFFFF; /* Highlight on dark background */
}

.page-gdpr__image-inline {
    width: 100%;
    height: auto;
    max-width: 600px;
    margin: 30px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-gdpr__right-card {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white on dark background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: #FFFFFF;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-gdpr__right-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.25);
}

.page-gdpr__card-icon {
    width: 100%; /* Ensure image fills card area */
    height: auto;
    max-width: 150px; /* Smaller max-width for icons */
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: contain; /* Ensure full icon is visible */
}

.page-gdpr__card-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-gdpr__card-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: #f0f0f0;
}

.page-gdpr__action-text {
    text-align: center;
    margin-top: 50px;
    font-size: 1.1em;
}

.page-gdpr__action-text--white {
    color: #f0f0f0;
}

.page-gdpr__link-white {
    color: #FFFFFF;
    text-decoration: underline;
    font-weight: 600;
}

.page-gdpr__link-white:hover {
    color: #e0e0e0;
}


/* Data Collection Section */
.page-gdpr__data-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.page-gdpr__data-point {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__data-point-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #26A9E0;
}

.page-gdpr__list {
    list-style: disc;
    padding-left: 20px;
}

.page-gdpr__list li {
    margin-bottom: 10px;
    font-size: 1em;
    color: #555555;
}

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

.page-gdpr__security-item {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #FFFFFF;
}

.page-gdpr__security-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-gdpr__security-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: #f0f0f0;
}

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

/* Contact Section */
.page-gdpr__contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-gdpr__contact-info {
    flex: 1;
    min-width: 300px;
}

.page-gdpr__contact-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-gdpr__contact-text {
    margin-bottom: 15px;
    color: #555555;
}

.page-gdpr__contact-email {
    font-size: 1.1em;
    font-weight: 600;
    color: #EA7C07;
    margin-bottom: 30px;
}

.page-gdpr__link-primary {
    color: #26A9E0;
    text-decoration: underline;
    font-weight: 600;
}

.page-gdpr__link-primary:hover {
    color: #1a7bb5;
}

.page-gdpr__contact-image {
    flex: 1;
    min-width: 300px;
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__faq-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-gdpr__faq-item[open] {
    background-color: #eaf7ff; /* Lighter background when open */
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: #26A9E0;
    cursor: pointer;
    list-style: none; /* Hide default marker for details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: #555555;
}

.page-gdpr__btn-secondary {
    display: block;
    width: fit-content;
    margin: 40px auto 0 auto;
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-image {
        max-height: 400px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8em, 4.5vw, 3em);
    }
    .page-gdpr__section-title {
        font-size: clamp(1.6em, 3.5vw, 2.2em);
    }
}

@media (max-width: 768px) {
    /* Mobile image, video, button adaptations */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr video,
    .page-gdpr__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__video-section,
    .page-gdpr__video-container,
    .page-gdpr__video-wrapper,
    .page-gdpr__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }

    .page-gdpr__hero-section {
        padding: 10px 0 40px 0;
    }
    .page-gdpr__hero-image {
        max-height: 300px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__intro-section,
    .page-gdpr__dark-section,
    .page-gdpr__data-collection-section,
    .page-gdpr__contact-section,
    .page-gdpr__faq-section {
        padding: 40px 0;
    }
    .page-gdpr__section-title {
        font-size: clamp(1.5em, 5vw, 2em);
    }
    .page-gdpr__rights-grid,
    .page-gdpr__data-points,
.page-gdpr__security-grid {
        grid-template-columns: 1fr;
    }
    .page-gdpr__right-card,
    .page-gdpr__data-point,
    .page-gdpr__security-item {
        padding: 25px;
    }
    .page-gdpr__contact-wrapper {
        flex-direction: column;
    }
    .page-gdpr__contact-info,
    .page-gdpr__contact-image {
        min-width: unset;
        width: 100%;
    }
    .page-gdpr__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px 15px 20px;
    }
    .page-gdpr__cta-button,
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr a[class*="button"],
    .page-gdpr a[class*="btn"] {
        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__cta-buttons {
        display: flex;
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 10px;
    }
}