/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main for dark background */
    background-color: #08160F; /* Background */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    overflow: hidden;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Limit hero image height */
}

.page-gdpr__hero-content {
    text-align: center;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background for text readability */
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    margin-top: -100px; /* Pull content up over image slightly for visual flow, but not overlapping text */
    position: relative; /* Ensure it's above the image if any complex layout */
    z-index: 1;
}

.page-gdpr__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-gdpr__hero-description {
    font-size: 1.1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__hero-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-gdpr__hero-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

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

/* Section Titles */
.page-gdpr__section-title {
    font-size: 2.2rem;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-gdpr__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #22C768; /* Auxiliary color */
    border-radius: 2px;
}

/* Text Blocks */
.page-gdpr__text-block {
    font-size: 1.05rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
    text-align: justify;
}

/* Card Styles */
.page-gdpr__principle-cards,
.page-gdpr__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-gdpr__card {
    background-color: #11271B; /* Card B G */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__card-title {
    font-size: 1.5rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__card-text {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
}

/* Lists */
.page-gdpr__rights-list,
.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-gdpr__rights-item,
.page-gdpr__contact-item {
    background-color: #11271B; /* Card B G */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.page-gdpr__rights-item-title {
    font-size: 1.3rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-gdpr__rights-item-text {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
}

.page-gdpr__contact-label {
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    margin-right: 5px;
}

.page-gdpr__contact-link {
    color: #2AD16F; /* A brighter green for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
    color: #57E38D; /* Glow */
    text-decoration: underline;
}

/* Images within content */
.page-gdpr__content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__contact-button {
    display: block;
    width: fit-content;
    margin: 30px auto 0 auto;
    padding: 15px 30px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-gdpr__contact-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 30px;
}

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15rem;
    color: #F2FFF6; /* Text Main */
    font-weight: bold;
    cursor: pointer;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    list-style: none; /* Remove default marker */
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    background-color: #0A4B2C; /* Deep Green */
    border-color: #2E7A4E; /* Border */
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
}

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: #2AD16F; /* Brighter green */
}

.page-gdpr__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.6;
}

/* Responsive design */
@media (max-width: 768px) {
    .page-gdpr__container {
        padding: 20px 15px;
    }

    .page-gdpr__hero-title {
        font-size: 2rem;
    }

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

    .page-gdpr__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-gdpr__text-block,
    .page-gdpr__card-text,
    .page-gdpr__rights-item-text,
    .page-gdpr__faq-answer {
        font-size: 0.95rem;
    }

    .page-gdpr__principle-cards,
    .page-gdpr__security-features {
        grid-template-columns: 1fr;
    }

    /* Mobile image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__hero-section,
    .page-gdpr__introduction-section,
    .page-gdpr__principles-section,
    .page-gdpr__rights-section,
    .page-gdpr__security-section,
    .page-gdpr__contact-section,
    .page-gdpr__faq-section,
    .page-gdpr__card,
    .page-gdpr__rights-item,
    .page-gdpr__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    /* Hero content adjustment for mobile */
    .page-gdpr__hero-content {
        margin-top: -60px; /* Adjust pull-up margin for mobile */
        padding: 20px 15px;
    }

    /* Mobile button responsiveness */
    .page-gdpr__hero-button,
    .page-gdpr__contact-button,
    .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__hero-button + .page-gdpr__hero-button,
    .page-gdpr__contact-button + .page-gdpr__contact-button {
        margin-top: 15px; /* Stack buttons if multiple */
    }

    /* Adjust padding for sections that might be inside a container already */
    .page-gdpr__container {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Ensure details summary marker is hidden */
.page-gdpr__faq-item summary {
    list-style: none;
}
.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none;
}