/* style/gdpr.css */

/* --- Base Styles for GDPR Page --- */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main, #F2FFF6); /* Default text color for dark background */
    background-color: var(--background, #08160F); /* Ensure consistency with body background */
}

.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; /* Image above, text below */
    align-items: center;
    text-align: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    background-color: var(--background, #08160F);
    overflow: hidden; /* Ensure content doesn't spill */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for the image */
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
    color: var(--text-main, #F2FFF6);
}

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

.page-gdpr__description {
    font-size: 1.15rem;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.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;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

/* --- Section Titles --- */
.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--text-main, #F2FFF6);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    font-weight: bold;
    line-height: 1.3;
}

.page-gdpr__subsection-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--text-main, #F2FFF6);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* --- Content Area --- */
.page-gdpr__intro-section,
.page-gdpr__rights-section,
.page-gdpr__data-collection-section,
.page-gdpr__security-section,
.page-gdpr__third-party-section,
.page-gdpr__data-retention-section,
.page-gdpr__contact-section,
.page-gdpr__faq-section {
    padding: 60px 0;
    background-color: var(--background, #08160F);
}

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

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

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

.page-gdpr__list-item::before {
    content: "•";
    color: var(--glow, #57E38D); /* Using Glow color for list bullets */
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

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

.page-gdpr__image-inline {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
}

.page-gdpr__link-email,
.page-gdpr__link-contact {
    color: var(--glow, #57E38D);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__link-email:hover,
.page-gdpr__link-contact:hover {
    color: var(--gold, #F2C14E);
}

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

.page-gdpr__faq-item {
    background-color: var(--card-bg, #11271B); /* Card background for FAQ items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-secondary, #A7D9B8);
    border: 1px solid var(--border, #2E7A4E); /* Border color */
}

.page-gdpr__faq-item summary {
    list-style: none; /* Hide default marker for details */
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main, #F2FFF6);
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-item summary:hover {
    background-color: var(--deep-green, #0A4B2C); /* Slightly darker hover for summary */
}

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

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

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

.page-gdpr__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary, #A7D9B8);
    border-top: 1px solid var(--divider, #1E3A2A); /* Divider for answer */
}

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }
    .page-gdpr__section-title {
        font-size: clamp(1.6rem, 4vw, 2.4rem);
    }
}

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

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

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

    .page-gdpr__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-gdpr__hero-content {
        padding: 0 15px;
    }

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

    .page-gdpr__description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-gdpr__btn-primary {
        padding: 12px 25px;
        font-size: 0.95rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-gdpr__section-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        margin-bottom: 30px;
        padding-top: 40px;
    }

    .page-gdpr__subsection-title {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-gdpr__intro-section,
    .page-gdpr__rights-section,
    .page-gdpr__data-collection-section,
    .page-gdpr__security-section,
    .page-gdpr__third-party-section,
    .page-gdpr__data-retention-section,
    .page-gdpr__contact-section,
    .page-gdpr__faq-section {
        padding: 40px 0;
    }

    .page-gdpr__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

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

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

    /* Images responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure minimum size */
        min-height: 200px !important;
    }

    /* Video responsiveness (if any, though none for GDPR page) */
    .page-gdpr video,
    .page-gdpr__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__video-section,
    .page-gdpr__video-container,
    .page-gdpr__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

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

    /* Button responsiveness */
    .page-gdpr__cta-button,
    .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; /* Add padding for text inside buttons */
        padding-right: 15px;
    }
    
    .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__cta-buttons {
        display: flex;
        flex-direction: column; /* Stack buttons vertically on mobile */
    }
}