/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds, as body background is #FFFFFF */
    background-color: #FFFFFF; 
    padding-top: 0; /* Assuming shared.css handles body padding-top to avoid double padding */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    background-color: #F8F8F8; /* A very light background to contrast slightly with pure white */
    color: #333333;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-gdpr__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #017439; /* Brand color for main title */
}

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

/* General Section Styles */
.page-gdpr__section {
    padding: 60px 0;
}

.page-gdpr__content-area {
    background-color: #FFFFFF;
    color: #333333;
}

.page-gdpr__dark-section {
    background-color: #017439; /* Main brand color */
    color: #FFFFFF; /* White text for contrast */
}

.page-gdpr__heading {
    font-size: 2.2em;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-gdpr__dark-section .page-gdpr__heading {
    color: #FFFFFF;
}

.page-gdpr__heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #017439;
}

.page-gdpr__dark-section .page-gdpr__heading::after {
    background-color: #FFFFFF;
}

.page-gdpr__sub-heading {
    font-size: 1.5em;
    color: #017439;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-gdpr__dark-section .page-gdpr__sub-heading {
    color: #FFFFFF;
}

.page-gdpr__text-block p {
    margin-bottom: 15px;
}

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

.page-gdpr__ordered-list {
    list-style: decimal;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-gdpr__list-item {
    margin-bottom: 10px;
}

.page-gdpr__list-item strong {
    color: #017439;
}

.page-gdpr__contact-info {
    font-size: 1.1em;
    font-weight: bold;
    color: #017439;
    margin-top: 20px;
    margin-bottom: 20px;
}

.page-gdpr__dark-section .page-gdpr__contact-info {
    color: #FFFFFF;
}

.page-gdpr__link {
    color: #017439;
    text-decoration: underline;
}

.page-gdpr__dark-section .page-gdpr__link {
    color: #FFFF00; /* Yellow for links on dark background, for better visibility */
}

.page-gdpr__link:hover {
    text-decoration: none;
    opacity: 0.8;
}

/* Image styles */
.page-gdpr__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* Ensure min size for content images */
    min-width: 200px;
    min-height: 200px;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Ensure padding is included in width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-gdpr__btn-primary {
    background-color: #017439;
    color: #FFFFFF;
    border: 2px solid #017439;
}

.page-gdpr__btn-primary:hover {
    background-color: #005f2b; /* Slightly darker green */
    border-color: #005f2b;
}

.page-gdpr__btn-secondary {
    background-color: #FFFFFF;
    color: #017439;
    border: 2px solid #017439;
}

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

/* Call to Action Section */
.page-gdpr__cta-section {
    text-align: center;
    padding: 80px 20px;
}

.page-gdpr__cta-content {
    max-width: 900px;
}

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

.page-gdpr__cta-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #FFFFFF;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%; /* Prevent overflow */
    box-sizing: border-box;
    overflow: hidden;
}

/* FAQ Section */
.page-gdpr__faq-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-gdpr__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-title {
    font-size: 1.2em;
    color: #333333;
    margin: 0;
    flex-grow: 1;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #017439;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-question {
    background-color: #e0e0e0;
    border-bottom: none;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Plus sign becomes 'x' or 'minus' */
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px; /* Adjust padding for answer */
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #FFFFFF;
    color: #555555;
}

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

.page-gdpr__faq-answer p {
    margin-bottom: 15px;
}

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

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-gdpr__main-title {
        font-size: 2em;
    }
    .page-gdpr__description {
        font-size: 1em;
    }
    .page-gdpr__section {
        padding: 40px 0;
    }
    .page-gdpr__heading {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-gdpr__sub-heading {
        font-size: 1.3em;
    }
    .page-gdpr__list, .page-gdpr__ordered-list {
        padding-left: 20px;
    }
    .page-gdpr__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: unset; /* Remove min-width for mobile */
        min-height: unset; /* Remove min-height for mobile */
    }

    /* Mobile specific container padding */
    .page-gdpr__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* Buttons responsive */
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 15px 20px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* FAQ responsive */
    .page-gdpr__faq-question {
        padding: 15px 20px;
    }
    .page-gdpr__faq-title {
        font-size: 1.1em;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px 20px;
    }

    /* Ensure no overflow for sections containing images/videos/buttons */
    .page-gdpr__section,
    .page-gdpr__content-wrapper,
    .page-gdpr__faq-list,
    .page-gdpr__cta-content {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow-x: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: 1.8em;
    }
    .page-gdpr__heading {
        font-size: 1.5em;
    }
    .page-gdpr__cta-title {
        font-size: 1.8em;
    }
    .page-gdpr__faq-question {
        padding: 12px 15px;
    }
    .page-gdpr__faq-title {
        font-size: 1em;
    }
}