/* style/gdpr.css */

/* Custom colors from provided scheme */
:root {
    --gdpr-bg-color: #08160F;
    --gdpr-card-bg: #11271B;
    --gdpr-text-main: #F2FFF6;
    --gdpr-text-secondary: #A7D9B8;
    --gdpr-border-color: #2E7A4E;
    --gdpr-glow-color: #57E38D;
    --gdpr-gold-color: #F2C14E;
    --gdpr-divider-color: #1E3A2A;
    --gdpr-deep-green: #0A4B2C;
    --gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

/* Fixed header spacing (body handles padding-top) */
/* The first section should only have a small decorative top padding */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px; /* Small top padding for visual spacing, not header offset */
    box-sizing: border-box;
    overflow: hidden; /* Ensure content does not overflow */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure it takes full width */
    height: auto;
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

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

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

.page-gdpr__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive H1, no fixed large size */
    color: var(--gdpr-glow-color); /* Highlight with glow color */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-gdpr__intro-text {
    font-size: 1.1em;
    color: var(--gdpr-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    color: var(--gdpr-gold-color);
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.page-gdpr__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

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

.page-gdpr__content-area strong {
    color: var(--gdpr-glow-color);
}

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

.page-gdpr__list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--gdpr-text-main);
}

.page-gdpr__list li::before {
    content: '•'; /* Custom bullet point */
    color: var(--gdpr-glow-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1;
}

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    max-width: 800px; /* Ensure images don't stretch too wide in content */
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 255, 128, 0.2); /* Subtle glow effect */
}

/* Video Section */
.page-gdpr__video-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    box-sizing: border-box;
    background-color: var(--gdpr-card-bg); /* Use card background for video section */
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-gdpr__video-container {
    width: 100%;
    max-width: 1000px; /* Max width for video container */
    margin: 0 auto;
    box-sizing: border-box;
}

.page-gdpr__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(87, 227, 141, 0.3); /* Glow for video */
}

.page-gdpr__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer; /* Indicate it's clickable */
}

.page-gdpr__video-description {
    text-align: center;
    margin-top: 20px;
    color: var(--gdpr-text-secondary);
    font-size: 0.95em;
}

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

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--gdpr-text-main);
    font-size: 1.1em;
    background-color: var(--gdpr-deep-green);
    border-bottom: 1px solid var(--gdpr-divider-color);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    border-bottom: 1px solid var(--gdpr-divider-color);
}

.page-gdpr__faq-question::-webkit-details-marker {
    display: none;
}

.page-gdpr__faq-question::marker {
    display: none;
}

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

.page-gdpr__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    margin-left: 15px;
    color: var(--gdpr-glow-color);
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
    content: '−'; /* Visually change to minus sign */
}

.page-gdpr__faq-answer {
    padding: 15px 25px 20px;
    color: var(--gdpr-text-secondary);
    font-size: 0.95em;
}

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

/* CTA Buttons */
.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
    width: 100%; /* Ensure container takes full width for responsive behavior */
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 20px; /* Add some padding to prevent buttons from touching edges */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
}

.page-gdpr__btn-primary {
    background: var(--gdpr-button-gradient);
    color: var(--gdpr-text-main); /* Light text on green button */
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

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

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

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

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

.page-gdpr__cta-bottom-section {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--gdpr-card-bg);
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 12px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.page-gdpr__last-updated {
    text-align: center;
    font-size: 0.85em;
    color: var(--gdpr-text-secondary);
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }

    .page-gdpr__section-title {
        font-size: clamp(1.6em, 4vw, 2.4em);
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 10px;
    }

    .page-gdpr__hero-content {
        padding: 0 15px;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }

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

    .page-gdpr__section-title {
        font-size: clamp(1.4em, 5vw, 2em);
    }

    .page-gdpr__content-area {
        padding: 20px 15px;
    }

    .page-gdpr__list li {
        padding-left: 20px;
    }

    .page-gdpr__list li::before {
        font-size: 1em;
    }

    /* Mobile image adaptation */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Mobile video adaptation */
    .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 */
    }

    /* Mobile button adaptation */
    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .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: 12px 20px; /* Adjust padding for smaller buttons */
        font-size: 1em;
        min-width: unset; /* Remove min-width for full flexibility */
    }

    .page-gdpr__faq-list {
        margin: 20px auto;
        padding: 0 15px;
    }

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

    .page-gdpr__faq-answer {
        padding: 10px 20px 15px;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__cta-bottom-section {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: clamp(1.6em, 7vw, 2.2em);
    }

    .page-gdpr__section-title {
        font-size: clamp(1.2em, 6vw, 1.8em);
    }
    
    .page-gdpr__hero-image-wrapper {
        margin-bottom: 20px;
    }
}