/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #f9f9f9; /* Slightly off-white background for content sections */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header, fallback 120px */
}

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

.page-gdpr__container--centered {
    text-align: center;
}

/* Hero Section */
.page-gdpr__hero-section {
    background-color: #1A237E; /* Main brand color */
    color: #ffffff;
    padding: 80px 20px 40px; /* Adjusted padding for hero */
    text-align: center;
    position: relative;
    overflow: hidden; /* Ensure image doesn't overflow */
}

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

.page-gdpr__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFC107; /* Auxiliary color for emphasis */
    line-height: 1.2;
}

.page-gdpr__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.page-gdpr__hero-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 40px auto 0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min-width */
    min-height: 200px; /* Enforce min-height */
}

.page-gdpr__cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-gdpr__cta-button {
    display: inline-block;
    background-color: #FFC107; /* Auxiliary color for primary CTA */
    color: #1A237E; /* Main color for text */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    min-width: 200px; /* Ensure buttons are not too small */
    text-align: center;
}

.page-gdpr__cta-button:hover {
    background-color: #e6b000;
    transform: translateY(-3px);
}

.page-gdpr__cta-button--secondary {
    background-color: #3f51b5; /* A lighter shade of blue */
    color: #ffffff;
}

.page-gdpr__cta-button--secondary:hover {
    background-color: #303f9f;
}

.page-gdpr__cta-button--large {
    font-size: 1.4em;
    padding: 18px 35px;
    min-width: 250px;
}

/* Content Sections */
.page-gdpr__content-section {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.page-gdpr__content-section:last-of-type {
    border-bottom: none;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #1A237E; /* Main brand color */
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.page-gdpr__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFC107; /* Auxiliary color for accent */
    margin: 15px auto 0;
    border-radius: 2px;
}

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

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

.page-gdpr__section-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min-width */
    min-height: 200px; /* Enforce min-height */
}

.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-gdpr__list-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-gdpr__list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-gdpr__list-title {
    font-size: 1.5em;
    color: #1A237E;
    margin-bottom: 10px;
}

.page-gdpr__list-heading {
    font-size: 1.3em;
    color: #1A237E;
    margin-bottom: 8px;
}

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

/* Contact Info */
.page-gdpr__contact-info {
    margin-top: 30px;
    background-color: #f0f4f8;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

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

.page-gdpr__contact-link {
    color: #1A237E;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
    color: #FFC107;
    text-decoration: underline;
}

/* Final CTA Section */
.page-gdpr__section--cta-final {
    background-color: #1A237E; /* Main brand color */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-gdpr__cta-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 800px; /* Max width for CTA image */
    margin: 0 auto 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min-width */
    min-height: 200px; /* Enforce min-height */
}


/* 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: 2.2em;
    }
    .page-gdpr__sub-title {
        font-size: 1.6em;
    }
    .page-gdpr__list-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }
    .page-gdpr__hero-section {
        padding: 60px 20px 30px;
    }
    .page-gdpr__hero-title {
        font-size: 2.2em;
    }
    .page-gdpr__hero-description {
        font-size: 1.1em;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-gdpr__cta-button,
    .page-gdpr__cta-button--large {
        width: 90%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__sub-title {
        font-size: 1.4em;
    }
    .page-gdpr__text-block,
    .page-gdpr__list-description,
    .page-gdpr__contact-item {
        font-size: 1em;
    }
    .page-gdpr__list-item {
        padding: 20px;
    }
    .page-gdpr__section-image,
    .page-gdpr__hero-image,
    .page-gdpr__cta-image {
        max-width: 100%;
        height: auto; /* Ensure images are responsive and don't overflow */
        width: 100%; /* Important for mobile, ensures max-width: 100% takes effect */
        min-width: 200px; /* Enforce min-width for all images */
        min-height: 200px; /* Enforce min-height for all images */
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__hero-description {
        font-size: 0.95em;
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
    }
    .page-gdpr__sub-title {
        font-size: 1.2em;
    }
    .page-gdpr__list-title {
        font-size: 1.2em;
    }
    .page-gdpr__cta-button--large {
        font-size: 1.2em;
        padding: 15px 25px;
    }
}

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

/* Content area images CSS dimensions check */
/* All images within .page-gdpr must have a display size of at least 200px */
.page-gdpr img {
    min-width: 200px;
    min-height: 200px;
    /* For responsive images, max-width: 100% and height: auto are allowed */
    /* but must not result in a display size smaller than 200px */
}

/* Specific image classes that are guaranteed to be larger */
.page-gdpr__hero-image,
.page-gdpr__section-image,
.page-gdpr__cta-image {
    width: 100%;
    height: auto;
    max-width: 100%; /* Ensure responsiveness */
}

/* Additional check to ensure no smaller image styles are accidentally applied */
/* This is a general override for safety, as per rules for img within .page-gdpr */
@media (max-width: 768px) {
    .page-gdpr img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure mobile images also meet min-size */
        min-height: 200px; /* Ensure mobile images also meet min-size */
    }
}