/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: #FFFFFF; /* Explicitly set for content area if needed, though body is white */
    padding-top: var(--header-offset, 120px); /* Fixed header offset for PC */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 80px 20px 40px;
    text-align: center;
    overflow: hidden;
    background-color: #000000; /* Dark background for hero text */
    color: #FFFFFF; /* Light text for dark hero background */
}

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

.page-gdpr__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFFFF;
    font-weight: bold;
}

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

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

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

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

.page-gdpr__container {
    max-width: 1000px;
    margin: 0 auto;
}

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

.page-gdpr__section-text {
    font-size: 1.1em;
    color: #333333;
    margin-bottom: 20px;
    text-align: justify;
}

.page-gdpr__section-text a {
    color: #FCBC45; /* Login button color for links */
    text-decoration: none;
    font-weight: bold;
}

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

.page-gdpr__image-inline {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

/* Rights List */
.page-gdpr__rights-list,
.page-gdpr__security-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-gdpr__list-item {
    background-color: #f9f9f9;
    border-left: 5px solid #000000;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1.05em;
    color: #333333;
}

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

/* Call to Action Buttons */
.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 10px;
    min-width: 180px;
    text-align: center;
}

.page-gdpr__cta-button--primary {
    background-color: #FCBC45; /* Login color */
    color: #000000; /* Dark text on light button */
    border: 2px solid #FCBC45;
}

.page-gdpr__cta-button--primary:hover {
    background-color: #e0a53a;
    border-color: #e0a53a;
}

.page-gdpr__cta-button--secondary {
    background-color: #000000; /* Main color */
    color: #FFFFFF; /* Light text on dark button */
    border: 2px solid #000000;
}

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

.page-gdpr__link-button {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #000000;
    border-radius: 5px;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-gdpr__link-button:hover {
    background-color: #000000;
    color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-gdpr {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }

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

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

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

    .page-gdpr__section-text {
        font-size: 0.95em;
    }

    .page-gdpr__list-item {
        font-size: 0.9em;
    }

    .page-gdpr__cta-button {
        display: block;
        width: calc(100% - 20px);
        margin: 10px auto;
        padding: 12px 20px;
    }

    /* Ensure content images are responsive and do not overflow */
    .page-gdpr__hero-image,
    .page-gdpr__image-inline {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }

    /* Important: Mobile content images must not cause overflow */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
    }
}