/* style/gdpr.css */

/* Custom Colors */
:root {
    --gdpr-bg-dark: #08160F;
    --gdpr-card-bg: #11271B;
    --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-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-gdpr {
    font-family: 'Arial', sans-serif;
    color: var(--gdpr-text-main); /* Default text color for dark body bg */
    background-color: var(--gdpr-bg-dark); /* Should be handled by shared.css body, but as a fallback */
    line-height: 1.6;
    font-size: 1rem;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    box-sizing: border-box;
    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 {
    text-align: center;
    max-width: 900px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-gdpr__main-title {
    font-size: clamp(2rem, 4vw, 3.2rem); /* Responsive font size for H1 */
    color: var(--gdpr-gold);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-gdpr__btn-primary {
    background: var(--gdpr-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-gdpr__btn-secondary:hover {
    background: var(--gdpr-gold);
    color: var(--gdpr-bg-dark); /* Dark text on gold hover */
    transform: translateY(-3px);
}

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

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

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

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--gdpr-text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
}

.page-gdpr__text-block {
    font-size: 1.05rem;
    color: var(--gdpr-text-main);
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-gdpr__content-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Dark Section Styling */
.page-gdpr__dark-section {
    background-color: var(--gdpr-deep-green);
    color: var(--gdpr-text-main);
}

/* Principles Section */
.page-gdpr__principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__principle-card.page-gdpr__card {
    background-color: var(--gdpr-card-bg);
    border: 1px solid var(--gdpr-border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__principle-card.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--gdpr-glow);
}

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

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

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

.page-gdpr__list-item {
    background-color: var(--gdpr-card-bg);
    border: 1px solid var(--gdpr-border);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--gdpr-text-main);
    display: flex;
    align-items: flex-start;
}

.page-gdpr__list-item strong {
    color: var(--gdpr-gold);
    margin-right: 8px;
    white-space: nowrap;
}

/* Data Processing Section */
.page-gdpr__processing-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__detail-card.page-gdpr__card {
    background-color: var(--gdpr-card-bg);
    border: 1px solid var(--gdpr-border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Security Section */
.page-gdpr__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__feature-item {
    background-color: var(--gdpr-card-bg);
    border: 1px solid var(--gdpr-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__feature-title {
    font-size: 1.3rem;
    color: var(--gdpr-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-gdpr__feature-description {
    font-size: 0.95rem;
    color: var(--gdpr-text-secondary);
}

/* Contact Section */
.page-gdpr__contact-info {
    text-align: center;
    margin-top: 30px;
}

.page-gdpr__contact-text {
    font-size: 1.1rem;
    color: var(--gdpr-text-main);
    margin-bottom: 10px;
}

.page-gdpr__contact-text strong {
    color: var(--gdpr-gold);
}

.page-gdpr__contact-link {
    color: var(--gdpr-glow);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* 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);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

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

.page-gdpr__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

.page-gdpr__faq-question:hover {
    background-color: var(--gdpr-deep-green); /* Keep it dark on hover */
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
    color: var(--gdpr-gold); /* Question text in gold */
}

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

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

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

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

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

/* Final CTA Section */
.page-gdpr__final-cta-section .page-gdpr__container {
    background-color: var(--gdpr-deep-green); /* Darker background for final CTA */
    border-radius: 15px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--gdpr-border);
}

.page-gdpr__final-cta-section .page-gdpr__section-title {
    color: var(--gdpr-gold);
    margin-bottom: 25px;
}

.page-gdpr__final-cta-section .page-gdpr__text-block {
    color: var(--gdpr-text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-image {
        max-height: 500px;
    }
}

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

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

    .page-gdpr__hero-description {
        font-size: 1rem;
    }

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

    .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;
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

    .page-gdpr__text-block,
    .page-gdpr__card-text,
    .page-gdpr__feature-description,
    .page-gdpr__contact-text,
    .page-gdpr__faq-answer p {
        font-size: 0.95rem;
    }

    .page-gdpr__principles-grid,
    .page-gdpr__processing-details,
    .page-gdpr__security-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-gdpr__list-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .page-gdpr__list-item strong {
        margin-bottom: 5px;
    }

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

    /* Mobile image and video responsive styles */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr video,
    .page-gdpr__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__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;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }

    .page-gdpr__hero-section {
        padding-top: 10px !important; /* body already handles header offset */
    }

    .page-gdpr__final-cta-section .page-gdpr__container {
        padding: 40px 20px;
    }
}

/* Ensure content area images are not too small */
.page-gdpr__container img,
.page-gdpr__section img {
    min-width: 200px;
    min-height: 200px;
}

/* Contrast Fixes (as per requirements) */
.page-gdpr__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-gdpr__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}