/* style/gdpr.css */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --button-register: #C30808;
    --button-login: #C30808;
    --button-font-color: #FFFF00;
}

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

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

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-gdpr__hero-section .page-gdpr__container {
    max-width: 900px;
}

.page-gdpr__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
}

.page-gdpr__lead-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    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;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-gdpr__btn-primary {
    background-color: var(--button-register);
    color: var(--button-font-color);
    border: 2px solid var(--button-register);
}

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

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

.page-gdpr__btn-secondary:hover {
    background-color: #e0e0e0;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-gdpr__btn-large {
    font-size: 1.1em;
    padding: 15px 30px;
}

.page-gdpr__content-area,
.page-gdpr__principles-section,
.page-gdpr__data-collection-section,
.page-gdpr__data-protection-section,
.page-gdpr__rights-section,
.page-gdpr__exercise-rights-section,
.page-gdpr__policy-changes-section,
.page-gdpr__faq-section,
.page-gdpr__cta-bottom-section {
    padding: 60px 0;
}

.page-gdpr__section-title {
    font-size: 2.2em;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
}

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

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

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

.page-gdpr__text-center {
    text-align: center;
}

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

.page-gdpr__card {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-gdpr__light-bg .page-gdpr__card {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border: 1px solid #e0e0e0;
}

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

.page-gdpr__card-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: inherit;
}

.page-gdpr__data-list,
.page-gdpr__protection-list,
.page-gdpr__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-gdpr__data-list li,
.page-gdpr__protection-list li,
.page-gdpr__steps-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.page-gdpr__data-list li::before,
.page-gdpr__protection-list li::before,
.page-gdpr__steps-list li::before {
    content: '•';
    color: var(--primary-color);
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: -5px;
}

.page-gdpr__dark-section .page-gdpr__data-list li::before,
.page-gdpr__dark-section .page-gdpr__protection-list li::before,
.page-gdpr__dark-section .page-gdpr__steps-list li::before {
    color: var(--button-font-color);
}

.page-gdpr__steps-list li::before {
    content: counter(item);
    counter-increment: item;
    font-size: 1em;
    font-weight: bold;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 0;
}

.page-gdpr__dark-section .page-gdpr__steps-list li::before {
    background-color: var(--button-register);
}

.page-gdpr__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-gdpr__image--center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__faq-list {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.page-gdpr__light-bg .page-gdpr__faq-list {
    border-top: 1px solid #e0e0e0;
}

.page-gdpr__faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-gdpr__light-bg .page-gdpr__faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    color: var(--button-font-color);
}

.page-gdpr__light-bg .page-gdpr__faq-question:hover {
    color: var(--primary-color);
}

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

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg);
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 0.95em;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .page-gdpr__main-title {
        font-size: 2.2em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__grid-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-gdpr__main-title {
        font-size: 1.8em;
    }
    .page-gdpr__lead-text {
        font-size: 1em;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__content-area,
    .page-gdpr__principles-section,
    .page-gdpr__data-collection-section,
    .page-gdpr__data-protection-section,
    .page-gdpr__rights-section,
    .page-gdpr__exercise-rights-section,
    .page-gdpr__policy-changes-section,
    .page-gdpr__faq-section,
    .page-gdpr__cta-bottom-section {
        padding: 40px 0;
    }
    .page-gdpr__container {
        padding: 0 15px;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
    .page-gdpr__card {
        padding: 20px;
    }
    .page-gdpr__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 30px auto;
    }
    .page-gdpr__video-section,
    .page-gdpr__video-container,
    .page-gdpr__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-gdpr__faq-answer {
        padding: 10px 10px;
    }
}