/* style/gdpr.css */
:root {
    --primary-color: #1A73E8;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-dark: #0a0a0a; /* From shared.css body background */
    --card-background: #ffffff;
    --border-color: #e0e0e0;
}

.page-gdpr {
    background-color: var(--background-dark);
    color: var(--text-light); /* Default text color for sections directly on dark body background */
    padding-top: 120px; /* Desktop: Ensure content is not hidden by fixed header */
}

@media (max-width: 768px) {
    .page-gdpr {
        padding-top: 100px !important; /* Mobile: Ensure content is not hidden by fixed header */
    }
}

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

.page-gdpr__hero-banner {
    background: linear-gradient(135deg, var(--primary-color), #4CAF50); /* A slightly different gradient for a fresh feel */
    padding: 80px 0;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
}

.page-gdpr__main-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-light);
    line-height: 1.2;
}

.page-gdpr__tagline {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--secondary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-gdpr__cta-button:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-button--small {
    padding: 10px 25px;
    font-size: 16px;
    margin-top: 20px;
}

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

.page-gdpr__section-card {
    background: var(--card-background);
    color: var(--text-dark); /* Dark text on light card background */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 30px;
}

.page-gdpr__section-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.page-gdpr__section-card p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.page-gdpr__section-card strong {
    font-weight: bold;
}

.page-gdpr__principle-item {
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 4px solid var(--secondary-color);
}

.page-gdpr__principle-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

.page-gdpr__section-card li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.page-gdpr__link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: #0d47a1; /* Darker shade of primary */
    text-decoration: underline;
}

.page-gdpr__contact-info {
    font-style: normal;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
}

/* FAQ Styles */
.page-gdpr__faq-section {
    padding-bottom: 60px;
}

.page-gdpr__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--card-background);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

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

.page-gdpr__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-dark);
    pointer-events: none;
}

.page-gdpr__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

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

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: #f9f9f9;
    border-top: 1px solid var(--border-color);
    color: var(--text-dark);
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain any answer */
    padding: 20px 25px !important;
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-gdpr__main-title {
        font-size: 36px;
    }
    .page-gdpr__tagline {
        font-size: 18px;
    }
    .page-gdpr__section-title {
        font-size: 28px;
    }
    .page-gdpr__principle-title {
        font-size: 20px;
    }
    .page-gdpr__section-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-banner {
        padding: 60px 0;
    }
    .page-gdpr__main-title {
        font-size: 30px;
    }
    .page-gdpr__tagline {
        font-size: 16px;
    }
    .page-gdpr__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-gdpr__section {
        padding: 30px 0;
    }
    .page-gdpr__section-card {
        padding: 20px;
        margin: 0 15px 20px 15px; /* Adjust margin for mobile */
        max-width: 100% !important; /* Ensure card respects mobile width */
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__container {
        padding: 0 15px;
    }
    .page-gdpr__section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .page-gdpr__principle-title {
        font-size: 18px;
    }
    .page-gdpr__section-card p,
    .page-gdpr__section-card li {
        font-size: 15px;
        line-height: 1.6;
    }
    .page-gdpr__faq-question {
        padding: 15px 20px;
    }
    .page-gdpr__faq-question h3 {
        font-size: 16px;
    }
    .page-gdpr__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px 20px !important;
    }
}

/* Image Responsive and Color Filter Policy */
.page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Example style, no color filters */
}

.page-gdpr__section, .page-gdpr__card, .page-gdpr__container {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

@media (max-width: 768px) {
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-gdpr__section,
    .page-gdpr__section-card,
    .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}