:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1A1A1A; /* Dark Grey */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #0a0a0a; /* From shared.css body background */
    --border-color: #333333;
    --card-bg-dark: rgba(255, 255, 255, 0.1);
}

.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 with body background */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    text-align: center;
    overflow: hidden;
    background-color: var(--secondary-color); /* Dark background for hero */
    color: var(--text-light);
}

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

.page-gdpr__main-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--primary-color); /* Gold title */
    line-height: 1.2;
}

.page-gdpr__description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--secondary-color); /* Dark text on gold button */
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-gdpr__cta-button:hover {
    background: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-gdpr__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle background image */
}

/* Content Sections */
.page-gdpr__content-section {
    padding: 60px 20px;
    background-color: var(--bg-dark); /* Dark background for content */
    color: var(--text-light);
}

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

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

.page-gdpr__text-block {
    font-size: 17px;
    margin-bottom: 25px;
    color: #f0f0f0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.page-gdpr__sub-title {
    font-size: 28px;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 25px;
    color: #f0f0f0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
}

.page-gdpr__list li {
    margin-bottom: 10px;
    font-size: 17px;
}

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

.page-gdpr__image-text-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__image-left {
    flex: 0 0 40%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    width: 100%;
    height: auto; /* Ensure aspect ratio */
}

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

.page-gdpr__image-center {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Cards Grid */
.page-gdpr__cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__card {
    background-color: var(--card-bg-dark); /* Semi-transparent dark background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.3); /* Gold border */
    color: var(--text-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-gdpr__card-text {
    font-size: 16px;
    color: #cccccc;
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-gdpr__cta-buttons--center {
    margin-top: 50px;
    margin-bottom: 50px;
}

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

.page-gdpr a:hover {
    color: #e6c200;
    text-decoration: underline;
}

/* FAQ Section */
.page-gdpr__faq-section {
    padding: 60px 20px;
    background-color: var(--secondary-color); /* Dark background for FAQ */
    color: var(--text-light);
}

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

.page-gdpr__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--secondary-color);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--secondary-color);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-light);
}

.page-gdpr__faq-question:hover {
    background: #2b2b2b;
}

.page-gdpr__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-gdpr__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: #1f1f1f;
    color: #cccccc;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain content */
    padding: 20px 25px !important;
    opacity: 1;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

/* Global image styles to prevent small icons and ensure responsiveness */
.page-gdpr img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    /* No filter properties to change image color */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-gdpr__main-title {
        font-size: 32px;
    }

    .page-gdpr__description {
        font-size: 16px;
    }

    .page-gdpr__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-gdpr__content-section {
        padding: 40px 15px;
    }

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

    .page-gdpr__text-block,
    .page-gdpr__list {
        font-size: 16px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0; /* Remove extra padding for list on mobile */
    }
    
    .page-gdpr__list li {
        margin-bottom: 8px;
    }

    .page-gdpr__sub-title {
        font-size: 24px;
        margin-top: 30px;
        margin-bottom: 15px;
    }

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

    .page-gdpr__image-left {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        height: auto;
    }

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

    .page-gdpr__card {
        padding: 25px;
    }

    .page-gdpr__card-title {
        font-size: 20px;
    }

    .page-gdpr__faq-section {
        padding: 40px 15px;
    }

    .page-gdpr__faq-question {
        padding: 15px 20px;
    }

    .page-gdpr__faq-question h3 {
        font-size: 16px;
    }

    .page-gdpr__faq-toggle {
        font-size: 24px;
        width: 26px;
        height: 26px;
        margin-left: 15px;
    }

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

    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px 20px !important;
    }
    
    /* Ensure all images and video containers are responsive on mobile */
    .page-gdpr img,
    .page-gdpr video,
    .page-gdpr__hero-image,
    .page-gdpr__image-left,
    .page-gdpr__image-center {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        object-fit: contain; /* Use contain for images in content areas */
    }

    .page-gdpr__hero-image-wrapper {
        position: absolute; 
        height: 100%; 
        width: 100%;
        top: 0;
        left: 0;
    }
    .page-gdpr__hero-image {
        opacity: 0.1;
    }

    .page-gdpr__container,
    .page-gdpr__hero-content,
    .page-gdpr__image-text-block,
    .page-gdpr__cards-grid,
    .page-gdpr__faq-list {
        padding-left: 15px !important; /* Ensure padding on mobile */
        padding-right: 15px !important; /* Ensure padding on mobile */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
}