/* style/gdpr.css */

/* Custom Colors from palette */
:root {
    --page-gdpr-bg: #08160F;
    --page-gdpr-card-bg: #11271B;
    --page-gdpr-text-main: #F2FFF6;
    --page-gdpr-text-secondary: #A7D9B8;
    --page-gdpr-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-gdpr-border: #2E7A4E;
    --page-gdpr-glow: #57E38D;
    --page-gdpr-gold: #F2C14E;
    --page-gdpr-divider: #1E3A2A;
    --page-gdpr-deep-green: #0A4B2C;
}

.page-gdpr {
    background-color: var(--page-gdpr-bg);
    color: var(--page-gdpr-text-main); /* Default text color for the page */
    font-family: 'Arial', sans-serif; /* Example font */
    line-height: 1.6;
    padding-bottom: 50px; /* Ensure space above footer */
}

/* Fixed header spacing - body padding-top is handled by shared.css */
/* No var(--header-offset) here to avoid double padding */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding for first section, body handles main offset */
    box-sizing: border-box;
    overflow: hidden;
    background-color: var(--page-gdpr-deep-green); /* Example background for hero */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 20px; /* Space between image and content */
}

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

.page-gdpr__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    color: var(--page-gdpr-gold);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    width: 100%; /* Ensure container takes full width for responsive buttons */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0 15px; /* Add padding to prevent overflow */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    min-width: 180px; /* Minimum width for buttons */
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-gdpr__btn-primary {
    background: var(--page-gdpr-btn-gradient);
    color: var(--page-gdpr-text-main); /* White-ish text */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-gdpr__btn-secondary:hover {
    background-color: var(--page-gdpr-gold);
    color: var(--page-gdpr-bg);
    transform: translateY(-2px);
}

.page-gdpr__section {
    padding: 50px 0;
    border-bottom: 1px solid var(--page-gdpr-divider);
}

.page-gdpr__section:last-of-type {
    border-bottom: none;
}

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

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

.page-gdpr__sub-title {
    font-size: 1.8rem;
    color: var(--page-gdpr-text-main);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-gdpr__text-block {
    font-size: 1rem;
    color: var(--page-gdpr-text-secondary);
    margin-bottom: 20px;
}

.page-gdpr__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-gdpr__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--page-gdpr-text-secondary);
}

.page-gdpr__list-item::before {
    content: '✅'; /* Green checkmark */
    position: absolute;
    left: 0;
    color: var(--page-gdpr-glow);
    font-size: 1.2em;
    line-height: 1;
    top: 0;
}

.page-gdpr__link {
    color: var(--page-gdpr-glow);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-gdpr__image-content-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-gdpr__image-content-block--reverse {
    flex-direction: row-reverse;
}

.page-gdpr__content-image {
    flex: 1;
    min-width: 300px;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-gdpr__content-image--center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    max-width: 600px; /* Example max-width for centered image */
}

.page-gdpr__text-block-inner {
    flex: 2;
}

/* FAQ Section */
.page-gdpr__faq-section {
    background-color: var(--page-gdpr-card-bg); /* Darker background for FAQ */
    padding: 60px 0;
}

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

.page-gdpr__faq-item {
    background-color: var(--page-gdpr-bg); /* Slightly lighter than card-bg */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--page-gdpr-divider);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--page-gdpr-text-main);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for details/summary */
}

.page-gdpr__faq-question:hover {
    background-color: var(--page-gdpr-deep-green);
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    content: '−';
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .page-gdpr__section-title {
        font-size: 2rem;
    }

    .page-gdpr__sub-title {
        font-size: 1.6rem;
    }

    .page-gdpr__image-content-block {
        flex-direction: column;
        gap: 30px;
    }
    .page-gdpr__image-content-block--reverse {
        flex-direction: column; /* Revert for mobile */
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-gdpr__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset, this is decorative */
    }

    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

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

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
    }

    .page-gdpr__section {
        padding: 30px 0;
    }

    .page-gdpr__container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-gdpr__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-gdpr__sub-title {
        font-size: 1.4rem;
    }

    .page-gdpr__text-block {
        font-size: 0.95rem;
    }

    .page-gdpr__list-item {
        padding-left: 25px;
    }

    .page-gdpr__list-item::before {
        font-size: 1em;
    }

    .page-gdpr__image-content-block {
        flex-direction: column;
        gap: 20px;
    }

    .page-gdpr__content-image {
        min-width: 200px; /* Ensure minimum size */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-gdpr__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-gdpr__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.9rem;
    }

    /* Ensure all images and containers are responsive and don't overflow */
    .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-image-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px; /* Add padding to sections/containers */
      padding-right: 15px;
      overflow: hidden !important; /* Hide overflow */
    }
}