/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
    color: #333333; /* Dark text for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
    text-align: center;
    background-color: #000000; /* Dark background for hero */
    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: 3.2em;
    margin-bottom: 20px;
    color: #FFFFFF; /* White for hero title */
    font-weight: bold;
}

.page-gdpr__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #F0F0F0; /* Slightly off-white for description */
}

.page-gdpr__hero-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 1200px; /* Constrain image width */
    margin: 40px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    object-fit: cover; /* Ensure image covers the area without distortion */
}

/* General Content Area */
.page-gdpr__content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #FFFFFF; /* White background for content */
}

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

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #000000; /* Black for section titles */
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-gdpr__sub-title {
    font-size: 1.8em;
    color: #000000; /* Black for sub-titles */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #333333; /* Dark grey for paragraphs */
}

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

.page-gdpr__list-item {
    background-color: #F8F8F8;
    border-left: 5px solid #FCBC45; /* Accent color */
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__list-heading {
    font-size: 1.4em;
    color: #000000; /* Black for list headings */
    margin-top: 0;
    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: 30px;
    margin-bottom: 40px;
}

.page-gdpr__card {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-gdpr__card-image {
    max-width: 100%;
    height: auto;
    width: 400px; /* Set display width */
    height: 300px; /* Set display height */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__card-title {
    font-size: 1.5em;
    color: #000000; /* Black for card titles */
    margin-top: 0;
    margin-bottom: 10px;
}

.page-gdpr__card-description {
    font-size: 1em;
    color: #333333; /* Dark grey for card descriptions */
}

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

.page-gdpr__compliance-item {
    background-color: #F8F8F8;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-gdpr__compliance-image {
    max-width: 100%;
    height: auto;
    width: 400px; /* Set display width */
    height: 300px; /* Set display height */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__compliance-title {
    font-size: 1.5em;
    color: #000000; /* Black for compliance titles */
    margin-top: 0;
    margin-bottom: 10px;
}

/* Call to Action */
.page-gdpr__call-to-action {
    background-color: #000000; /* Black background */
    color: #FFFFFF; /* White text */
    padding: 60px 30px;
    text-align: center;
    border-radius: 10px;
    margin-top: 60px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-gdpr__call-to-action-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #FFFFFF; /* White for CTA title */
}

.page-gdpr__call-to-action-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #F0F0F0; /* Slightly off-white for CTA description */
}

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

.page-gdpr__button--contact {
    background-color: #FCBC45; /* Login button color */
    color: #FFFFFF; /* White text */
    border: 2px solid #FCBC45;
}

.page-gdpr__button--contact:hover {
    background-color: #e0a53b; /* Slightly darker */
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-gdpr__hero-title {
        font-size: 2.8em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__sub-title {
        font-size: 1.6em;
    }
    .page-gdpr__card-grid,
    .page-gdpr__compliance-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    .page-gdpr__hero-section {
        padding: 60px 15px;
    }
    .page-gdpr__hero-title {
        font-size: 2.2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__content-section {
        padding: 40px 15px;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__sub-title {
        font-size: 1.4em;
    }
    .page-gdpr__paragraph {
        font-size: 0.95em;
    }
    .page-gdpr__card-grid,
    .page-gdpr__compliance-grid {
        grid-template-columns: 1fr;
    }
    .page-gdpr__card-image,
    .page-gdpr__compliance-image {
        max-width: 100%; /* Ensure images don't overflow */
        height: auto;
        width: 100%; /* Ensure images take full width */
        min-width: 200px; /* Minimum width for content images */
        min-height: 200px; /* Minimum height for content images */
    }
    .page-gdpr__call-to-action {
        padding: 40px 20px;
    }
    .page-gdpr__call-to-action-title {
        font-size: 2em;
    }
    .page-gdpr__call-to-action-description {
        font-size: 1em;
    }
    .page-gdpr__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    /* Ensure all content images scale correctly and don't cause overflow */
    .page-gdpr img {
        max-width: 100%;
        height: auto;
    }
    .page-gdpr__container {
        max-width: 100%;
        padding: 0;
    }
    .page-gdpr__hero-container {
        max-width: 100%;
    }
}