/* style/gdpr.css */

:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg: #FFFFFF;
    --body-bg: #F4F7FB;
    --text-main: #1F2D3D;
    --text-black: #000000;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
}

.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--body-bg); /* Default background color for the page */
}

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

/* Top Section */
.page-gdpr__top-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    background-color: var(--card-bg);
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size for H1 */
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-gdpr__lead-paragraph {
    font-size: 1.1em;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-gdpr__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-gdpr__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-gdpr__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    box-shadow: 0 4px 15px var(--glow-color);
}

.page-gdpr__btn-secondary {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-gdpr__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* Content Section */
.page-gdpr__content-section {
    padding: 60px 0;
    background-color: var(--body-bg);
}

.page-gdpr__article-wrap {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-gdpr__section-title {
    font-size: 2em;
    color: var(--text-black);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.page-gdpr__sub-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-gdpr__text-block {
    font-size: 1em;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.7;
}

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

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

.page-gdpr__list-item strong {
    color: var(--text-black);
}

.page-gdpr__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

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

.page-gdpr__image-caption {
    font-size: 0.9em;
    color: var(--text-main);
    margin-top: 10px;
    font-style: italic;
}

.page-gdpr__contact-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.page-gdpr__promo-box {
    background: var(--button-gradient);
    color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-gdpr__promo-title {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-gdpr__promo-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #ffffff;
}

.page-gdpr__faq-section {
    margin-top: 40px;
}

.page-gdpr__faq-question-title {
    font-size: 1.2em;
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-gdpr__faq-answer-text {
    font-size: 1em;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.7;
}

.page-gdpr a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-gdpr a:hover {
    text-decoration: underline;
}

/* --- Responsive Styles --- */

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

    .page-gdpr__container {
        padding: 0 15px;
    }

    /* Top Section */
    .page-gdpr__top-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 30px;
    }

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

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

    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px; /* Add padding to button container */
    }

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

    /* Content Section */
    .page-gdpr__content-section {
        padding: 30px 0;
    }

    .page-gdpr__article-wrap {
        padding: 20px;
        border-radius: 8px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-gdpr__sub-title {
        font-size: 1.2em;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .page-gdpr__text-block,
    .page-gdpr__list-item,
    .page-gdpr__image-caption {
        font-size: 0.95em;
    }

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

    /* Ensure containers with images are responsive */
    .page-gdpr__image-wrapper,
    .page-gdpr__contact-box,
    .page-gdpr__promo-box,
    .page-gdpr__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: 0;
        margin-right: 0;
    }

    .page-gdpr__contact-box, .page-gdpr__promo-box {
        padding: 20px;
    }

    .page-gdpr__promo-title {
        font-size: 1.5em;
    }

    .page-gdpr__promo-text {
        font-size: 1em;
    }

    .page-gdpr__faq-question-title {
        font-size: 1.1em;
    }

    .page-gdpr__faq-answer-text {
        font-size: 0.95em;
    }
}

/* Tablet @media (max-width: 1024px) */
@media (max-width: 1024px) {
    .page-gdpr__container {
        padding: 0 25px;
    }

    .page-gdpr__article-wrap {
        padding: 30px;
    }

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

    .page-gdpr__lead-paragraph {
        font-size: 1.05em;
    }

    .page-gdpr__section-title {
        font-size: 1.8em;
    }

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

    .page-gdpr__promo-title {
        font-size: 1.8em;
    }
}