/* style/gdpr.css */

/* Custom properties for colors */
:root {
    --page-gdpr-primary-color: #11A84E;
    --page-gdpr-secondary-color: #22C768;
    --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-gdpr-card-bg: #11271B;
    --page-gdpr-background: #08160F;
    --page-gdpr-text-main: #F2FFF6;
    --page-gdpr-text-secondary: #A7D9B8;
    --page-gdpr-border-color: #2E7A4E;
    --page-gdpr-glow-color: #57E38D;
    --page-gdpr-gold-color: #F2C14E;
    --page-gdpr-divider-color: #1E3A2A;
    --page-gdpr-deep-green: #0A4B2C;
}

.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--page-gdpr-text-main); /* Main text color on dark body background */
    background-color: var(--page-gdpr-background); /* Ensure consistent background */
}

/* Ensure headings have good contrast */
.page-gdpr h1,
.page-gdpr h2,
.page-gdpr h3,
.page-gdpr h4,
.page-gdpr h5,
.page-gdpr h6 {
    color: var(--page-gdpr-text-main);
    line-height: 1.2;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-gdpr h1 {
    font-weight: 700;
    letter-spacing: -0.02em;
    max-width: 900px; /* Constraint for H1 size */
    text-align: center;
}

.page-gdpr h2 {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 30px;
}

.page-gdpr h3 {
    font-size: 1.6em;
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-gdpr p {
    margin-bottom: 1em;
    color: var(--page-gdpr-text-secondary);
}

.page-gdpr__link {
    color: var(--page-gdpr-primary-color);
    text-decoration: underline;
}

.page-gdpr__link:hover {
    color: var(--page-gdpr-secondary-color);
}

.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;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: var(--page-gdpr-background);
    overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit hero image height */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for text readability, NO color change */
}

.page-gdpr__hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
    padding: 0 20px;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
    margin-bottom: 20px;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--page-gdpr-text-secondary);
}

.page-gdpr__cta-button {
    display: inline-block;
    background: var(--page-gdpr-button-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__cta-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-gdpr__intro-section,
.page-gdpr__what-is-gdpr,
.page-gdpr__data-processing,
.page-gdpr__user-rights,
.page-gdpr__security-measures,
.page-gdpr__cookie-policy,
.page-gdpr__contact,
.page-gdpr__policy-changes,
.page-gdpr__faq {
    padding: 60px 0;
}

.page-gdpr__dark-bg {
    background-color: var(--page-gdpr-background);
    color: var(--page-gdpr-text-main);
}

.page-gdpr__light-bg {
    background-color: var(--page-gdpr-card-bg); /* Use card bg as light bg for contrast */
    color: var(--page-gdpr-text-main);
}

.page-gdpr__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__sub-title {
    font-size: 1.4em;
    color: var(--page-gdpr-text-main);
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-gdpr__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.page-gdpr__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-gdpr__text-block {
    flex: 1;
}

.page-gdpr__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-gdpr__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--page-gdpr-text-secondary);
}

.page-gdpr__list li {
    margin-bottom: 8px;
}

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

.page-gdpr__right-card.page-gdpr__card {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

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

/* Security Measures */
.page-gdpr__security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
    text-align: center;
}

.page-gdpr__security-item {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__security-icon {
    width: 80px; /* Display size, placeholder specifies generation size */
    height: 80px;
    margin-bottom: 15px;
    filter: brightness(1.2); /* Slightly brighten icons for visibility, NO color change */
}

/* Contact List */
.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    color: var(--page-gdpr-text-secondary);
}

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

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

.page-gdpr__faq-item {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-gdpr__faq-item details {
    border: none;
}

.page-gdpr__faq-item summary {
    list-style: none; /* Remove default marker */
    padding: 20px;
    font-weight: bold;
    font-size: 1.2em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--page-gdpr-text-main);
    background-color: var(--page-gdpr-card-bg);
}

.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none; /* Hide Chrome's default marker */
}

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

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

.page-gdpr__faq-answer {
    padding: 0 20px 20px 20px;
    color: var(--page-gdpr-text-secondary);
    font-size: 1.1em;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-gdpr__content-grid {
        flex-direction: column;
    }
    .page-gdpr__content-grid--reverse {
        flex-direction: column; /* Consistent stacking on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding-bottom: 40px;
    }

    .page-gdpr__main-title {
        font-size: 2em;
    }

    .page-gdpr__description {
        font-size: 1em;
    }

    .page-gdpr__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-gdpr__intro-section,
    .page-gdpr__what-is-gdpr,
    .page-gdpr__data-processing,
    .page-gdpr__user-rights,
    .page-gdpr__security-measures,
    .page-gdpr__cookie-policy,
    .page-gdpr__contact,
    .page-gdpr__policy-changes,
    .page-gdpr__faq {
        padding: 40px 0;
    }

    .page-gdpr__container {
        padding: 0 15px;
    }

    /* Mobile Image Responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__image-wrapper,
    .page-gdpr__security-item,
    .page-gdpr__right-card,
    .page-gdpr__faq-item,
    .page-gdpr__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Ensure no overflow */
        padding-left: 0;
        padding-right: 0;
    }

    /* Mobile Button Responsiveness */
    .page-gdpr__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-gdpr__rights-grid,
    .page-gdpr__security-grid {
        grid-template-columns: 1fr;
    }

    .page-gdpr__security-icon {
        width: 100px; /* Larger icon on mobile for better visibility */
        height: 100px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: 1.8em;
    }

    .page-gdpr__section-title {
        font-size: 1.8em;
    }

    .page-gdpr__faq-item summary {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-gdpr__faq-answer {
        padding: 0 15px 15px 15px;
    }
}