/* 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; /* Body background is black */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    overflow: hidden;
    background-color: #000000; /* Ensure hero section background is dark */
}

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

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

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

.page-gdpr__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* General Section Styles */
.page-gdpr__section {
    padding: 60px 20px;
    text-align: center;
}

.page-gdpr__content-area {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    color: #ffffff; /* Text color for dark background */
}

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

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

.page-gdpr__section-intro {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__text-block {
    margin-bottom: 30px;
}

.page-gdpr__text-block p {
    margin-bottom: 15px;
    color: #f0f0f0;
}

/* Grid Container for Principles */
.page-gdpr__grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
}

/* Card Styles for Principles and Features */
.page-gdpr__card,
.page-gdpr__feature-card {
    background-color: #ffffff; /* Light background for cards */
    color: #333333; /* Dark text for light background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-gdpr__card:hover,
.page-gdpr__feature-card:hover {
    transform: translateY(-5px);
}

.page-gdpr__card-image,
.page-gdpr__feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure images are block level for max-width to work */
}

.page-gdpr__card-title,
.page-gdpr__feature-title {
    font-size: 1.5em;
    color: #26A9E0; /* Brand color for card titles */
    margin-bottom: 15px;
}

.page-gdpr__card-text,
.page-gdpr__feature-description {
    font-size: 1em;
    color: #333333;
}

/* Rights List */
.page-gdpr__rights-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
}

.page-gdpr__right-item {
    background-color: #ffffff; /* Light background for rights items */
    color: #333333; /* Dark text for light background */
    border-radius: 8px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__right-title {
    font-size: 1.3em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-gdpr__right-description {
    font-size: 0.95em;
    color: #333333;
}

/* Security Features Section */
.page-gdpr__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
}

/* Call to Action Section */
.page-gdpr__call-to-action {
    background-color: #000000;
    color: #ffffff;
    padding: 80px 20px;
}

.page-gdpr__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-gdpr__cta-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure buttons are responsive */
}

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

.page-gdpr__btn-primary:hover {
    background-color: #1e87b7; /* Slightly darker on hover */
    border-color: #1e87b7;
}

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

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

/* FAQ Section */
.page-gdpr__faq-section {
    padding-bottom: 80px;
}

.page-gdpr__faq-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.page-gdpr__faq-item {
    background-color: #ffffff; /* Light background for FAQ items */
    color: #333333; /* Dark text for light background */
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: #26A9E0; /* Brand color for questions */
    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;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0;
}

/* JS will update content for the toggle, but this provides initial state */
.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    /* content: "−"; */ /* This will be handled by JS for dynamic update */
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 3em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__sub-title {
        font-size: 1.6em;
    }
}

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

    .page-gdpr__hero-section {
        padding: 60px 15px;
        min-height: 400px;
        text-align: left; /* Align text left on mobile */
    }

    .page-gdpr__hero-title {
        font-size: 2.5em;
        text-align: left;
    }

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

    .page-gdpr__section,
    .page-gdpr__content-area,
    .page-gdpr__grid-container,
    .page-gdpr__rights-list,
    .page-gdpr__security-features,
    .page-gdpr__cta-content,
    .page-gdpr__faq-container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

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

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

    .page-gdpr__card,
    .page-gdpr__feature-card,
    .page-gdpr__right-item,
    .page-gdpr__faq-item {
        padding: 15px;
        margin-bottom: 10px;
    }

    .page-gdpr__card-title,
    .page-gdpr__feature-title {
        font-size: 1.3em;
    }

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

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
    }
    
    /* Mobile image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Ensure image containers also adapt */
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__card,
    .page-gdpr__feature-card,
    .page-gdpr__rights-list,
    .page-gdpr__security-features {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent content overflow */
    }

    /* Video responsiveness (if any, though none currently in HTML) */
    .page-gdpr video,
    .page-gdpr__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__video-section,
    .page-gdpr__video-container,
    .page-gdpr__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

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