/* style/gdpr.css */

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

/* Base styles for the GDPR page */
.page-gdpr {
    background-color: var(--gdpr-background);
    color: var(--gdpr-text-main);
    font-family: 'Arial', sans-serif; /* Placeholder, actual font from shared */
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure space before footer */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 70vh; /* Limit hero image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    margin-top: 40px; /* Space below image */
    padding: 0 20px;
    box-sizing: border-box;
}

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

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

/* General Section Styling */
.page-gdpr__section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--gdpr-divider);
}

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

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

.page-gdpr__light-bg {
    background-color: var(--gdpr-card-bg); /* Use card background for contrast */
    color: var(--gdpr-text-main);
}

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

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

.page-gdpr__sub-title {
    font-size: clamp(1.4em, 2.5vw, 1.8em);
    color: var(--gdpr-text-main);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-gdpr__text-block p {
    margin-bottom: 15px;
    color: var(--gdpr-text-secondary);
}

.page-gdpr__text-block strong {
    color: var(--gdpr-text-main);
}

.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);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

/* Links */
.page-gdpr__link {
    color: var(--gdpr-glow);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: var(--gdpr-gold);
    text-decoration: underline;
}

/* Rights List */
.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-gdpr__rights-item {
    background-color: var(--gdpr-deep-green);
    border-left: 5px solid var(--gdpr-glow);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 4px;
    color: var(--gdpr-text-main);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-gdpr__rights-item strong {
    color: var(--gdpr-gold);
}

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

.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-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: var(--gdpr-deep-green);
    font-weight: 600;
    font-size: 1.1em;
    color: var(--gdpr-text-main);
    list-style: none; /* Hide default marker */
}

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

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

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    content: '−'; /* Change to minus when open */
}

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

/* Conclusion Section */
.page-gdpr__conclusion {
    text-align: center;
}

.page-gdpr__conclusion .page-gdpr__text-block p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--gdpr-text-secondary);
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    margin: 10px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensures responsiveness */
    white-space: normal; /* Allows text to wrap */
    word-wrap: break-word; /* Ensures text wraps */
}

.page-gdpr__btn-primary {
    background: var(--gdpr-button-gradient);
    color: var(--gdpr-text-main); /* Light text on dark button */
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Slight gradient shift */
}

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

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

/* Responsive Styles */
@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 10px 15px 40px;
    }

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

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

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

    .page-gdpr__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
        margin-bottom: 30px;
    }

    .page-gdpr__sub-title {
        font-size: clamp(1.2em, 5vw, 1.5em);
    }

    /* Images responsive */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Image and video containers responsive */
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__container,
    .page-gdpr__text-block,
    .page-gdpr__faq-item,
    .page-gdpr__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Video section top padding (if video were present) */
    .page-gdpr__video-section {
        padding-top: 10px !important;
    }

    /* Buttons responsive */
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 10px 0; /* Stack buttons vertically */
    }

    .page-gdpr__conclusion .page-gdpr__text-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}