/* style/gdpr.css */

/* Variables for consistent styling */
:root {
    --page-gdpr-primary-color: #0A192F;
    --page-gdpr-secondary-color: #FFD700;
    --page-gdpr-text-light: #F8F8F8; /* Adjusted for better contrast on dark */
    --page-gdpr-text-dark: #222222; /* Darker for contrast on light */
    --page-gdpr-accent-dark: #b39700; /* Darker variant of secondary for text on it */
    --page-gdpr-background-light: #FFFFFF;
    --page-gdpr-background-dark: #0A192F;
    --page-gdpr-border-color: #334455;
    --page-gdpr-spacing-sm: 15px;
    --page-gdpr-spacing-md: 30px;
    --page-gdpr-spacing-lg: 60px;
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-gdpr-text-dark);
    background-color: var(--page-gdpr-background-light);
}

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--page-gdpr-spacing-sm);
}

.page-gdpr__hero {
    background: linear-gradient(135deg, var(--page-gdpr-primary-color) 0%, #1a3458 100%); /* Slightly lighter gradient for visual appeal */
    color: var(--page-gdpr-text-light);
    padding: var(--page-gdpr-spacing-lg) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-gdpr__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,security,data_pattern]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-gdpr__hero > .page-gdpr__container {
    position: relative;
    z-index: 1;
}

.page-gdpr__title {
    font-size: 3.2em;
    margin-bottom: var(--page-gdpr-spacing-sm);
    color: var(--page-gdpr-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__subtitle {
    font-size: 1.4em;
    margin-bottom: var(--page-gdpr-spacing-md);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__section {
    padding: var(--page-gdpr-spacing-lg) 0;
    background-color: var(--page-gdpr-background-light);
}

.page-gdpr__section--dark {
    background-color: var(--page-gdpr-background-dark);
    color: var(--page-gdpr-text-light);
}

.page-gdpr__section-content {
    display: flex;
    flex-direction: column;
    gap: var(--page-gdpr-spacing-md);
}

.page-gdpr__heading {
    font-size: 2.5em;
    color: var(--page-gdpr-primary-color);
    margin-bottom: var(--page-gdpr-spacing-md);
    text-align: left;
}

.page-gdpr__section--dark .page-gdpr__heading {
    color: var(--page-gdpr-secondary-color);
}

.page-gdpr__heading--center {
    text-align: center;
}

.page-gdpr__description {
    font-size: 1.1em;
    margin-bottom: var(--page-gdpr-spacing-md);
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__text-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--page-gdpr-spacing-sm);
}

.page-gdpr__text-block p {
    font-size: 1.1em;
    line-height: 1.8;
}

.page-gdpr__keyword {
    color: var(--page-gdpr-secondary-color);
    font-weight: bold;
}

.page-gdpr__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.page-gdpr__image:hover {
    transform: translateY(-5px);
}

.page-gdpr__section-content .page-gdpr__image--right {
    align-self: flex-end;
}

.page-gdpr__section-content .page-gdpr__image--left {
    align-self: flex-start;
}

.page-gdpr__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--page-gdpr-spacing-md);
    margin-top: var(--page-gdpr-spacing-md);
}

.page-gdpr__grid-item {
    background-color: var(--page-gdpr-background-light);
    padding: var(--page-gdpr-spacing-md);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid var(--page-gdpr-border-color);
    transition: all 0.3s ease;
}

.page-gdpr__section--dark .page-gdpr__grid-item {
    background-color: #1a2b42;
    color: var(--page-gdpr-text-light);
    border-color: #2b3e5a;
}

.page-gdpr__grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-gdpr__icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--page-gdpr-spacing-sm);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.page-gdpr__grid-item h3 {
    color: var(--page-gdpr-primary-color);
    font-size: 1.4em;
    margin-bottom: var(--page-gdpr-spacing-sm);
}

.page-gdpr__section--dark .page-gdpr__grid-item h3 {
    color: var(--page-gdpr-secondary-color);
}

.page-gdpr__grid-item p {
    font-size: 1em;
    color: var(--page-gdpr-text-dark);
}

.page-gdpr__section--dark .page-gdpr__grid-item p {
    color: var(--page-gdpr-text-light);
}

.page-gdpr__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    text-align: center;
    cursor: pointer;
}

.page-gdpr__button--primary {
    background-color: var(--page-gdpr-secondary-color);
    color: var(--page-gdpr-primary-color);
    border: 2px solid var(--page-gdpr-secondary-color);
}

.page-gdpr__button--primary:hover {
    background-color: var(--page-gdpr-accent-dark);
    border-color: var(--page-gdpr-accent-dark);
    transform: translateY(-2px);
}

.page-gdpr__button--secondary {
    background-color: transparent;
    color: var(--page-gdpr-secondary-color);
    border: 2px solid var(--page-gdpr-secondary-color);
}

.page-gdpr__button--secondary:hover {
    background-color: var(--page-gdpr-secondary-color);
    color: var(--page-gdpr-primary-color);
    transform: translateY(-2px);
}

.page-gdpr__cta-section {
    text-align: center;
    margin-top: var(--page-gdpr-spacing-lg);
}

.page-gdpr__cta-section p {
    font-size: 1.2em;
    margin-bottom: var(--page-gdpr-spacing-md);
    color: var(--page-gdpr-text-dark);
}

.page-gdpr__section--dark .page-gdpr__cta-section p {
    color: var(--page-gdpr-text-light);
}

.page-gdpr__section--cta {
    background: linear-gradient(90deg, var(--page-gdpr-primary-color) 0%, #1a3458 100%);
    color: var(--page-gdpr-text-light);
    text-align: center;
    padding: var(--page-gdpr-spacing-lg) 0;
}

.page-gdpr__section--cta .page-gdpr__heading {
    color: var(--page-gdpr-secondary-color);
    margin-bottom: var(--page-gdpr-spacing-sm);
}

.page-gdpr__section--cta .page-gdpr__description {
    color: var(--page-gdpr-text-light);
    margin-bottom: var(--page-gdpr-spacing-md);
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--page-gdpr-spacing-sm);
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .page-gdpr__section-content {
        flex-direction: row;
        align-items: center;
    }

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

    .page-gdpr__image {
        flex: 1;
        max-width: 40%;
    }

    .page-gdpr__section-content .page-gdpr__image--right {
        order: 2;
        margin-left: var(--page-gdpr-spacing-md);
    }

    .page-gdpr__section-content .page-gdpr__image--left {
        order: 1;
        margin-right: var(--page-gdpr-spacing-md);
    }

    .page-gdpr__hero {
        padding: 100px 0;
    }

    .page-gdpr__title {
        font-size: 4em;
    }

    .page-gdpr__subtitle {
        font-size: 1.6em;
    }

    .page-gdpr__heading {
        font-size: 3em;
    }

    .page-gdpr__cta-buttons {
        gap: var(--page-gdpr-spacing-md);
    }
}

@media (max-width: 767px) {
    .page-gdpr__title {
        font-size: 2.5em;
    }

    .page-gdpr__subtitle {
        font-size: 1.2em;
    }

    .page-gdpr__heading {
        font-size: 2em;
        text-align: center;
    }

    .page-gdpr__section-content .page-gdpr__image--right,
    .page-gdpr__section-content .page-gdpr__image--left {
        margin: var(--page-gdpr-spacing-md) auto;
        max-width: 80%;
    }

    .page-gdpr__grid-item {
        padding: var(--page-gdpr-spacing-sm);
    }

    .page-gdpr__button {
        width: 100%;
        max-width: 280px;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Ensure contrast for all elements */
.page-gdpr p, .page-gdpr li, .page-gdpr span {
    /* Default text color for light background sections */
    color: var(--page-gdpr-text-dark);
}
.page-gdpr__section--dark p, .page-gdpr__section--dark li, .page-gdpr__section--dark span {
    /* Text color for dark background sections */
    color: var(--page-gdpr-text-light);
}
.page-gdpr__grid-item p {
    color: var(--page-gdpr-text-dark);
}
.page-gdpr__section--dark .page-gdpr__grid-item p {
    color: var(--page-gdpr-text-light);
}

/* Ensure button text has enough contrast */
.page-gdpr__button--primary {
    color: var(--page-gdpr-primary-color);
}
.page-gdpr__button--secondary {
    color: var(--page-gdpr-secondary-color);
}
.page-gdpr__button--secondary:hover {
    color: var(--page-gdpr-primary-color);
}