/* style/gdpr.css */

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

.page-gdpr {
    background-color: var(--gdpr-bg-color);
    color: var(--gdpr-text-main); /* Default text color for the page */
    font-family: 'Arial', sans-serif; /* Placeholder font */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    background-color: var(--gdpr-bg-color);
    overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure it takes full width */
    margin-bottom: 30px; /* Space between image and content */
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    min-height: 200px; /* Minimum size requirement */
}

.page-gdpr__hero-content {
    max-width: 900px;
    width: 100%;
    z-index: 1;
}

.page-gdpr__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gdpr-text-main);
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.3); /* Glow effect */
}

.page-gdpr__description {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    color: var(--gdpr-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* General Container */
.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section Titles */
.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--gdpr-gold-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

/* Text Blocks */
.page-gdpr__text-block {
    font-size: 1.1rem;
    color: var(--gdpr-text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-gdpr__list li {
    background-color: var(--gdpr-card-bg);
    border-left: 5px solid var(--gdpr-deep-green);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__list-title {
    font-size: 1.3rem;
    color: var(--gdpr-text-main);
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-gdpr__list-text {
    font-size: 1rem;
    color: var(--gdpr-text-secondary);
}

/* CTA Buttons */
.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

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

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

.page-gdpr__btn-secondary {
    background: transparent;
    color: var(--gdpr-gold-color);
    border: 2px solid var(--gdpr-gold-color);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

.page-gdpr__btn-secondary:hover {
    background: rgba(242, 193, 78, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(242, 193, 78, 0.4);
}

/* Image Containers */
.page-gdpr__image-container {
    width: 100%;
    max-width: 500px; /* Example max-width for content images */
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    min-height: 200px; /* Minimum size requirement */
}

.page-gdpr__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Minimum size requirement */
}

/* Content Grid for text and image */
.page-gdpr__content-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-gdpr__content-grid > div {
    flex: 1;
    min-width: 300px;
}

.page-gdpr__content-grid--reverse .page-gdpr__image-container {
    order: 2;
}

.page-gdpr__content-grid--reverse .page-gdpr__text-content {
    order: 1;
}

/* Policy List (similar to general list but specific context) */
.page-gdpr__policy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-gdpr__policy-list li {
    background-color: var(--gdpr-card-bg);
    border-left: 5px solid var(--gdpr-gold-color);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.page-gdpr__contact-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-gdpr__contact-content > div {
    flex: 1;
    min-width: 300px;
}

.page-gdpr__link {
    color: var(--gdpr-gold-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

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

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

.page-gdpr__faq-item {
    background-color: var(--gdpr-card-bg);
    border: 1px solid var(--gdpr-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-item summary {
    list-style: none; /* Remove default marker */
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gdpr-text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-item summary:hover {
    background-color: var(--gdpr-deep-green);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
}

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

/* Conclusion Section */
.page-gdpr__conclusion-section {
    text-align: center;
    padding-bottom: 60px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        padding: 0 15px;
    }

    .page-gdpr__image-container {
        max-width: 100%;
    }
}

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

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

    .page-gdpr__description {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }

    .page-gdpr__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 30px;
        padding-top: 30px;
    }

    .page-gdpr__text-block,
    .page-gdpr__list-text,
    .page-gdpr__faq-answer p {
        font-size: 16px; /* Ensure minimum font size for readability */
        line-height: 1.6;
    }

    .page-gdpr__list li,
    .page-gdpr__policy-list li {
        padding: 15px;
        margin-bottom: 10px;
    }

    .page-gdpr__list-title {
        font-size: 1.1rem;
    }

    .page-gdpr__cta-button {
        padding: 12px 20px;
        font-size: 1rem;
        width: 100% !important; /* Mobile button full width */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important; /* Allow text wrap */
        word-wrap: break-word !important;
        margin-top: 10px; /* Add some spacing if multiple buttons */
    }

    .page-gdpr__content-grid,
    .page-gdpr__contact-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .page-gdpr__content-grid--reverse .page-gdpr__image-container {
        order: unset; /* Reset order for mobile */
    }

    /* Mobile image and video responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-height: 200px !important; /* Ensure min size is met */
    }
    
    .page-gdpr video,
    .page-gdpr__video { /* Assuming a video class if any */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Containers for images/videos/buttons */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__image-container,
    .page-gdpr__video-section,
    .page-gdpr__video-container,
    .page-gdpr__video-wrapper,
    .page-gdpr__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Crucial for preventing overflow */
        padding-left: 15px; /* Add padding to content containers */
        padding-right: 15px;
    }
    
    .page-gdpr__hero-section,
    .page-gdpr__intro-section,
    .page-gdpr__rights-section,
    .page-gdpr__measures-section,
    .page-gdpr__policy-section,
    .page-gdpr__contact-section,
    .page-gdpr__faq-section,
    .page-gdpr__conclusion-section {
        padding-left: 0;
        padding-right: 0;
    }

    .page-gdpr__faq-item summary {
        font-size: 1rem;
        padding: 15px;
    }
    .page-gdpr__faq-answer {
        padding: 0 15px 15px;
    }
}

/* Ensure no CSS filter is used on images */
.page-gdpr img {
    filter: none; /* Explicitly prevent any filter */
}