/* style/gdpr.css */

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

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

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

.page-gdpr__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FCBC45; /* Emphasize title with accent color */
    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 {
    width: 1200px; /* HTML width attribute for layout */
    height: 675px;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 100%; /* Ensure responsiveness */
}

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

.page-gdpr__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 200px; /* Ensure buttons are not too small */
    text-align: center;
}

.page-gdpr__button--register {
    background-color: #FCBC45; /* Accent color for register button */
    color: #000000;
}

.page-gdpr__button--register:hover {
    background-color: #e0a73d;
}

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

.page-gdpr__button--login:hover {
    background-color: #FCBC45;
    color: #000000;
}

/* Content Area */
.page-gdpr__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

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

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

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

.page-gdpr__card-icon {
    width: 400px; /* HTML width attribute for layout */
    height: 300px;
    margin-bottom: 20px;
    max-width: 100%; /* Ensure responsiveness and min size 200px */
    min-width: 200px;
    min-height: 200px;
    border-radius: 5px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover; /* Ensure image covers the area without distortion */
}

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

.page-gdpr__card-description {
    font-size: 1em;
    color: #666666;
}

/* Rights List */
.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 60px auto;
    max-width: 900px;
}

.page-gdpr__rights-item {
    background-color: #F8F8F8;
    border-left: 5px solid #FCBC45;
    padding: 20px 30px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.page-gdpr__item-title {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
}

.page-gdpr__item-description {
    font-size: 1em;
    color: #666666;
}

/* Contact Section */
.page-gdpr__contact-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #000000;
    color: #FFFFFF;
    border-radius: 10px;
    margin-top: 60px;
}

.page-gdpr__contact-section .page-gdpr__section-title {
    color: #FCBC45;
}

.page-gdpr__contact-section .page-gdpr__section-intro {
    color: #E0E0E0;
}

.page-gdpr__contact-image {
    width: 400px; /* HTML width attribute for layout */
    height: 300px;
    max-width: 100%; /* Ensure responsiveness and min size 200px */
    min-width: 200px;
    min-height: 200px;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: block;
    object-fit: cover; /* Ensure image covers the area without distortion */
}

.page-gdpr__button--contact {
    background-color: #FCBC45;
    color: #000000;
    margin-right: 15px;
    margin-bottom: 15px; /* For stacking on mobile */
}

.page-gdpr__button--contact:hover {
    background-color: #e0a73d;
}

.page-gdpr__button--privacy {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-gdpr__button--privacy:hover {
    background-color: #FCBC45;
    color: #000000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 60px 15px;
    }

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

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

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

    .page-gdpr__button {
        width: 100%;
        min-width: unset;
    }

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

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

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

    .page-gdpr__button--contact {
        margin-right: 0;
    }

    /* Ensure content images are responsive and not smaller than 200px where applicable */
    .page-gdpr img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce min width on smaller screens */
        min-height: 200px;
    }
}

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

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

    .page-gdpr__card-icon,
    .page-gdpr__contact-image {
        width: 100%; /* Take full width on small screens */
        height: auto;
    }
}