/* style/gdpr.css */

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

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for dark backgrounds */
    background-color: var(--bg-primary); /* Default dark background */
}

.page-gdpr__highlight {
    color: var(--gold-color); /* #F2C14E */
    font-weight: bold;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Stacks image and content vertically */
    align-items: center;
    justify-content: center;
    color: var(--text-main); /* #F2FFF6 */
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: var(--bg-primary); /* Ensure background for content below image */
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Limit height for aesthetic */
    margin-bottom: 30px; /* Space between image and text content */
    min-width: 200px;
    min-height: 200px;
}

.page-gdpr__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1; /* Ensure content is above any potential background layers */
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    font-weight: bold;
    color: var(--gold-color); /* #F2C14E */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-gdpr__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-secondary); /* #A7D9B8 */
}

/* General Section Styles */
.page-gdpr__section {
    padding: 60px 0;
    background-color: var(--bg-primary); /* Default dark background for sections */
    color: var(--text-main); /* Light text for dark background */
}

.page-gdpr__section:nth-of-type(even) {
    background-color: var(--card-bg-color); /* Slightly different background for alternating sections */
}

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

.page-gdpr__section-title {
    font-size: 2.5em;
    color: var(--gold-color); /* #F2C14E */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-gdpr__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); /* #11A84E to #22C768 */
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-gdpr__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-secondary); /* #A7D9B8 */
}

.page-gdpr__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: 800px; /* Constraint for content images */
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* List Styles */
.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.page-gdpr__list-item {
    background-color: var(--card-bg-color); /* #11271B */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid var(--primary-color); /* #11A84E */
    border-radius: 5px;
    font-size: 1.05em;
    color: var(--text-main); /* #F2FFF6 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

/* Button Styles */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Crucial for button responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff; /* White text for primary button */
    border: none;
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
}

.page-gdpr__btn-secondary {
    background: transparent;
    color: var(--primary-color); /* #11A84E */
    border: 2px solid var(--primary-color); /* #11A84E */
}

.page-gdpr__btn-secondary:hover {
    background: var(--primary-color); /* #11A84E */
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.3);
}

.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%; /* Ensure container doesn't overflow */
    box-sizing: border-box;
}

.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: center;
}

.page-gdpr__contact-item {
    font-size: 1.1em;
    color: var(--text-secondary); /* #A7D9B8 */
    margin-bottom: 10px;
}

.page-gdpr__contact-btn {
    margin-top: 20px;
}

/* FAQ Section */
.page-gdpr__faq-section {
    padding-bottom: 80px;
}

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

.page-gdpr__faq-item {
    background-color: var(--card-bg-color); /* #11271B */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main); /* #F2FFF6 */
    cursor: pointer;
    background-color: var(--divider-color); /* #1E3A2A */
    border-bottom: 1px solid var(--border-color); /* #2E7A4E */
    list-style: none; /* Hide default marker */
}

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

.page-gdpr__faq-item[open] summary {
    border-bottom: 1px solid var(--primary-color); /* #11A84E */
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
    color: var(--gold-color); /* #F2C14E */
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--primary-color); /* #11A84E */
    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 */
    color: var(--gold-color); /* #F2C14E */
}

.page-gdpr__faq-answer {
    padding: 20px;
    font-size: 1.05em;
    color: var(--text-secondary); /* #A7D9B8 */
    background-color: var(--card-bg-color); /* #11271B */
}

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

/* Conclusion Section */
.page-gdpr__conclusion-section {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: var(--card-bg-color); /* #11271B */
}

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

    .page-gdpr__hero-section {
        padding-bottom: 40px;
        padding-top: 10px !important; /* body already handles --header-offset */
    }

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

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

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

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

    .page-gdpr__text-block {
        font-size: 1em;
    }

    .page-gdpr__list-item {
        font-size: 0.95em;
        padding: 12px 15px;
    }

    /* Mobile button responsiveness */
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .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 {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Mobile image responsiveness */
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* FAQ adjustments */
    .page-gdpr__faq-item summary {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-gdpr__faq-answer {
        padding: 15px;
        font-size: 1em;
    }
}

/* Ensure all images meet minimum size requirements and are not small icons */
.page-gdpr img {
    min-width: 200px;
    min-height: 200px;
}

/* No filter for images */
.page-gdpr img {
    filter: none !important;
}

/* Ensure the hero image doesn't have text overlaid */
.page-gdpr__hero-section {
    position: relative;
}