/* style/gdpr.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-dark: #0a0a0a; /* From body background */
    --bg-light: #f8f9fa;
    --btn-login: #EA7C07;
}

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

.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;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

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

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 4vw, 3rem); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.page-gdpr__description {
    font-size: 1.15rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* General Section Styling */
.page-gdpr__section {
    padding: 60px 0;
    color: var(--text-light); /* Default for dark body */
}

.page-gdpr__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.page-gdpr__content-block p {
    font-size: 1.05rem;
    margin-bottom: 15px;
    line-height: 1.7;
    color: inherit; /* Inherit from section */
}

.page-gdpr__content-block h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-gdpr__list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__list-icon {
    width: 200px; /* Min size for content images */
    height: auto;
    margin-right: 25px;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: cover;
}

.page-gdpr__list-content h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.page-gdpr__list-content p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.page-gdpr__rights-list {
    list-style: disc;
    padding-left: 25px;
    color: var(--text-light);
}

.page-gdpr__rights-list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    line-height: 1.7;
}

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

/* Color Schemes for Sections */
.page-gdpr__dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

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

.page-gdpr__light-bg .page-gdpr__section-title,
.page-gdpr__light-bg .page-gdpr__list-content h3 {
    color: var(--primary-color);
}

.page-gdpr__light-bg .page-gdpr__list-content p,
.page-gdpr__light-bg .page-gdpr__content-block p,
.page-gdpr__light-bg .page-gdpr__rights-list li {
    color: var(--text-dark);
}

/* Buttons */
.page-gdpr__btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-gdpr__btn-primary:hover {
    background-color: #1e87b8;
    transform: translateY(-2px);
}

.page-gdpr__cta-button {
    margin-top: 20px;
}

/* Contact Section */
.page-gdpr__contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-gdpr__contact-link:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-gdpr__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-gdpr__faq-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__light-bg .page-gdpr__faq-item {
    background: var(--secondary-color);
    color: var(--text-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    color: inherit;
    list-style: none;
    background-color: rgba(255, 255, 255, 0.05);
}

.page-gdpr__light-bg .page-gdpr__faq-question {
    background-color: var(--bg-light);
}

.page-gdpr__faq-question::-webkit-details-marker {
    display: none;
}

.page-gdpr__faq-question::marker {
    display: none;
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
    color: var(--secondary-color);
}

.page-gdpr__light-bg .page-gdpr__faq-qtext {
    color: var(--text-dark);
}

.page-gdpr__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--primary-color);
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
}

.page-gdpr__light-bg .page-gdpr__faq-answer {
    color: var(--text-dark);
}

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

.page-gdpr__cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.page-gdpr__cta-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }
    .page-gdpr__section-title {
        font-size: 2rem;
    }
    .page-gdpr__list-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-gdpr__list-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__hero-section {
        padding-bottom: 40px;
    }
    .page-gdpr__hero-image-wrapper {
        max-height: 400px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-gdpr__description,
    .page-gdpr__cta-description {
        font-size: 1rem;
    }
    .page-gdpr__section {
        padding: 40px 0;
    }
    .page-gdpr__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-gdpr__list-item {
        padding: 15px;
    }
    .page-gdpr__list-icon {
        width: 100% !important; /* Ensure min size is still respected by being full width */
        max-width: 300px; /* Maximize image size while fitting */
        height: auto !important;
    }
    .page-gdpr__content-block p,
    .page-gdpr__list-content p,
    .page-gdpr__rights-list li {
        font-size: 0.95rem;
    }
    .page-gdpr__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px 15px;
    }
    .page-gdpr__btn-primary {
        padding: 12px 25px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-gdpr__cta-section {
        padding: 50px 20px;
    }
    .page-gdpr__cta-title {
        font-size: 1.8rem;
    }

    /* Mobile image responsiveness */
    .page-gdpr img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-section,
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__hero-content,
    .page-gdpr__list-item,
    .page-gdpr__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-gdpr__hero-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
    .page-gdpr__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__list-icon {
        width: 100% !important; /* Ensure min size is still respected by being full width */
        max-width: 300px; /* Maximize image size while fitting */
        height: auto !important;
        margin-left: auto;
        margin-right: auto;
    }
    .page-gdpr__list-item {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__cta-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}