/* style/gdpr.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --dark-bg-color: #121212;
    --text-light: #ffffff;
    --text-dark: #333333;
    --btn-login: #EA7C07;
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--dark-bg-color);
}

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

.page-gdpr__hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a719c 100%);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
}

.page-gdpr__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    line-height: 1.2;
}

.page-gdpr__hero-description {
    font-size: 1.15em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: rgba(255, 255, 255, 0.9);
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 150px;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__btn-primary {
    background-color: var(--btn-login); /* Use specific login color for primary action */
    color: var(--secondary-color);
    border: 2px solid var(--btn-login);
}

.page-gdpr__btn-primary:hover {
    background-color: darken(var(--btn-login), 10%);
    border-color: darken(var(--btn-login), 10%);
    transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-gdpr__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.page-gdpr__section {
    padding: 60px 0;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-gdpr__subtitle {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-gdpr__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-gdpr__list-item {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-gdpr__list-item strong {
    color: var(--primary-color);
}

.page-gdpr__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 30px auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-gdpr__dark-bg {
    background-color: #1a1a1a;
    color: var(--text-light);
}

.page-gdpr__dark-bg .page-gdpr__section-title {
    color: var(--secondary-color);
}

.page-gdpr__dark-bg .page-gdpr__section-title::after {
    background-color: var(--secondary-color);
}

.page-gdpr__dark-bg .page-gdpr__subtitle {
    color: var(--secondary-color);
}

.page-gdpr__dark-bg .page-gdpr__text-block {
    color: rgba(255, 255, 255, 0.9);
}

.page-gdpr__dark-bg .page-gdpr__list {
    color: rgba(255, 255, 255, 0.9);
}

.page-gdpr__dark-bg .page-gdpr__list-item strong {
    color: var(--primary-color);
}

.page-gdpr__intro-gdpr .page-gdpr__section-title,
.page-gdpr__data-collection .page-gdpr__section-title,
.page-gdpr__cookies-tracking .page-gdpr__section-title,
.page-gdpr__policy-changes .page-gdpr__section-title {
    color: var(--primary-color);
}

.page-gdpr__intro-gdpr .page-gdpr__text-block,
.page-gdpr__data-collection .page-gdpr__text-block,
.page-gdpr__cookies-tracking .page-gdpr__text-block,
.page-gdpr__policy-changes .page-gdpr__text-block {
    color: var(--text-light);
}

.page-gdpr__link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: lighten(var(--primary-color), 10%);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.8em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__subtitle {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-gdpr__hero-title {
        font-size: 2.2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 90%;
        max-width: 300px !important;
        padding: 12px 20px;
        font-size: 0.95em;
    }

    .page-gdpr__section {
        padding: 40px 0;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-gdpr__subtitle {
        font-size: 1.3em;
    }
    .page-gdpr__text-block,
    .page-gdpr__list-item {
        font-size: 0.95em;
    }
    .page-gdpr__container {
        padding: 0 15px;
    }

    /* Enforce image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Enforce container responsiveness for images/content */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    /* Specific padding for sections in mobile to prevent overflow */
    .page-gdpr__intro-gdpr,
    .page-gdpr__your-rights,
    .page-gdpr__data-collection,
    .page-gdpr__data-security,
    .page-gdpr__cookies-tracking,
    .page-gdpr__contact-privacy,
    .page-gdpr__policy-changes,
    .page-gdpr__conclusion {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Button group responsiveness */
    .page-gdpr__cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .page-gdpr__cta-buttons .page-gdpr__btn-primary,
    .page-gdpr__cta-buttons .page-gdpr__btn-secondary {
        width: 90% !important;
        max-width: 300px !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
    .page-gdpr__subtitle {
        font-size: 1.2em;
    }
    .page-gdpr__text-block,
    .page-gdpr__list-item {
        font-size: 0.9em;
    }
}