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

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

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    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-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

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

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

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    color: var(--dk68-text-main);
    margin-bottom: 20px;
    max-width: 100%;
}

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

.page-gdpr__btn-primary {
    display: inline-block;
    background: var(--dk68-button-gradient);
    color: var(--dk68-text-main); /* White text on dark button */
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__section {
    padding: 40px 20px;
    margin-bottom: 30px;
    background-color: var(--dk68-background); /* Consistent dark background */
}

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

.page-gdpr__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--dk68-primary-color); /* Use primary color for section titles */
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

.page-gdpr__text-block {
    font-size: 1em;
    color: var(--dk68-text-secondary);
    margin-bottom: 20px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__card {
    background-color: var(--dk68-card-bg); /* Card background */
    color: var(--dk68-text-main); /* Light text on dark card */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--dk68-border); /* Border for cards */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-gdpr__card-title {
    font-size: 1.4em;
    color: var(--dk68-glow); /* Glow color for card titles */
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-gdpr__list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--dk68-text-secondary);
}

.page-gdpr__list li::before {
    content: '•'; /* Custom bullet point */
    color: var(--dk68-primary-color);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    font-size: 1.2em;
}

.page-gdpr__security-image,
.page-gdpr__rights-image,
.page-gdpr__contact-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    max-width: 800px; /* Max width for content images */
    object-fit: cover;
}

.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 600px;
    text-align: left;
}

.page-gdpr__contact-list li {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--dk68-text-main);
    padding-left: 0; /* Remove default list item padding */
}

.page-gdpr__contact-list li::before {
    content: ''; /* Remove custom bullet for contact list */
}

.page-gdpr__contact-link {
    color: var(--dk68-primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
    color: var(--dk68-glow);
    text-decoration: underline;
}

/* Link styles within text blocks */
.page-gdpr__text-block a,
.page-gdpr__card p a {
    color: var(--dk68-primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
    .page-gdpr__card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

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

    .page-gdpr__main-title {
        font-size: 2em;
    }

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

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

    .page-gdpr__section-title {
        font-size: 1.8em;
    }

    .page-gdpr__text-block {
        font-size: 0.95em;
    }

    .page-gdpr__card-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }

    .page-gdpr__card {
        padding: 20px;
    }

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

    .page-gdpr__list li {
        font-size: 0.9em;
    }

    /* Mobile specific image and container rules */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Button specific mobile rules */
    .page-gdpr__btn-primary {
        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;
    }
}