/* style/gdpr.css */

/* Variables for consistency */
:root {
    --page-gdpr-primary-color: #0A246A;
    --page-gdpr-secondary-color: #FFD700;
    --page-gdpr-text-dark: #333;
    --page-gdpr-text-light: #f8f8f8;
    --page-gdpr-bg-light: #ffffff;
    --page-gdpr-bg-dark: #0A246A;
    --page-gdpr-accent-color: #FFD700;
}

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

.page-gdpr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-gdpr-hero {
    background: linear-gradient(135deg, var(--page-gdpr-bg-dark) 0%, #1A3C8A 100%); /* Slightly lighter blue for gradient */
    color: var(--page-gdpr-text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-gdpr-hero-title {
    font-size: 3.2em;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--page-gdpr-secondary-color); /* Gold for emphasis */
}

.page-gdpr-hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: var(--page-gdpr-text-light);
}

.page-gdpr-hero-image {
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    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.5em;
    color: var(--page-gdpr-primary-color);
    text-align: center;
    margin-bottom: 40px;
    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-subsection-title {
    font-size: 1.8em;
    color: var(--page-gdpr-primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid var(--page-gdpr-secondary-color);
    padding-left: 15px;
}

.page-gdpr p {
    font-size: 1.1em;
    margin-bottom: 1em;
    line-height: 1.8;
    color: #555;
}

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

.page-gdpr-list {
    list-style-type: disc;
    margin-left: 40px;
    margin-bottom: 20px;
    color: #666;
}

.page-gdpr-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

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

/* Images within sections */
.page-gdpr-image {
    max-width: 40%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
    float: left;
    margin-right: 30px;
}

.page-gdpr-image.page-gdpr-image-right {
    float: right;
    margin-left: 30px;
    margin-right: 0;
}

.page-gdpr-data-collection .page-gdpr-container,
.page-gdpr-user-rights .page-gdpr-container,
.page-gdpr-data-security .page-gdpr-container,
.page-gdpr-data-sharing .page-gdpr-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}

.page-gdpr-data-collection .page-gdpr-container > div,
.page-gdpr-user-rights .page-gdpr-container > div,
.page-gdpr-data-security .page-gdpr-container > div,
.page-gdpr-data-sharing .page-gdpr-container > div {
    flex: 1;
    min-width: 45%; /* Adjust as needed */
}

.page-gdpr-data-collection .page-gdpr-image,
.page-gdpr-user-rights .page-gdpr-image,
.page-gdpr-data-security .page-gdpr-image,
.page-gdpr-data-sharing .page-gdpr-image {
    flex: 0 0 45%; /* Fixed width for images */
    margin: 0;
    float: none;
    order: 2; /* Image after text on mobile */
}

.page-gdpr-data-collection .page-gdpr-image-right,
.page-gdpr-data-security .page-gdpr-image-right {
    order: 3; /* Image after text on mobile */
}

.page-gdpr-data-collection .page-gdpr-container > *:nth-child(even),
.page-gdpr-data-security .page-gdpr-container > *:nth-child(even) {
    order: 1;
}

/* Clear floats */
.page-gdpr-section::after {
    content: "";
    display: table;
    clear: both;
}

/* Call to Action */
.page-gdpr-cta-text {
    text-align: center;
    font-size: 1.2em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--page-gdpr-primary-color);
    font-weight: bold;
}

.page-gdpr-cta-button-wrapper {
    text-align: center;
    margin-top: 30px;
}

.page-gdpr-btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr-btn-primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr a:hover {
    color: var(--page-gdpr-secondary-color);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-gdpr-hero-title {
        font-size: 2.5em;
    }
    .page-gdpr-hero-subtitle {
        font-size: 1.2em;
    }
    .page-gdpr-section-title {
        font-size: 2em;
    }
    .page-gdpr-subsection-title {
        font-size: 1.5em;
    }
    .page-gdpr p,
    .page-gdpr-list li {
        font-size: 1em;
    }
    .page-gdpr-image {
        float: none;
        margin: 30px auto;
        max-width: 80%;
        display: block;
    }
    .page-gdpr-image.page-gdpr-image-right {
        float: none;
        margin: 30px auto;
    }
    .page-gdpr-data-collection .page-gdpr-container,
    .page-gdpr-user-rights .page-gdpr-container,
    .page-gdpr-data-security .page-gdpr-container,
    .page-gdpr-data-sharing .page-gdpr-container {
        flex-direction: column;
        align-items: center;
    }
    .page-gdpr-data-collection .page-gdpr-container > div,
    .page-gdpr-user-rights .page-gdpr-container > div,
    .page-gdpr-data-security .page-gdpr-container > div,
    .page-gdpr-data-sharing .page-gdpr-container > div {
        min-width: 100%;
        order: 1;
    }
    .page-gdpr-data-collection .page-gdpr-image,
    .page-gdpr-user-rights .page-gdpr-image,
    .page-gdpr-data-security .page-gdpr-image,
    .page-gdpr-data-sharing .page-gdpr-image {
        order: 2;
        margin: 30px auto;
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-gdpr-hero {
        padding: 60px 0;
    }
    .page-gdpr-hero-title {
        font-size: 2em;
    }
    .page-gdpr-hero-subtitle {
        font-size: 1em;
    }
    .page-gdpr-section {
        padding: 40px 0;
    }
    .page-gdpr-section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-gdpr-subsection-title {
        font-size: 1.3em;
    }
    .page-gdpr-list {
        margin-left: 20px;
    }
    .page-gdpr-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-gdpr-hero-image {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .page-gdpr-hero-title {
        font-size: 1.8em;
    }
    .page-gdpr-hero-subtitle {
        font-size: 0.9em;
    }
    .page-gdpr-section-title {
        font-size: 1.5em;
    }
    .page-gdpr-subsection-title {
        font-size: 1.2em;
    }
    .page-gdpr p,
    .page-gdpr-list li {
        font-size: 0.95em;
    }
    .page-gdpr-list {
        margin-left: 15px;
    }
}