/* style/gdpr.css */

/* General styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Main text color for dark background */
    background-color: #0A0A0A; /* Overall page background */
}

/* Ensure body padding-top is handled by shared.css for header offset */
/* The first section should have a small top padding */
.page-gdpr__hero-section {
    position: relative;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-gdpr__hero-container {
    max-width: 1200px;
    width: 100%; /* Ensure full width on desktop too */
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    gap: 30px;
    box-sizing: border-box;
    padding: 0 20px;
}

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

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

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    color: #FFD36B; /* Glow color for main title */
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.5); /* Subtle glow effect */
}

.page-gdpr__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFF6D6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__content-section {
    padding: 60px 20px;
    background-color: #0A0A0A; /* Use custom background color for sections */
}

.page-gdpr__dark-section {
    background-color: #111111; /* Card BG color for alternating sections */
}

.page-gdpr__container {
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 20px; /* Inner padding for content */
}

.page-gdpr__section-title {
    font-size: 2.2em;
    color: #F2C14E; /* Main brand color for section titles */
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.page-gdpr__text-block {
    margin-bottom: 20px;
    color: #FFF6D6;
    font-size: 1em;
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #FFF6D6;
}

.page-gdpr__list-item {
    margin-bottom: 10px;
    color: #FFF6D6;
}

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

.page-gdpr__btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A; /* Dark text for light button background */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #FFE699 0%, #E6B02A 100%);
    transform: translateY(-2px);
}

.page-gdpr__link {
    color: #FFD36B; /* Glow color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: #FFF6D6;
    text-decoration: underline;
}

/* FAQ Section Styles */
.page-gdpr__faq-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    color: #FFF6D6;
    background-color: #111111;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: #1A1A1A;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #F2C14E; /* Main color for toggle icon */
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg);
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #FFF6D6;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 15px 25px;
}

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

    .page-gdpr__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 40px;
    }

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

    .page-gdpr__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em); /* Smaller H1 on mobile */
    }

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

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

    .page-gdpr__container {
        padding: 0; /* Remove inner padding on mobile, section padding handles it */
    }

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

    /* Mobile image adaptation */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile button adaptation */
    .page-gdpr__btn-primary,
    .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;
        text-align: 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; /* Ensure flex context for wrap/column */
        flex-direction: column; /* Stack buttons vertically on mobile */
    }

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

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

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

/* Color Contrast Fixes (if needed) - applying generally based on theme */
/* Assuming --bg-color is dark, so main text should be light */
.page-gdpr {
    color: #FFF6D6; /* Ensure light text on dark background */
}

.page-gdpr__card {
    background: #111111; /* Card BG */
    color: #FFF6D6;
    border: 1px solid #3A2A12; /* Border */
}

.page-gdpr__btn-primary {
    color: #0A0A0A; /* Dark text on gradient button */
}

.page-gdpr__link {
    color: #FFD36B; /* Glow color for links, ensures contrast */
}

/* Specific elements to ensure contrast */
.page-gdpr__hero-content h1,
.page-gdpr__section-title {
    color: #FFD36B; /* Brighter accent for titles */
}

.page-gdpr__text-block strong {
    color: #F2C14E; /* Highlight strong text with brand color */
}