/* style/gdpr.css */

/* Base Styles for GDPR Page */
.page-gdpr {
    color: #333333; /* Dark text for light background */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    background-color: #FFFFFF;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: #FFFFFF; /* Light text for hero content over image */
    text-align: center;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-gdpr__hero-container {
    position: relative;
    width: 100%;
    max-width: 1400px; /* Constrain hero content width */
    margin: 0 auto;
}

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Place image behind content */
    filter: brightness(0.4); /* Darken image for text readability */
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-gdpr__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login button color for emphasis */
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-gdpr__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #FFFFFF;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-button {
    display: inline-block;
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text for login button */
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__hero-button:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

/* General Content Sections */
.page-gdpr__content-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-gdpr__section-title {
    font-size: 2.4em;
    color: #000000;
    margin-top: 50px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.page-gdpr__paragraph {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #333333;
    line-height: 1.8;
}

.page-gdpr__link {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: #e0a53b;
    text-decoration: underline;
}

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

.page-gdpr__principle-card {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-gdpr__principle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-gdpr__card-image {
    width: 100%;
    max-width: 400px; /* Constrain image width */
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

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

.page-gdpr__card-description {
    font-size: 1em;
    color: #555555;
    line-height: 1.7;
}

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

.page-gdpr__list-item {
    background-color: #f2f2f2;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-left: 6px solid #FCBC45;
    border-radius: 8px;
    font-size: 1.05em;
    color: #333333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

/* Security Section */
.page-gdpr__security-list {
    list-style: disc;
    margin-left: 30px;
    margin-top: 30px;
    color: #333333;
    font-size: 1.1em;
}

.page-gdpr__security-list .page-gdpr__list-item {
    background-color: transparent;
    border-left: none;
    padding: 8px 0;
    margin-bottom: 8px;
    list-style: disc;
    color: #333333;
    box-shadow: none;
}

.page-gdpr__security-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* Policy CTA Section */
.page-gdpr__policy-cta-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 60px;
    flex-wrap: wrap;
    background-color: #f0f0f0;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.page-gdpr__policy-cta-text {
    flex: 1;
    min-width: 350px;
}

.page-gdpr__policy-cta-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-gdpr__policy-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-gdpr__policy-link {
    display: inline-block;
    background-color: #000000; /* Main color */
    color: #FFFFFF;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 25px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-gdpr__policy-link:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

/* FAQ Section */
.page-gdpr__faq-item {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__faq-question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 12px;
    font-weight: 600;
    cursor: pointer; /* Indicate interactivity */
}

.page-gdpr__faq-answer {
    font-size: 1.05em;
    color: #555555;
    line-height: 1.7;
}

/* Action Section */
.page-gdpr__action-section {
    text-align: center;
    padding: 70px 20px;
    background-color: #000000; /* Main color for background */
    color: #FFFFFF;
    margin-top: 60px;
    border-radius: 0; /* Full width */
}

.page-gdpr__action-section .page-gdpr__section-title {
    color: #FCBC45; /* Login button color for emphasis */
    margin-top: 0;
    font-size: 2.6em;
}

.page-gdpr__action-section .page-gdpr__paragraph {
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.15em;
}

.page-gdpr__action-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.page-gdpr__action-button {
    display: inline-block;
    padding: 16px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.15em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__action-button:hover {
    transform: translateY(-3px);
}

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

.page-gdpr__action-button--register:hover {
    background-color: #e0e0e0;
}

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

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

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

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 60px 15px;
        min-height: 400px;
    }
    .page-gdpr__hero-title {
        font-size: 2em;
    }

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

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

    .page-gdpr__principles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-gdpr__principle-card {
        padding: 20px;
    }

    .page-gdpr__list-item {
        padding: 15px 20px;
    }

    .page-gdpr__policy-cta-flex {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
    }

    .page-gdpr__policy-cta-image {
        order: -1; /* Image appears above text on mobile */
    }

    .page-gdpr__action-section {
        padding: 50px 15px;
    }

    .page-gdpr__action-section .page-gdpr__section-title {
        font-size: 2.2em;
    }

    .page-gdpr__action-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Ensure content images are responsive and not smaller than 200px */
    .page-gdpr img {
        max-width: 100%;
        height: auto;
    }
    .page-gdpr__card-image,
    .page-gdpr__security-image,
    .page-gdpr__policy-image,
    .page-gdpr__hero-image {
        min-width: 200px; /* Enforce min width */
        min-height: 200px; /* Enforce min height */
        max-width: 100%; /* Ensure responsiveness */
        height: auto;
    }
}

/* Global image minimum size for content area */
.page-gdpr img {
    min-width: 200px;
    min-height: 200px;
}