/* style/gdpr-compliance.css */
:root {
    --primary-color: #0A246A;
    --secondary-color: #FFD700;
    --accent-color: #DC3545; /* A subtle red for emphasis */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f7f6;
    --bg-dark: #0A1F5B;
    --border-color: #e0e0e0;
}

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

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

.page-gdpr-compliance h1, .page-gdpr-compliance h2, .page-gdpr-compliance h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-gdpr-compliance h1 {
    font-size: 2.8em;
    text-align: center;
    color: var(--text-light);
}

.page-gdpr-compliance h2 {
    font-size: 2.2em;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-top: 40px;
}

.page-gdpr-compliance h3 {
    font-size: 1.6em;
    color: var(--bg-dark);
    margin-top: 30px;
}

.page-gdpr-compliance p {
    margin-bottom: 15px;
}

.page-gdpr-compliance ul {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-gdpr-compliance ul li {
    margin-bottom: 8px;
}

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

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

/* Hero Section */
.page-gdpr-compliance .gdpr-hero {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: var(--bg-dark); /* Fallback background */
    color: var(--text-light);
}

.page-gdpr-compliance .gdpr-hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-gdpr-compliance .gdpr-hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 30px;
}

.page-gdpr-compliance .gdpr-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-gdpr-compliance .gdpr-hero-content p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 20px auto 30px auto;
}

.page-gdpr-compliance .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr-compliance .cta-button:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Sections Styling */
.page-gdpr-compliance .gdpr-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.page-gdpr-compliance .introduction {
    background-color: var(--bg-light);
}

.page-gdpr-compliance .data-collection, .page-gdpr-compliance .legal-bases, .page-gdpr-compliance .data-retention, .page-gdpr-compliance .cookies {
    background-color: #ffffff;
}

.page-gdpr-compliance .data-usage, .page-gdpr-compliance .user-rights, .page-gdpr-compliance .security-measures, .page-gdpr-compliance .data-sharing, .page-gdpr-compliance .contact-privacy, .page-gdpr-compliance .policy-changes {
    background-color: var(--bg-light);
}

.page-gdpr-compliance .content-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* FAQ Styling */
.page-gdpr-compliance .faq {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-gdpr-compliance .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.page-gdpr-compliance .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-gdpr-compliance .faq-question:hover {
    background: #f5f5f5;
}

.page-gdpr-compliance .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.page-gdpr-compliance .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.page-gdpr-compliance .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--accent-color);
}

.page-gdpr-compliance .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 20px;
    background: #f9f9f9;
}

.page-gdpr-compliance .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.page-gdpr-compliance .faq-answer p {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-gdpr-compliance h1 {
        font-size: 2.2em;
    }
    .page-gdpr-compliance h2 {
        font-size: 1.8em;
    }
    .page-gdpr-compliance h3 {
        font-size: 1.4em;
    }
    .page-gdpr-compliance .gdpr-hero-content p {
        font-size: 1em;
    }
    .page-gdpr-compliance .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-gdpr-compliance .gdpr-hero {
        padding: 40px 15px;
    }
    .page-gdpr-compliance h1 {
        font-size: 1.8em;
    }
    .page-gdpr-compliance h2 {
        font-size: 1.6em;
    }
    .page-gdpr-compliance h3 {
        font-size: 1.3em;
    }
    .page-gdpr-compliance .gdpr-hero-image {
        margin-bottom: 20px;
    }
    .page-gdpr-compliance .gdpr-hero-content p {
        margin: 15px auto 20px auto;
    }
    .page-gdpr-compliance .gdpr-section {
        padding: 30px 0;
    }
    .page-gdpr-compliance .faq-question {
        padding: 15px;
    }
    .page-gdpr-compliance .faq-question h3 {
        font-size: 1.1em;
    }
    .page-gdpr-compliance .faq-toggle {
        font-size: 20px;
    }
    .page-gdpr-compliance .faq-answer {
        padding: 0 15px;
    }
    .page-gdpr-compliance .faq-item.active .faq-answer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-gdpr-compliance h1 {
        font-size: 1.5em;
    }
    .page-gdpr-compliance h2 {
        font-size: 1.4em;
    }
    .page-gdpr-compliance h3 {
        font-size: 1.2em;
    }
    .page-gdpr-compliance .cta-button {
        padding: 10px 25px;
        font-size: 14px;
    }
    .page-gdpr-compliance .container {
        padding: 15px;
    }
    .page-gdpr-compliance ul {
        padding-left: 15px;
    }
}