/* style/gdpr.css */

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

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    color: var(--color-text-main); /* Main text color on dark background */
    background-color: var(--color-background); /* Page background */
    line-height: 1.6;
}

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

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px; /* 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;
    padding: 0 20px;
    z-index: 1;
}

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

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

.page-gdpr__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: all 0.3s ease;
    min-width: 180px;
    box-sizing: border-box; /* Crucial for responsive buttons */
}

.page-gdpr__btn-primary {
    background: var(--color-button-gradient);
    color: var(--color-text-main); /* White text on dark button */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

/* General Section Styles */
.page-gdpr__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--color-divider);
}

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

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

.page-gdpr__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-gdpr__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--color-gold);
    border-radius: 2px;
}

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

.page-gdpr__image-content {
    margin: 40px auto;
    max-width: 800px; /* Example max-width */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

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

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

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

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

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

/* Data Types List */
.page-gdpr__data-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-gdpr__list-item {
    background-color: var(--color-card-bg);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 5px solid var(--color-primary);
    color: var(--color-text-secondary);
    font-size: 1.05em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__list-item strong {
    color: var(--color-text-main);
}

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

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

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

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

.page-gdpr__card-description {
    color: var(--color-text-secondary);
    font-size: 0.95em;
}

/* Security Measures List */
.page-gdpr__security-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-gdpr__security-list .page-gdpr__list-item {
    border-left-color: var(--color-gold); /* Different color for security list */
}

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

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

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

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

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

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

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

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

.page-gdpr__faq-question:hover {
    background-color: var(--color-primary);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    background-color: var(--color-primary);
    border-bottom-color: transparent;
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
    color: var(--color-text-main);
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate + to X */
    color: var(--color-text-main);
}

.page-gdpr__faq-answer {
    padding: 20px;
    font-size: 1.05em;
    color: var(--color-text-secondary);
    background-color: var(--color-card-bg);
}

.page-gdpr__faq-answer p {
    margin-bottom: 10px;
    color: var(--color-text-secondary); /* Ensure paragraph text color */
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__container {
        padding: 0 30px;
    }
    .page-gdpr__hero-image-wrapper {
        margin-bottom: 15px;
    }
}

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

    .page-gdpr__hero-section {
        padding: 10px 15px 40px;
    }

    .page-gdpr__hero-image-wrapper {
        margin-bottom: 10px;
    }

    .page-gdpr__hero-content {
        padding: 0 15px;
    }

    .page-gdpr__main-title {
        font-size: 2.2em; /* Smaller H1 for mobile */
        margin-bottom: 10px;
    }

    .page-gdpr__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        width: 100%;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important; /* Force full width on mobile */
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important; /* Allow text wrapping */
        word-wrap: break-word !important;
    }

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

    .page-gdpr__container {
        padding: 0 15px;
    }

    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-gdpr__feature-list,
    .page-gdpr__right-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }

    .page-gdpr__image-content {
        margin: 30px auto;
    }

    /* Mobile image responsiveness */
    .page-gdpr img {
      max-width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__image-content {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important; /* Prevent content overflow */
    }
    
    .page-gdpr__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    /* Video responsiveness - if any */
    .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;
    }
}

/* Ensure content area images are at least 200px and not small icons */
.page-gdpr__content-area img,
.page-gdpr__feature-item img,
.page-gdpr__right-card img,
.page-gdpr__security-list img {
    min-width: 200px;
    min-height: 200px;
}

/* No CSS filters on images */
.page-gdpr img {
    filter: none;
}