/* style/gdpr.css */
/* Body background is #08160F (dark), so text should be light */

:root {
    --gdpr-primary-color: #11A84E;
    --gdpr-secondary-color: #22C768;
    --gdpr-background-dark: #08160F;
    --gdpr-card-background: #11271B;
    --gdpr-text-main: #F2FFF6;
    --gdpr-text-secondary: #A7D9B8;
    --gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --gdpr-border-color: #2E7A4E;
    --gdpr-glow-color: #57E38D;
    --gdpr-gold-color: #F2C14E;
    --gdpr-divider-color: #1E3A2A;
    --gdpr-deep-green: #0A4B2C;
}

.page-gdpr {
    color: var(--gdpr-text-main); /* Default text color for the page */
    background-color: var(--gdpr-background-dark);
    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-top: 10px; /* Small top padding as body handles header offset */
    background-color: var(--gdpr-deep-green);
    overflow: hidden;
    text-align: center;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 1920px;
    margin-bottom: 30px;
}

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

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px 60px;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
}

.page-gdpr__main-title {
    color: var(--gdpr-text-main);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__btn-primary {
    display: inline-block;
    background: var(--gdpr-button-gradient);
    color: var(--gdpr-text-main);
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Section Styling */
.page-gdpr__section-title {
    color: var(--gdpr-text-main);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    padding-top: 40px;
}

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

.page-gdpr__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-gdpr__light-bg .page-gdpr__section-title,
.page-gdpr__light-bg .page-gdpr__card-title,
.page-gdpr__light-bg .page-gdpr__faq-main-title,
.page-gdpr__light-bg .page-gdpr__faq-qtext {
    color: var(--gdpr-deep-green);
}

.page-gdpr__light-bg .page-gdpr__text-block,
.page-gdpr__light-bg .page-gdpr__card-text,
.page-gdpr__light-bg .page-gdpr__link,
.page-gdpr__light-bg .page-gdpr__faq-answer p,
.page-gdpr__light-bg .page-gdpr__contact-list strong {
    color: #555555;
}

.page-gdpr__light-bg .page-gdpr__link {
    color: var(--gdpr-primary-color);
}

.page-gdpr__dark-bg {
    background-color: var(--gdpr-background-dark);
    color: var(--gdpr-text-main);
}

.page-gdpr__dark-bg .page-gdpr__card {
    background-color: var(--gdpr-card-background);
    border: 1px solid var(--gdpr-border-color);
}

.page-gdpr__image-content {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Cards */
.page-gdpr__principles-list,
.page-gdpr__rights-list,
.page-gdpr__measures-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__card {
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-gdpr__card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--gdpr-glow-color);
}

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

/* Contact and FAQ */
.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    text-align: center;
}

.page-gdpr__contact-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--gdpr-text-secondary);
}

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

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

.page-gdpr__faq-section {
    margin-top: 50px;
}

.page-gdpr__faq-main-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    color: var(--gdpr-deep-green);
}

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

.page-gdpr__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-item[open] {
    background-color: #ffffff;
    border-color: var(--gdpr-primary-color);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--gdpr-deep-green);
    background-color: #f0f0f0;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
    display: none;
}

.page-gdpr__faq-question:hover {
    background-color: #e5e5e5;
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    content: '−';
}

.page-gdpr__faq-answer {
    padding: 15px 25px 25px;
    font-size: 1rem;
    line-height: 1.7;
    color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 768px) {
    .page-gdpr__main-title {
        font-size: 2rem;
    }
    .page-gdpr__hero-description {
        font-size: 1rem;
    }
    .page-gdpr__section-title {
        font-size: 1.8rem;
    }
    .page-gdpr__card-title {
        font-size: 1.3rem;
    }
    .page-gdpr__faq-main-title {
        font-size: 1.6rem;
    }
    .page-gdpr__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-gdpr__faq-toggle {
        font-size: 1.5rem;
    }
    .page-gdpr__faq-answer {
        padding: 10px 20px 20px;
    }

    /* Mobile image adaptation */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__container,
    .page-gdpr__principles-list,
    .page-gdpr__rights-list,
    .page-gdpr__measures-list,
    .page-gdpr__faq-list,
    .page-gdpr__hero-content,
    .page-gdpr__btn-primary,
    .page-gdpr__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-gdpr__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-gdpr__btn-primary {
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0 auto;
    }
    .page-gdpr__principles-list,
    .page-gdpr__rights-list,
    .page-gdpr__measures-list {
        grid-template-columns: 1fr;
    }
    .page-gdpr__contact-list {
        padding-left: 0;
        padding-right: 0;
    }
}