/* style/gdpr.css */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #1a1a2e;
}

.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
    background-color: #017439; /* Brand color for hero */
    color: #ffffff;
    overflow: hidden;
}

.page-gdpr__hero-content {
    max-width: 900px;
    z-index: 10;
    margin-bottom: 30px;
}

.page-gdpr__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

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

.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: 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;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-gdpr__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

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

.page-gdpr__btn-secondary {
    background-color: #ffffff;
    color: #017439; /* Brand color */
    border: 2px solid #ffffff;
}

.page-gdpr__btn-secondary:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

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

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.6);
}

.page-gdpr__content-section,
.page-gdpr__commitment-section,
.page-gdpr__data-handling-section,
.page-gdpr__your-rights-section,
.page-gdpr__contact-section,
.page-gdpr__faq-section {
    padding: 80px 20px;
}

.page-gdpr__dark-bg {
    background-color: #1a1a2e;
    color: #ffffff;
}

.page-gdpr__light-bg {
    background-color: #ffffff;
    color: #333333;
}

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

.page-gdpr__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
    font-weight: bold;
}

.page-gdpr__dark-bg .page-gdpr__section-title {
    color: #ffffff;
}

.page-gdpr__light-bg .page-gdpr__section-title {
    color: #017439;
}

.page-gdpr__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-gdpr__text-block a {
    color: #017439;
    text-decoration: underline;
}

.page-gdpr__dark-bg .page-gdpr__text-block a {
    color: #FFFF00;
}

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

.page-gdpr__commitment-card,
.page-gdpr__process-item {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    color: #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-gdpr__dark-bg .page-gdpr__commitment-card,
.page-gdpr__dark-bg .page-gdpr__process-item {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__card-title,
.page-gdpr__process-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #017439;
}

.page-gdpr__dark-bg .page-gdpr__card-title,
.page-gdpr__dark-bg .page-gdpr__process-title {
    color: #FFFF00;
}

.page-gdpr__card-text,
.page-gdpr__process-text {
    font-size: 1em;
    line-height: 1.7;
    flex-grow: 1;
}

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 40px;
    display: block;
    object-fit: cover;
}

.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-gdpr__rights-item {
    background-color: #f0f9f0;
    border-left: 5px solid #017439;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-gdpr__dark-bg .page-gdpr__rights-item {
    background-color: rgba(1, 116, 57, 0.2);
    border-left-color: #FFFF00;
}

.page-gdpr__rights-title {
    font-size: 1.3em;
    color: #017439;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-gdpr__dark-bg .page-gdpr__rights-title {
    color: #FFFF00;
}

.page-gdpr__rights-description {
    font-size: 1em;
    line-height: 1.7;
}

.page-gdpr__cta-wrapper {
    text-align: center;
    margin-top: 50px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.page-gdpr__faq-item {
    background-color: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-gdpr__dark-bg .page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

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

.page-gdpr__dark-bg .page-gdpr__faq-question {
    color: #FFFF00;
}

.page-gdpr__faq-question:hover {
    background-color: #e6ffe6;
}

.page-gdpr__dark-bg .page-gdpr__faq-question:hover {
    background-color: rgba(1, 116, 57, 0.3);
}

.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 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-gdpr__faq-answer p {
    font-size: 1em;
    line-height: 1.7;
    color: #333333;
}

.page-gdpr__dark-bg .page-gdpr__faq-answer p {
    color: #ffffff;
}

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

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-gdpr__hero-title {
        font-size: 2.2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-gdpr__content-section,
    .page-gdpr__commitment-section,
    .page-gdpr__data-handling-section,
    .page-gdpr__your-rights-section,
    .page-gdpr__contact-section,
    .page-gdpr__faq-section {
        padding: 40px 15px;
    }
    .page-gdpr__commitment-grid,
    .page-gdpr__data-process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-gdpr__card-image {
        max-width: 180px;
    }
    .page-gdpr__content-image {
        margin-top: 30px;
    }
    .page-gdpr__rights-item {
        padding: 20px;
    }
    .page-gdpr__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px 20px 20px;
    }
    /* Mobile image responsive adaptations */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__container,
    .page-gdpr__commitment-card,
    .page-gdpr__process-item,
    .page-gdpr__rights-item,
    .page-gdpr__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-gdpr__cta-wrapper {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
    }
    .page-gdpr__faq-question {
        font-size: 1em;
    }
    .page-gdpr__faq-toggle {
        font-size: 1.2em;
    }
}