/* style/gdpr.css */

/* Base styling for the GDPR page content */
.page-gdpr {
    padding-top: var(--header-offset, 120px); /* Ensures content starts below the fixed header */
    background-color: #FFFFFF; /* Explicitly set for clarity, though body default is white */
    color: #333333; /* Dark text for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow */
    padding-bottom: 40px; /* Add some space below hero content */
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Max height for hero image */
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-gdpr__hero-title {
    font-size: 3em;
    color: #000000; /* Main brand color for title */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__hero-description {
    font-size: 1.2em;
    color: #333333;
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-gdpr__hero-button {
    display: inline-block;
    background-color: #FCBC45; /* Login button color, used for CTA */
    color: #FFFFFF; /* White text on button */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-gdpr__hero-button:hover {
    background-color: #e0a53b; /* Slightly darker on hover */
}

/* General Section Styling */
.page-gdpr__overview-section,
.page-gdpr__commitment-section,
.page-gdpr__rights-section,
.page-gdpr__contact-section,
.page-gdpr__cta-section {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

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

.page-gdpr__text-content {
    font-size: 1.1em;
    text-align: justify;
    margin-bottom: 20px;
}

.page-gdpr__image-content {
    display: block;
    width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

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

.page-gdpr__commitment-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-gdpr__item-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-gdpr__item-description a {
    color: #FCBC45;
    text-decoration: none;
}

.page-gdpr__item-description a:hover {
    text-decoration: underline;
}

/* Rights Section */
.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
}

.page-gdpr__rights-list .page-gdpr__list-item {
    background-color: #f9f9f9;
    padding: 20px 30px;
    margin-bottom: 15px;
    border-left: 5px solid #FCBC45;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* Contact Section */
.page-gdpr__contact-button {
    display: block;
    width: fit-content;
    margin: 30px auto 0;
    background-color: #000000; /* Primary brand color */
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-gdpr__contact-button:hover {
    background-color: #333333;
}

/* CTA Section */
.page-gdpr__cta-section {
    background-color: #FCBC45; /* Highlight color */
    color: #FFFFFF;
    text-align: center;
    padding: 80px 20px;
}

.page-gdpr__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-gdpr__cta-description {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px;
}

.page-gdpr__cta-button {
    display: inline-block;
    background-color: #000000; /* Dark button for contrast */
    color: #FFFFFF;
    padding: 18px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-gdpr__cta-button:hover {
    background-color: #333333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-gdpr__hero-title {
        font-size: 2.2em;
    }

    .page-gdpr__hero-description {
        font-size: 1em;
    }

    .page-gdpr__section-title {
        font-size: 2em;
    }

    .page-gdpr__text-content {
        font-size: 0.95em;
    }

    .page-gdpr__commitment-grid {
        grid-template-columns: 1fr;
    }

    .page-gdpr__cta-title {
        font-size: 2em;
    }

    .page-gdpr__cta-description {
        font-size: 1em;
    }

    /* Ensure images are responsive and don't overflow */
    .page-gdpr__hero-image,
    .page-gdpr__image-content {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum size on mobile too */
        min-height: 200px; /* Enforce minimum size on mobile too */
    }

    .page-gdpr__hero-section,
    .page-gdpr__overview-section,
    .page-gdpr__commitment-section,
    .page-gdpr__rights-section,
    .page-gdpr__contact-section,
    .page-gdpr__cta-section {
        padding: 40px 0;
    }
}

/* Prevent content overflow for .page-gdpr in mobile view */
@media (max-width: 768px) {
    .page-gdpr {
        overflow-x: hidden;
    }
}

/* Ensure content images are not smaller than 200px, and respect HTML width */
.page-gdpr__hero-image {
    max-width: 1200px; /* Constrain to the original width set in HTML for desktop */
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__image-content {
    max-width: 1000px; /* Constrain to the original width set in HTML for desktop */
    margin-left: auto;
    margin-right: auto;
}

/* No CSS filters allowed */
.page-gdpr img {
    filter: none !important;
}