/* style/gdpr.css */

.page-gdpr {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF; /* Explicitly set for GDPR page if needed, otherwise rely on shared */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    overflow: hidden;
    color: #FFFFFF; /* Light text for hero content over dark image */
    text-align: center;
    min-height: 500px; /* Minimum height for hero */
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.page-gdpr__hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
    border-radius: 10px;
    max-width: 800px;
    margin: 20px;
}

.page-gdpr__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FCBC45; /* Accent color for title */
}

.page-gdpr__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-gdpr__hero-button,
.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;
    margin: 10px;
    cursor: pointer;
}

.page-gdpr__hero-button--register,
.page-gdpr__cta-button--register {
    background-color: #FCBC45; /* Login button color for register CTA */
    color: #000000; /* Dark text for contrast */
}

.page-gdpr__hero-button--register:hover,
.page-gdpr__cta-button--register:hover {
    background-color: #E0A83A;
}

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

.page-gdpr__cta-button--login:hover {
    background-color: #1a1a1a;
    color: #FFFFFF;
}

/* Section Styling */
.page-gdpr__introduction-section,
.page-gdpr__principles-section,
.page-gdpr__your-rights-section,
.page-gdpr__compliance-measures-section,
.page-gdpr__cta-section {
    padding: 60px 0;
    background-color: #f9f9f9; /* Light background for sections */
    margin-bottom: 20px;
}

.page-gdpr__principles-section,
.page-gdpr__compliance-measures-section {
    background-color: #FFFFFF; /* White background for these specific sections */
}

.page-gdpr__section-title,
.page-gdpr__cta-title {
    font-size: 2.5em;
    color: #000000; /* Black for main titles */
    text-align: center;
    margin-bottom: 40px;
}

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

.page-gdpr__text-link {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
}

.page-gdpr__text-link:hover {
    text-decoration: underline;
}

/* Grid Layout for Principles */
.page-gdpr__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-gdpr__card {
    background-color: #f0f0f0; /* Light card background */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-gdpr__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

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

.page-gdpr__card-text,
.page-gdpr__measure-text {
    font-size: 1em;
    color: #555555;
}

/* Rights List */
.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

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

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

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

.page-gdpr__measure-item {
    background-color: #f0f0f0;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-gdpr__measure-image {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* CTA Section */
.page-gdpr__cta-section {
    text-align: center;
    background-color: #000000; /* Dark background for CTA */
    color: #FFFFFF;
}

.page-gdpr__cta-title {
    color: #FCBC45; /* Accent color for CTA title */
}

.page-gdpr__cta-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

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

    .page-gdpr__grid,
    .page-gdpr__measures-grid {
        grid-template-columns: 1fr;
    }

    .page-gdpr__card-image,
    .page-gdpr__measure-image {
        max-width: 100%;
        height: auto; /* Allow image to scale down */
    }
    
    /* Ensure content images in mobile are not too wide */
    .page-gdpr img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }

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

    .page-gdpr__hero-button,
    .page-gdpr__cta-button {
        padding: 12px 20px;
        font-size: 0.9em;
    }

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

    .page-gdpr__card-title,
    .page-gdpr__measure-title {
        font-size: 1.3em;
    }
}