/* style/gdpr.css */

/* Assume body has a dark background from shared.css, e.g., --bg-color: #08160F */
.page-gdpr {
    color: var(--text-main, #F2FFF6); /* Default text color for dark backgrounds */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--background, #08160F);
    color: var(--text-main, #F2FFF6);
    text-align: center;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

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

.page-gdpr__hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
    position: relative; /* Ensure content is above any potential background elements */
}

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-main, #F2FFF6);
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin: 0 10px 15px;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

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

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

.page-gdpr__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.page-gdpr__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--card-bg, #11271B); /* Using a slightly lighter dark for content area */
    color: var(--text-main, #F2FFF6);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
}

.page-gdpr__container {
    max-width: 960px;
    margin: 0 auto;
}

.page-gdpr__section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main, #F2FFF6);
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
}

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

.page-gdpr__paragraph {
    font-size: 1rem;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 20px;
}

.page-gdpr__image-text-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.page-gdpr__image-inline {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-gdpr__bullet-list {
    flex: 1;
    min-width: 300px;
    list-style: disc inside;
    padding-left: 20px;
    color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__list-item {
    margin-bottom: 10px;
    font-size: 1rem;
}

.page-gdpr__list-item strong {
    color: var(--text-main, #F2FFF6);
}

.page-gdpr__inline-link {
    color: var(--glow, #57E38D);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__inline-link:hover {
    color: var(--gold, #F2C14E);
}

.page-gdpr__image-block {
    margin: 40px 0;
    text-align: center;
}

.page-gdpr__image-full-width {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.page-gdpr__contact-info {
    background-color: var(--deep-green, #0A4B2C);
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
    border: 1px solid var(--divider, #1E3A2A);
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-gdpr__faq-section {
    background-color: var(--background, #08160F);
    padding: 60px 20px;
    color: var(--text-main, #F2FFF6);
}

.page-gdpr__faq-list {
    max-width: 960px;
    margin: 40px auto 0;
}

.page-gdpr__faq-item {
    background-color: var(--card-bg, #11271B);
    border: 1px solid var(--divider, #1E3A2A);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main, #F2FFF6);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
    list-style: none; /* For details summary */
}

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

.page-gdpr__faq-question:hover {
    background-color: var(--deep-green, #0A4B2C);
}

.page-gdpr__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow, #57E38D);
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--text-secondary, #A7D9B8);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding-top: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

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

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

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

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important;
        margin: 0 0 15px 0;
        padding: 12px 20px;
    }

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

    .page-gdpr__content-area {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

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

    .page-gdpr__paragraph,
    .page-gdpr__list-item {
        font-size: 0.95rem;
    }

    .page-gdpr__image-text-block {
        flex-direction: column;
        gap: 20px;
    }

    .page-gdpr__image-inline,
    .page-gdpr__image-full-width {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-gdpr__bullet-list {
        padding-left: 15px;
        width: 100%;
    }

    .page-gdpr__contact-info {
        padding: 20px;
    }

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

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

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

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

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: clamp(1.6rem, 9vw, 2.2rem);
    }

    .page-gdpr__hero-description {
        font-size: 0.9rem;
    }

    .page-gdpr__section-title {
        font-size: 1.6rem;
    }
}