/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
    color: #f0f0f0; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #121212; /* Consistent with body background */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background-color: #1a1a1a;
    color: #ffffff;
    overflow: hidden;
}

.page-gdpr__hero-content {
    max-width: 900px;
    z-index: 2;
    margin-bottom: 40px;
}

.page-gdpr__main-title {
    font-size: 3.2em;
    color: #FFD700; /* Gold brand color */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-gdpr__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-gdpr__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle background image */
    filter: none; /* Ensure no color filters */
}

.page-gdpr__section {
    padding: 60px 20px;
    background-color: #1a1a1a;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__section:nth-child(even) {
    background-color: #222222;
}

.page-gdpr__container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-gdpr__container--center {
    text-align: center;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold brand color */
    margin-bottom: 30px;
    text-align: center;
}

.page-gdpr__sub-title {
    font-size: 1.8em;
    color: #FFD700; /* Gold brand color */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-gdpr__paragraph {
    font-size: 1.1em;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-gdpr__list-item {
    background-color: #2c2c2c;
    border-left: 5px solid #8B0000; /* Dark red accent */
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__list-item .page-gdpr__sub-title {
    margin-top: 0;
    font-size: 1.5em;
    color: #FFD700;
}

.page-gdpr__list-item .page-gdpr__paragraph {
    color: #cccccc;
    font-size: 1em;
}

.page-gdpr__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    filter: none; /* Ensure no color filters */
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-gdpr__btn-primary {
    background-color: #FFD700; /* Gold brand color */
    color: #121212; /* Dark text for contrast */
    border: 2px solid #FFD700;
}

.page-gdpr__btn-primary:hover {
    background-color: #e6c200;
    color: #000000;
    border-color: #e6c200;
}

.page-gdpr__btn-primary--large {
    font-size: 1.2em;
    padding: 18px 35px;
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold brand color */
    border: 2px solid #FFD700;
    margin-top: 20px;
}

.page-gdpr__btn-secondary:hover {
    background-color: #FFD700;
    color: #121212;
}

.page-gdpr__link {
    color: #FFD700; /* Gold brand color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: #e6c200;
    text-decoration: underline;
}

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

.page-gdpr__faq-item {
    background-color: #2c2c2c;
    border: 1px solid #444444;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #333333;
    color: #FFD700;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: #444444;
}

.page-gdpr__faq-title {
    margin: 0;
    color: #FFD700;
    font-size: 1.2em; /* Ensure title size consistency */
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFD700;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate to form an 'x' or use '-' */
    content: '−'; /* Change to minus sign */
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background-color: #222222;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #e0e0e0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px 25px;
}

.page-gdpr__faq-answer .page-gdpr__paragraph {
    margin-bottom: 0;
    font-size: 1em;
    color: #e0e0e0;
}


/* Responsive Design */
@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.6em;
    }
    .page-gdpr__hero-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Apply header offset for mobile */
    }

    .page-gdpr__hero-section {
        padding: 60px 15px;
        flex-direction: column;
    }

    .page-gdpr__hero-content {
        margin-bottom: 20px;
    }

    .page-gdpr__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

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

    .page-gdpr__section {
        padding: 40px 15px;
        margin-bottom: 15px;
    }

    .page-gdpr__container {
        padding-left: 0;
        padding-right: 0;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

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

    .page-gdpr__paragraph {
        font-size: 1em;
    }

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

    /* Images responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
        min-width: 200px !important; /* Ensure min size is kept */
        min-height: 200px !important; /* Ensure min size is kept */
    }

    /* Buttons responsiveness */
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        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;
        text-align: center; /* Center button text */
    }

    .page-gdpr__btn-primary--large {
        font-size: 1.1em;
        padding: 15px 25px;
    }

    .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;
        display: flex; /* Ensure flex for wrapping if multiple buttons */
        flex-direction: column; /* Stack buttons vertically */
    }

    .page-gdpr__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-gdpr__faq-title {
        font-size: 1.1em;
    }

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

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

@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-description {
        font-size: 0.95em;
    }
}