/* style/gdpr.css */
:root {
    --primary-color: #FFD700;
    --secondary-color: #8B0000;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #000;
    --bg-light: #f5f5f5;
    --card-bg: rgba(255, 255, 255, 0.1);
    --border-color: rgba(255, 255, 255, 0.2);
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Body background is dark, so text should be light */
    background-color: var(--bg-dark);
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-gdpr__section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.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__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding-top: 0; /* Header offset already applied to main.page-gdpr */
}

.page-gdpr__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

.page-gdpr__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-gdpr__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.8;
}

.page-gdpr__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-gdpr__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
    color: var(--text-light);
}

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

.page-gdpr__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-dark);
}

.page-gdpr__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
}

.page-gdpr__introduction .page-gdpr__section-title {
    color: var(--primary-color);
}

.page-gdpr__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-gdpr__text-block a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-gdpr__text-block a:hover {
    color: var(--secondary-color);
}

.page-gdpr__highlight {
    color: var(--primary-color);
    font-weight: bold;
}

.page-gdpr__sub-section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-gdpr__rights-section .page-gdpr__section-title {
    color: var(--text-dark);
}

.page-gdpr__rights-section .page-gdpr__text-block {
    color: var(--text-dark);
}

.page-gdpr__rights-section .page-gdpr__link {
    color: var(--secondary-color);
}

.page-gdpr__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    color: var(--text-light);
}

.page-gdpr__card--feature {
    background-color: #ffffff;
    color: var(--text-dark);
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-gdpr__card--feature .page-gdpr__card-title {
    color: var(--secondary-color);
}

.page-gdpr__card--feature .page-gdpr__card-description {
    color: var(--text-dark);
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__card-description {
    font-size: 1em;
    line-height: 1.7;
}

.page-gdpr__note {
    margin-top: 40px;
    text-align: center;
    font-style: italic;
}

.page-gdpr__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-gdpr__list-item {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-gdpr__list-item strong {
    color: var(--primary-color);
}

.page-gdpr__cookies-section .page-gdpr__section-title {
    color: var(--primary-color);
}

.page-gdpr__cookies-section .page-gdpr__text-block {
    color: var(--text-light);
}

.page-gdpr__cookies-section .page-gdpr__sub-section-title {
    color: var(--primary-color);
}

.page-gdpr__cookies-section .page-gdpr__list-item {
    color: var(--text-light);
}

.page-gdpr__cookies-section .page-gdpr__link {
    color: var(--primary-color);
}

.page-gdpr__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-color);
}

.page-gdpr__security-measures .page-gdpr__section-title {
    color: var(--text-dark);
}

.page-gdpr__security-measures .page-gdpr__sub-section-title {
    color: var(--secondary-color);
}

.page-gdpr__security-measures .page-gdpr__text-block {
    color: var(--text-dark);
}

.page-gdpr__security-measures .page-gdpr__link {
    color: var(--secondary-color);
}

.page-gdpr__contact-gdpr .page-gdpr__section-title {
    color: var(--primary-color);
}

.page-gdpr__contact-gdpr .page-gdpr__text-block {
    color: var(--text-light);
}

.page-gdpr__contact-gdpr .page-gdpr__link {
    color: var(--primary-color);
}

.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: center;
}

.page-gdpr__contact-item {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--text-light);
}

.page-gdpr__contact-item strong {
    color: var(--primary-color);
}

.page-gdpr__contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__contact-item a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-gdpr__faq-section .page-gdpr__section-title {
    color: var(--text-dark);
}

.page-gdpr__faq-section .page-gdpr__text-block {
    color: var(--text-dark);
}

.page-gdpr__faq-section .page-gdpr__link {
    color: var(--secondary-color);
}

.page-gdpr__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__faq-item {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: var(--primary-color);
    color: var(--bg-dark);
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: darken(var(--primary-color), 5%);
}

.page-gdpr__faq-question h3 {
    margin: 0;
    color: var(--bg-dark);
}

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

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

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f9f9f9;
    color: var(--text-dark);
}

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

.page-gdpr__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.7;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 2.5em;
    }

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

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

    .page-gdpr__hero-section {
        height: 500px;
    }

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

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

    .page-gdpr__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

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

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

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

    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-gdpr__sub-section-title {
        font-size: 1.5em;
        margin-top: 30px;
    }

    .page-gdpr__text-block {
        font-size: 1em;
    }

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

    .page-gdpr__card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-gdpr__card {
        padding: 25px;
    }

    .page-gdpr__image {
        margin: 30px auto;
    }

    /* Mobile specific image handling to prevent overflow */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-buttons,
    .page-gdpr__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left and padding-right are already on .page-gdpr__container */
        overflow: hidden !important;
    }

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

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

    .page-gdpr__faq-answer p {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-section {
        height: 400px;
    }

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

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

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

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        font-size: 0.9em;
    }
}