/* style/gdpr.css */

/* Base styles for the GDPR page */
.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;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: #0a0a0a; /* Ensure a dark background for the hero */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    overflow: hidden;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 20px;
    color: #ffffff;
}

.page-gdpr__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #26A9E0; /* Brand color for title */
}

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

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

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Overlay to ensure text readability */
    min-width: 200px;
    min-height: 200px;
}

/* General Section Styles */
.page-gdpr__section {
    padding: 80px 0;
    text-align: center;
}

.page-gdpr__introduction {
    background-color: #0a0a0a;
    color: #ffffff;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #26A9E0; /* Brand color for section titles */
}

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
    text-align: left;
}

/* Dark Section Specific Styles */
.page-gdpr__dark-section {
    background-color: #1a1a1a; /* Slightly lighter dark background */
    color: #ffffff;
}

/* Grid Container for Cards */
.page-gdpr__grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Card Styles */
.page-gdpr__card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box; /* Ensure padding is included in width */
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-gdpr__card-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* List Styles */
.page-gdpr__list {
    list-style: none; /* Remove default bullet points */
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.page-gdpr__list-item {
    font-size: 1.1em;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #f0f0f0;
}

.page-gdpr__list-item::before {
    content: '✅'; /* Custom bullet point */
    position: absolute;
    left: 0;
    color: #26A9E0;
}

/* Image Wrapper for Content Images */
.page-gdpr__image-wrapper {
    margin: 40px auto 20px auto;
    max-width: 1000px; /* Max width for content images */
    overflow: hidden;
    border-radius: 10px;
}

.page-gdpr__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    min-width: 200px;
    min-height: 200px;
}

/* Video Section */
.page-gdpr__video-section {
    background-color: #0a0a0a;
    padding: 80px 0;
    color: #ffffff;
}

.page-gdpr__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 40px auto;
    max-width: 800px;
    border-radius: 10px;
}

.page-gdpr__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    cursor: pointer;
    min-width: 200px;
    min-height: 200px;
}

/* CTA Buttons */
.page-gdpr__cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.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; /* Include padding in width */
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-gdpr__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

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

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

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

/* FAQ Section */
.page-gdpr__faq {
    background-color: #1a1a1a;
    color: #ffffff;
}

.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.08);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #ffffff;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    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;
    color: #f0f0f0;
    text-align: left;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Ensure it expands sufficiently */
    padding: 15px 25px 25px 25px;
}

.page-gdpr__faq-answer .page-gdpr__paragraph {
    margin-bottom: 0; /* Remove extra margin for paragraphs inside FAQ answer */
}

/* Conclusion Section */
.page-gdpr__conclusion {
    background-color: #0a0a0a;
    color: #ffffff;
    padding-bottom: 100px; /* More padding at the bottom */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 3em;
    }
    .page-gdpr__hero-description {
        font-size: 1.2em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__paragraph,
    .page-gdpr__list-item,
    .page-gdpr__card-text {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        flex-direction: column;
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-gdpr__hero-content {
        padding: 15px;
    }
    .page-gdpr__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-gdpr__section {
        padding: 60px 0;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-gdpr__paragraph {
        font-size: 0.95em;
        padding: 0 15px; /* Add padding for mobile paragraphs */
    }
    .page-gdpr__list-item {
        font-size: 0.95em;
        padding-left: 25px;
        padding-right: 15px;
    }

    .page-gdpr__grid-container {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .page-gdpr__card {
        padding: 20px;
    }

    /* Mobile image 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__image-wrapper,
    .page-gdpr__video-section,
    .page-gdpr__video-container,
    .page-gdpr__video-wrapper,
    .page-gdpr__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__btn-container,
    .page-gdpr__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }
    /* Specific padding for hero content */
    .page-gdpr__hero-content {
      padding-left: 15px;
      padding-right: 15px;
    }

    /* Mobile video responsiveness */
    .page-gdpr video,
    .page-gdpr__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__video-wrapper {
      padding-bottom: 56.25% !important; /* Maintain aspect ratio */
      height: 0 !important;
    }
    .page-gdpr__video-section {
      padding-top: var(--header-offset, 120px) !important; /* Ensure video section also respects header offset */
    }


    /* Mobile button responsiveness */
    .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;
      padding-left: 15px; /* Add padding for button text */
      padding-right: 15px;
    }
    .page-gdpr__cta-buttons {
      flex-direction: column !important; /* Stack buttons vertically */
      gap: 15px !important;
    }

    /* FAQ Mobile */
    .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: 10px 20px 20px 20px;
    }
}

/* Ensure content images are never smaller than 200px display size */
.page-gdpr__image,
.page-gdpr__image-wrapper img {
    min-width: 200px;
    min-height: 200px;
}

/* Contrast Fixes if needed (as per prompt, not strictly needed with current color scheme but good to include for robustness) */
.page-gdpr__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-gdpr__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}