/* style/gdpr.css */

/* Variables for colors based on the provided palette */
:root {
    --color-primary: #11A84E; /* Main color */
    --color-secondary: #22C768; /* Auxiliary color */
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--color-text-main); /* Default text color for dark background */
    background-color: var(--color-background); /* Explicitly set main background */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: var(--color-background);
    overflow: hidden; /* Prevent content overflow */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and text */
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.page-gdpr__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.page-gdpr__intro-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button */
.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff; /* White text on green button */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    max-width: 100%; /* Ensure button fits container */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-gdpr__cta-button:hover {
    background: linear-gradient(180deg, var(--color-button-gradient-end) 0%, var(--color-button-gradient-start) 100%);
    transform: translateY(-2px);
}

.page-gdpr__cta-button--secondary {
    background: var(--color-card-bg);
    border: 2px solid var(--color-border);
    color: var(--color-text-main);
}

.page-gdpr__cta-button--secondary:hover {
    background: var(--color-deep-green);
    border-color: var(--color-glow);
    color: var(--color-glow);
}

/* General Content Area */
.page-gdpr__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
    background-color: var(--color-background); /* Default background */
}

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--color-gold);
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
    font-weight: 600;
}

.page-gdpr__content-area p {
    margin-bottom: 1em;
    color: var(--color-text-main);
}

.page-gdpr__content-area ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 1em;
    color: var(--color-text-main);
}

.page-gdpr__content-area ul li {
    margin-bottom: 0.5em;
    color: var(--color-text-main);
}

/* Dark Section - for alternating background */
.page-gdpr__dark-section {
    background-color: var(--color-card-bg); /* Darker background */
    color: var(--color-text-main);
    padding: 60px 20px;
}

.page-gdpr__dark-section .page-gdpr__section-title {
    color: var(--color-gold);
}

.page-gdpr__dark-section p,
.page-gdpr__dark-section ul li {
    color: var(--color-text-secondary);
}

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

.page-gdpr__image-text-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-gdpr__image-right {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    order: 2; /* Image on right */
}

.page-gdpr__image-left {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    order: 1; /* Image on left */
}

.page-gdpr__text-content {
    flex: 1;
    min-width: 300px;
    order: 1; /* Text on left by default */
}

.page-gdpr__image-text-block.page-gdpr__image-left .page-gdpr__text-content {
    order: 2; /* Text on right when image is left */
}

/* Contact Info */
.page-gdpr__contact-info {
    text-align: center;
    margin-top: 40px;
}

.page-gdpr__contact-info p {
    font-size: 1.1rem;
    color: var(--color-text-main);
}

.page-gdpr__contact-info ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

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

.page-gdpr__contact-link {
    color: var(--color-glow);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
    text-decoration: underline;
    color: var(--color-gold);
}

/* FAQ Section */
.page-gdpr__faq-container {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    color: var(--color-text-main);
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-divider);
    list-style: none; /* For details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

.page-gdpr__faq-question::marker {
    display: none; /* Hide default marker for Firefox */
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
    font-size: 1.1rem;
}

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

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

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

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

/* CTA Section at the bottom */
.page-gdpr__cta-section {
    background-color: var(--color-deep-green);
    padding: 80px 20px;
    text-align: center;
}

.page-gdpr__cta-section .page-gdpr__section-title {
    color: var(--color-gold);
    margin-bottom: 20px;
}

.page-gdpr__sub-title {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-gdpr__hero-section {
        padding: 40px 15px;
    }

    .page-gdpr__main-title {
        font-size: 2.2rem;
    }

    .page-gdpr__intro-text {
        font-size: 1rem;
    }

    .page-gdpr__cta-button {
        padding: 12px 20px;
        font-size: 0.95rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-gdpr__content-area,
    .page-gdpr__dark-section,
    .page-gdpr__cta-section {
        padding: 40px 15px;
    }

    .page-gdpr__section-title {
        font-size: 2rem;
    }

    .page-gdpr__image-text-block {
        flex-direction: column;
        gap: 20px;
    }

    .page-gdpr__image-right,
    .page-gdpr__image-left {
        max-width: 100%;
        order: initial; /* Reset order for mobile */
    }

    .page-gdpr__text-content {
        order: initial; /* Reset order for mobile */
    }

    .page-gdpr__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-gdpr__faq-answer {
        padding: 15px 20px;
    }

    /* Mobile image responsive adaptations */
    .page-gdpr img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    /* All containers that might hold images/buttons/videos */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-section,
    .page-gdpr__content-area,
    .page-gdpr__dark-section,
    .page-gdpr__cta-section,
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__image-text-block,
    .page-gdpr__faq-container,
    .page-gdpr__faq-item {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px; /* Add padding to prevent content from touching edges */
      padding-right: 15px; /* Add padding to prevent content from touching edges */
      overflow: hidden !important; /* Ensure no horizontal scroll */
    }

    /* Buttons specific mobile adaptation */
    .page-gdpr__cta-buttons,
    .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;
        overflow: hidden !important;
    }
    .page-gdpr__cta-buttons {
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
    }
}

/* Contrast fix if needed (as per instructions, but my color choices are already high contrast) */
.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;
}

/* Ensure links are always readable */
.page-gdpr a {
    color: var(--color-glow); /* Default link color */
}
.page-gdpr a:hover {
    color: var(--color-gold);
}