/* style/gdpr.css */

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

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

/* Sections */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: var(--gdpr-background); /* Ensure consistent background */
    overflow: hidden; /* Prevent content overflow */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

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

.page-gdpr__hero-content {
    width: 100%;
    max-width: 1200px;
    padding: 40px 20px;
    text-align: center;
    box-sizing: border-box;
    background-color: var(--gdpr-card-bg); /* Use card background for hero content block */
    color: var(--gdpr-text-main);
    border-radius: 8px;
    margin-top: -80px; /* Overlap slightly with image for visual effect, but not *on* the image */
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.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(--gdpr-gold); /* Gold color for main title */
}

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

.page-gdpr__btn-primary {
    display: inline-block;
    background: var(--gdpr-btn-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    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;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-gdpr__content-area,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__security-section,
.page-gdpr__consent-section,
.page-gdpr__contact-dpo-section,
.page-gdpr__faq-section,
.page-gdpr__cta-section {
    padding: 60px 20px;
    box-sizing: border-box;
    width: 100%;
}

.page-gdpr__content-area,
.page-gdpr__rights-section,
.page-gdpr__consent-section,
.page-gdpr__faq-section {
    background-color: var(--gdpr-background); /* Use the main background color for light sections */
    color: var(--gdpr-text-main);
}

.page-gdpr__principles-section,
.page-gdpr__security-section,
.page-gdpr__contact-dpo-section {
    background-color: var(--gdpr-deep-green); /* Use deep green for alternating sections */
    color: var(--gdpr-text-main);
}

.page-gdpr__cta-section {
    background-color: var(--gdpr-primary-color); /* Use primary color for CTA section */
    color: #ffffff;
    text-align: center;
}

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

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

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

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

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

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__card-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--gdpr-primary-color); /* Primary color for card titles */
}

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

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

.page-gdpr__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05em;
    color: var(--gdpr-text-secondary);
}

.page-gdpr__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--gdpr-primary-color);
    font-weight: bold;
}

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

.page-gdpr__link:hover {
    color: var(--gdpr-gold);
}

.page-gdpr__image-wrapper {
    margin: 40px 0;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-gdpr__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__contact-info {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 40px;
}

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

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

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--gdpr-primary-color);
    cursor: pointer;
    background-color: var(--gdpr-card-bg);
    transition: background-color 0.3s ease;
    user-select: none;
}

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

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

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

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

.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
    border-top: 1px solid var(--gdpr-divider);
}

.page-gdpr__faq-answer p {
    margin-top: 15px;
    margin-bottom: 0;
}

/* CTA section specific styles */
.page-gdpr__cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.page-gdpr__cta-content .page-gdpr__section-title {
    color: #ffffff; /* White title on primary color background */
}

.page-gdpr__cta-content .page-gdpr__text-block {
    color: #ffffff; /* White text on primary color background */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    justify-content: center;
    width: 100%;
    max-width: 600px; /* Limit width for button group */
}

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

.page-gdpr__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: var(--gdpr-primary-color);
    color: #ffffff;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: clamp(1.8em, 5vw, 2.8em);
    }

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

@media (max-width: 768px) {
    .page-gdpr__hero-content {
        margin-top: -60px; /* Adjust overlap for mobile */
        padding: 30px 15px;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.5em, 6vw, 2.2em);
    }

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

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

    .page-gdpr__text-block,
    .page-gdpr__card-text,
    .page-gdpr__list-item,
    .page-gdpr__contact-item,
    .page-gdpr__faq-answer p {
        font-size: 0.95em;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-bottom: 10px; /* Stack buttons */
    }

    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        max-width: 100%;
        width: 100%;
        padding: 0 15px;
    }

    .page-gdpr__content-area,
    .page-gdpr__principles-section,
    .page-gdpr__rights-section,
    .page-gdpr__security-section,
    .page-gdpr__consent-section,
    .page-gdpr__contact-dpo-section,
    .page-gdpr__faq-section,
    .page-gdpr__cta-section {
        padding: 40px 15px;
    }

    .page-gdpr__container {
        padding-left: 0px; /* Remove container padding if any, use section padding */
        padding-right: 0px;
    }

    /* Mobile image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

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

    /* Mobile video responsiveness - no video element used, but including for completeness */
    .page-gdpr video,
    .page-gdpr__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-gdpr__video-section,
    .page-gdpr__video-container,
    .page-gdpr__video-wrapper {
        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-top: 10px !important; /* body already handles --header-offset */
    }
}