/* style/gdpr.css */

/* Custom Colors */
:root {
    --page-gdpr-bg: #08160F;
    --page-gdpr-card-bg: #11271B;
    --page-gdpr-text-main: #F2FFF6;
    --page-gdpr-text-secondary: #A7D9B8;
    --page-gdpr-border: #2E7A4E;
    --page-gdpr-glow: #57E38D;
    --page-gdpr-gold: #F2C14E;
    --page-gdpr-divider: #1E3A2A;
    --page-gdpr-deep-green: #0A4B2C;
    --page-gdpr-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-gdpr {
    background-color: var(--page-gdpr-bg);
    color: var(--page-gdpr-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    box-sizing: border-box;
    overflow: hidden; /* Ensure no overflow */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    margin-top: 40px;
    padding: 0 20px;
}

.page-gdpr__main-title {
    color: var(--page-gdpr-text-main);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    /* No fixed font-size, rely on clamp if needed, otherwise browser default for h1 */
}

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

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%; /* Ensure container takes full width */
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to button group */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center; /* Center text in button */
}

.page-gdpr__btn-primary {
    background: var(--page-gdpr-btn-gradient);
    color: #ffffff; /* White text for contrast */
    border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-gdpr__btn-secondary:hover {
    background: rgba(var(--page-gdpr-border), 0.2);
    transform: translateY(-2px);
}

.page-gdpr__section {
    padding: 60px 20px;
    box-sizing: border-box;
    overflow: hidden; /* Prevent overflow from children */
}

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

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%; /* Ensure container takes full width */
    box-sizing: border-box;
}

.page-gdpr__container--centered {
    text-align: center;
}

.page-gdpr__section-title {
    color: var(--page-gdpr-text-main);
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-gdpr__sub-title {
    color: var(--page-gdpr-text-main);
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__text-block {
    color: var(--page-gdpr-text-secondary);
    margin-bottom: 20px;
    font-size: 1.05em;
}

.page-gdpr__text-block--centered {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-gdpr__card {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--page-gdpr-text-main); /* Ensure light text on dark card */
}

.page-gdpr__card-title {
    color: var(--page-gdpr-text-main);
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__card-text {
    color: var(--page-gdpr-text-secondary);
    font-size: 0.95em;
}

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

.page-gdpr__list-item {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-divider);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 10px;
    color: var(--page-gdpr-text-main);
    font-size: 1.05em;
}

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

.page-gdpr__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin-top: 40px;
    object-fit: cover;
    min-height: 200px; /* Min size for content images */
}

.page-gdpr__image--centered {
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 600px;
}

.page-gdpr__contact-item {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 10px;
    color: var(--page-gdpr-text-main);
    font-size: 1.1em;
    text-align: left;
}

.page-gdpr__contact-item a {
    color: var(--page-gdpr-gold);
    text-decoration: none;
    font-weight: bold;
}

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

/* FAQ Section */
.page-gdpr__faq-section {
    padding-bottom: 80px;
}

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

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.15em;
    color: var(--page-gdpr-text-main);
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: rgba(var(--page-gdpr-border), 0.2);
}

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

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

/* Details tag specific styling for FAQ */
.page-gdpr__faq-item details > summary {
    list-style: none; /* Hide default marker */
}
.page-gdpr__faq-item details > summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

/* Ensure images meet minimum size requirements */
.page-gdpr img {
    min-width: 200px;
    min-height: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        margin-top: 30px;
    }
    .page-gdpr__main-title {
        font-size: 2.8em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

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

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

    .page-gdpr__hero-image {
        max-height: 400px;
    }

    .page-gdpr__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

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

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px !important; /* Force padding for button group */
    }

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

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

    .page-gdpr__container {
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

    .page-gdpr__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-gdpr__card {
        padding: 20px;
    }

    .page-gdpr__list-item,
    .page-gdpr__contact-item {
        font-size: 1em;
        padding: 12px 15px;
    }

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

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

    /* All images must be responsive */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure min size even on mobile */
        min-height: 200px !important; /* Ensure min size even on mobile */
    }

    /* All image containers must be responsive */
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__section,
    .page-gdpr__container,
    .page-gdpr__grid,
    .page-gdpr__card,
    .page-gdpr__text-block,
    .page-gdpr__list-item,
    .page-gdpr__contact-item,
    .page-gdpr__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Ensure no overflow */
    }
}