/* style/gdpr.css */

/* Variables from custom palette */
:root {
    --gdpr-primary-color: #11A84E;
    --gdpr-secondary-color: #22C768;
    --gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --gdpr-card-bg: #11271B;
    --gdpr-background: #08160F;
    --gdpr-text-main: #F2FFF6;
    --gdpr-text-secondary: #A7D9B8;
    --gdpr-border-color: #2E7A4E;
    --gdpr-glow-color: #57E38D;
    --gdpr-gold-color: #F2C14E;
    --gdpr-divider-color: #1E3A2A;
    --gdpr-deep-green: #0A4B2C;
}

.page-gdpr {
    background-color: var(--gdpr-background); /* Using custom background color */
    color: var(--gdpr-text-main); /* Default text color for the page */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure space above footer */
}

.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    text-align: center;
    overflow: hidden;
    background-color: var(--gdpr-deep-green);
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for image wrapper */
    margin-bottom: 20px; /* Space between image and content */
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.page-gdpr__hero-content {
    max-width: 900px;
    z-index: 1;
    padding: 0 15px;
}

.page-gdpr__main-title {
    color: var(--gdpr-gold-color);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__hero-description {
    color: var(--gdpr-text-secondary);
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-gdpr__btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gdpr-button-gradient);
    color: var(--gdpr-text-main);
    text-decoration: none;
    border-radius: 8px;
    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__section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--gdpr-divider-color);
}

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

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

.page-gdpr__section--principles,
.page-gdpr__section--security,
.page-gdpr__section--updates {
    background-color: var(--gdpr-card-bg);
}

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

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

.page-gdpr__section-title--light {
    color: var(--gdpr-gold-color);
}

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
}

.page-gdpr__content-area {
    flex: 1;
    min-width: 300px;
    color: var(--gdpr-text-main);
}

.page-gdpr__content-area--light {
    color: var(--gdpr-text-main);
}

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

.page-gdpr__image--right {
    order: 2;
    margin-left: 40px;
    margin-top: 20px;
}

.page-gdpr__image--left {
    order: 1;
    margin-right: 40px;
    margin-top: 20px;
}

.page-gdpr__content-area p {
    margin-bottom: 1em;
    color: var(--gdpr-text-main);
}

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

.page-gdpr__sub-title--light {
    color: var(--gdpr-gold-color);
}

.page-gdpr__text-block {
    margin-bottom: 1em;
    color: var(--gdpr-text-main);
}

.page-gdpr__text-block--light {
    color: var(--gdpr-text-secondary);
}

.page-gdpr__faq-list {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--gdpr-text-main);
    cursor: pointer;
    background-color: var(--gdpr-deep-green);
    border-bottom: 1px solid var(--gdpr-border-color);
    list-style: none; /* For details/summary */
}

.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(--gdpr-gold-color);
}

.page-gdpr__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: var(--gdpr-text-secondary);
    background-color: var(--gdpr-card-bg);
}

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

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

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

/* Responsive adjustments */
@media (min-width: 769px) {
    .page-gdpr__container {
        flex-direction: row;
    }
    .page-gdpr__content-area {
        flex: 1 1 55%;
    }
    .page-gdpr__image {
        flex: 0 0 40%;
    }
    .page-gdpr__image--right {
        margin-left: 0;
    }
    .page-gdpr__image--left {
        margin-right: 0;
    }
    .page-gdpr__section--principles .page-gdpr__container {
        flex-direction: row-reverse; /* Image on right */
    }
    .page-gdpr__section--security .page-gdpr__container {
        flex-direction: row-reverse; /* Image on right */
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 10px 15px 40px;
    }
    .page-gdpr__main-title {
        font-size: 2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__section {
        padding: 40px 15px;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-gdpr__sub-title {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-gdpr__container {
        flex-direction: column;
        gap: 30px;
    }
    .page-gdpr__image {
        order: -1; /* Image always on top for mobile */
        margin: 0 auto 20px auto !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-gdpr__content-area {
        min-width: auto;
        width: 100%;
    }

    /* Mobile specific overrides for images and containers */
    .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__faq-item,
    .page-gdpr__hero-section,
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__hero-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-gdpr__btn-primary,
    .page-gdpr a[class*="button"],
    .page-gdpr a[class*="btn"] {
        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__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;
        flex-direction: column; /* Ensure buttons stack vertically */
    }
    .page-gdpr__faq-question {
        padding: 15px 20px;
        font-size: 1.05em;
    }
    .page-gdpr__faq-answer {
        padding: 10px 20px 15px;
    }
}