/* style/gdpr.css */

/* Custom Colors */
:root {
    --page-gdpr-bg: #08160F; /* Background */
    --page-gdpr-card-bg: #11271B; /* Card BG */
    --page-gdpr-text-main: #F2FFF6; /* Text Main */
    --page-gdpr-text-secondary: #A7D9B8; /* Text Secondary */
    --page-gdpr-border: #2E7A4E; /* Border */
    --page-gdpr-glow: #57E38D; /* Glow */
    --page-gdpr-gold: #F2C14E; /* Gold */
    --page-gdpr-divider: #1E3A2A; /* Divider */
    --page-gdpr-deep-green: #0A4B2C; /* Deep Green */
    --page-gdpr-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button Gradient */
}

.page-gdpr {
    background-color: var(--page-gdpr-bg);
    color: var(--page-gdpr-text-main); /* Dark background, so light text */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Space above footer */
}

/* Ensure no padding-top for main content, relying on body from shared.css */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small decorative top padding */
    padding-bottom: 60px;
    background-color: var(--page-gdpr-deep-green); /* Example background for hero */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: none; /* Ensure no filter changes image color */
}

.page-gdpr__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1; /* Ensure text is above any potential background elements */
}

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1, not fixed large value */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__intro-text {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: var(--page-gdpr-text-secondary);
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    max-width: 100%; /* For mobile responsiveness */
    box-sizing: border-box; /* For mobile responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-gdpr__btn-primary {
    background: var(--page-gdpr-btn-gradient);
    color: var(--page-gdpr-text-main); /* Light text on dark button */
    border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: var(--page-gdpr-glow); /* Green text on dark background */
    border: 2px solid var(--page-gdpr-glow);
}

.page-gdpr__btn-secondary:hover {
    background-color: var(--page-gdpr-glow);
    color: var(--page-gdpr-bg); /* Dark text on light button */
    transform: translateY(-2px);
}

.page-gdpr__section {
    padding: 60px 0;
}

.page-gdpr__dark-section {
    background-color: var(--page-gdpr-deep-green);
    color: var(--page-gdpr-text-main);
}

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

.page-gdpr__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--page-gdpr-glow);
}

.page-gdpr__subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--page-gdpr-text-main);
}

.page-gdpr p {
    margin-bottom: 15px;
    color: var(--page-gdpr-text-secondary);
}

.page-gdpr strong {
    color: var(--page-gdpr-text-main);
}

.page-gdpr__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__card {
    background-color: var(--page-gdpr-card-bg); /* Dark card background */
    color: var(--page-gdpr-text-main); /* Light text on dark card */
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--page-gdpr-border);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-gdpr__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--page-gdpr-glow);
}

.page-gdpr__full-width-card {
    grid-column: 1 / -1; /* Span full width in grid */
}

.page-gdpr__image-content-block {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-gdpr__content-image {
    flex: 1;
    min-width: 300px; /* Minimum display size for content images */
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    filter: none; /* Ensure no filter changes image color */
}

.page-gdpr__text-block {
    flex: 1;
    min-width: 300px;
    color: var(--page-gdpr-text-secondary);
}

.page-gdpr__list-block {
    margin-top: 40px;
}

.page-gdpr ul {
    list-style: disc;
    padding-left: 25px;
    color: var(--page-gdpr-text-secondary);
}

.page-gdpr ul li {
    margin-bottom: 10px;
}

.page-gdpr__protection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__protection-item {
    background-color: var(--page-gdpr-card-bg);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--page-gdpr-border);
    text-align: center;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__protection-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    filter: none; /* Ensure no filter changes image color */
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-gdpr__contact-info {
    background-color: var(--page-gdpr-card-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--page-gdpr-border);
    margin-top: 30px;
    text-align: center;
}

.page-gdpr__contact-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--page-gdpr-text-secondary);
}

.page-gdpr__contact-info strong {
    color: var(--page-gdpr-glow);
}

.page-gdpr__faq-list {
    margin-top: 40px;
}

.page-gdpr__faq-item {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    background-color: var(--page-gdpr-deep-green); /* Slightly darker for contrast */
    color: var(--page-gdpr-text-main);
    user-select: none;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: var(--page-gdpr-divider);
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-gdpr-glow);
}

.page-gdpr__faq-item[open] > .page-gdpr__faq-question .page-gdpr__faq-toggle {
    content: "−"; /* Change to minus when open */
}

/* For details tag, hide default marker */
.page-gdpr__faq-item summary {
    list-style: none;
}
.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--page-gdpr-text-secondary);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-gdpr__section-title {
        font-size: 2rem;
    }
    .page-gdpr__subtitle {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__hero-section {
        padding-bottom: 40px;
    }
    .page-gdpr__hero-image-wrapper {
        max-height: 300px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-gdpr__intro-text {
        font-size: 1rem;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px; /* Add padding to container */
        box-sizing: border-box;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        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;
    }

    .page-gdpr__section {
        padding: 40px 0;
    }
    .page-gdpr__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-gdpr__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-gdpr__subtitle {
        font-size: 1.4rem;
    }
    .page-gdpr__card-grid,
    .page-gdpr__protection-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-gdpr__image-content-block {
        flex-direction: column;
        gap: 20px;
    }
    .page-gdpr__content-image {
        max-width: 100%;
        min-width: 200px; /* Enforce minimum size */
        height: auto;
    }
    .page-gdpr__protection-image {
        min-width: 200px;
        min-height: 200px;
        height: auto;
    }
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        filter: none !important; /* Ensure no filter changes image color */
    }
    /* All containing elements for images/videos/buttons */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__image-content-block,
    .page-gdpr__text-block,
    .page-gdpr__protection-item,
    .page-gdpr__contact-info,
    .page-gdpr__faq-item,
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__hero-content,
    .page-gdpr__cta-buttons,
    .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; /* Catch any overflow */
    }
    .page-gdpr__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-gdpr__hero-image-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-gdpr__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px 15px;
    }
}

/* Ensure content area images meet min size requirement */
.page-gdpr__content-area img,
.page-gdpr__text-block img,
.page-gdpr__protection-item img {
    min-width: 200px;
    min-height: 200px;
}
/* For any video, ensure it's responsive (though no videos are explicitly added to this HTML) */
.page-gdpr video,
.page-gdpr__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}
.page-gdpr__video-section,
.page-gdpr__video-container,
.page-gdpr__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
@media (max-width: 768px) {
  .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: 10px !important; /* body already handles --header-offset */
  }
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}