/* style/gdpr.css */

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

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main-color); /* Text Main for dark body background */
    background-color: var(--deep-navy); /* Assumed body background from shared.css */
}

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

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

.page-gdpr__section--intro {
    background-color: var(--deep-navy);
}

.page-gdpr__section--principles,
.page-gdpr__section--security,
.page-gdpr__dark-section {
    background-color: var(--primary-color); /* Dark section uses primary color */
    color: var(--text-main-color);
}

.page-gdpr__section-title {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.page-gdpr__main-title {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-gdpr__paragraph {
    margin-bottom: 20px;
    font-size: 17px;
    text-align: justify;
    color: var(--text-secondary-color);
}

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

.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: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-gdpr__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* 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 margin, body padding-top handled by shared.css */
    background-color: var(--deep-navy);
}

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

.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;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

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

/* Grid for principles */
.page-gdpr__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    border: 1px solid var(--border-color);
    color: var(--text-main-color);
}

.page-gdpr__card-title {
    font-size: 24px;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-gdpr__card-text {
    font-size: 16px;
    color: var(--text-secondary-color);
}

/* Lists */
.page-gdpr__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary-color);
}

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

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

.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-gdpr__contact-item {
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--text-secondary-color);
}

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

.page-gdpr__contact-item a:hover {
    color: var(--gold-color);
}

.page-gdpr__image {
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.page-gdpr__image--center {
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

/* FAQ Section */
details.page-gdpr__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background-color: var(--card-bg);
    color: var(--text-main-color);
}

details.page-gdpr__faq-item summary.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease, 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-color: rgba(29, 95, 209, 0.1); /* Lighter hover for dark background */
    color: var(--gold-color);
}

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

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

.page-gdpr__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-secondary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

details[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg);
}

details.page-gdpr__faq-item .page-gdpr__faq-answer {
    padding: 0 25px 25px;
    background-color: rgba(16, 35, 63, 0.7); /* Slightly lighter than card-bg for answer */
    border-radius: 0 0 8px 8px;
    font-size: 16px;
    color: var(--text-secondary-color);
}

/* Responsive images */
.page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

    .page-gdpr__main-title {
        font-size: clamp(28px, 8vw, 36px);
        margin-bottom: 15px;
    }

    .page-gdpr__hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-gdpr__section-title {
        font-size: clamp(24px, 7vw, 32px);
        margin-bottom: 30px;
    }

    .page-gdpr__paragraph,
    .page-gdpr__list-item,
    .page-gdpr__card-text {
        font-size: 15px;
        text-align: left;
    }

    .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;
        margin-left: auto;
        margin-right: auto;
    }

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

    .page-gdpr__card {
        padding: 20px;
    }

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

    .page-gdpr__image,
    .page-gdpr__hero-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 6px;
    }

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

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

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

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

    .page-gdpr__contact-item {
        font-size: 16px;
    }

    .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__hero-image {
        margin-bottom: 20px;
    }
}

/* Ensure content area images are not too small */
.page-gdpr img {
    min-width: 200px;
    min-height: 200px;
}

@media (max-width: 768px) {
    .page-gdpr__cta-buttons,
    .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;
    }

    .page-gdpr__cta-buttons {
        display: flex;
        flex-direction: column;
    }
}