/* style/gdpr.css */

/* --- Base Styles & Typography --- */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared, fallback to white */
}

.page-gdpr__section {
    padding: 60px 20px;
    background-color: #FFFFFF; /* Default light background for sections */
}

.page-gdpr__dark-section {
    background-color: #26A9E0; /* Brand primary color for dark sections */
    color: #ffffff; /* White text for dark background */
}

.page-gdpr__light-bg {
    background-color: #f8f9fa; /* Lighter background for some sections */
    color: #333333;
}

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

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: #26A9E0; /* Brand color for main title */
    text-align: center;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #26A9E0; /* Brand color for section titles */
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.3;
}

.page-gdpr__dark-section .page-gdpr__section-title {
    color: #ffffff; /* White title for dark sections */
}

.page-gdpr__grid-title,
.page-gdpr__feature-title {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
    color: #26A9E0;
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-gdpr__dark-section .page-gdpr__grid-title,
.page-gdpr__dark-section .page-gdpr__feature-title {
    color: #ffffff;
}

.page-gdpr__paragraph {
    font-size: 1rem;
    margin-bottom: 15px;
    text-align: justify;
}

.page-gdpr__dark-section .page-gdpr__paragraph {
    color: #f0f0f0;
}

.page-gdpr__last-updated {
    text-align: center;
    font-style: italic;
    color: #666666;
    margin-top: 30px;
}

/* --- Hero Section --- */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: #f0f8ff; /* Light blue background for hero */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-gdpr__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 15px;
}

.page-gdpr__description {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: #555555;
    margin-bottom: 30px;
}

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

.page-gdpr__image--centered {
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__image--full-width {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
    box-shadow: none;
}

/* --- Principles Section Grid --- */
.page-gdpr__principles-section {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-gdpr__principles-section .page-gdpr__paragraph {
    color: #f0f0f0;
}

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

.page-gdpr__grid-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.page-gdpr__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #26A9E0;
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    border-bottom-color: transparent;
}

.page-gdpr__faq-question::-webkit-details-marker,
.page-gdpr__faq-question::marker {
    display: none;
}

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: #555555;
}

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

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

/* --- Security Section --- */
.page-gdpr__security-section {
    background-color: #26A9E0;
    color: #ffffff;
}

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

.page-gdpr__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-gdpr__feature-item .page-gdpr__paragraph {
    color: #f0f0f0;
}

/* --- Contact Section --- */
.page-gdpr__contact-section {
    background-color: #f0f8ff; /* Light background for contact */
    padding: 80px 20px;
}

.page-gdpr__contact-flex {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-gdpr__contact-content {
    flex: 1;
    text-align: left;
}

.page-gdpr__contact-content .page-gdpr__section-title {
    text-align: left;
    margin-bottom: 20px;
}

.page-gdpr__contact-content .page-gdpr__paragraph {
    margin-bottom: 25px;
}

.page-gdpr__contact-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-gdpr__contact-image-wrapper .page-gdpr__image {
    margin: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* --- Buttons --- */
.page-gdpr__cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-gdpr__btn-primary:hover {
    background-color: #1e87c2;
    border-color: #1e87c2;
    transform: translateY(-2px);
}

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

.page-gdpr__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
    transform: translateY(-2px);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .page-gdpr__contact-flex {
        flex-direction: column;
        text-align: center;
    }

    .page-gdpr__contact-content {
        text-align: center;
    }

    .page-gdpr__contact-content .page-gdpr__section-title {
        text-align: center;
    }

    .page-gdpr__contact-image-wrapper {
        order: -1;
        margin-bottom: 30px;
    }

    .page-gdpr__cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-gdpr__section {
        padding: 40px 15px;
    }

    .page-gdpr__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-gdpr__main-title {
        font-size: 2rem;
    }

    .page-gdpr__section-title {
        font-size: 1.6rem;
    }

    .page-gdpr__grid-title,
    .page-gdpr__feature-title {
        font-size: 1.1rem;
    }

    .page-gdpr__paragraph {
        font-size: 0.95rem;
    }

    /* Enforce image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Enforce video responsiveness (if any, though not in this specific HTML) */
    .page-gdpr video,
    .page-gdpr__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Enforce container responsiveness for images/videos/buttons */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-image-wrapper,
    .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 !important;
        padding-right: 15px !important;
        overflow: hidden !important;
    }

    /* Button specific mobile styles */
    .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 !important;
        padding-right: 15px !important;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }
}

/* Ensure content area images maintain minimum size if not overridden by mobile */
.page-gdpr__content-area img:not(.page-gdpr__hero-image),
.page-gdpr__principles-section img,
.page-gdpr__security-section img,
.page-gdpr__contact-section img {
    min-width: 200px;
    min-height: 200px;
}