/* style/gdpr.css */

:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --background-dark: #0A0A0A;
    --card-background: #111111;
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --header-offset: 120px; /* Default for desktop, adjusted by shared.css media queries */
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main-color); /* Light text for dark body background */
    background-color: var(--background-dark); /* Should be handled by body in shared.css, but for scope. */
}

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

/* HERO Section */
.page-gdpr__hero-section {
    background: var(--background-dark);
    padding-top: 20px; /* Small internal padding, body handles main offset */
    padding-bottom: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-gdpr__hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 800px; /* Constrain image width for balance */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

.page-gdpr__hero-content {
    max-width: 800px;
    text-align: center;
}

.page-gdpr__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-gdpr__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-main-color);
}

/* General Sections */
.page-gdpr__section {
    padding: 60px 0;
    background-color: var(--background-dark);
    border-bottom: 1px solid var(--border-color);
}

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

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

.page-gdpr__sub-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-gdpr__text-block {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: var(--text-main-color);
}

.page-gdpr__text-block p {
    margin-bottom: 15px;
    color: var(--text-main-color);
}

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

.page-gdpr__text-block li {
    margin-bottom: 10px;
    color: var(--text-main-color);
}

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

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

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    max-width: 100%;
}

.page-gdpr__btn-primary {
    background: var(--button-gradient);
    color: #ffffff; /* White text for gradient button */
    border: none;
    margin-right: 15px;
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

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

.page-gdpr__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--card-background);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-gdpr__button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Image with text block */
.page-gdpr__image-text-block {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-gdpr__image-text-block img {
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    width: 100%; /* Ensure responsiveness */
}

.page-gdpr__image-text-block > div {
    flex: 1;
    min-width: 300px; /* Ensure text block has minimum width */
}

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

.page-gdpr__faq-item {
    background-color: var(--card-background);
    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-weight: 600;
    font-size: 1.1em;
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-question h3 {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
}

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

.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;
    color: var(--text-main-color);
}

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

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding-top: 20px; /* Small internal padding, body handles main offset */
        padding-bottom: 40px;
    }

    .page-gdpr__hero-container {
        gap: 30px;
    }

    .page-gdpr__main-title {
        font-size: 2em;
        margin-top: 0; /* Adjust for mobile */
    }

    .page-gdpr__hero-description {
        font-size: 1em;
    }

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

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

    .page-gdpr__sub-title {
        font-size: 1.4em;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .page-gdpr__text-block {
        padding: 20px;
    }

    .page-gdpr__text-block ul {
        padding-left: 15px;
    }

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

    .page-gdpr__image-text-block img {
        max-width: 100%;
    }

    .page-gdpr__image-text-block > div {
        min-width: unset;
        width: 100%;
    }

    .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-left: 15px !important;
        padding-right: 15px !important;
        margin-right: 0 !important; /* Remove right margin for primary button */
    }

    .page-gdpr__button-group {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }}