/* style/gdpr.css */
:root {
    --primary-color: #0047AB;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-light-grey: #f1f3f5;
    --border-color: #e0e0e0;
}

.page-gdpr {
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--dark-bg-1); /* Assuming --dark-bg-1 is defined in shared.css and is dark */
}

/* Fixed Nav Bar Spacing - Desktop */
.page-gdpr__hero-section {
    padding-top: 120px; /* Adjust based on fixed header height */
}

.page-gdpr__content-section {
    padding: 60px 20px;
}

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

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color), #002D62); /* Darker blue for hero */
    overflow: hidden;
}

.page-gdpr__hero-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-gdpr__hero-image-main {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-gdpr__hero-content {
    text-align: center;
    color: var(--text-light);
}

.page-gdpr__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
}

.page-gdpr__hero-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__hero-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-gdpr__hero-link:hover {
    color: #ffd700;
    text-decoration: underline;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-gdpr__cta-button:hover {
    background: #FFC107;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-gdpr__content-section {
    background-color: var(--dark-bg-1); /* Consistent with body background */
    color: var(--text-light);
    padding: 60px 0;
}

.page-gdpr__text-block {
    background: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background for blocks */
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    line-height: 1.7;
}

.page-gdpr__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.page-gdpr__sub-section-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-light);
    margin-top: 40px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-gdpr__text-block p {
    font-size: 17px;
    margin-bottom: 15px;
    line-height: 1.7;
}

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

.page-gdpr__text-block li {
    font-size: 17px;
    margin-bottom: 10px;
    line-height: 1.6;
}

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

.page-gdpr__text-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-gdpr__text-link:hover {
    color: #FFC107;
    text-decoration: underline;
}

.page-gdpr__content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.page-gdpr__faq-section {
    background-color: var(--dark-bg-2); /* Slightly different dark background for FAQ */
    color: var(--text-light);
    padding: 60px 0;
}

.page-gdpr__faq-list {
    margin-top: 40px;
}

.page-gdpr__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08); /* Darker background for FAQ items */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.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;
    color: #e0e0e0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to show all content */
    padding: 20px 25px !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.12); /* Lighter dark background when active */
    border-radius: 0 0 8px 8px;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    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: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.page-gdpr__faq-question:active {
    background: rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-light);
}

.page-gdpr__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    color: #FFC107;
    transform: rotate(45deg); /* Rotate to form an 'X' or similar */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 40px;
    }
    .page-gdpr__hero-description {
        font-size: 16px;
    }
    .page-gdpr__section-title {
        font-size: 30px;
    }
    .page-gdpr__sub-section-title {
        font-size: 24px;
    }
    .page-gdpr__text-block p, .page-gdpr__text-block li {
        font-size: 16px;
    }
    .page-gdpr__faq-question h3 {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    /* Fixed Nav Bar Spacing - Mobile */
    .page-gdpr__hero-section {
        padding-top: 100px !important; /* Adjust for mobile fixed header height */
        padding-bottom: 40px;
    }

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

    .page-gdpr__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-gdpr__hero-description {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .page-gdpr__cta-button {
        padding: 12px 30px;
        font-size: 18px;
    }

    .page-gdpr__content-section, .page-gdpr__faq-section {
        padding: 40px 0;
    }

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

    .page-gdpr__section-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    .page-gdpr__sub-section-title {
        font-size: 22px;
        margin-top: 30px;
        margin-bottom: 10px;
    }
    .page-gdpr__text-block p, .page-gdpr__text-block li {
        font-size: 15px;
    }
    .page-gdpr__faq-question {
        padding: 15px 20px;
    }
    .page-gdpr__faq-question h3 {
        font-size: 16px;
    }
    .page-gdpr__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px 20px !important;
    }

    /* Mobile image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__hero-section,
    .page-gdpr__content-section,
    .page-gdpr__faq-section,
    .page-gdpr__container,
    .page-gdpr__text-block,
    .page-gdpr__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__hero-container {
        padding: 0;
    }
    .page-gdpr__hero-image-main {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .page-gdpr__content-image {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}