/* style/gdpr.css */

/* General styles for the GDPR page */
.page-gdpr {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-main, #F2FFF6); /* Default text color for dark background */
    background-color: var(--background, #08160F); /* Page background color */
    padding-bottom: 60px; /* Space for footer */
}

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

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

.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px; /* Small top padding, more bottom padding */
    color: var(--text-main, #F2FFF6);
    background-color: var(--background, #08160F);
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit hero image height */
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 8px;
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
}

.page-gdpr__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main, #F2FFF6);
}

.page-gdpr__intro-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--button-gradient, linear-gradient(180deg, #2AD16F 0%, #13994A 100%));
    color: var(--text-main, #F2FFF6);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s 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__cta-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

.page-gdpr__cta-button--secondary {
    background: transparent;
    border: 2px solid var(--border, #2E7A4E);
    color: var(--text-main, #F2FFF6);
}

.page-gdpr__cta-button--secondary:hover {
    background-color: rgba(46, 122, 78, 0.2);
}

.page-gdpr__cta-button--wide {
    min-width: 280px;
}

.page-gdpr__section {
    padding: 60px 0;
    background-color: var(--background, #08160F);
}

.page-gdpr__overview-section {
    background-color: var(--card-bg, #11271B);
}

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-main, #F2FFF6);
}

.page-gdpr__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-secondary, #A7D9B8);
    text-align: justify;
}

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

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

.page-gdpr__grid--2-col {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.page-gdpr__card {
    background-color: var(--card-bg, #11271B);
    border: 1px solid var(--border, #2E7A4E);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    color: var(--text-main, #F2FFF6);
}

.page-gdpr__card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-main, #F2FFF6);
}

.page-gdpr__card-text {
    font-size: 0.95rem;
    color: var(--text-secondary, #A7D9B8);
    flex-grow: 1; /* Ensures text takes available space */
}

.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-gdpr__list-item {
    font-size: 1rem;
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
    color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__list-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--glow, #57E38D);
    font-weight: bold;
}

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

.page-gdpr__list-item a {
    color: var(--glow, #57E38D);
    text-decoration: none;
}

.page-gdpr__list-item a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-gdpr__faq-section {
    background-color: var(--background, #08160F);
}

.page-gdpr__faq-list {
    margin-top: 30px;
}

.page-gdpr__faq-item {
    background-color: var(--card-bg, #11271B);
    border: 1px solid var(--divider, #1E3A2A);
    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;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main, #F2FFF6);
    background-color: var(--card-bg, #11271B);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-gdpr__faq-question:hover {
    background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter hover for dark background */
}

/* Hide default details marker */
.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-gdpr__faq-item summary::marker {
    display: none;
}

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow, #57E38D);
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or '-' */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__faq-answer p {
    margin: 0;
    color: var(--text-secondary, #A7D9B8);
}

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

/* Ensure contrast for links within text blocks */
.page-gdpr a {
    color: var(--glow, #57E38D);
    text-decoration: none;
}

.page-gdpr a:hover {
    text-decoration: underline;
}

/* Contrast fix for specific elements if needed - applying custom colors */
.page-gdpr__dark-section {
    background: var(--deep-green, #0A4B2C);
    color: var(--text-main, #F2FFF6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-gdpr__hero-section {
        padding: 10px 0 40px;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

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

    .page-gdpr__cta-button {
        padding: 12px 20px;
        font-size: 1rem;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-bottom: 10px;
    }

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

    .page-gdpr__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

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

    .page-gdpr__grid--2-col {
        grid-template-columns: 1fr;
    }

    .page-gdpr__card {
        padding: 20px;
    }

    .page-gdpr__card-title {
        font-size: 1.2rem;
    }

    .page-gdpr__text-block,
    .page-gdpr__list-item,
    .page-gdpr__faq-question,
    .page-gdpr__faq-answer {
        font-size: 0.95rem;
    }

    /* Mobile image/video/button responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

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

    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-content,
    .page-gdpr__faq-item,
    .page-gdpr__video-section,
    .page-gdpr__video-container,
    .page-gdpr__video-wrapper,
    .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;
        overflow: hidden !important;
    }
    
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    /* For multiple buttons in a group, stack them */
    .page-gdpr__cta-buttons,
    .page-gdpr__button-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}