/* style/gdpr.css */

/* Variables for colors */
:root {
    --page-gdpr-primary-color: #1A2B4C; /* Dark blue */
    --page-gdpr-secondary-color: #FFD700; /* Gold */
    --page-gdpr-text-light: #F0F0F0; /* Light text for dark backgrounds */
    --page-gdpr-text-dark: #333333; /* Dark text for light backgrounds */
    --page-gdpr-background-light: #FFFFFF; /* White background */
    --page-gdpr-background-dark: #1A2B4C; /* Dark blue background */
    --page-gdpr-accent-color: #e5d4b3; /* Complementary to primary for emphasis */
}

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

.page-gdpr__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-gdpr__hero {
    background-color: var(--page-gdpr-background-dark);
    color: var(--page-gdpr-text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-gdpr__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--page-gdpr-primary-color) 0%, #0D1C3A 100%); /* Subtle gradient */
    opacity: 0.9;
    z-index: 0;
}

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

.page-gdpr__title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--page-gdpr-secondary-color); /* Gold title */
    font-weight: bold;
}

.page-gdpr__subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--page-gdpr-text-light);
}

.page-gdpr__hero-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 30px;
}

/* General Section Styling */
.page-gdpr__section {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

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

.page-gdpr__section-title {
    font-size: 2.2em;
    color: var(--page-gdpr-primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.page-gdpr__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-gdpr-secondary-color);
    border-radius: 2px;
}

.page-gdpr__text {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--page-gdpr-text-dark);
}

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

.page-gdpr__list li {
    background-color: #f9f9f9;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid var(--page-gdpr-secondary-color);
    border-radius: 5px;
    font-size: 1.05em;
    color: var(--page-gdpr-text-dark);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-gdpr__list li strong {
    color: var(--page-gdpr-primary-color);
}

.page-gdpr__content-image {
    display: block;
    max-width: 80%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.page-gdpr__buttons {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between buttons */
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-gdpr__btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 200px; /* Ensure buttons are not too small */
}

.page-gdpr__btn--primary {
    background-color: var(--page-gdpr-secondary-color);
    color: var(--page-gdpr-primary-color); /* Dark blue text on gold button */
    border: 2px solid var(--page-gdpr-secondary-color);
}

.page-gdpr__btn--primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    box-shadow: 0 8px 15px rgba(255, 215, 0, 0.4);
    transform: translateY(-3px);
}

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

.page-gdpr__btn--secondary:hover {
    background-color: var(--page-gdpr-primary-color);
    color: var(--page-gdpr-text-light);
    box-shadow: 0 8px 15px rgba(26, 43, 76, 0.3);
    transform: translateY(-3px);
}

/* Fade-in effect for sections */
.page-gdpr .fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.page-gdpr .fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-gdpr__title {
        font-size: 2.2em;
    }

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

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

    .page-gdpr__text, .page-gdpr__list li {
        font-size: 1em;
    }

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

    .page-gdpr__section {
        padding: 40px 0;
    }

    .page-gdpr__buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-gdpr__btn {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
}

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

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

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

    .page-gdpr__text, .page-gdpr__list li {
        font-size: 0.9em;
    }

    .page-gdpr__hero-image, .page-gdpr__content-image {
        max-width: 95%;
    }
}