/* style/gdpr.css */

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

/* Base styles for the GDPR page */
.page-gdpr {
    background-color: var(--page-gdpr-background); /* Dark background */
    color: var(--page-gdpr-text-main); /* Light text for contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.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: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    overflow: hidden;
    background-color: var(--page-gdpr-deep-green); /* A darker green for the hero background */
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    max-width: 1200px; /* Constrain image width */
    display: block;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px; /* Space between image and text */
}

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1; /* Ensure content is above any potential background elements */
    color: var(--page-gdpr-text-main);
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    color: var(--page-gdpr-gold-color); /* Gold for main title */
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

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

.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 20px;
    justify-content: center;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Ensure buttons are responsive */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
}

.page-gdpr__btn-primary {
    background: var(--page-gdpr-button-gradient);
    color: #ffffff; /* White text on dark gradient */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: var(--page-gdpr-gold-color);
    border: 2px solid var(--page-gdpr-gold-color);
}

.page-gdpr__btn-secondary:hover {
    background-color: var(--page-gdpr-gold-color);
    color: var(--page-gdpr-background); /* Dark text on gold hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Content Area */
.page-gdpr__content-area {
    padding: 60px 20px;
    border-bottom: 1px solid var(--page-gdpr-divider-color);
}

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

.page-gdpr__dark-section {
    background-color: var(--page-gdpr-card-bg); /* Darker background for sections */
}

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

.page-gdpr__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    color: var(--page-gdpr-primary-color);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.page-gdpr__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-gdpr-gold-color);
    border-radius: 2px;
}

.page-gdpr__sub-title {
    font-size: clamp(1.4em, 2.5vw, 1.8em);
    color: var(--page-gdpr-gold-color);
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-gdpr p {
    font-size: 1em;
    color: var(--page-gdpr-text-secondary);
    margin-bottom: 15px;
    line-height: 1.8;
}

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

.page-gdpr ul li {
    margin-bottom: 8px;
    font-size: 1em;
    line-height: 1.6;
}

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

.page-gdpr a {
    color: var(--page-gdpr-gold-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr a:hover {
    color: var(--page-gdpr-glow-color);
    text-decoration: underline;
}

.page-gdpr__image-full {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 40px;
}

.page-gdpr__faq-item {
    background-color: var(--page-gdpr-deep-green); /* Darker green for FAQ items */
    border: 1px solid var(--page-gdpr-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-item[open] {
    background-color: var(--page-gdpr-card-bg); /* Slightly lighter dark green when open */
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--page-gdpr-text-main);
    cursor: pointer;
    position: relative;
    list-style: none; /* Remove default marker for summary */
    -webkit-tap-highlight-color: transparent; /* Prevent blue highlight on tap */
}

.page-gdpr__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker in Webkit browsers */
}

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

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to cross when open */
}

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

/* Related Links */
.page-gdpr__related-links {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
    margin-top: 20px;
}

.page-gdpr__related-links li {
    margin-bottom: 10px;
}

.page-gdpr__related-links a {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--page-gdpr-deep-green);
    border: 1px solid var(--page-gdpr-border-color);
    border-radius: 5px;
    color: var(--page-gdpr-gold-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-gdpr__related-links a:hover {
    background-color: var(--page-gdpr-border-color);
    color: var(--page-gdpr-text-main);
}


/* --- Responsive Design --- */

/* Mobile adaptation for images and containers */
@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }

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

    .page-gdpr__hero-image {
        margin-bottom: 20px;
    }

    .page-gdpr__main-title {
        font-size: 2em;
    }

    .page-gdpr__description {
        font-size: 1em;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-gdpr__container {
        padding-left: 0;
        padding-right: 0;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

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

    .page-gdpr p,
    .page-gdpr ul li {
        font-size: 0.95em;
    }

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

    /* Video responsiveness (if any) */
    .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__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

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