/* style/gdpr.css */

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

.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--gdpr-text-main); /* Default text color for dark body background */
    background-color: var(--gdpr-background);
}

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden;
    background-color: var(--gdpr-deep-green);
}

.page-gdpr__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.2;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    color: var(--gdpr-text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

.page-gdpr__btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: var(--gdpr-btn-gradient);
    color: var(--gdpr-text-main);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    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);
}

.page-gdpr__content-section,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__implementation-section,
.page-gdpr__contact-section,
.page-gdpr__faq-section {
    padding: 60px 20px;
    overflow: hidden;
}

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

.page-gdpr__dark-section {
    background-color: var(--gdpr-deep-green);
    color: var(--gdpr-text-main);
}

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

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

.page-gdpr__text-block {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--gdpr-text-secondary);
}

.page-gdpr__text-block p {
    margin-bottom: 1em;
}

.page-gdpr__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-gdpr__list-item {
    background-color: var(--gdpr-card-bg);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--gdpr-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.page-gdpr__list-item:hover {
    transform: translateY(-5px);
}

.page-gdpr__list-title {
    font-size: 1.35rem;
    color: var(--gdpr-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__list-item p {
    font-size: 0.95rem;
    color: var(--gdpr-text-secondary);
}

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

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

.page-gdpr__faq-list {
    margin-top: 40px;
}

.page-gdpr__faq-item {
    background-color: var(--gdpr-card-bg);
    border: 1px solid var(--gdpr-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--gdpr-text-main);
    cursor: pointer;
    background-color: var(--gdpr-card-bg);
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    border-bottom-color: var(--gdpr-divider);
}

.page-gdpr__faq-question:hover {
    background-color: rgba(var(--primary-color), 0.1);
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    content: '−'; /* Handled by JS for both details/div */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    font-size: 0.95rem;
    color: var(--gdpr-text-secondary);
}

.page-gdpr__faq-answer p {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 40px 15px;
    }

    .page-gdpr__main-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .page-gdpr__description {
        font-size: 1rem;
    }

    .page-gdpr__btn-primary {
        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;
    }

    .page-gdpr__content-section,
    .page-gdpr__principles-section,
    .page-gdpr__rights-section,
    .page-gdpr__implementation-section,
    .page-gdpr__contact-section,
    .page-gdpr__faq-section {
        padding: 40px 15px;
    }

    .page-gdpr__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .page-gdpr__text-block,
    .page-gdpr__list-item p {
        font-size: 0.9rem;
    }

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

    .page-gdpr__list-item {
        padding: 20px;
    }

    .page-gdpr__list-title {
        font-size: 1.2rem;
    }

    .page-gdpr__faq-question {
        font-size: 1rem;
        padding: 18px 20px;
    }

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

    /* Mobile image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__container,
    .page-gdpr__hero-content,
    .page-gdpr__text-block,
    .page-gdpr__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-gdpr__hero-content {
        padding-left: 0;
        padding-right: 0;
    }
    .page-gdpr__principles-section .page-gdpr__container,
    .page-gdpr__rights-section .page-gdpr__container,
    .page-gdpr__implementation-section .page-gdpr__container,
    .page-gdpr__contact-section .page-gdpr__container,
    .page-gdpr__faq-section .page-gdpr__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__content-section .page-gdpr__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-section {
        padding: 30px 10px;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
    }

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

    .page-gdpr__list-item {
        padding: 15px;
    }
}