/* style/gdpr.css */

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

/* Base styles for the page content, ensuring contrast with body background */
.page-gdpr {
    background-color: var(--page-gdpr-bg-color); /* Matches custom palette background */
    color: var(--page-gdpr-text-main); /* Light text on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Ensure space above footer */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 10px 20px 40px; /* Small top padding, more bottom padding */
    box-sizing: border-box;
    background-color: var(--page-gdpr-deep-green); /* Slightly different dark green for hero background */
}

.page-gdpr__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-bottom: 30px;
    object-fit: cover;
}

.page-gdpr__hero-content {
    max-width: 900px;
    text-align: center;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-gdpr-gold-color); /* Using gold for main title for emphasis */
}

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

.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__btn-primary {
    background: var(--page-gdpr-button-gradient);
    color: var(--page-gdpr-text-main); /* White text on button gradient */
    border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

.page-gdpr__btn-secondary:hover {
    background-color: var(--page-gdpr-primary-color);
    color: var(--page-gdpr-text-main); /* White text on hover */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* General Section Styles */
.page-gdpr__section {
    padding: 60px 20px;
    box-sizing: border-box;
}

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

.page-gdpr__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    font-weight: 700;
    color: var(--page-gdpr-gold-color);
    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: var(--page-gdpr-primary-color);
    border-radius: 2px;
}

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

/* Card Grid Styles */
.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(--page-gdpr-card-bg); /* Darker green card background */
    border: 1px solid var(--page-gdpr-border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-gdpr-text-main); /* Light text on dark card background */
}

.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.4em;
    font-weight: 600;
    color: var(--page-gdpr-gold-color);
    margin-bottom: 15px;
}

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

/* List Styles */
.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-gdpr__list-item {
    background-color: var(--page-gdpr-card-bg);
    border-left: 4px solid var(--page-gdpr-primary-color);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    color: var(--page-gdpr-text-main);
    font-size: 1.05em;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

/* Content Image */
.page-gdpr__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
}

/* Dark Section Specifics */
.page-gdpr__dark-section {
    background-color: var(--page-gdpr-deep-green); /* A deeper green for contrast */
    color: var(--page-gdpr-text-main);
}

.page-gdpr__dark-section .page-gdpr__section-title {
    color: var(--page-gdpr-gold-color);
}

.page-gdpr__dark-section .page-gdpr__text-block {
    color: var(--page-gdpr-text-secondary);
}

/* Contact Section */
.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: center;
}

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

.page-gdpr__contact-link {
    color: var(--page-gdpr-primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
    color: var(--page-gdpr-gold-color);
    text-decoration: underline;
}

.page-gdpr__contact-cta {
    margin-top: 30px;
}

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

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

.page-gdpr__faq-item summary {
    list-style: none; /* Hide default marker */
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--page-gdpr-gold-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--page-gdpr-card-bg);
    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(--page-gdpr-divider-color);
}

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

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    content: '−'; /* Change to minus when open (JS will handle this) */
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-section {
        padding: 10px 15px 30px;
    }
    .page-gdpr__section {
        padding: 40px 15px;
    }
    .page-gdpr__container {
        padding: 0 15px;
    }
    .page-gdpr__cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 10px 15px 20px;
    }
    .page-gdpr__hero-image {
        margin-bottom: 20px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95em;
        margin: 0 auto; /* Center buttons if they stack */
    }

    .page-gdpr__section {
        padding: 30px 15px;
    }
    .page-gdpr__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
        margin-bottom: 30px;
    }
    .page-gdpr__text-block,
    .page-gdpr__list-item,
    .page-gdpr__card-text,
    .page-gdpr__contact-item,
    .page-gdpr__faq-item summary,
    .page-gdpr__faq-answer {
        font-size: 16px !important; /* Base font size for mobile */
        line-height: 1.6 !important;
    }

    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Enforce min size even on mobile */
        min-height: 200px !important;
    }
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent content overflow */
    }
    .page-gdpr__hero-image,
    .page-gdpr__content-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-gdpr__cards-grid {
        grid-template-columns: 1fr;
    }
    .page-gdpr__card {
        padding: 20px;
    }
    .page-gdpr__faq-item summary {
        padding: 15px 20px;
        font-size: 1.05em;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px 15px;
    }
    /* Fixed header spacing for video section (if present) */
    .page-gdpr__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    /* Button group for mobile */
    .page-gdpr__cta-buttons {
        display: flex;
        flex-direction: column; /* Stacks buttons vertically */
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }
}