/* style/gdpr.css */

/* Custom Color Variables based on the provided palette */
:root {
    --gdpr-bg-color: #08160F; /* Background */
    --gdpr-card-bg: #11271B; /* Card BG */
    --gdpr-text-main: #F2FFF6; /* Text Main */
    --gdpr-text-secondary: #A7D9B8; /* Text Secondary */
    --gdpr-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --gdpr-border-color: #2E7A4E; /* Border */
    --gdpr-glow-color: #57E38D; /* Glow */
    --gdpr-gold-color: #F2C14E; /* Gold */
    --gdpr-divider-color: #1E3A2A; /* Divider */
    --gdpr-deep-green: #0A4B2C; /* Deep Green */
    --gdpr-primary-color: #11A84E; /* Main color */
    --gdpr-secondary-color: #22C768; /* Aux color */
}

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

/* Header spacing - body already handles padding-top */
.page-gdpr__hero-section,
.page-gdpr__section {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding for the first section */
    padding-bottom: 80px;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 0; /* Image should be behind content */
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0.2; /* Subtle background effect */
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-gdpr__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* H1 font size with clamp */
    font-weight: 700;
    color: var(--gdpr-text-main);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-gdpr__intro-text {
    font-size: 1.1rem;
    color: var(--gdpr-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* General Section Styles */
.page-gdpr__section {
    background-color: var(--gdpr-bg-color);
    padding-left: 20px;
    padding-right: 20px;
}

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--gdpr-gold-color); /* Use gold for main titles */
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.page-gdpr__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gdpr-btn-gradient);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-gdpr__section-description {
    font-size: 1rem;
    color: var(--gdpr-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Dark Section */
.page-gdpr__dark-section {
    background-color: var(--gdpr-primary-color); /* Main brand color for dark section */
    color: var(--gdpr-text-main);
}
.page-gdpr__dark-section .page-gdpr__section-title {
    color: var(--gdpr-text-main);
}
.page-gdpr__dark-section .page-gdpr__section-description {
    color: var(--gdpr-text-main);
}


/* Buttons */
.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}
.page-gdpr__cta-buttons--center {
    margin-top: 50px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 180px;
    box-sizing: border-box;
}

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

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

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

.page-gdpr__btn-secondary:hover {
    background-color: var(--gdpr-border-color);
    color: var(--gdpr-text-main);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

/* Card Styles */
.page-gdpr__card {
    background-color: var(--gdpr-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--gdpr-divider-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--gdpr-text-main);
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

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

/* Image-Text Grid */
.page-gdpr__image-text-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
}

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

.page-gdpr__image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-gdpr__rights-list li {
    background-color: var(--gdpr-card-bg);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--gdpr-text-main);
    border-left: 4px solid var(--gdpr-glow-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

/* Security Overview Image */
.page-gdpr__image-wrapper--security-overview {
    margin-top: 60px;
    text-align: center;
}

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__faq-item {
    background-color: var(--gdpr-card-bg);
    border: 1px solid var(--gdpr-divider-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gdpr-text-main);
    cursor: pointer;
    background-color: var(--gdpr-deep-green);
    border-bottom: 1px solid var(--gdpr-divider-color);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    background-color: var(--gdpr-primary-color);
    color: var(--gdpr-text-main);
}

.page-gdpr__faq-question::-webkit-details-marker {
    display: none;
}

.page-gdpr__faq-question::marker {
    display: none;
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
}

.page-gdpr__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--gdpr-gold-color);
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg);
    color: var(--gdpr-text-main);
}

.page-gdpr__faq-answer {
    padding: 15px 25px 20px;
    font-size: 0.95rem;
    color: var(--gdpr-text-secondary);
    background-color: var(--gdpr-card-bg);
}

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

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

.page-gdpr__faq-answer a {
    color: var(--gdpr-gold-color);
    text-decoration: underline;
}

/* Bottom CTA Section */
.page-gdpr__cta-bottom-section {
    background-color: var(--gdpr-deep-green);
    padding: 80px 20px;
    text-align: center;
}
.page-gdpr__cta-bottom-content {
    max-width: 900px;
}
.page-gdpr__cta-bottom-section .page-gdpr__section-title {
    color: var(--gdpr-text-main);
}
.page-gdpr__cta-bottom-section .page-gdpr__section-description {
    color: var(--gdpr-text-secondary);
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        max-width: 768px;
    }
    .page-gdpr__grid-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }

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

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

    .page-gdpr__intro-text {
        font-size: 1rem;
    }

    .page-gdpr__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .page-gdpr__section-description {
        margin-bottom: 30px;
    }

    /* Images responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    /* All image containers */
    .page-gdpr__image-wrapper,
    .page-gdpr__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-gdpr__container,
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__hero-content,
    .page-gdpr__faq-list,
    .page-gdpr__image-text-grid > div {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Video responsiveness - not present, but for completeness as per rules */
    .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;
    }

    /* Buttons responsiveness */
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 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;
        min-width: unset;
        padding: 12px 20px;
    }

    .page-gdpr__image-text-grid {
        flex-direction: column;
    }
    .page-gdpr__image-text-grid > div {
        min-width: unset;
    }

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

@media (max-width: 480px) {
    .page-gdpr__hero-section,
    .page-gdpr__section {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .page-gdpr__hero-section {
        padding-top: 10px !important;
        padding-bottom: 50px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 9vw, 2.2rem);
    }
    .page-gdpr__section-title {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
    }
    .page-gdpr__cta-bottom-section {
        padding: 50px 15px;
    }
}