/* style/gdpr.css */

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 80px 20px 40px; /* Adjusted padding to accommodate image and text */
    text-align: center;
    background-color: #0A2463; /* Use primary color for hero background */
    color: #ffffff; /* Light text for dark background */
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-gdpr__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1; /* Ensure text and buttons are above the image */
}

.page-gdpr__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #E0B000; /* Auxiliary color for emphasis */
    font-weight: bold;
}

.page-gdpr__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0; /* Background image */
}

.page-gdpr__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Make the image subtle in the background */
    display: block;
}

.page-gdpr__hero-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Content Area */
.page-gdpr__content-area {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff; /* White background for content blocks */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-gdpr__section-title {
    font-size: 2em;
    color: #0A2463;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
}

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-gdpr__feature-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.page-gdpr__feature-card:hover {
    transform: translateY(-5px);
}

.page-gdpr__feature-image {
    width: 100%; /* Occupy full width of card */
    max-width: 400px; /* Ensure images are large enough */
    height: auto;
    border-radius: 6px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-gdpr__feature-title {
    font-size: 1.4em;
    color: #E0B000;
    margin-bottom: 15px;
}

.page-gdpr__feature-description {
    font-size: 1em;
    color: #555555;
}

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

.page-gdpr__list-item {
    background-color: #f0f8ff; /* Light blue background for list items */
    border-left: 5px solid #0A2463;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 1.05em;
}

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

/* Call to Action */
.page-gdpr__call-to-action {
    background-color: #0A2463;
    color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 50px;
}

.page-gdpr__call-to-action-text {
    font-size: 1.5em;
    margin-bottom: 25px;
    color: #E0B000;
}

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

.page-gdpr__button--primary {
    background-color: #E0B000;
    color: #0A2463;
    border: 2px solid #E0B000;
}

.page-gdpr__button--primary:hover {
    background-color: #c79f00;
    color: #ffffff;
    border-color: #c79f00;
}

.page-gdpr__button--secondary {
    background-color: transparent;
    color: #E0B000;
    border: 2px solid #E0B000;
}

.page-gdpr__button--secondary:hover {
    background-color: #E0B000;
    color: #0A2463;
}

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

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

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

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

    .page-gdpr__call-to-action-text {
        font-size: 1.2em;
    }

    .page-gdpr__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-gdpr__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-section {
        padding: 60px 15px 30px;
    }

    .page-gdpr__content-area {
        padding: 15px;
    }

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

    .page-gdpr__paragraph, .page-gdpr__feature-description, .page-gdpr__list-item {
        font-size: 0.95em;
    }
}

/* Ensure images within content area are at least 200x200px */
.page-gdpr__content-area img {
    min-width: 200px;
    min-height: 200px;
    width: 100%; /* Allow responsiveness */
    height: auto;
    object-fit: cover;
}

/* No filter on images - explicit check */
.page-gdpr__hero-image img,
.page-gdpr__feature-image {
    filter: none;
}