/* style/gdpr.css */

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

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

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

.page-gdpr__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3; /* Make background image subtle */
}

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire area */
    display: block;
    filter: none !important; /* Ensure no CSS filter on images */
}

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

.page-gdpr__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFFFF;
    line-height: 1.2;
}

.page-gdpr__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #F0F0F0;
}

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

.page-gdpr__hero-button--register {
    background-color: #FFFFFF; /* Register button color */
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-gdpr__hero-button--register:hover {
    background-color: transparent;
    color: #FFFFFF;
    transform: translateY(-3px);
}

/* Compliance Overview Section */
.page-gdpr__compliance-overview {
    padding: 60px 0;
    background-color: #F8F8F8; /* Light background for contrast */
}

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

.page-gdpr__section-description {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-gdpr__principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__principle-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-gdpr__principle-icon {
    width: 200px; /* Enforce minimum width for content images */
    height: 150px; /* Aspect ratio friendly height */
    object-fit: contain; /* Ensure image fits without cropping */
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: none !important; /* Ensure no CSS filter on images */
}

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

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

/* User Rights Section */
.page-gdpr__user-rights {
    padding: 60px 0;
}

.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-gdpr__rights-item {
    background-color: #FFFFFF;
    border: 1px solid #EEEEEE;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

.page-gdpr__rights-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.page-gdpr__rights-heading {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 10px;
}

.page-gdpr__rights-text {
    color: #555555;
}

/* Data Protection Officer Section */
.page-gdpr__data-protection-officer {
    padding: 60px 0;
    background-color: #F8F8F8;
    text-align: center;
}

.page-gdpr__contact-info {
    margin-top: 30px;
    margin-bottom: 40px;
}

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

.page-gdpr__contact-detail a {
    color: #000000;
    text-decoration: underline;
}

.page-gdpr__contact-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #000000;
    color: #FFFFFF;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-gdpr__contact-button:hover {
    background-color: #333333;
    transform: translateY(-3px);
}

/* Call to Action Section */
.page-gdpr__cta-section {
    padding: 80px 20px;
    background-color: #000000; /* Dark background for CTA */
    color: #FFFFFF;
    text-align: center;
}

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

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

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-gdpr__cta-button--register {
    background-color: #FFFFFF; /* Register button color */
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-gdpr__cta-button--register:hover {
    background-color: transparent;
    color: #FFFFFF;
    transform: translateY(-3px);
}

.page-gdpr__cta-button--login {
    background-color: #FCBC45; /* Login button color */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-gdpr__cta-button--login:hover {
    background-color: transparent;
    color: #FCBC45;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.8em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__cta-title {
        font-size: 2.4em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 60px 15px;
    }
    .page-gdpr__main-title {
        font-size: 2.2em;
    }
    .page-gdpr__hero-description {
        font-size: 1.1em;
    }
    .page-gdpr__hero-button {
        padding: 12px 25px;
        font-size: 1em;
        margin: 0 5px;
    }
    .page-gdpr__principles-grid {
        grid-template-columns: 1fr;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-description {
        font-size: 1em;
        margin: 0 auto 30px;
    }
    .page-gdpr__rights-heading {
        font-size: 1.4em;
    }
    .page-gdpr__cta-title {
        font-size: 2em;
    }
    .page-gdpr__cta-description {
        font-size: 1.1em;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-gdpr__cta-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    /* Enforce content area image responsiveness and min size */
    .page-gdpr img {
        max-width: 100%;
        height: auto;
    }
    /* Overrides to ensure content images meet the 200px minimum in content area */
    .page-gdpr__principle-icon {
        width: 100%; /* Allows scaling */
        max-width: 250px; /* Limits max size on mobile */
        min-width: 200px; /* Enforce minimum width */
        height: auto; /* Maintain aspect ratio */
        min-height: 150px; /* Ensure a reasonable minimum height if aspect is very wide */
    }
    /* Hero image should scale, not be constrained by 200px min */
    .page-gdpr__hero-image {
        min-width: auto;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: 1.8em;
    }
    .page-gdpr__hero-description {
        font-size: 0.95em;
    }
    .page-gdpr__hero-button {
        font-size: 0.9em;
        padding: 10px 20px;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
    .page-gdpr__cta-title {
        font-size: 1.8em;
    }
    .page-gdpr__cta-description {
        font-size: 1em;
    }
}