/* style/gdpr.css */

:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --card-bg-color: #17191F;
    --background-color-page: #0D0E12;
    --text-main-color: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange-color: #D96800;
    --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

/* Base styles for the GDPR page content */
.page-gdpr {
    background-color: var(--background-color-page);
    color: var(--text-main-color);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 50px;
}

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

.page-gdpr__hero-section {
    padding: 80px 0 40px;
    text-align: center;
    background-color: var(--card-bg-color);
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-gdpr__main-title {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__intro-text {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-main-color);
}

.page-gdpr__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-gdpr__dark-section {
    background-color: var(--card-bg-color);
}

.page-gdpr__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-gdpr__content-block {
    background-color: var(--background-color-page);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-main-color);
}

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

.page-gdpr p {
    margin-bottom: 15px;
    color: var(--text-main-color);
}

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

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

.page-gdpr__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1em;
    color: var(--text-main-color);
    background-color: #1a1d25; /* Slightly darker for contrast */
    border-bottom: 1px solid var(--border-color);
}

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

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--primary-color);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    content: '−';
}

.page-gdpr__faq-answer {
    padding: 20px;
    background-color: var(--card-bg-color);
    color: var(--text-main-color);
    border-top: 1px solid var(--border-color);
}

.page-gdpr__faq-answer p {
    margin-bottom: 0;
}

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

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

.page-gdpr__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-gdpr__cta-group--final {
    margin-top: 60px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    text-align: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
}

.page-gdpr__btn-secondary {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-gdpr__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.8em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__sub-title {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__hero-section {
        padding: 60px 0 30px;
    }
    .page-gdpr__main-title {
        font-size: 2.2em;
    }
    .page-gdpr__intro-text {
        font-size: 1em;
    }
    .page-gdpr__section {
        padding: 40px 0;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__sub-title {
        font-size: 1.3em;
    }
    .page-gdpr__content-block {
        padding: 20px;
    }
    .page-gdpr__faq-item summary {
        font-size: 1em;
        padding: 15px;
    }
    .page-gdpr__faq-answer {
        padding: 15px;
    }
    .page-gdpr__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* Mobile image responsiveness */
    .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__cta-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Ensure image display size is not less than 200px (content area) */
    .page-gdpr__image {
        min-width: 200px;
        min-height: 200px;
    }

    /* Fixed header spacing */
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
    .page-gdpr__sub-title {
        font-size: 1.2em;
    }
    .page-gdpr__hero-section {
        padding: 40px 0 20px;
    }
}