/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: #FFFFFF; /* Explicitly set background to white */
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

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

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

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

.page-gdpr__hero-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-width: 200px; /* Ensure minimum image size */
    min-height: 200px; /* Ensure minimum image size */
}

.page-gdpr__hero-button {
    display: inline-block;
    background-color: #FCBC45; /* Login color */
    color: #000000;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    min-width: 200px; /* Ensure button is not too small */
}

.page-gdpr__hero-button:hover {
    background-color: #e0a53b;
}

/* Content Section */
.page-gdpr__content-section {
    padding: 80px 20px;
    background-color: #FFFFFF;
}

.page-gdpr__content-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-gdpr__section-paragraph {
    font-size: 1.1em;
    margin-bottom: 30px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__info-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    min-height: 500px; /* Ensure cards have a minimum height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

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

.page-gdpr__info-card-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px; /* Ensure minimum image size */
    min-height: 200px; /* Ensure minimum image size */
}

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

.page-gdpr__info-card-text {
    font-size: 1em;
    color: #555555;
}

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

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

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

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

.page-gdpr__cta-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-width: 200px; /* Ensure minimum image size */
    min-height: 200px; /* Ensure minimum image size */
}

.page-gdpr__cta-button {
    display: inline-block;
    background-color: #FCBC45; /* Login color */
    color: #000000;
    padding: 18px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
    margin-bottom: 20px;
    min-width: 200px; /* Ensure button is not too small */
}

.page-gdpr__cta-button:hover {
    background-color: #e0a53b;
}

.page-gdpr__cta-link {
    display: block;
    color: #FFFFFF;
    text-decoration: underline;
    font-size: 1em;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.page-gdpr__cta-link:hover {
    color: #FCBC45;
}

/* Contact Section */
.page-gdpr__contact-section {
    padding: 80px 20px;
    background-color: #f0f0f0; /* Light grey background */
}

.page-gdpr__contact-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.page-gdpr__contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-gdpr__contact-button {
    display: inline-block;
    background-color: #000000;
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
    min-width: 150px; /* Ensure button is not too small */
}

.page-gdpr__contact-button:hover {
    background-color: #333333;
}

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

@media (max-width: 768px) {
    .page-gdpr {
        overflow-x: hidden; /* Prevent horizontal scroll on mobile */
    }
    .page-gdpr__hero-title {
        font-size: 2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__hero-section,
    .page-gdpr__content-section,
    .page-gdpr__cta-section,
    .page-gdpr__contact-section {
        padding: 40px 15px;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__info-grid {
        grid-template-columns: 1fr;
    }
    .page-gdpr__info-card {
        padding: 20px;
    }
    .page-gdpr__cta-title {
        font-size: 2em;
    }
    .page-gdpr__contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-gdpr__contact-button {
        width: 100%;
        max-width: 250px;
    }

    /* CRITICAL: Ensure all content images are responsive and don't overflow */
    .page-gdpr img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
    }
    .page-gdpr__cta-title {
        font-size: 1.8em;
    }
    .page-gdpr__hero-button,
    .page-gdpr__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}