/* style/gdpr.css */

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

/* Base styles for the page content */
.page-gdpr {
    background-color: var(--page-gdpr-bg); /* Use custom background color */
    color: var(--page-gdpr-text-main); /* Main text color for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure space above footer */
}

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding for content */
    overflow: hidden;
    background-color: var(--page-gdpr-deep-green); /* A darker brand color for hero background */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    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;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1;
}

.page-gdpr__main-title {
    color: var(--page-gdpr-text-main);
    font-size: clamp(2em, 4vw, 2.8em); /* Use clamp for H1 */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-gdpr__section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--page-gdpr-divider);
}

.page-gdpr__section:last-of-type {
    border-bottom: none;
}

.page-gdpr__content-area {
    max-width: 1200px;
    margin: 0 auto;
}

.page-gdpr__section-title {
    color: var(--page-gdpr-text-main);
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-gdpr__sub-title {
    color: var(--page-gdpr-gold); /* Use gold for sub-titles */
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-gdpr__text-block {
    margin-bottom: 30px;
}

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

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

.page-gdpr__list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-gdpr__list li {
    color: var(--page-gdpr-text-secondary);
    margin-bottom: 10px;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal; /* Allow text wrapping for buttons */
    word-wrap: break-word; /* Allow text wrapping for buttons */
    box-sizing: border-box;
}

.page-gdpr__btn-primary {
    background: var(--page-gdpr-btn-gradient);
    color: var(--page-gdpr-text-main); /* White text on green gradient */
    border: none;
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: var(--page-gdpr-glow); /* Greenish glow color */
    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 glow background */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Card background sections */
.page-gdpr__card-bg {
    background-color: var(--page-gdpr-card-bg); /* Use card background color */
}

/* Image specific styles */
.page-gdpr__grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-gdpr__grid-container--reverse {
    grid-template-columns: 1fr 1fr; /* Default order */
}

.page-gdpr__grid-item {
    display: flex;
    flex-direction: column;
}

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

/* Contact info specific */
.page-gdpr__contact-info {
    color: var(--page-gdpr-text-main);
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* FAQ section styles */
.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;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    color: var(--page-gdpr-text-main);
    font-size: 1.1em;
    background-color: var(--page-gdpr-deep-green); /* Slightly different dark green for question background */
    border-bottom: 1px solid var(--page-gdpr-divider);
}

.page-gdpr__faq-question:hover {
    background-color: var(--page-gdpr-glow); /* Hover effect for question */
    color: var(--page-gdpr-bg);
}

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

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

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

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

.page-gdpr__faq-answer {
    padding: 20px;
    color: var(--page-gdpr-text-secondary);
    border-top: 1px solid var(--page-gdpr-divider);
}

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


/* Responsive styles */
@media (max-width: 992px) {
    .page-gdpr__grid-container {
        grid-template-columns: 1fr;
    }
    .page-gdpr__grid-container--reverse .page-gdpr__grid-item:first-child {
        order: 2; /* Reverse order for image on mobile */
    }
    .page-gdpr__grid-container--reverse .page-gdpr__grid-item:last-child {
        order: 1;
    }
}

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

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

    .page-gdpr__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust H1 size for mobile */
    }

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

    .page-gdpr__section {
        padding: 40px 15px;
    }

    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-gdpr__sub-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    /* Mobile image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__grid-item,
    .page-gdpr__content-area,
    .page-gdpr__section,
    .page-gdpr__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent content overflow */
    }
    
    /* 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;
        padding-right: 15px;
        margin-bottom: 10px; /* Add spacing between stacked buttons */
    }
    
    .page-gdpr__hero-content .page-gdpr__btn-primary {
        margin-left: auto;
        margin-right: auto;
        display: block; /* Center button if it's the only one */
    }

    /* Button containers mobile adaptation */
    .page-gdpr__hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .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;
        display: flex;
        flex-direction: column; /* Stack buttons vertically on mobile */
    }
}

/* Ensure body padding-top is handled by shared.css */
/* No page-gdpr__video-section specific padding-top: var(--header-offset) */

/* Color contrast check - ensured by using custom variables */
.page-gdpr__dark-bg {
    background-color: var(--page-gdpr-bg);
    color: var(--page-gdpr-text-main);
}

.page-gdpr__card-bg {
    background-color: var(--page-gdpr-card-bg);
    color: var(--page-gdpr-text-main);
}

/* Specific text colors */
.page-gdpr__text-main {
    color: var(--page-gdpr-text-main);
}

.page-gdpr__text-secondary {
    color: var(--page-gdpr-text-secondary);
}

/* Ensure button text color is correct for contrast */
.page-gdpr__btn-primary {
    color: var(--page-gdpr-text-main); /* #F2FFF6 on gradient background */
}

.page-gdpr__btn-secondary {
    color: var(--page-gdpr-glow); /* #57E38D on transparent/dark background */
}
.page-gdpr__btn-secondary:hover {
    color: var(--page-gdpr-bg); /* #08160F on #57E38D background */
}