/* style/gdpr.css */

/* General page styling */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Explicitly set body background color as per shared */
}

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

.page-gdpr__section-title {
    font-size: 2.2em;
    color: #017439; /* Primary brand color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-gdpr__text-block p {
    margin-bottom: 1em;
    font-size: 1.1em;
}

.page-gdpr__list {
    list-style: disc inside;
    margin-bottom: 1.5em;
    padding-left: 20px;
}

.page-gdpr__list li {
    margin-bottom: 0.5em;
    font-size: 1.05em;
}

.page-gdpr__image-full {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Hero Section */
.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); /* Fixed header offset */
    background: linear-gradient(135deg, #017439, #FFFFFF); /* Blend primary color with white */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-gdpr__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure container takes full width */
}

.page-gdpr__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-gdpr__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px; /* Add padding to content */
    box-sizing: border-box;
}

.page-gdpr__main-title {
    font-size: 3em;
    color: #FFFFFF; /* White text for contrast on green/white gradient */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-gdpr__intro-text {
    font-size: 1.3em;
    color: #f0f0f0; /* Slightly off-white for readability */
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #C30808; /* Specific color for CTA button */
    color: #FFFF00; /* Specific font color for CTA button */
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__cta-button:hover {
    background: #a30606; /* Darker red on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Section specific colors */
.page-gdpr__light-bg {
    background-color: #FFFFFF;
    color: #333333;
    padding: 60px 0;
}

.page-gdpr__dark-section {
    background-color: #017439; /* Primary brand color */
    color: #FFFFFF;
    padding: 60px 0;
}

.page-gdpr__dark-section .page-gdpr__section-title {
    color: #FFFFFF; /* White title on dark background */
}

.page-gdpr__dark-section .page-gdpr__list li {
    color: #f0f0f0;
}

.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2em;
}

.page-gdpr__contact-list li {
    margin-bottom: 1em;
    font-size: 1.1em;
    display: flex;
    align-items: center;
}

.page-gdpr__contact-list li strong {
    min-width: 150px;
    color: #017439;
}

.page-gdpr__contact-list li a {
    color: #017439;
    text-decoration: underline;
}

.page-gdpr__contact-list li a:hover {
    color: #005f2e;
}

/* FAQ Styling */
.page-gdpr__faq-list {
    margin-top: 40px;
}

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

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    background: #f9f9f9;
    color: #333333;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 2000px !important; /* Ensure it can expand for any content */
    padding: 20px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-gdpr__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-gdpr__faq-question:active {
    background: #eeeeee;
}

.page-gdpr__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Prevent h3 from blocking click event */
    color: #333333;
}

.page-gdpr__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ccc;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    color: #017439; /* Primary color when active */
    transform: rotate(45deg); /* Rotate for minus sign effect */
    border-color: #017439;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.5em;
    }
    .page-gdpr__intro-text {
        font-size: 1.1em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__text-block p,
    .page-gdpr__list li {
        font-size: 1em;
    }
    .page-gdpr__cta-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    /* Mobile Hero Section */
    .page-gdpr__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile specific offset */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__main-title {
        font-size: 2em;
    }
    .page-gdpr__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-gdpr__hero-image img {
        border-radius: 4px;
    }

    /* General Content Sections */
    .page-gdpr__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
        margin-bottom: 30px;
    }
    .page-gdpr__text-block p,
    .page-gdpr__list li {
        font-size: 0.95em;
    }

    /* Images responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !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;
    }

    /* Buttons responsiveness */
    .page-gdpr__cta-button {
        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;
        font-size: 1em;
    }
    /* Button containers if any */
    .page-gdpr__button-group,
    .page-gdpr__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    /* FAQ Mobile */
    .page-gdpr__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-gdpr__faq-question h3 {
        font-size: 1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-gdpr__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-gdpr__faq-answer {
        padding: 0 15px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px !important;
    }
}