/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    padding: 100px 20px 60px; /* Adjust padding-top for header offset */
    padding-top: var(--header-offset, 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #017439, #00562a); /* Brand color gradient */
    color: #ffffff;
}

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

.page-gdpr__hero-section .page-gdpr__container {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.page-gdpr__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* General Content Sections */
.page-gdpr__content-section {
    padding: 60px 20px;
    text-align: center;
}

.page-gdpr__dark-bg {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

.page-gdpr__content-section .page-gdpr__container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #ffffff; /* For dark background */
    text-align: center;
}

.page-gdpr__content-section:nth-child(even) .page-gdpr__section-title {
    color: #017439; /* For light background */
}

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

.page-gdpr__paragraph a {
    color: #FFFF00; /* Highlight links in paragraphs */
    text-decoration: underline;
}

.page-gdpr__paragraph a:hover {
    color: #fff;
}

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

/* Call to Action Buttons */
.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    margin: 10px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.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: #e00b0b;
    transform: translateY(-3px);
}

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

.page-gdpr__btn-secondary:hover {
    background-color: #00562a;
    transform: translateY(-3px);
}

/* Contact List */
.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
}

.page-gdpr__contact-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    margin-left: 20px;
}

.page-gdpr__contact-link {
    color: #FFFF00; /* Highlight links */
    text-decoration: underline;
}

.page-gdpr__contact-link:hover {
    color: #fff;
}

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.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;
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-qtext {
    flex-grow: 1;
    color: #ffffff;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    width: 25px;
    text-align: center;
    color: #FFFF00;
}

.page-gdpr__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: rgba(255, 255, 255, 0.05);
    color: #f0f0f0;
}

/* For <details> tag, native open state handles max-height */
.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
    max-height: 500px; /* Sufficiently large to show content */
    padding: 20px 25px;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    border-bottom: none;
}

.page-gdpr__faq-item > summary {
    list-style: none;
}
.page-gdpr__faq-item > summary::-webkit-details-marker {
    display: none;
}


/* CTA Section at bottom */
.page-gdpr__cta-section {
    background: linear-gradient(45deg, #017439, #00562a);
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.page-gdpr__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-gdpr__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}


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

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: var(--header-offset, 120px) 15px 40px;
    }

    .page-gdpr__main-title {
        font-size: 2.2em;
    }

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

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

    .page-gdpr__paragraph {
        font-size: 1em;
    }

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

    .page-gdpr__cta-section {
        padding: 60px 15px;
    }

    .page-gdpr__cta-title {
        font-size: 2em;
    }

    .page-gdpr__cta-description {
        font-size: 1.1em;
    }

    /* Mobile specific image adaptation */
    .page-gdpr img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    /* Mobile specific button adaptation */
    .page-gdpr__cta-button,
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr a[class*="button"],
    .page-gdpr a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 10px 0 !important;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column !important;
        gap: 10px;
    }

    /* FAQ */
    .page-gdpr__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-gdpr__faq-answer {
        padding: 15px 20px;
    }
    .page-gdpr__faq-item[open] .page-gdpr__faq-answer {
        padding: 15px 20px;
    }
}

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