/* style/gdpr.css */

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

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

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 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-bg-primary);
    text-align: center;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

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

.page-gdpr__hero-content {
    max-width: 800px;
    margin-top: 20px;
}

.page-gdpr__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* H1 font size with clamp */
    color: var(--gdpr-text-main);
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-gdpr__subtitle {
    font-size: 1.2em;
    color: var(--gdpr-text-secondary);
    margin-bottom: 30px;
}

/* CTA Button */
.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    background: var(--gdpr-button-gradient);
    color: #ffffff;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-gdpr__cta-button--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

/* Content Sections */
.page-gdpr__content-section {
    padding: 40px 0;
    background-color: var(--gdpr-bg-card); /* Card BG for alternating sections */
    color: var(--gdpr-text-main); /* Main text color */
}

.page-gdpr__dark-section {
    background-color: var(--gdpr-bg-primary); /* Primary BG for darker sections */
    color: var(--gdpr-text-main);
}

.page-gdpr__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    color: var(--gdpr-gold); /* Gold for section titles */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-gdpr__sub-title {
    font-size: clamp(1.4em, 2.5vw, 2em);
    color: var(--gdpr-text-main);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

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

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

.page-gdpr__list-item {
    margin-bottom: 10px;
    font-size: 1.05em;
    color: var(--gdpr-text-secondary); /* Secondary text color for list items */
}

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

.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.2);
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
    object-fit: cover;
}

.page-gdpr__contact-info {
    font-size: 1.1em;
    color: var(--gdpr-text-main);
    margin-bottom: 10px;
}

.page-gdpr__contact-link {
    color: var(--gdpr-glow); /* Glow color for links */
    text-decoration: none;
    font-weight: bold;
}

.page-gdpr__contact-link:hover {
    text-decoration: underline;
}

.page-gdpr__text-center {
    text-align: center;
}

/* FAQ Section */
.page-gdpr__faq-section {
    padding: 60px 0;
    background-color: var(--gdpr-bg-card);
    color: var(--gdpr-text-main);
}

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

.page-gdpr__faq-item {
    background-color: var(--gdpr-bg-primary); /* Darker background for FAQ items */
    border: 1px solid var(--gdpr-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--gdpr-text-main);
    background-color: var(--gdpr-deep-green); /* Deep Green for summary background */
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-item summary:hover {
    background-color: var(--gdpr-border-color); /* Lighter green on hover */
}

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

.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);
}

.page-gdpr__faq-answer {
    padding: 20px;
    font-size: 1em;
    color: var(--gdpr-text-secondary);
    border-top: 1px solid var(--gdpr-divider);
}

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

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

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

    .page-gdpr__main-title {
        font-size: 2em; /* Smaller H1 for mobile */
    }

    .page-gdpr__subtitle {
        font-size: 1em;
    }

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

    /* All containers with images */
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__content-section,
    .page-gdpr__cta-section,
    .page-gdpr__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Buttons */
    .page-gdpr__cta-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;
        text-align: center;
    }
    
    .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;
    }

    .page-gdpr__section-title {
        font-size: 1.8em;
    }

    .page-gdpr__sub-title {
        font-size: 1.2em;
    }

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

    .page-gdpr__list {
        margin-left: 15px;
    }

    .page-gdpr__list-item {
        font-size: 0.95em;
    }

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

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

/* No CSS filters on images */
.page-gdpr img {
    filter: none;
}