/* style/gdpr.css */

/* Custom properties for colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
    --gradient-button: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-gdpr {
    background-color: var(--color-background); /* Dark background */
    color: var(--color-text-main); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-gdpr h1,
.page-gdpr h2,
.page-gdpr h3,
.page-gdpr h4,
.page-gdpr h5,
.page-gdpr h6 {
    color: var(--color-text-main); /* Headings also light */
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* H1 font size with clamp */
    font-weight: bold;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__intro-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    color: var(--color-text-secondary);
}

.page-gdpr__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    font-weight: bold;
    margin-bottom: 25px;
    text-align: center;
    color: var(--color-gold); /* Using gold for section titles for emphasis */
}

.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    overflow: hidden;
    background-color: var(--color-deep-green); /* A deeper green for the hero section background */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px; /* Space between image and text */
    overflow: hidden;
    box-sizing: border-box;
}

.page-gdpr__hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.page-gdpr__cta-button {
    display: inline-block;
    background: var(--gradient-button);
    color: var(--color-text-main);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-gdpr__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-button--bottom {
    margin-top: 40px;
}

.page-gdpr__content-section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--color-divider);
}

.page-gdpr__content-section:last-of-type {
    border-bottom: none;
}

.page-gdpr__light-bg {
    background-color: var(--color-background); /* Use the main background color */
    color: var(--color-text-main);
}

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

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-gdpr__text-block {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: var(--color-text-secondary);
}

.page-gdpr__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-gdpr__list-item {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--color-text-secondary);
}

.page-gdpr__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--color-glow); /* Using glow color for list item checkmark */
}

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

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

.page-gdpr__flex-row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-gdpr__flex-row--reverse {
    flex-direction: row-reverse;
}

.page-gdpr__image-wrapper {
    flex: 1;
    min-width: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__content-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.page-gdpr__text-wrapper {
    flex: 2;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__flex-row {
        flex-direction: column;
        text-align: center;
    }

    .page-gdpr__flex-row--reverse {
        flex-direction: column;
    }

    .page-gdpr__image-wrapper {
        margin-bottom: 30px;
    }

    .page-gdpr__text-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .page-gdpr__section-title,
    .page-gdpr__intro-description {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 10px 15px 40px;
    }

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

    .page-gdpr__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
    }

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

    .page-gdpr__cta-button {
        padding: 12px 25px;
        font-size: 0.9em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-gdpr__content-section,
    .page-gdpr__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* All images must be responsive */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Image containers */
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

/* Ensure no CSS filter on images */
.page-gdpr img {
    filter: none !important;
}

/* Fixed header spacing - page should not add padding-top for header offset */
.page-gdpr__hero-section {
    padding-top: 10px; /* Small decorative top padding, body handles --header-offset */
}

/* Mobile button group adaptation (if applicable) */
.page-gdpr__cta-buttons,
.page-gdpr__button-group,
.page-gdpr__btn-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap */
    justify-content: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .page-gdpr__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__btn-container {
        flex-direction: column; /* Stack buttons vertically on mobile */
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-gdpr__cta-button {
        margin: 0 auto; /* Center individual buttons if stacked */
    }
}