/* style/gdpr.css */

/* Custom Colors from provided palette */
:root {
    --gdpr-bg-primary: #08160F; /* Background */
    --gdpr-card-bg: #11271B; /* Card BG */
    --gdpr-text-main: #F2FFF6; /* Text Main */
    --gdpr-text-secondary: #A7D9B8; /* Text Secondary */
    --gdpr-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --gdpr-border-color: #2E7A4E; /* Border */
    --gdpr-glow-color: #57E38D; /* Glow */
    --gdpr-gold-color: #F2C14E; /* Gold */
    --gdpr-divider-color: #1E3A2A; /* Divider */
    --gdpr-deep-green: #0A4B2C; /* Deep Green */
}

/* Base styles for the GDPR page content */
.page-gdpr {
    background-color: var(--gdpr-bg-primary); /* Dark background */
    color: var(--gdpr-text-main); /* Light text for contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Add some padding at the bottom */
}

/* No padding-top for .page-gdpr as body handles --header-offset */

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--gdpr-deep-green); /* Use a darker green for hero section background */
    overflow: hidden; /* Ensure no overflow */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image wrapper */
    margin-bottom: 20px; /* Space between image and text */
}

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

.page-gdpr__hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative; /* Ensure content is above any potential background elements */
    z-index: 1; /* Ensure text is on top */
}

.page-gdpr__hero-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Use clamp for H1 font size */
    font-weight: 700;
    color: var(--gdpr-gold-color); /* Gold for main title */
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-gdpr__hero-description {
    font-size: 1.1em;
    color: var(--gdpr-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* General Section Styles */
.page-gdpr__section {
    padding: 60px 0;
}

.page-gdpr__section.page-gdpr__dark-section {
    background-color: var(--gdpr-card-bg); /* Use card background for dark sections */
}

.page-gdpr__title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    font-weight: 700;
    color: var(--gdpr-gold-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-gdpr__subtitle {
    font-size: clamp(1.4em, 2.5vw, 2em);
    font-weight: 600;
    color: var(--gdpr-glow-color);
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.page-gdpr__text-block {
    font-size: 1em;
    color: var(--gdpr-text-main);
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-gdpr__list li {
    margin-bottom: 10px;
    font-size: 1em;
    line-height: 1.5;
}

.page-gdpr__list li strong {
    color: var(--gdpr-glow-color);
}

.page-gdpr__link {
    color: var(--gdpr-glow-color);
    text-decoration: underline;
}

.page-gdpr__link:hover {
    color: var(--gdpr-gold-color);
}

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

/* Card Grid for Rights Section */
.page-gdpr__cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-gdpr__card {
    background-color: var(--gdpr-card-bg);
    border: 1px solid var(--gdpr-border-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    color: var(--gdpr-text-secondary); /* Secondary text for card content */
}

.page-gdpr__card-title {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--gdpr-gold-color);
    margin-bottom: 15px;
    text-align: left;
}

.page-gdpr__card-text {
    font-size: 0.95em;
    line-height: 1.5;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap; /* Prevent text wrapping on desktop */
    box-sizing: border-box;
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-gdpr__btn-primary {
    background: var(--gdpr-btn-gradient);
    color: #ffffff; /* White text on green gradient */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: var(--gdpr-glow-color);
    border: 2px solid var(--gdpr-glow-color);
}

.page-gdpr__btn-secondary:hover {
    background-color: var(--gdpr-glow-color);
    color: var(--gdpr-bg-primary); /* Dark text on glow color */
    transform: translateY(-2px);
}

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

.page-gdpr__faq-item {
    background-color: var(--gdpr-card-bg);
    border: 1px solid var(--gdpr-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--gdpr-gold-color);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
    list-style: none; /* For <summary> tag */
}

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

.page-gdpr__faq-question:hover {
    background-color: var(--gdpr-deep-green);
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--gdpr-glow-color);
}

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

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

/* Responsive Styles */
@media (max-width: 768px) {
    .page-gdpr__container {
        padding: 0 15px; /* Adjust padding for mobile */
    }

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

    .page-gdpr__hero-title {
        font-size: clamp(1.8em, 8vw, 2.5em); /* Adjust H1 for mobile */
    }

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

    .page-gdpr__title {
        font-size: clamp(1.6em, 7vw, 2.2em);
        margin-bottom: 30px;
    }

    .page-gdpr__subtitle {
        font-size: clamp(1.2em, 5vw, 1.6em);
    }

    /* Images responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: unset !important; /* Allow smaller images on mobile if needed, but still > 200px */
        min-height: unset !important;
    }

    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__cta-buttons,
    .page-gdpr__faq-list,
    .page-gdpr__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    
    .page-gdpr__image {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Buttons responsiveness */
    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
        padding: 0 15px; /* Adjust padding for button container */
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important; /* Full width buttons */
        max-width: 100% !important;
        white-space: normal !important; /* Allow text wrap */
        word-wrap: break-word !important;
        padding: 12px 20px;
    }

    .page-gdpr__cards-grid {
        grid-template-columns: 1fr; /* Single column for cards */
        gap: 20px;
    }

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

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

/* Ensure minimum image size for content images, not hero */
.page-gdpr__image {
    min-width: 200px;
    min-height: 200px;
}