/* style/gdpr.css */

/* Custom properties for colors */
:root {
    --page-gdpr-primary-color: #11A84E; /* Main color */
    --page-gdpr-secondary-color: #22C768; /* Auxiliary color */
    --page-gdpr-bg-card: #11271B; /* Card BG */
    --page-gdpr-bg-main: #08160F; /* Background */
    --page-gdpr-text-main: #F2FFF6; /* Text Main */
    --page-gdpr-text-secondary: #A7D9B8; /* Text Secondary */
    --page-gdpr-border: #2E7A4E; /* Border */
    --page-gdpr-glow: #57E38D; /* Glow */
    --page-gdpr-gold: #F2C14E; /* Gold */
    --page-gdpr-divider: #1E3A2A; /* Divider */
    --page-gdpr-deep-green: #0A4B2C; /* Deep Green */
    --page-gdpr-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
}

.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--page-gdpr-text-main); /* Default text color for the page */
    background-color: var(--page-gdpr-bg-main); /* Main background color */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    box-sizing: border-box;
    overflow: hidden; /* Ensure content does not overflow */
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3em); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    color: var(--page-gdpr-gold);
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-gdpr__description {
    font-size: 1.1em;
    color: var(--page-gdpr-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    width: 100%; /* Ensure container takes full width for wrapping */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

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

.page-gdpr__btn-primary {
    background: var(--page-gdpr-btn-gradient);
    color: #ffffff; /* White text for primary button */
    border: none;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

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

.page-gdpr__btn-secondary:hover {
    background: rgba(34, 199, 104, 0.1);
    color: #ffffff;
    border-color: #ffffff;
}

/* General Content Sections */
.page-gdpr__section {
    padding: 50px 20px;
    box-sizing: border-box;
}

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

.page-gdpr__container {
    max-width: 1000px;
    margin: 0 auto;
    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: 600;
    line-height: 1.3;
    text-shadow: 0 0 5px rgba(242, 193, 78, 0.2);
}

.page-gdpr__text-block {
    font-size: 1.05em;
    color: var(--page-gdpr-text-secondary);
    margin-bottom: 25px;
    text-align: justify;
}

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

.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-gdpr__list li {
    background-color: var(--page-gdpr-bg-card);
    border-left: 4px solid var(--page-gdpr-primary-color);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.05em;
    color: var(--page-gdpr-text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__list li strong {
    color: var(--page-gdpr-gold);
}

/* Card Section */
.page-gdpr__card-section {
    background-color: var(--page-gdpr-bg-main); /* Ensure contrast with text */
}

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

.page-gdpr__card {
    background-color: var(--page-gdpr-bg-card);
    border: 1px solid var(--page-gdpr-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-gdpr-text-main); /* Ensure text color contrasts with card background */
}

.page-gdpr__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-gdpr__card-title {
    font-size: 1.5em;
    color: var(--page-gdpr-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

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

/* Center button */
.page-gdpr__center-btn {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 300px;
}

/* FAQ Section */
.page-gdpr__faq-section {
    background-color: var(--page-gdpr-bg-main);
}

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

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

.page-gdpr__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--page-gdpr-text-main);
    background-color: var(--page-gdpr-deep-green);
    border-bottom: 1px solid var(--page-gdpr-divider);
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-item summary:hover {
    background-color: rgba(10, 75, 44, 0.8);
}

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

.page-gdpr__faq-qtext {
    flex-grow: 1;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--page-gdpr-gold);
}

.page-gdpr__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--page-gdpr-text-secondary);
    background-color: var(--page-gdpr-bg-card);
}

.page-gdpr__faq-answer p {
    margin: 0;
    color: var(--page-gdpr-text-secondary);
}

.page-gdpr__faq-answer a {
    color: var(--page-gdpr-gold);
    text-decoration: underline;
}

.page-gdpr__faq-answer a:hover {
    text-decoration: none;
    color: var(--page-gdpr-primary-color);
}

/* Bottom CTA Section */
.page-gdpr__cta-bottom {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--page-gdpr-deep-green);
    color: var(--page-gdpr-text-main);
}

.page-gdpr__cta-bottom .page-gdpr__section-title {
    color: var(--page-gdpr-gold);
    margin-bottom: 20px;
}

.page-gdpr__cta-bottom .page-gdpr__text-secondary {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__flex-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Small top padding for mobile */
    }

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

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

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px;
        font-size: 0.95em;
    }

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

    .page-gdpr__container {
        padding-left: 0;
        padding-right: 0;
    }

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

    .page-gdpr__text-block,
    .page-gdpr__list li,
    .page-gdpr__card-text {
        font-size: 0.95em;
    }

    .page-gdpr__image-content {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 30px auto;
        box-sizing: border-box !important;
    }

    .page-gdpr__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-gdpr__card {
        padding: 25px;
    }

    .page-gdpr__card-title {
        font-size: 1.3em;
    }

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

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

    .page-gdpr__cta-bottom {
        padding: 50px 15px;
    }
}

/* Ensure all images are responsive */
.page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Specific mobile overrides for images and containers */
@media (max-width: 768px) {
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-section,
    .page-gdpr__cta-bottom {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding handled by specific sections, ensuring no overflow */
    }
    .page-gdpr__section:not(.page-gdpr__hero-section):not(.page-gdpr__cta-bottom) {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
}

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