/* style/gdpr.css */

:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --card-bg: #111111;
    --background-color: #0A0A0A;
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

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

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

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

.page-gdpr__dark-bg {
    background-color: var(--background-color);
    color: var(--text-main-color);
}

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

.page-gdpr__hero-section {
    padding-top: 10px; /* Small top padding, main offset from body */
    background: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Ensure hero section has height */
}

.page-gdpr__hero-section .page-gdpr__container {
    display: flex;
    flex-direction: column; /* Default for mobile */
    align-items: center;
    gap: 40px;
}

@media (min-width: 769px) {
    .page-gdpr__hero-section .page-gdpr__container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.page-gdpr__hero-content {
    flex: 1;
    max-width: 600px;
    text-align: center;
}

@media (min-width: 769px) {
    .page-gdpr__hero-content {
        text-align: left;
    }
}

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Using clamp for H1 font size */
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-gdpr__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.page-gdpr__btn-primary {
    display: inline-block;
    background: var(--button-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
}

.page-gdpr__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    display: block;
}

.page-gdpr__section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-gdpr__section-intro {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__content-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .page-gdpr__content-grid {
        flex-direction: column;
    }
    .page-gdpr__content-grid--reverse {
        flex-direction: column-reverse;
    }
}

.page-gdpr__text-block {
    flex: 1;
}

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

.page-gdpr__text-block a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-gdpr__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-gdpr__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: block;
}

.page-gdpr__commitment-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.page-gdpr__commitment-list li {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: var(--text-main-color);
}

.page-gdpr__commitment-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-gdpr__commitment-list li strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

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

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

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

.page-gdpr__list li strong {
    color: var(--primary-color);
}

.page-gdpr__data-processing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .page-gdpr__data-processing-grid {
        grid-template-columns: 1fr;
    }
}

.page-gdpr__contact-info p {
    margin-bottom: 10px;
    font-size: 1.1rem;
    text-align: center;
}

.page-gdpr__contact-info .page-gdpr__link {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-gdpr__btn-contact {
    margin-top: 30px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.page-gdpr__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-gdpr__faq-item {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: var(--card-bg);
    color: var(--text-main-color);
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: rgba(var(--primary-color), 0.1);
}

.page-gdpr__faq-title {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.page-gdpr__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg);
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: var(--text-main-color);
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Ensure it expands fully */
    padding: 15px 20px 20px 20px;
}

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

/* Responsive adjustments for images and containers */
@media (max-width: 768px) {
    .page-gdpr__hero-section {
        min-height: auto;
        padding: 40px 0;
    }

    .page-gdpr__hero-section .page-gdpr__container {
        flex-direction: column;
        text-align: center;
    }

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

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

    .page-gdpr__btn-primary,
    .page-gdpr__btn-contact {
        width: 100% !important;
        padding: 12px 15px;
        font-size: 1rem;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0;
        margin-right: 0;
    }

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

    .page-gdpr__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .page-gdpr__section-intro {
        font-size: 1rem;
    }

    .page-gdpr__commitment-list {
        grid-template-columns: 1fr;
    }

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

    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-gdpr__container,
    .page-gdpr__section,
    .page-gdpr__faq-item,
    .page-gdpr__hero-section .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Ensure content images are not too small */
    .page-gdpr__image,
    .page-gdpr__hero-image {
        min-width: 200px;
        min-height: 200px;
    }
    
    .page-gdpr__faq-question {
        font-size: 1rem;
    }
    .page-gdpr__faq-title {
        font-size: 1rem;
    }

    .page-gdpr__faq-toggle {
        font-size: 1.5rem;
    }
}

/* Color contrast fixes based on Black Gold theme */
.page-gdpr p,
.page-gdpr li,
.page-gdpr__section-text,
.page-gdpr__hero-description {
    color: var(--text-main-color);
}

.page-gdpr__btn-primary {
    color: #ffffff; /* Explicitly white for button text */
}

.page-gdpr__faq-answer p {
    color: var(--text-main-color);
}