/* style/gdpr.css */

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

/* Base styles for the GDPR page */
.page-gdpr {
    background-color: var(--color-background); /* Dark background */
    color: var(--color-text-main); /* Light text for contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Add some padding at the bottom */
}

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

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

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image width */
    margin-bottom: 30px; /* Space between image and text */
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-gdpr__hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
    font-weight: 700;
    color: var(--color-gold); /* Gold title for prominence */
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-gdpr__btn-primary {
    background: var(--color-button-gradient);
    color: var(--color-text-main); /* Light text on dark button */
    border: 2px solid transparent;
    margin-right: 15px;
}

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

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

.page-gdpr__btn-secondary:hover {
    background: var(--color-secondary);
    color: var(--color-background); /* Dark text on light button */
    transform: translateY(-2px);
}

/* Content Sections */
.page-gdpr__content-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--color-divider);
}

.page-gdpr__content-section:last-of-type {
    border-bottom: none;
}

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

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

.page-gdpr__text-block p {
    margin-bottom: 15px;
}

.page-gdpr__text-block a {
    color: var(--color-secondary);
    text-decoration: underline;
}

.page-gdpr__text-block a:hover {
    color: var(--color-glow);
}

/* Image and Text Layout */
.page-gdpr__image-and-text {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-gdpr__image-and-text--reverse {
    flex-direction: row-reverse;
}

.page-gdpr__section-image {
    width: 100%;
    max-width: 50%; /* Image takes half width */
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-gdpr__image-and-text .page-gdpr__text-block {
    flex: 1;
}

/* Lists */
.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-gdpr__list-item {
    background-color: var(--color-card-bg); /* Dark card background */
    color: var(--color-text-main); /* Light text on dark card */
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    position: relative;
    padding-left: 40px; /* For custom bullet */
}

.page-gdpr__list-item::before {
    content: '✓'; /* Custom bullet point */
    color: var(--color-secondary);
    font-weight: bold;
    position: absolute;
    left: 15px;
    top: 15px;
}

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

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15em;
    font-weight: 600;
    cursor: pointer;
    background-color: var(--color-deep-green); /* Slightly darker background for question */
    color: var(--color-text-main);
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker for details summary */
}

.page-gdpr__faq-question:hover {
    background-color: var(--color-deep-green);
    filter: brightness(1.2); /* Subtle hover effect */
}

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

.page-gdpr__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    color: var(--color-text-secondary);
}

/* CTA Section */
.page-gdpr__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--color-deep-green); /* Another dark section */
    border-top: 1px solid var(--color-divider);
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 600px; /* Constrain button group width */
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-gdpr__image-and-text,
    .page-gdpr__image-and-text--reverse {
        flex-direction: column;
        text-align: center;
    }

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

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles header offset */
    }

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

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

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

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

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

    /* Mobile specific image adaptation */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: unset !important; /* Override min-width for mobile */
        min-height: unset !important; /* Override min-height for mobile */
    }
    
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__image-and-text,
    .page-gdpr__image-and-text--reverse,
    .page-gdpr__container,
    .page-gdpr__cta-section,
    .page-gdpr__faq-section,
    .page-gdpr__content-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Mobile specific button adaptation */
    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        margin-right: 0 !important; /* Remove right margin when stacked */
        padding-left: 15px;
        padding-right: 15px;
    }

    /* FAQ item on mobile */
    .page-gdpr__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-gdpr__faq-answer {
        padding: 0 15px 15px 15px;
    }
}