/* style/gdpr.css */

/* Base styles for the page-gdpr scope */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* #F2FFF6 */
    background-color: var(--bg-color); /* #08160F from shared.css */
    padding-bottom: 60px; /* Space for footer */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    overflow: hidden; /* Ensure content doesn't spill */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic */
    overflow: hidden;
    position: relative;
    z-index: 1; /* Ensure image is behind text content if any overlay */
    margin-bottom: 40px; /* Space between image and text */
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
    margin-top: -80px; /* Pull content slightly over image for visual flow */
    background: var(--card-bg); /* Use card background for content block */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-gdpr__hero-description {
    font-size: 1.1em;
    color: var(--text-secondary); /* #A7D9B8 */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    text-align: center;
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button color */
    color: var(--text-main); /* #F2FFF6 */
    border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(42, 209, 111, 0.4);
}

.page-gdpr__btn-secondary {
    background: transparent;
    color: var(--text-main); /* #F2FFF6 */
    border: 2px solid var(--border-color); /* #2E7A4E */
}

.page-gdpr__btn-secondary:hover {
    background: var(--deep-green); /* #0A4B2C */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(30, 58, 42, 0.4);
}

/* General Section Styles */
.page-gdpr__section {
    padding: 50px 0;
    background-color: var(--bg-color); /* #08160F */
}

.page-gdpr__section:nth-of-type(even) {
    background-color: var(--card-bg); /* #11271B */
}

.page-gdpr__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--text-main); /* #F2FFF6 */
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

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

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

.page-gdpr__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--text-secondary); /* #A7D9B8 */
}

.page-gdpr__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--primary-color); /* #11A84E */
    font-size: 1.2em;
    line-height: 1;
}

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

/* Contact Info specific styles */
.page-gdpr__contact-info .page-gdpr__list-item {
    font-size: 1.1em;
    font-weight: 500;
    color: var(--text-main); /* #F2FFF6 */
}

.page-gdpr__contact-info .page-gdpr__list-item::before {
    content: '📧'; /* Email icon */
    font-size: 1em;
    color: var(--gold-color); /* #F2C14E */
}

.page-gdpr__contact-info .page-gdpr__list-item:nth-child(2)::before {
    content: '📍'; /* Location icon */
}

.page-gdpr__contact-info .page-gdpr__list-item:nth-child(3)::before {
    content: '🛡️'; /* Shield icon for DPO */
}

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

/* FAQ Section (if any, using details/summary) */
.page-gdpr__faq-section {
    padding: 50px 0;
    background-color: var(--bg-color);
}

.page-gdpr__faq-item {
    background: var(--card-bg); /* #11271B */
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--divider-color); /* #1E3A2A */
    overflow: hidden;
}

.page-gdpr__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-weight: 600;
    font-size: 1.1em;
    color: var(--text-main); /* #F2FFF6 */
    cursor: pointer;
    list-style: none; /* Remove default marker */
}

.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit browsers */
}

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

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        margin-top: -60px;
    }
}

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

    .page-gdpr__container {
        padding: 0 15px;
    }

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

    .page-gdpr__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-gdpr__hero-image {
        border-radius: 0; /* Full width on mobile */
    }

    .page-gdpr__hero-content {
        margin-top: -40px;
        padding: 20px;
        border-radius: 0;
        box-shadow: none;
    }

    .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; /* Enforce full width */
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-gdpr__section {
        padding: 30px 0;
    }

    .page-gdpr__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
        margin-bottom: 20px;
    }

    .page-gdpr__text-block {
        font-size: 0.95em;
    }

    .page-gdpr__list-item {
        padding-left: 25px;
        margin-bottom: 10px;
    }
    .page-gdpr__list-item::before {
        font-size: 1em;
    }

    .page-gdpr__image {
        margin: 20px auto;
        border-radius: 8px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-gdpr__faq-item summary {
        padding: 15px;
        font-size: 1em;
    }

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

    /* Ensure all content containers are responsive */
    .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;
    }

    .page-gdpr__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    /* Video specific mobile responsive styles */
    .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;
    }
}

/* Custom Color Variables */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --bg-color: #08160F; /* This will be overridden by shared.css body bg-color */
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

/* Ensure body background is respected and page content has contrasting text */
/* Assuming shared.css sets body background to --bg-color (#08160F), which is dark. */
/* Therefore, .page-gdpr should have light text. */
.page-gdpr {
    color: var(--text-main); /* #F2FFF6 */
    background-color: var(--bg-color); /* This will be the actual body background color */
}

/* Card and container specific color contrast */
.page-gdpr__hero-content,
.page-gdpr__section:nth-of-type(even),
.page-gdpr__faq-item {
    background: var(--card-bg); /* #11271B (dark) */
    color: var(--text-main); /* #F2FFF6 (light) */
}

.page-gdpr__faq-answer {
    color: var(--text-secondary); /* #A7D9B8 (light) */
}

.page-gdpr__text-block,
.page-gdpr__list-item {
    color: var(--text-secondary); /* #A7D9B8 (light) */
}

/* No CSS filters for images */
.page-gdpr img {
    filter: none;
}