/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main, #F2FFF6); /* Default light text for dark background */
    background-color: var(--background, #08160F); /* Page background */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, header offset handled by body */
    background-color: var(--background, #08160F); /* Ensure consistent dark background */
    box-sizing: border-box;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Max width for the image */
    margin-bottom: 30px; /* Space between image and content */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3em); /* Responsive H1 font size */
    font-weight: bold;
    color: var(--text-main, #F2FFF6);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow color */
}

.page-gdpr__hero-description {
    font-size: 1.1em;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 30px;
}

/* Content Area */
.page-gdpr__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-gdpr__dark-section {
    background-color: var(--background, #08160F); /* Dark background */
    color: var(--text-main, #F2FFF6); /* Light text */
}

.page-gdpr__light-bg {
    background-color: var(--card-bg, #11271B); /* Slightly lighter dark background for contrast */
    color: var(--text-main, #F2FFF6); /* Light text */
}

.page-gdpr__section-title {
    font-size: 2.2em;
    color: var(--text-main, #F2FFF6);
    margin-bottom: 40px;
    text-align: center;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.4); /* Glow color */
}

.page-gdpr__sub-title {
    font-size: 1.6em;
    color: var(--text-main, #F2FFF6);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__text-block p {
    margin-bottom: 15px;
    color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__text-block a {
    color: var(--glow, #57E38D); /* Link color */
    text-decoration: underline;
}

.page-gdpr__image-wrapper {
    margin: 40px auto;
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

/* Call to Action Section */
.page-gdpr__cta-section {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--deep-green, #0A4B2C); /* Deep green background */
    color: var(--text-main, #F2FFF6);
}

.page-gdpr__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width for flex-wrap */
    max-width: 600px; /* Limit max width of button group */
    margin: 0 auto;
    box-sizing: border-box;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Include padding in element's total width and height */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    max-width: 100%; /* Ensure button doesn't exceed container */
    text-align: center;
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #ffffff; /* White text for primary button */
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-gdpr__btn-secondary {
    background: transparent;
    color: var(--text-main, #F2FFF6); /* Light text for secondary button */
    border: 2px solid var(--border, #2E7A4E); /* Border color */
}

.page-gdpr__btn-secondary:hover {
    background: var(--border, #2E7A4E); /* Hover background */
    color: #ffffff;
    transform: translateY(-3px);
}

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__faq-item {
    background-color: var(--card-bg, #11271B); /* Card background */
    border: 1px solid var(--border, #2E7A4E); /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main, #F2FFF6);
}

.page-gdpr__faq-item details {
    border: none; /* Remove default details border */
}

.page-gdpr__faq-item summary {
    list-style: none; /* Remove default marker */
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--text-main, #F2FFF6);
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-item summary:hover {
    background-color: var(--deep-green, #0A4B2C); /* Deep green hover */
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow, #57E38D); /* Glow color for toggle */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    font-size: 0.95em;
    color: var(--text-secondary, #A7D9B8);
}

/* Global Image and Video Responsiveness (Mobile) */
@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-gdpr__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Small top padding, header offset handled by body */
    }

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

    .page-gdpr__hero-description {
        font-size: 1em;
    }

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

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

    .page-gdpr__sub-title {
        font-size: 1.4em;
    }

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

    /* Containers for images, videos, buttons */
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__image-wrapper,
    .page-gdpr__video-section,
    .page-gdpr__video-container,
    .page-gdpr__video-wrapper,
    .page-gdpr__cta-buttons,
    .page-gdpr__faq-list,
    .page-gdpr__content-area,
    .page-gdpr__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Buttons */
    .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;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
    }

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