/* style/gdpr.css */
:root {
    --primary-color: #1A1A2E;
    --secondary-color: #FBC02D;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: var(--dark-bg, #1A1A2E);
    --background-light: #ffffff;
    --border-color: #e0e0e0;
}

.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for the page, assuming dark body background */
    background-color: var(--background-dark); /* Ensure background is dark if shared.css provides --dark-bg */
}

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    padding-bottom: 60px;
    background-color: var(--primary-color);
    color: var(--text-light);
    overflow: hidden;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 20px;
}

.page-gdpr__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.page-gdpr__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-gdpr__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle overlay */
    /* filter: grayscale(50%); -- Removed filter as per strict instructions */
}

/* General Content Sections */
.page-gdpr__content-section {
    padding: 60px 0;
}

.page-gdpr__intro-section {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-gdpr__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-gdpr__light-bg {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-gdpr__heading {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-gdpr__heading::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0 auto;
}

.page-gdpr__sub-heading {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-gdpr__list-item {
    margin-bottom: 10px;
}

.page-gdpr__list-item strong {
    color: var(--secondary-color);
}

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

/* Principles Grid */
.page-gdpr__principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    color: var(--text-light); /* Light text for dark background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-gdpr__card-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-gdpr__card-text {
    font-size: 1em;
    line-height: 1.6;
}

/* Contact Info */
.page-gdpr__contact-info {
    background-color: var(--background-light);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

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

.page-gdpr__contact-item {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-gdpr__contact-item a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-gdpr__contact-item a:hover {
    color: var(--secondary-color);
}

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 40px;
}

.page-gdpr__faq-item {
    background-color: var(--background-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: #f0f0f0;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg);
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px 30px;
}

.page-gdpr__faq-answer p {
    margin-bottom: 0;
}

/* CTA Section */
.page-gdpr__cta-section {
    text-align: center;
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-gdpr__cta-content {
    max-width: 900px;
}

/* Buttons */
.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

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

.page-gdpr__btn-primary:hover {
    background-color: #e6b029; /* Darken secondary color */
    border-color: #e6b029;
}

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

.page-gdpr__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}