/* style/gdpr.css */

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

/* Base styles for the GDPR page */
.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 color */
}

/* Ensure body padding-top is handled by shared.css, not here */

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Stacks image above content */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-gdpr__hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px; /* Space between image and content */
}

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--gdpr-text-main);
}

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

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

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    background: var(--gdpr-button-gradient);
    color: var(--gdpr-text-main);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__cta-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.page-gdpr__cta-button--primary {
    background: var(--gdpr-button-gradient);
    color: var(--gdpr-text-main);
}

.page-gdpr__cta-button--secondary {
    background: transparent;
    border: 2px solid var(--gdpr-primary-color);
    color: var(--gdpr-primary-color);
    margin-left: 15px;
}

.page-gdpr__cta-button--secondary:hover {
    background: rgba(var(--gdpr-primary-color), 0.1);
    color: var(--gdpr-primary-color);
}

.page-gdpr__content-area {
    padding: 80px 20px;
}

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

.page-gdpr__dark-bg {
    background-color: var(--gdpr-card-bg); /* Darker background for sections */
    color: var(--gdpr-text-main); /* Light text on dark background */
}

.page-gdpr__light-bg {
    background-color: var(--gdpr-background); /* Lighter background for sections */
    color: var(--gdpr-text-main); /* Light text on dark background */
}

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--gdpr-gold);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.page-gdpr__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--gdpr-primary-color);
    border-radius: 2px;
}

.page-gdpr__sub-title {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 600;
    color: var(--gdpr-primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-gdpr__paragraph {
    font-size: 1.05rem;
    margin-bottom: 1.5em;
    line-height: 1.7;
    color: var(--gdpr-text-secondary); /* Secondary text color for paragraphs */
}

.page-gdpr__paragraph strong {
    color: var(--gdpr-text-main); /* Ensure strong text stands out */
}

.page-gdpr__inline-link {
    color: var(--gdpr-primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

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

.page-gdpr__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 40px auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
}

.page-gdpr__image--center {
    text-align: center;
}

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

/* FAQ Section */
.page-gdpr__faq-section {
    padding: 80px 20px;
    background-color: var(--gdpr-background);
}

.page-gdpr__faq-list {
    margin-top: 40px;
}

.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: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gdpr-text-main);
    cursor: pointer;
    background-color: var(--gdpr-deep-green);
    border-bottom: 1px solid var(--gdpr-border);
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: rgba(var(--gdpr-deep-green), 0.8);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    background-color: var(--gdpr-deep-green);
    border-bottom: 1px solid var(--gdpr-border);
}

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

.page-gdpr__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--gdpr-primary-color);
}

.page-gdpr__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--gdpr-text-secondary);
    line-height: 1.7;
}

.page-gdpr__faq-answer p:last-child {
    margin-bottom: 0;
}

/* Details element specific styling */
.page-gdpr__faq-item summary {
    list-style: none; /* Remove default marker */
}
.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit */
}

/* Conclusion Section */
.page-gdpr__conclusion-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--gdpr-background);
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-gdpr__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }
    .page-gdpr__content-area,
    .page-gdpr__faq-section,
    .page-gdpr__conclusion-section {
        padding: 60px 15px;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* Ensure small top padding on mobile */
    }
    .page-gdpr__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    .page-gdpr__intro-text {
        font-size: 1rem;
    }
    .page-gdpr__section-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        margin-bottom: 30px;
    }
    .page-gdpr__sub-title {
        font-size: clamp(1.2rem, 6vw, 1.6rem);
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-gdpr__paragraph {
        font-size: 0.95rem;
    }

    /* Mobile forced responsive styles for images */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__hero-image,
    .page-gdpr__image,
    .page-gdpr__hero-section,
    .page-gdpr__content-area,
    .page-gdpr__container,
    .page-gdpr__faq-section,
    .page-gdpr__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent content overflow */
    }

    /* Mobile forced responsive styles for buttons */
    .page-gdpr__cta-button,
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr a[class*="button"],
    .page-gdpr a[class*="btn"] {
        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;
        margin: 0 0 10px 0 !important; /* Stack buttons vertically */
    }

    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 10px;
    }
}