/* style/gdpr.css */
:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B;
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Light text for dark body background */
    line-height: 1.6;
    background-color: var(--deep-navy); /* Ensure consistency with body background */
}

.page-gdpr h1, .page-gdpr h2, .page-gdpr h3, .page-gdpr h4, .page-gdpr h5, .page-gdpr h6 {
    color: var(--text-main);
    margin-top: 1em;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

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

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

/* HERO Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--primary-color);
    overflow: hidden;
}

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

.page-gdpr__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-gdpr__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 5vw, 3em);
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(79, 168, 255, 0.5);
}

.page-gdpr__hero-description {
    font-size: 1.1em;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
}

.page-gdpr__cta-button:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* General Section Styling */
.page-gdpr__section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--divider-color);
}

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

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

.page-gdpr__section-title {
    font-size: 2.2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--gold-color);
    text-shadow: 0 0 8px rgba(79, 168, 255, 0.3);
}

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

.page-gdpr__paragraph {
    margin-bottom: 1.5em;
    color: var(--text-secondary);
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 1.5em;
    color: var(--text-secondary);
}

.page-gdpr__list-item {
    margin-bottom: 0.8em;
}

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

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

/* Specific Section Backgrounds */
.page-gdpr__dark-section {
    background-color: var(--card-bg);
}

/* Contact DPO Section */
.page-gdpr__contact-info {
    background-color: var(--deep-navy);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
    text-align: center;
}

.page-gdpr__contact-info p {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.page-gdpr__contact-link {
    color: var(--glow-color);
    font-weight: bold;
}

.page-gdpr__btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--button-gradient);
    color: #ffffff;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-gdpr__btn-contact {
    display: block;
    width: fit-content;
    margin: 30px auto 0 auto;
}

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

details.page-gdpr__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg);
}

details.page-gdpr__faq-item summary.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

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

details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
    background: var(--primary-color);
}

.page-gdpr__faq-qtext {
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main);
}

.page-gdpr__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--glow-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-gdpr__faq-item .page-gdpr__faq-answer {
    padding: 0 20px 20px;
    background: var(--deep-navy);
    border-radius: 0 0 5px 5px;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-gdpr {
        font-size: 15px;
    }

    .page-gdpr__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__hero-image img {
        border-radius: 4px;
    }

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

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

    .page-gdpr__cta-button {
        padding: 12px 30px;
        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__section {
        padding: 40px 15px;
    }

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

    .page-gdpr__sub-title {
        font-size: 1.4em;
    }

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

    details.page-gdpr__faq-item summary.page-gdpr__faq-question {
        padding: 15px;
    }

    .page-gdpr__faq-qtext {
        font-size: 1em;
    }

    .page-gdpr__faq-toggle {
        font-size: 20px;
        width: 24px;
    }

    details.page-gdpr__faq-item .page-gdpr__faq-answer {
        padding: 0 15px 15px;
    }

    /* Mobile image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-contact {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__contact-info {
      padding: 20px;
    }
}