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

/* Base styles for the page content, assuming body has a dark background from shared.css */
.page-gdpr {
    color: var(--page-gdpr-text-main); /* Light text for dark background */
    background-color: var(--page-gdpr-background); /* Dark background for the main content area */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Header offset is handled by body padding-top in shared.css, so main sections start normally */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    background-color: var(--page-gdpr-background);
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    max-height: 675px; /* Limit height for desktop */
    object-fit: cover;
    display: block;
    margin-bottom: 20px; /* Space between image and content */
}

.page-gdpr__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1; /* Ensure content is above any potential background layers */
}

.page-gdpr__main-title {
    color: var(--page-gdpr-gold);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Example clamp for responsive H1 */
}

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

.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

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

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

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(var(--page-gdpr-glow), 0.3);
}

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

.page-gdpr__btn-secondary:hover {
    background: var(--page-gdpr-primary);
    color: var(--page-gdpr-text-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(var(--page-gdpr-primary), 0.3);
}

.page-gdpr__content-section {
    padding: 60px 0;
}

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

.page-gdpr__light-bg {
    background-color: #f0f0f0; /* A very light grey for contrast against dark brand colors */
    color: #333333; /* Dark text for light background */
}

.page-gdpr__light-bg .page-gdpr__section-title,
.page-gdpr__light-bg .page-gdpr__card-title,
.page-gdpr__light-bg .page-gdpr__right-title,
.page-gdpr__light-bg .page-gdpr__faq-qtext {
    color: var(--page-gdpr-deep-green); /* Use a dark green for titles on light background */
}

.page-gdpr__light-bg .page-gdpr__paragraph,
.page-gdpr__light-bg .page-gdpr__card-text,
.page-gdpr__light-bg .page-gdpr__right-description {
    color: #444444; /* Slightly lighter dark text for paragraphs */
}

.page-gdpr__light-bg .page-gdpr__highlight {
    color: var(--page-gdpr-primary);
    font-weight: bold;
}

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

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

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

.page-gdpr__paragraph a {
    color: var(--page-gdpr-primary);
    text-decoration: underline;
}

.page-gdpr__paragraph a:hover {
    color: var(--page-gdpr-secondary);
}

.page-gdpr__highlight {
    color: var(--page-gdpr-glow);
    font-weight: bold;
}

.page-gdpr__image-content {
    display: block;
    width: 100%;
    height: auto;
    max-width: 800px; /* Example max-width, adjust as needed */
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

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

.page-gdpr__rights-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-gdpr__card {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards have equal height */
    color: var(--page-gdpr-text-secondary);
}

.page-gdpr__light-bg .page-gdpr__card {
    background-color: #ffffff;
    border-color: #e0e0e0;
    color: #444444;
}

.page-gdpr__card-title {
    font-size: 1.4em;
    color: var(--page-gdpr-primary);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__light-bg .page-gdpr__card-title {
    color: var(--page-gdpr-deep-green);
}

.page-gdpr__card-text {
    font-size: 0.95em;
    line-height: 1.5;
}

.page-gdpr__right-item {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-gdpr__light-bg .page-gdpr__right-item {
    background-color: #ffffff;
    border-color: #e0e0e0;
}

.page-gdpr__right-title {
    font-size: 1.3em;
    color: var(--page-gdpr-glow);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-gdpr__light-bg .page-gdpr__right-title {
    color: var(--page-gdpr-deep-green);
}

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

.page-gdpr__light-bg .page-gdpr__right-description {
    color: #555555;
}


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

.page-gdpr__faq-item {
    background-color: var(--page-gdpr-card-bg);
    border: 1px solid var(--page-gdpr-border);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--page-gdpr-text-secondary);
}

.page-gdpr__light-bg .page-gdpr__faq-item {
    background-color: #ffffff;
    border-color: #e0e0e0;
    color: #444444;
}

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

.page-gdpr__light-bg .page-gdpr__faq-item summary {
    color: var(--page-gdpr-deep-green);
}

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

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

.page-gdpr__light-bg .page-gdpr__faq-answer {
    color: #555555;
}

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

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }
    .page-gdpr__hero-image {
        max-height: 400px;
    }
    .page-gdpr__hero-content {
        padding: 0 15px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        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 {
        padding: 30px 0;
    }
    .page-gdpr__container {
        padding: 0 15px;
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
        margin-bottom: 30px;
    }
    .page-gdpr__principles-grid,
    .page-gdpr__protection-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-gdpr__card,
    .page-gdpr__right-item,
    .page-gdpr__faq-item {
        padding: 15px;
    }
    .page-gdpr__card-title,
    .page-gdpr__right-title {
        font-size: 1.2em;
    }
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__image-content {
        margin: 20px auto;
        min-width: 200px;
        min-height: 200px;
    }
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr img {
        filter: none !important;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }
    .page-gdpr__section-title {
        font-size: 1.4em;
    }
}