/* style/gdpr.css */

/* Custom properties for colors */
: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-color: #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);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 60px; /* Small top padding, larger bottom padding */
    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;
    margin-bottom: 40px; /* Space between image and content */
}

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

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

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

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

.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-gdpr__btn-primary {
    background: var(--page-gdpr-btn-gradient);
    color: var(--page-gdpr-text-main);
    border: none;
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-gdpr__btn-secondary:hover {
    background-color: var(--page-gdpr-deep-green);
    transform: translateY(-2px);
}

/* Content Sections */
.page-gdpr__content-section {
    padding: 80px 20px;
    border-top: 1px solid var(--page-gdpr-divider);
}

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

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

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

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--page-gdpr-gold);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.page-gdpr__subsection-title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--page-gdpr-glow);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.page-gdpr__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    object-fit: cover;
    max-width: 800px; /* Example max-width for content images */
}

/* Contact Info */
.page-gdpr__contact-info {
    background-color: var(--page-gdpr-deep-green);
    border: 1px solid var(--page-gdpr-border-color);
    border-radius: 8px;
    padding: 30px;
    margin: 40px auto;
    max-width: 600px;
    text-align: center;
}

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

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

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

/* FAQ Section */
.page-gdpr__faq-section {
    padding: 80px 20px;
    background-color: var(--page-gdpr-card-bg);
    color: var(--page-gdpr-text-main);
    border-top: 1px solid var(--page-gdpr-divider);
}

.page-gdpr__faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

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

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

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

.page-gdpr__faq-question:hover {
    background-color: rgba(var(--page-gdpr-deep-green), 0.8);
}

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

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

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

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-section {
        padding: 10px 15px 50px;
    }
    .page-gdpr__content-section {
        padding: 60px 15px;
    }
    .page-gdpr__faq-section {
        padding: 60px 15px;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 10px 15px 40px;
    }
    .page-gdpr__hero-content {
        padding: 0 15px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-gdpr__description {
        font-size: 1rem;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .page-gdpr__content-section {
        padding: 40px 15px;
    }
    .page-gdpr__section-title {
        font-size: clamp(1.6rem, 5vw, 2rem);
        margin-bottom: 20px;
    }
    .page-gdpr__subsection-title {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-gdpr__text-block,
    .page-gdpr__contact-item,
    .page-gdpr__faq-question,
    .page-gdpr__faq-answer {
        font-size: 0.95rem;
    }
    .page-gdpr__image {
        margin: 30px auto;
    }
    .page-gdpr__contact-info {
        padding: 20px;
        margin: 30px auto;
    }
    .page-gdpr__faq-section {
        padding: 40px 15px;
    }
    .page-gdpr__faq-question {
        padding: 15px 20px;
    }

    /* Mobile image and video responsive 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;
        overflow: hidden !important; /* Ensure no overflow */
    }
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    /* Video specific rules (if any, although not present in this page) */
    .page-gdpr video,
    .page-gdpr__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__video-section,
    .page-gdpr__video-container,
    .page-gdpr__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-gdpr__video-section {
        padding-top: 10px !important;
    }
}