/* style/gdpr.css */

/* Base styling for the GDPR page content */
.page-gdpr {
    color: #333333; /* Dark text for default light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset for PC and mobile */
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .page-gdpr {
        padding-top: var(--header-offset, 80px); /* Adjust for potentially smaller mobile header */
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }
    .page-gdpr img {
        max-width: 100%;
        height: auto;
    }
    .page-gdpr__container {
        padding: 20px 15px;
    }
    .page-gdpr__hero-section {
        padding: 40px 15px;
    }
    .page-gdpr__hero-title {
        font-size: 2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__list-item-title {
        font-size: 1.2em;
    }
    .page-gdpr__cta-title {
        font-size: 1.8em;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-gdpr__button {
        width: 100%;
        max-width: 300px; /* Constrain button width on mobile */
    }
}

/* Container for content sections */
.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero Section */
.page-gdpr__hero-section {
    background-color: #0A2463; /* Dark blue background for hero */
    color: #ffffff; /* Light text for dark background */
    text-align: center;
    padding: 80px 20px 0; /* Padding-bottom 0 because image is inside */
    position: relative;
    overflow: hidden;
}

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

.page-gdpr__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for emphasis */
    font-weight: bold;
    line-height: 1.2;
}

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

.page-gdpr__hero-image {
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.page-gdpr__hero-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
    object-fit: cover;
    min-width: 200px; /* Enforce min-size 200px */
    min-height: 200px; /* Enforce min-size 200px */
}

/* General Section Styling */
.page-gdpr__introduction-section,
.page-gdpr__principles-section,
.page-gdpr__user-rights-section,
.page-gdpr__data-security-section,
.page-gdpr__cookie-policy-section,
.page-gdpr__contact-section {
    padding: 60px 0;
    background-color: #ffffff; /* Light background for main content */
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #0A2463; /* Dark blue for main titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-gdpr__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    color: #333333;
}

/* List Styling */
.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-gdpr__list-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-gdpr__list-item-title {
    font-size: 1.4em;
    color: #0A2463;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__list-item-text {
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
}

.page-gdpr__list-item-text a {
    color: #0A2463;
    text-decoration: underline;
    font-weight: bold;
}

.page-gdpr__list-item-text a:hover {
    color: #FFD700;
}

.page-gdpr__image-wrapper {
    margin-top: 30px;
    text-align: center;
}

.page-gdpr__image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min-size 200px */
    min-height: 200px; /* Enforce min-size 200px */
}

/* Call to Action Section */
.page-gdpr__cta-section {
    background-color: #0A2463; /* Dark blue background */
    color: #ffffff; /* Light text */
    padding: 80px 20px;
    text-align: center;
}

.page-gdpr__cta-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for emphasis */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-gdpr__cta-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #f0f0f0;
}

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

.page-gdpr__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    min-width: 180px; /* Ensure buttons are not too small */
    text-align: center;
}

.page-gdpr__button--primary {
    background-color: #FFD700; /* Gold button */
    color: #0A2463; /* Dark blue text */
    border: 2px solid #FFD700;
}

.page-gdpr__button--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(255, 215, 0, 0.3);
}

.page-gdpr__button--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-gdpr__button--secondary:hover {
    background-color: #FFD700;
    color: #0A2463;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(255, 215, 0, 0.3);
}

.page-gdpr__button--tertiary {
    background-color: #546692; /* A lighter shade of the primary blue for a softer CTA */
    color: #ffffff;
    border: 2px solid #546692;
}

.page-gdpr__button--tertiary:hover {
    background-color: #6c7ca1;
    border-color: #6c7ca1;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(84, 102, 146, 0.3);
}

/* Ensure no content images are smaller than 200px in CSS */
/* This rule applies to any img element within the .page-gdpr scope */
.page-gdpr img {
    min-width: 200px;
    min-height: 200px;
}
/* For responsive images, max-width: 100% is fine, but not fixed small sizes */
.page-gdpr img[width][height] {
    width: auto; /* Override default width behavior if necessary for responsive */
    height: auto; /* Override default height behavior if necessary for responsive */
    max-width: 100%;
}