/* style/gdpr.css */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-dark-section: #017439;
    --btn-register-bg: #C30808;
    --btn-login-bg: #C30808;
    --btn-register-login-text: #FFFF00;
    --border-light: #e0e0e0;
}

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

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

.page-gdpr__hero-section {
    position: relative;
    padding: 80px 0;
    color: var(--text-light);
    background-color: var(--bg-dark-section);
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
}

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.page-gdpr__hero-section .page-gdpr__container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.page-gdpr__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    color: var(--text-light);
}

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

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

.page-gdpr__btn-primary {
    background-color: var(--btn-register-bg);
    color: var(--btn-register-login-text);
    border: 2px solid var(--btn-register-bg);
}

.page-gdpr__btn-primary:hover {
    background-color: #a70707;
    border-color: #a70707;
}

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

.page-gdpr__btn-secondary:hover {
    background-color: var(--btn-register-login-text);
    color: var(--btn-register-bg);
}

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

.page-gdpr__dark-section {
    background-color: var(--bg-dark-section);
    color: var(--text-light);
}

.page-gdpr__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-gdpr__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: inherit;
}

.page-gdpr__dark-section .page-gdpr__section-title {
    color: var(--text-light);
}

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-gdpr__content-image {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.page-gdpr__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-gdpr__list-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
}

.page-gdpr__dark-section .page-gdpr__list-item::before {
    color: var(--btn-register-login-text);
}

.page-gdpr__dark-section a {
    color: var(--btn-register-login-text);
    text-decoration: underline;
}

.page-gdpr__dark-section a:hover {
    color: var(--secondary-color);
}

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

.page-gdpr__card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
    border: 1px solid var(--border-light);
}

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

.page-gdpr__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-gdpr__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-gdpr__card-text {
    font-size: 1em;
    color: var(--text-dark);
}

.page-gdpr__faq-list {
    margin-top: 40px;
}

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-gdpr__faq-item.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-light);
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-title {
    margin: 0;
    color: inherit;
    font-size: 1em; /* Adjust to fit parent font-size */
}

.page-gdpr__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Plus to X / Minus */
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px;
}

.page-gdpr__faq-answer .page-gdpr__paragraph {
    margin-bottom: 0;
    font-size: 1em;
}

.page-gdpr__cta-section {
    background-color: var(--bg-light);
    padding: 80px 0;
    text-align: center;
}

.page-gdpr__cta-content {
    max-width: 900px;
}

.page-gdpr__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-gdpr__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--text-dark);
}

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

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .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__button-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-gdpr__section {
        padding: 40px 0;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__card-grid {
        grid-template-columns: 1fr;
    }
    .page-gdpr__card {
        padding: 20px;
    }
    .page-gdpr__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 10px 20px 20px;
    }
    .page-gdpr__cta-title {
        font-size: 1.8em;
    }
    .page-gdpr__cta-description {
        font-size: 1em;
    }
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__button-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-gdpr__hero-section .page-gdpr__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__card-image {
        min-width: unset; /* Allow smaller images in cards on mobile if needed, but still > 200px */
        min-height: unset;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
    .page-gdpr__cta-title {
        font-size: 1.6em;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        font-size: 0.9em;
    }
    .page-gdpr__faq-question {
        font-size: 1em;
    }
}