/* style/gdpr.css */

/* --- General Page Styles --- */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #ffffff; /* Explicitly set for light background */
}

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

.page-gdpr__section {
    padding: 60px 0;
}

.page-gdpr__section:nth-of-type(even) {
    background-color: #f8f8f8;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

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

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

.page-gdpr__link-email,
.page-gdpr__link-contact {
    color: #017439;
    text-decoration: underline;
}

.page-gdpr__link-email:hover,
.page-gdpr__link-contact:hover {
    color: #005a2d;
    text-decoration: none;
}

/* --- Hero Section --- */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px; /* Minimum height for hero */
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    overflow: hidden;
    background-color: #f0f0f0; /* Fallback background */
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover the area, crop if needed */
    max-height: 600px; /* Limit height to prevent overly large images */
    margin-bottom: 30px; /* Space between image and content */
}

.page-gdpr__hero-content {
    position: relative; /* Ensure content is above any potential background issues */
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white background for text readability */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: -80px; /* Pull content up over the image a bit for visual connection */
    margin-bottom: 40px;
}

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

.page-gdpr__lead-text {
    font-size: 1.3em;
    color: #555555;
    margin-bottom: 30px;
}

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

.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;
    max-width: 100%; /* Ensure buttons don't overflow */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-gdpr__btn-primary {
    background-color: #017439; /* Brand primary color, overridden by inline style for #C30808 */
    color: #ffffff;
    border: 2px solid #017439;
}

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

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

.page-gdpr__btn-secondary:hover {
    background-color: #e0e0e0;
    color: #005a2d;
    border-color: #005a2d;
}

/* --- What is GDPR Section --- */
.page-gdpr__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #333333;
}

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

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

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

.page-gdpr__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-gdpr__feature-item:hover {
    transform: translateY(-5px);
}

.page-gdpr__feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__feature-description {
    font-size: 1em;
    color: #555555;
}

/* --- Your Rights Section --- */
.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-gdpr__rights-item {
    background-color: #ffffff;
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 5px solid #017439;
}

.page-gdpr__rights-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-gdpr__rights-description {
    font-size: 1em;
    color: #555555;
}

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

.page-gdpr__protection-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-gdpr__protection-item:hover {
    transform: translateY(-5px);
}

.page-gdpr__protection-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__protection-description {
    font-size: 1em;
    color: #555555;
}

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

.page-gdpr__contact-item {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #333333;
}

.page-gdpr__contact-item strong {
    color: #017439;
}

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

.page-gdpr__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-item details {
    border: none;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
    list-style: none; /* For summary tag */
}

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

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

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

.page-gdpr__faq-question:hover {
    background-color: #e0e0e0;
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #017439;
}

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

/* Highlight for keywords */
.page-gdpr .highlight {
    font-weight: bold;
    color: #017439;
}

/* --- Mobile Responsiveness (max-width: 768px) --- */
@media (max-width: 768px) {
    .page-gdpr__container {
        padding: 0 15px !important;
    }

    .page-gdpr__section {
        padding: 40px 0 !important;
    }

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

    .page-gdpr__sub-title {
        font-size: 1.5em !important;
        margin-top: 30px !important;
        margin-bottom: 15px !important;
    }

    .page-gdpr__paragraph {
        font-size: 1em !important;
    }

    /* Hero Section - Mobile */
    .page-gdpr__hero-section {
        flex-direction: column !important; /* Force column layout */
        padding-top: 10px !important; /* Ensure small padding */
        min-height: auto !important;
    }

    .page-gdpr__hero-image {
        max-height: 300px !important; /* Adjust hero image height for mobile */
        object-fit: contain !important; /* Ensure image is fully visible, not cropped */
        margin-bottom: 20px !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-gdpr__hero-content {
        margin-top: -40px !important; /* Adjust overlap for mobile */
        padding: 15px !important;
        margin-bottom: 20px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em) !important; /* Smaller H1 for mobile */
        margin-bottom: 15px !important;
    }

    .page-gdpr__lead-text {
        font-size: 1.1em !important;
        margin-bottom: 20px !important;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
        width: 100% !important; /* Ensure container fills width */
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .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;
    }

    /* All images and containers for mobile */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__feature-grid,
    .page-gdpr__protection-grid,
    .page-gdpr__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Feature Grid - Mobile */
    .page-gdpr__feature-grid {
        grid-template-columns: 1fr !important; /* Single column */
    }

    /* Protection Grid - Mobile */
    .page-gdpr__protection-grid {
        grid-template-columns: 1fr !important; /* Single column */
    }

    /* Rights List - Mobile */
    .page-gdpr__rights-item {
        padding: 20px !important;
        border-left-width: 3px !important;
    }

    .page-gdpr__rights-title {
        font-size: 1.2em !important;
    }

    /* FAQ Section - Mobile */
    .page-gdpr__faq-question {
        font-size: 1.1em !important;
        padding: 15px 20px !important;
    }

    .page-gdpr__faq-answer {
        padding: 0 20px 15px !important;
    }
}

/* Ensure content area images are at least 200px */
.page-gdpr__content-area img,
.page-gdpr__feature-icon,
.page-gdpr__protection-icon {
    min-width: 200px;
    min-height: 200px;
}