/* style/gdpr.css */

/* Root variables for colors, ensuring consistency with shared.css if applicable */
:root {
    --page-gdpr-bg: #08160F; /* Background */
    --page-gdpr-card-bg: #11271B; /* Card BG */
    --page-gdpr-text-main: #F2FFF6; /* Text Main */
    --page-gdpr-text-secondary: #A7D9B8; /* Text Secondary */
    --page-gdpr-border: #2E7A4E; /* Border */
    --page-gdpr-glow: #57E38D; /* Glow */
    --page-gdpr-gold: #F2C14E; /* Gold */
    --page-gdpr-divider: #1E3A2A; /* Divider */
    --page-gdpr-deep-green: #0A4B2C; /* Deep Green */
    --page-gdpr-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
}

.page-gdpr {
    background-color: var(--page-gdpr-bg);
    color: var(--page-gdpr-text-main); /* Main text is light on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px;
}

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, no var(--header-offset) */
    overflow: hidden;
    box-sizing: border-box;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height to prevent image from being too tall */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin-top: 30px;
    padding: 0 20px;
    box-sizing: border-box;
}

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

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

.page-gdpr__btn-primary {
    display: inline-block;
    background: var(--page-gdpr-btn-gradient);
    color: var(--page-gdpr-text-main); /* White text on button */
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.page-gdpr__content-section {
    padding: 50px 0;
}

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

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

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

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

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

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

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

.page-gdpr__link {
    color: var(--page-gdpr-glow);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: var(--page-gdpr-gold);
}

.page-gdpr__image-wrapper {
    margin: 30px 0;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-gdpr__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-gdpr__contact-info {
    margin-top: 20px;
    padding: 20px;
    background-color: var(--page-gdpr-deep-green);
    border-left: 5px solid var(--page-gdpr-glow);
    border-radius: 5px;
}

.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.page-gdpr__btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--page-gdpr-glow);
    border: 2px solid var(--page-gdpr-glow);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.page-gdpr__btn-secondary:hover {
    background: var(--page-gdpr-glow);
    color: var(--page-gdpr-bg); /* Dark text on light hover */
    transform: translateY(-2px);
}

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

.page-gdpr__faq-item {
    background-color: var(--page-gdpr-deep-green);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-sizing: border-box;
}

.page-gdpr__faq-item[open] {
    background-color: var(--page-gdpr-card-bg);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--page-gdpr-text-main);
    user-select: none;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    background-color: var(--page-gdpr-deep-green); /* Darker green when open */
    color: var(--page-gdpr-gold);
}

.page-gdpr__faq-question:hover {
    background-color: var(--page-gdpr-divider);
}

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

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    color: var(--page-gdpr-gold);
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 0.95em;
    color: var(--page-gdpr-text-secondary);
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

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


/* Responsive design */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em);
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__sub-title {
        font-size: 1.5em;
    }
}

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

    .page-gdpr__hero-section {
        padding: 10px 0 40px 0; /* Adjust padding */
    }

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

    .page-gdpr__main-title {
        font-size: clamp(1.5em, 6vw, 2.2em) !important;
        margin-bottom: 15px;
    }

    .page-gdpr__lead-text {
        font-size: 1em;
        margin-bottom: 20px;
    }

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

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

    .page-gdpr__content-section {
        padding: 30px 0;
    }

    .page-gdpr__container {
        padding: 0 15px !important; /* Force padding for mobile */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px; /* Still enforce minimum size */
        min-height: 200px; /* Still enforce minimum size */
    }
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Buttons responsiveness */
    .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-left: 15px;
        padding-right: 15px;
        text-align: center; /* Center button text if it wraps */
    }
    
    .page-gdpr__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
        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 {
        font-size: 1em;
        padding: 15px 20px;
    }

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