/* style/gdpr.css */

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

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

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as per instruction */
    text-align: center;
    overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--page-gdpr-text-main);
}

.page-gdpr__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--page-gdpr-gold); /* Using gold for main title for emphasis */
}

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

.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button responsiveness */
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-gdpr__btn-primary {
    background: var(--page-gdpr-btn-gradient);
    color: var(--page-gdpr-text-main); /* White text on dark button */
    border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__btn-secondary {
    background: transparent;
    color: var(--page-gdpr-glow); /* Green text on transparent button */
    border: 2px solid var(--page-gdpr-glow);
}

.page-gdpr__btn-secondary:hover {
    background: var(--page-gdpr-glow);
    color: var(--page-gdpr-bg); /* Dark text on green button */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.page-gdpr__content-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--page-gdpr-divider);
}

.page-gdpr__dark-section {
    background-color: var(--page-gdpr-card-bg); /* Darker background for sections */
    color: var(--page-gdpr-text-main);
}

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

.page-gdpr__section-title {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--page-gdpr-gold);
}

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

.page-gdpr__text-block p {
    margin-bottom: 15px;
}

.page-gdpr__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

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

.page-gdpr__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--page-gdpr-glow);
    font-weight: bold;
    font-size: 1.2em;
}

.page-gdpr__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 8px;
    object-fit: cover;
    max-width: 100%; /* Ensure image responsiveness */
}

.page-gdpr__image-center {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

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

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--page-gdpr-deep-green);
    color: var(--page-gdpr-text-main);
    user-select: none;
    list-style: none; /* For details/summary */
}

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

.page-gdpr__faq-item summary {
    list-style: none; /* For Firefox/Safari */
}

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

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: var(--page-gdpr-text-secondary);
    max-height: 0; /* Hidden by default for JS fallback */
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 2000px; /* Large enough for content */
    padding-top: 15px;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
    max-height: 2000px; /* For details tag */
    padding-top: 15px;
}

/* Contact Section */
.page-gdpr__contact-section {
    text-align: center;
    padding-bottom: 80px;
}

.page-gdpr__contact-info {
    margin-top: 30px;
    margin-bottom: 40px;
    font-size: 1.1em;
}

.page-gdpr__contact-item {
    margin-bottom: 10px;
    color: var(--page-gdpr-text-secondary);
}

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

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

.page-gdpr__btn-contact {
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.5em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
}

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

    .page-gdpr__hero-image-wrapper,
    .page-gdpr__hero-image,
    .page-gdpr__image-full-width,
    .page-gdpr__image-center,
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__container,
    .page-gdpr__content-section,
    .page-gdpr__hero-section,
    .page-gdpr__faq-item,
    .page-gdpr__cta-buttons,
    .page-gdpr__contact-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* For containers to prevent overflow */
    }

    .page-gdpr__main-title {
        font-size: 2em;
    }
    .page-gdpr__intro-text {
        font-size: 1em;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
    .page-gdpr__text-block,
    .page-gdpr__list li,
    .page-gdpr__faq-question,
    .page-gdpr__faq-answer p,
    .page-gdpr__contact-item {
        font-size: 0.95em;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr a[class*="button"],
    .page-gdpr a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important;
    }

    /* Content area images CSS dimensions lower than 200px check */
    /* Ensure no img under .page-gdpr is smaller than 200px */
    .page-gdpr img {
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.3em;
    }
}