/* style/gdpr.css */

/* Base Styles for .page-gdpr */
.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 */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px);
    padding-bottom: 80px;
    text-align: center;
    overflow: hidden;
    background-color: #017439; /* Brand color for hero section background */
    color: #ffffff;
}

.page-gdpr__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(1, 116, 57, 0.8), rgba(1, 116, 57, 0.6));
    z-index: 1;
}

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-gdpr__hero-section .page-gdpr__container {
    position: relative;
    z-index: 2;
}

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

.page-gdpr__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

.page-gdpr__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* General Content Section */
.page-gdpr__content-section {
    padding: 60px 0;
    background-color: #ffffff; /* White background for content sections */
    color: #333333; /* Dark text for white background */
}

.page-gdpr__section-title {
    font-size: 2.2em;
    color: #017439; /* Brand color for section titles */
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.7;
    color: #333333;
}

.page-gdpr__paragraph a {
    color: #017439; /* Link color for content */
    text-decoration: underline;
}

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

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

.page-gdpr__list-item strong {
    color: #017439; /* Highlight strong text in list items */
}

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

/* Call to Action Card */
.page-gdpr__cta-card {
    background-color: #017439; /* Brand color for CTA card */
    color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 60px;
}

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

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

.page-gdpr__cta-description a {
    color: #FFFF00; /* Yellow for links in dark CTA card */
    text-decoration: underline;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box; /* Ensure padding/border included in width */
    max-width: 100%; /* Ensure button doesn't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.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: #a00606;
    border-color: #a00606;
}

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

.page-gdpr__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

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

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

/* Light background sections */
.page-gdpr__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* FAQ Section (using details/summary) */
.page-gdpr__faq-section {
    padding: 60px 0;
    background-color: #f8f8f8;
    color: #333333;
}

.page-gdpr__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    outline: none;
    list-style: none; /* Remove default marker */
}

.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for webkit browsers */
}

.page-gdpr__faq-question {
    flex-grow: 1;
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' or '-' effect */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.1em;
    line-height: 1.7;
    color: #555555;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-gdpr__hero-title {
        font-size: 2.8em;
    }
    .page-gdpr__hero-description {
        font-size: 1.2em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__paragraph,
    .page-gdpr__list-item,
    .page-gdpr__faq-item summary,
    .page-gdpr__faq-answer {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding-bottom: 60px;
    }
    .page-gdpr__hero-title {
        font-size: 2.2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-gdpr__btn-large {
        padding: 15px 25px;
        font-size: 1.1em;
    }

    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__content-section {
        padding: 40px 0;
    }
    .page-gdpr__container {
        padding: 0 15px;
    }

    /* Mobile image, video, and container responsiveness */
    .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,
    .page-gdpr__hero-section,
    .page-gdpr__content-section,
    .page-gdpr__cta-card,
    .page-gdpr__hero-buttons,
    .page-gdpr__faq-section {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px; /* Ensure padding on mobile */
      padding-right: 15px; /* Ensure padding on mobile */
      overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-gdpr__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Re-apply for mobile if needed */
    }

    /* Video specific mobile styles, if any video were present */
    .page-gdpr video,
    .page-gdpr__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-gdpr__video-section,
    .page-gdpr__video-container,
    .page-gdpr__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-gdpr__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-gdpr__faq-item summary {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px 15px;
    }
}