/* style/gdpr.css */

/* Variables from custom palette */
: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-color: #0A4B2C;
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    padding-top: 10px; /* Small top padding for hero section */
    overflow: hidden;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Limit height for aesthetic */
}

.page-gdpr__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 without fixed large size */
    color: var(--page-gdpr-gold-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-gdpr__subtitle {
    font-size: 1.25rem;
    color: var(--page-gdpr-text-secondary);
    margin-bottom: 30px;
}

/* Content Area */
.page-gdpr__content-area {
    background-color: var(--page-gdpr-background); /* Ensure consistency */
    padding: 60px 20px;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Inner padding for container */
    box-sizing: border-box;
}

.page-gdpr__section-title {
    font-size: 2.2rem;
    color: var(--page-gdpr-secondary-color);
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: bold;
    border-bottom: 2px solid var(--page-gdpr-divider-color);
    padding-bottom: 15px;
}

.page-gdpr__sub-section-title {
    font-size: 1.8rem;
    color: var(--page-gdpr-primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-gdpr__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--page-gdpr-text-main);
}

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

.page-gdpr__list li strong {
    color: var(--page-gdpr-text-main); /* Ensure strong text is visible */
}

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

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

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

/* CTA Button */
.page-gdpr__cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    margin-bottom: 30px;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    background: var(--page-gdpr-button-gradient);
    color: var(--page-gdpr-text-main); /* White text on button */
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-button--secondary {
    background: var(--page-gdpr-card-bg); /* Darker background for secondary */
    color: var(--page-gdpr-gold-color); /* Gold text for contrast */
    border: 1px solid var(--page-gdpr-border-color);
}

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

/* FAQ Section */
.page-gdpr__faq-section {
    margin-top: 40px;
    border-top: 1px solid var(--page-gdpr-divider-color);
    padding-top: 20px;
}

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

.page-gdpr__faq-item details { /* Base for details tag */
    color: var(--page-gdpr-text-main);
}

.page-gdpr__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--page-gdpr-gold-color);
    background-color: var(--page-gdpr-card-bg);
    border-bottom: 1px solid transparent; /* default */
    list-style: none; /* Remove default marker */
}

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
}

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

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

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

.page-gdpr__faq-answer {
    padding: 15px 25px 25px;
    font-size: 1rem;
    color: var(--page-gdpr-text-secondary);
    background-color: var(--page-gdpr-deep-green-color); /* Slightly different background for answer */
    border-top: 1px solid var(--page-gdpr-border-color);
}

.page-gdpr__faq-answer p {
    margin-bottom: 0;
    color: var(--page-gdpr-text-secondary);
}

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

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

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

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

    .page-gdpr__main-title {
        font-size: 2rem !important;
    }

    .page-gdpr__subtitle {
        font-size: 1rem !important;
    }

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

    .page-gdpr__container {
        padding: 0; /* Remove inner padding as content-area handles it */
    }

    .page-gdpr__section-title {
        font-size: 1.8rem !important;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .page-gdpr__sub-section-title {
        font-size: 1.5rem !important;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    /* Images responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure min size on mobile too */
        min-height: 200px !important; /* Ensure min size on mobile too */
    }

    /* All containers that might hold images/buttons/videos */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-section,
    .page-gdpr__cta-wrapper,
    .page-gdpr__faq-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 horizontal scroll */
    }

    /* Specific elements that are buttons */
    .page-gdpr__cta-button,
    .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: 12px 15px; /* Adjust padding for mobile buttons */
        font-size: 1rem !important;
    }

    .page-gdpr__cta-wrapper {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

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

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