/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF; /* Explicitly set for content area if needed, otherwise inherited */
    padding-top: var(--header-offset, 120px); /* Space for fixed header */
    box-sizing: border-box;
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    color: #FFFFFF; /* White text for dark hero background */
    background-color: #000000; /* Main brand color for hero background */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

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

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    display: block;
}

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

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

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

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

.page-gdpr__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box;
}

.page-gdpr__btn--register {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-gdpr__btn--register:hover {
    background-color: #F0F0F0;
    color: #000000;
}

.page-gdpr__btn--login {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-gdpr__btn--login:hover {
    background-color: #E0A83A;
    color: #000000;
}

/* General Section Styling */
.page-gdpr__introduction-section,
.page-gdpr__data-processing-section,
.page-gdpr__user-rights-section,
.page-gdpr__security-section,
.page-gdpr__retention-transfers-section,
.page-gdpr__cookies-children-section,
.page-gdpr__contact-dpo-section,
.page-gdpr__changes-section,
.page-gdpr__cta-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-gdpr__introduction-section,
.page-gdpr__user-rights-section,
.page-gdpr__security-section,
.page-gdpr__contact-dpo-section {
    background-color: #F8F8F8;
}


.page-gdpr__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-gdpr__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FCBC45;
    border-radius: 2px;
}

.page-gdpr__sub-title {
    font-size: 1.8em;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 20px;
}

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

.page-gdpr__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-gdpr__list-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #333333;
}

.page-gdpr__content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

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

.page-gdpr__right-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-gdpr__card-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 15px;
    border-bottom: 2px solid #FCBC45;
    padding-bottom: 10px;
}

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

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

.page-gdpr__contact-item {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #333333;
}

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

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

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

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

.page-gdpr__cta-section .page-gdpr__section-title {
    color: #FFFFFF;
}

.page-gdpr__cta-section .page-gdpr__section-title::after {
    background-color: #FFFFFF;
}

.page-gdpr__cta-section .page-gdpr__paragraph {
    color: #F0F0F0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-gdpr__cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-gdpr__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
    min-width: 220px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.8em;
    }
    .page-gdpr__hero-description {
        font-size: 1.1em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__sub-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        padding-top: var(--header-offset, 80px);
    }
    .page-gdpr__hero-section {
        padding: 60px 20px;
        min-height: 400px;
    }
    .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__btn {
        width: 100%;
        max-width: 300px;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__sub-title {
        font-size: 1.4em;
    }
    .page-gdpr__paragraph,
    .page-gdpr__list-item,
    .page-gdpr__card-description,
    .page-gdpr__contact-item {
        font-size: 0.95em;
    }
    .page-gdpr__content-image {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
    /* Critical: Mobile image overflow prevention */
    .page-gdpr img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-section {
        padding: 40px 15px;
    }
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__hero-description {
        font-size: 0.9em;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
    .page-gdpr__sub-title {
        font-size: 1.2em;
    }
    .page-gdpr__rights-grid {
        grid-template-columns: 1fr;
    }
}