/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Rely on body background from shared.css */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 60px; /* Small top padding, larger bottom padding */
    overflow: hidden;
    background-color: #0a0a0a; /* Ensure hero section has a dark background consistent with body */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 1;
    margin-bottom: 30px; /* Space between image and text */
}

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

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

.page-gdpr__main-title {
    color: #26A9E0; /* Brand color for main title */
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-gdpr__description {
    color: #f0f0f0;
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* General Section Styles */
.page-gdpr__introduction-section,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__compliance-section,
.page-gdpr__contact-section {
    padding: 60px 0;
}

.page-gdpr__dark-section {
    background-color: #1a1a1a; /* Slightly lighter dark for contrast */
}

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

.page-gdpr__section-title {
    color: #26A9E0;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.page-gdpr__content-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    background-color: rgba(255, 255, 255, 0.05); /* Subtle light background for content blocks */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__content-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-gdpr__sub-title {
    color: #ffffff;
    font-size: 1.7rem;
    margin-top: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.page-gdpr__text {
    color: #f0f0f0;
    margin-bottom: 15px;
    font-size: 1.05rem;
    text-align: justify;
}

.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    width: 100%;
    max-width: 800px;
}

.page-gdpr__list-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 5px solid #26A9E0;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.page-gdpr__list-title {
    color: #26A9E0;
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-gdpr__list-description {
    color: #e0e0e0;
    font-size: 1rem;
    margin-bottom: 0;
}

.page-gdpr__contact-link {
    color: #26A9E0;
    text-decoration: underline;
}

.page-gdpr__contact-link:hover {
    color: #1e87b6;
}

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 30px;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
    display: none;
}

.page-gdpr__faq-item[open] > .page-gdpr__faq-question {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
}

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to a cross */
}

.page-gdpr__faq-answer {
    padding: 20px;
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
}

/* CTA Button */
.page-gdpr__cta-wrapper {
    text-align: center;
    margin-top: 50px;
}

.page-gdpr__cta-button {
    display: inline-block;
    background-color: #EA7C07; /* Custom color for login/CTA */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-gdpr__cta-button:hover {
    background-color: #d16b06;
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 10px 15px 40px;
    }

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

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

    .page-gdpr__section-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-gdpr__sub-title {
        font-size: 1.5rem;
        text-align: left;
    }

    .page-gdpr__text {
        font-size: 0.95rem;
        text-align: left;
    }

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

    .page-gdpr__list-item {
        padding: 15px;
    }

    .page-gdpr__list-title {
        font-size: 1.2rem;
    }

    .page-gdpr__list-description {
        font-size: 0.9rem;
    }

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

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

    .page-gdpr__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
        width: calc(100% - 30px); /* Account for padding */
    }

    /* Mobile image responsive adaptation */
    .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__content-block,
    .page-gdpr__hero-image-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    /* Mobile button responsive adaptation */
    .page-gdpr__cta-button,
    .page-gdpr__btn-primary,
    .page-gdpr a[class*="button"],
    .page-gdpr a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-gdpr__cta-wrapper,
    .page-gdpr__button-group,
    .page-gdpr__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        overflow: hidden !important;
    }
    
    .page-gdpr__cta-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}