/* style/gdpr.css */

/* General page styling */
.page-gdpr {
    background-color: var(--background-color, #08160F); /* Fallback to custom background color */
    color: var(--text-main, #F2FFF6); /* Main text color for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure some space at the bottom before footer */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 60px; /* Small top padding, larger bottom padding */
    background-color: var(--background-color, #08160F);
    overflow: hidden; /* Ensure content doesn't spill */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

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

.page-gdpr__hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-main, #F2FFF6);
    padding: 0 15px;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
    font-weight: bold;
    color: var(--gold, #F2C14E); /* Using Gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

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

/* Section common styling */
.page-gdpr__content-section {
    padding: 40px 20px;
    background-color: var(--background-color, #08160F);
}

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

.page-gdpr__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--gold, #F2C14E); /* Using Gold for section titles */
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
    line-height: 1.3;
}

.page-gdpr__text-block {
    font-size: 1em;
    margin-bottom: 20px;
    color: var(--text-main, #F2FFF6);
    line-height: 1.7;
}

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

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

.page-gdpr__list-item strong {
    color: var(--gold, #F2C14E);
}

.page-gdpr__link {
    color: var(--glow, #57E38D); /* Using Glow for links */
    text-decoration: underline;
}

.page-gdpr__link:hover {
    color: var(--main-color, #11A84E);
}

/* Image with text block */
.page-gdpr__image-text-block {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
    margin-top: 30px;
}

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

.page-gdpr__image-text-block .page-gdpr__list {
    flex: 1;
    min-width: 300px;
    margin-left: 0; /* Reset default list margin */
}

/* Buttons */
.page-gdpr__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: var(--text-main, #F2FFF6);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

/* FAQ Section (using details/summary for accessibility) - Not explicitly in outline, but good practice for policy pages */
.page-gdpr__faq-section {
    padding: 40px 20px;
    background-color: var(--card-bg, #11271B); /* Card background for FAQ */
    border-radius: 10px;
    margin-top: 40px;
}

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

.page-gdpr__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--gold, #F2C14E);
    cursor: pointer;
    list-style: none; /* Remove default marker */
    position: relative;
    outline: none;
}

.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit browsers */
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
    padding-right: 15px;
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to form an X or minus */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    font-size: 0.95em;
    color: var(--text-secondary, #A7D9B8);
    line-height: 1.6;
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-gdpr__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-gdpr__main-title {
        font-size: clamp(2em, 5vw, 2.8em);
    }

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

    .page-gdpr__section-title {
        font-size: clamp(1.6em, 4vw, 2.2em);
    }

    .page-gdpr__image-text-block {
        flex-direction: column;
        align-items: center;
    }

    .page-gdpr__content-image {
        max-width: 100%;
    }
}

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

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

    .page-gdpr__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__content-section,
    .page-gdpr__container,
    .page-gdpr__faq-section,
    .page-gdpr__image-text-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }

    .page-gdpr__description {
        font-size: 0.95em;
        margin-bottom: 25px;
    }

    .page-gdpr__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
        margin-bottom: 20px;
    }

    .page-gdpr__text-block,
    .page-gdpr__list-item,
    .page-gdpr__faq-item summary,
    .page-gdpr__faq-answer {
        font-size: 0.9em;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-large,
    .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;
        font-size: 1em !important;
    }

    .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;
    }

    .page-gdpr__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }

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