/* style/gdpr.css */

/* General page styling */
.page-gdpr {
    color: #333333; /* Dark text for light body background #f4f4f4 */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Space for fixed header */
}

/* Hero Section */
.page-gdpr__hero-section {
    background-color: #0D1117; /* Main brand dark color */
    color: #f0f0f0; /* Light text for dark background */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-gdpr__hero-title {
    font-size: 3em;
    color: #FFD700; /* Auxiliary brand gold color */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

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

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

.page-gdpr__hero-actions {
    margin-top: 40px;
}

/* General Section Styling */
.page-gdpr__section {
    padding: 60px 20px;
    border-bottom: 1px solid #e0e0e0;
}

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

.page-gdpr__section--alt {
    background-color: #f9f9f9;
}

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

.page-gdpr__section--alt .page-gdpr__section-title {
    color: #0D1117;
}

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

.page-gdpr__section-content p {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.8;
}

.page-gdpr__sub-title {
    font-size: 1.8em;
    color: #0D1117;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

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

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

.page-gdpr__image--right {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
}

.page-gdpr__image--left {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
}

/* Clearfix for floated images */
.page-gdpr__section-content::after {
    content: "";
    display: table;
    clear: both;
}

/* Buttons */
.page-gdpr__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    margin: 10px;
    min-width: 200px; /* Ensure buttons are not too small */
    text-align: center;
}

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

.page-gdpr__button--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
}

.page-gdpr__button--secondary {
    background-color: transparent;
    color: #0D1117; /* Dark text */
    border: 2px solid #0D1117;
}

.page-gdpr__section--alt .page-gdpr__button--secondary {
    color: #0D1117;
    border-color: #0D1117;
}

.page-gdpr__button--secondary:hover {
    background-color: #0D1117;
    color: #FFD700;
    transform: translateY(-3px);
}

.page-gdpr__section--cta {
    background-color: #0D1117;
    color: #f0f0f0;
    text-align: center;
}

.page-gdpr__section--cta .page-gdpr__section-title {
    color: #FFD700;
}

.page-gdpr__section--cta .page-gdpr__button--secondary {
    color: #FFD700;
    border-color: #FFD700;
}

.page-gdpr__section--cta .page-gdpr__button--secondary:hover {
    background-color: #FFD700;
    color: #0D1117;
}

.page-gdpr__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

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

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

    .page-gdpr__sub-title {
        font-size: 1.5em;
    }

    .page-gdpr__image--right,
    .page-gdpr__image--left {
        float: none;
        margin: 30px auto;
    }
}

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

    .page-gdpr__hero-section {
        padding: 60px 15px;
    }

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

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

    .page-gdpr__section {
        padding: 40px 15px;
    }

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

    .page-gdpr__sub-title {
        font-size: 1.3em;
    }

    .page-gdpr__section-content p,
    .page-gdpr__list-item {
        font-size: 1em;
    }

    .page-gdpr__button {
        padding: 12px 25px;
        font-size: 1em;
        min-width: unset;
        width: 100%;
        margin: 10px 0;
    }

    .page-gdpr__actions {
        flex-direction: column;
    }

    /* Mobile content area images must not overflow */
    .page-gdpr__content-area img,
    .page-gdpr__section-content img {
        max-width: 100%;
        height: auto;
    }

    /* Ensure images selected by any .page-gdpr descendant selector are not smaller than 200px display size */
    .page-gdpr img { /* General rule for all images within .page-gdpr */
        min-width: 200px; /* Enforce minimum display size */
        min-height: 200px; /* Enforce minimum display size */
        object-fit: contain; /* Ensure image content is visible */
    }
    /* Override specific image classes if they would make it smaller */
    .page-gdpr__image {
        min-width: 200px;
        min-height: 200px;
    }
}