/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    color: #F2FFF6; /* Text Main from custom palette */
    background-color: #08160F; /* Background from custom palette */
    line-height: 1.6;
    padding-bottom: 50px; /* Ensure space above footer */
}

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

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

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for the hero image */
    overflow: hidden;
    margin-bottom: 40px; /* 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; /* Ensure content is above any potential background elements */
}

.page-gdpr__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
    color: #F2FFF6;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-gdpr__intro-text {
    font-size: 1.1em;
    color: #A7D9B8;
    margin-bottom: 30px;
}

.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 20px;
    justify-content: center;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button doesn't overflow */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

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

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-gdpr__btn-secondary {
    background: transparent;
    color: #F2C14E; /* Gold for secondary button text */
    border: 2px solid #F2C14E;
}

.page-gdpr__btn-secondary:hover {
    background: #F2C14E;
    color: #08160F;
}

/* General Section Styles */
.page-gdpr__section {
    padding: 60px 0;
    background-color: #08160F; /* Consistent background */
    color: #F2FFF6;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #F2FFF6;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-gdpr__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: #A7D9B8;
}

.page-gdpr__text-block a {
    color: #F2C14E; /* Links in text blocks */
    text-decoration: underline;
}

.page-gdpr__text-block a:hover {
    color: #57E38D;
}

.page-gdpr__image-content {
    width: 100%;
    height: auto;
    display: block;
    max-width: 800px; /* Example max-width, adjust as needed */
    margin: 40px auto;
    border-radius: 10px;
    object-fit: cover;
}

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

.page-gdpr__list-item {
    background-color: #11271B; /* Card BG for list items */
    border: 1px solid #2E7A4E;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #A7D9B8;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.page-gdpr__list-item strong {
    color: #F2FFF6;
}

.page-gdpr__list-item::before {
    content: '✓'; /* Custom bullet point */
    color: #57E38D;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1.6;
}

/* FAQ Section */
.page-gdpr__faq-section {
    background-color: #0A4B2C; /* Deep Green for FAQ section */
    padding: 80px 0;
}

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

.page-gdpr__faq-item {
    background-color: #11271B;
    border: 1px solid #2E7A4E;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #A7D9B8;
}

.page-gdpr__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #F2FFF6;
    cursor: pointer;
    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-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #F2C14E;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    content: '−'; /* Change to minus when open */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #A7D9B8;
}

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

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
}

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

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

    .page-gdpr__hero-image-wrapper {
        margin-bottom: 30px;
    }

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

    .page-gdpr__intro-text {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

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

    .page-gdpr__container {
        padding: 0 15px; /* Add padding for mobile content areas */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Image Responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important; /* Ensure padding/border don't cause overflow */
    }

    .page-gdpr__image-content {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    /* FAQ Section Mobile */
    .page-gdpr__faq-section {
        padding: 60px 0;
    }

    .page-gdpr__faq-item summary {
        padding: 15px 20px;
    }

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