/* style/gdpr.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --button-register-login: #C30808;
    --button-font-register-login: #FFFF00;
    --background-color-page: #FFFFFF;
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--background-color-page);
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 80px 0;
    padding-top: var(--header-offset, 120px);
    text-align: center;
    background-color: var(--background-color-page);
    color: var(--text-color-dark);
}

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

.page-gdpr__intro-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__btn-primary {
    display: inline-block;
    background-color: var(--button-register-login);
    color: var(--button-font-register-login);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    margin-top: 20px;
}

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

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

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

/* Content Sections */
.page-gdpr__content-section {
    padding: 60px 0;
}

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

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

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

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

.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-size: 1.2em;
    line-height: 1.6;
}

.page-gdpr__dark-section .page-gdpr__list-item::before {
    color: var(--secondary-color);
}

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

/* FAQ Section */
.page-gdpr__faq-section {
    margin-top: 50px;
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    color: var(--text-color-dark);
}

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

.page-gdpr__faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.page-gdpr__faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

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

.page-gdpr__faq-question:hover {
    color: #005a2b;
}

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

.page-gdpr__faq-item.active .page-gdpr__faq-question .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: 1.1em;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Important to override any other max-height */
    padding: 15px;
}

.page-gdpr__faq-answer p {
    margin: 0;
    padding: 0;
}

.page-gdpr a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-gdpr a:hover {
    color: #005a2b;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.4em;
    }

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

@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__main-title {
        font-size: 2em;
    }

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

    .page-gdpr__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__content-section {
        padding: 40px 0;
    }

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

    .page-gdpr__text-block, .page-gdpr__list-item, .page-gdpr__faq-question, .page-gdpr__faq-answer p {
        font-size: 1em;
    }

    .page-gdpr__hero-image,
    .page-gdpr__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-gdpr__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__faq-section {
        padding: 20px;
    }

    .page-gdpr__faq-title {
        font-size: 1.5em;
    }

    .page-gdpr__faq-question {
        padding: 10px 0;
    }

    .page-gdpr__faq-answer {
        padding: 0 10px;
    }

    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 10px;
    }
}

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

    .page-gdpr__section-title {
        font-size: 1.3em;
    }
    .page-gdpr__btn-primary {
        font-size: 1em;
        padding: 12px 20px;
    }
}