/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body background is handled by shared.css */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    background-color: #1a1a1a; /* Darker background for hero */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3; /* Subtle background image */
    filter: none !important; /* Ensure no filter is applied */
}

.page-gdpr__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for title */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    color: #f0f0f0;
}

/* CTA Button */
.page-gdpr__cta-button {
    display: inline-block;
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__cta-button:hover {
    background-color: #1e87c0; /* Slightly darker on hover */
}

/* Content Sections */
.page-gdpr__content-section {
    padding: 60px 0;
    background-color: #121212; /* Match body background for content */
    color: #ffffff; /* Light text */
}

.page-gdpr__dark-section {
    background-color: #1a1a1a; /* Slightly lighter dark for contrast */
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

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

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

.page-gdpr__text-block a:hover {
    color: #1e87c0;
}

.page-gdpr__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
    color: #e0e0e0;
}

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

.page-gdpr__sub-list {
    list-style: circle inside;
    margin-top: 10px;
    padding-left: 20px;
}

.page-gdpr__sub-list-item {
    margin-bottom: 5px;
}

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

.page-gdpr__image-content {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    filter: none !important; /* Ensure no filter is applied */
}

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

.page-gdpr__card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-gdpr__card-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__card-text {
    font-size: 1em;
    color: #e0e0e0;
}

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

.page-gdpr__card-text a:hover {
    color: #1e87c0;
}

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

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px 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.2em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: rgba(38, 169, 224, 0.1); /* Subtle brand color background */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: rgba(38, 169, 224, 0.2);
}

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

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to form an X or minus */
    color: #ffffff;
}

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

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

.page-gdpr__faq-answer p {
    margin-bottom: 10px;
    font-size: 1em;
}

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

.page-gdpr__faq-answer a:hover {
    color: #1e87c0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.8em;
    }
    .page-gdpr__hero-description {
        font-size: 1.2em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__card-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-gdpr__hero-section {
        padding: 60px 0;
        min-height: 400px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .page-gdpr__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-gdpr__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-gdpr__cta-button {
        padding: 12px 25px;
        font-size: 0.9em;
        max-width: 100% !important; /* Button responsive */
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0 auto; /* Center button if it takes full width */
    }
    
    .page-gdpr__content-section {
        padding: 40px 0;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .page-gdpr__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

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

    .page-gdpr__text-block,
    .page-gdpr__list-item,
    .page-gdpr__card-text,
    .page-gdpr__faq-answer p {
        font-size: 1em;
    }

    .page-gdpr__image-content {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 30px auto;
        min-width: 200px !important; /* Enforce min size */
        min-height: 200px !important; /* Enforce min size */
    }

    /* Card Grid Mobile */
    .page-gdpr__card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-gdpr__card {
        padding: 25px;
    }

    .page-gdpr__card-title {
        font-size: 1.2em;
    }

    .page-gdpr__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 10px 20px 15px;
    }
}

/* Ensure no filter is applied to images */
.page-gdpr img {
    filter: none !important;
}

/* Specific button style for primary button */
.page-gdpr__btn-primary {
    background: #26A9E0;
    color: #ffffff;
    border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
    background: #1e87c0;
}