/* style/gdpr.css */

/* Custom properties from the provided color scheme */
:root {
    --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-gdpr-card-bg: #11271B;
    --page-gdpr-background: #08160F; /* This is the main body background, handled by shared.css var(--background-color) */
    --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 GDPR page content area */
/* Body padding-top is handled by shared.css. This page should not duplicate it. */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--page-gdpr-text-main); /* Default text color for dark sections */
    background-color: var(--page-gdpr-background); /* Ensures consistency, but body background is from shared.css */
    padding-bottom: 60px; /* Add some space above the footer */
}

/* Ensure content contrast for light sections against a potentially dark body background */
.page-gdpr__light-bg {
    background-color: #ffffff; /* White background for specific sections */
    color: #333333; /* Dark text for light background */
}

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

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

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

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-gdpr-text-main);
}

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

/* General Section Styling */
.page-gdpr__section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--page-gdpr-background); /* Default dark background for sections */
    color: var(--page-gdpr-text-main);
}

.page-gdpr__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--page-gdpr-gold); /* Using gold for main section titles */
}

.page-gdpr__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 20px;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__section.page-gdpr__light-bg .page-gdpr__sub-title {
    color: #11A84E; /* Brand green for sub-titles on light background */
}

.page-gdpr__paragraph {
    font-size: 1rem;
    margin-bottom: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-gdpr__article-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

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

/* Buttons */
.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__btn-primary {
    background: var(--page-gdpr-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: var(--page-gdpr-gold); /* Using gold for secondary button text */
    border: 2px solid var(--page-gdpr-gold);
    box-shadow: none;
}

.page-gdpr__btn-secondary:hover {
    background-color: var(--page-gdpr-gold);
    color: var(--page-gdpr-background); /* Dark text on gold hover */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Card Layouts */
.page-gdpr__principles-grid,
.page-gdpr__rights-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.page-gdpr__card {
    background-color: var(--page-gdpr-card-bg); /* Dark card background */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-gdpr-border);
    color: var(--page-gdpr-text-main); /* Light text for dark cards */
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards have equal height in grid */
}

/* Special styling for cards in light background sections */
.page-gdpr__light-bg .page-gdpr__card {
    background-color: #f9f9f9; /* Lighter card background */
    color: #333333; /* Dark text for light cards */
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-gdpr__light-bg .page-gdpr__card-title {
    color: #11A84E; /* Brand green for card titles on light background */
}

.page-gdpr__light-bg .page-gdpr__card-description {
    color: #555555; /* Darker secondary text on light background */
}

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

.page-gdpr__card-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--page-gdpr-text-secondary);
    flex-grow: 1; /* Allow description to take available space */
}

/* Links within text */
.page-gdpr__link {
    color: var(--page-gdpr-gold); /* Gold for inline links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

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

/* Keyword highlighting */
.page-gdpr__keyword {
    font-weight: bold;
    color: var(--page-gdpr-gold); /* Gold for keywords */
}

.page-gdpr__light-bg .page-gdpr__keyword {
    color: #11A84E; /* Brand green for keywords on light background */
}

/* FAQ Section */
.page-gdpr__faq-section {
    padding: 60px 20px;
    background-color: #ffffff; /* Light background for FAQ */
    color: #333333; /* Dark text for FAQ */
    text-align: left;
}

.page-gdpr__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-gdpr__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: #11A84E; /* Brand green for FAQ questions */
    background-color: #e8f5e9; /* Light green background for summary */
    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-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

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

.page-gdpr__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 0.95rem;
    color: #555555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    .page-gdpr__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-gdpr__sub-title {
        font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    }
    .page-gdpr__principles-grid,
    .page-gdpr__rights-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__hero-section,
    .page-gdpr__section,
    .page-gdpr__faq-section {
        padding: 40px 15px; /* Adjust padding for mobile */
        padding-top: 10px !important; /* Small top padding, body handles header offset */
    }

    .page-gdpr__hero-content {
        padding: 0;
    }
}