/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--secondary-color, #FFFFFF); /* Assumed light background from shared.css */
}

/* Header offset for fixed header */
.page-gdpr {
    padding-top: var(--header-offset, 120px); /* Apply header offset to the main content area */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #017439; /* Brand color as dark background */
    color: #FFFFFF; /* White text for dark background */
}

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Subtle background image */
}

.page-gdpr__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 116, 57, 0.7); /* Dark overlay with brand color */
    z-index: 2;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

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

.page-gdpr__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #FFFFFF;
}

/* General Section Styles */
.page-gdpr__section {
    padding: 60px 20px;
}

.page-gdpr__content-area {
    padding: 60px 20px;
    background-color: var(--secondary-color, #FFFFFF); /* Light background */
    color: #333333;
}

.page-gdpr__dark-bg {
    background-color: #017439;
    color: #FFFFFF;
}

.page-gdpr__light-bg {
    background-color: var(--secondary-color, #FFFFFF);
    color: #333333;
}

.page-gdpr__section-title {
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
    color: #017439; /* Brand color for titles on light background */
}

.page-gdpr__section-title--white {
    color: #FFFFFF;
}

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

.page-gdpr__container--flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-gdpr__container--reverse {
    flex-direction: row-reverse;
}

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

.page-gdpr__text-block {
    font-size: 1em;
    margin-bottom: 20px;
    color: #333333;
}

.page-gdpr__text-block--white {
    color: #FFFFFF;
}

.page-gdpr__text-link {
    color: #017439; /* Brand color for links on light background */
    text-decoration: underline;
}

.page-gdpr__text-block--white .page-gdpr__text-link {
    color: #FFFF00; /* Yellow for links on dark background */
}

.page-gdpr__image-wrapper {
    flex: 1;
    min-width: 300px;
}

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

.page-gdpr__text-content {
    flex: 2;
}

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

.page-gdpr__list--white {
    color: #FFFFFF;
}

.page-gdpr__list-item {
    margin-bottom: 10px;
}

/* Card Grid for User Rights */
.page-gdpr__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__card {
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
}

.page-gdpr__card-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
}

.page-gdpr__card-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 10px;
}

.page-gdpr__card-text {
    font-size: 0.95em;
    color: #555555;
}

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

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

.page-gdpr__contact-item strong {
    color: #017439;
}

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

.page-gdpr__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-gdpr__cta-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #FFFFFF;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__btn-primary {
    background-color: #C30808; /* Red for primary CTA */
    color: #FFFF00; /* Yellow text for primary CTA */
    border: 2px solid #C30808;
}

.page-gdpr__btn-primary:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-gdpr__container--flex {
        flex-direction: column;
        text-align: center;
    }

    .page-gdpr__image-wrapper {
        margin-bottom: 30px;
    }

    .page-gdpr__hero-section {
        height: 500px;
    }

    .page-gdpr__main-title {
        font-size: 2.2em;
    }

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

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

@media (max-width: 768px) {
    /* Mobile image adaptation */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Mobile video adaptation (if any) */
    .page-gdpr video,
    .page-gdpr__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Mobile button adaptation */
    .page-gdpr__cta-button,
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr a[class*="button"],
    .page-gdpr a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Container adaptation for mobile */
    .page-gdpr__section,
    .page-gdpr__content-area,
    .page-gdpr__cta-section,
    .page-gdpr__container,
    .page-gdpr__image-wrapper,
    .page-gdpr__text-content,
    .page-gdpr__card,
    .page-gdpr__video-section,
    .page-gdpr__video-container,
    .page-gdpr__video-wrapper,
    .page-gdpr__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px; /* Add padding to prevent content touching edges */
        padding-right: 15px; /* Add padding to prevent content touching edges */
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Specific padding-top for video section on mobile if it were present */
    .page-gdpr__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-gdpr__hero-section {
        height: 400px;
    }

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

    .page-gdpr__description {
        font-size: 1em;
    }

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

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

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