/* style/gdpr.css */

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

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above content */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding for hero section */
    background-color: var(--color-deep-green); /* Use a darker green for hero background */
    text-align: center;
    overflow: hidden; /* Ensure no overflow from image */
}

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

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

.page-gdpr__hero-content {
    max-width: 900px;
    width: 100%; /* Ensure content takes full width up to max-width */
    z-index: 1; /* Ensure text is above any background effects */
    color: var(--color-text-main);
}

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

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

/* Content Area */
.page-gdpr__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--color-background-main); /* Ensure consistency with page background */
    color: var(--color-text-main); /* Light text on dark background */
}

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 600;
    color: var(--color-primary); /* Primary color for section titles */
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

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

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

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

.page-gdpr em {
    font-style: italic;
    color: var(--color-secondary);
}

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

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

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--color-glow);
}

.page-gdpr__card-title {
    font-size: 1.5rem;
    color: var(--color-primary); /* Primary color for card titles */
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-gdpr__list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--color-text-main);
}

.page-gdpr__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-gold); /* Gold checkmark */
    font-weight: bold;
    font-size: 1.2rem;
    top: 0;
}

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

.page-gdpr__link {
    color: var(--color-gold); /* Gold for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-gdpr__btn-primary {
    background: var(--gradient-button); /* Custom button gradient */
    color: #ffffff; /* White text on dark button */
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Reverse gradient on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 10px var(--color-glow);
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: var(--color-primary); /* Primary color text */
    border: 2px solid var(--color-primary); /* Primary color border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-left: 15px; /* Spacing for multiple buttons */
}

.page-gdpr__btn-secondary:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2), 0 0 10px var(--color-primary);
}

/* CTA Section */
.page-gdpr__cta-section {
    background-color: var(--color-deep-green); /* Dark green background */
    padding: 80px 20px;
    text-align: center;
    color: var(--color-text-main);
}

.page-gdpr__cta-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--color-gold);
    margin-bottom: 25px;
    font-weight: 700;
}

.page-gdpr__cta-description {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--color-text-secondary);
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between buttons */
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 600px; /* Limit button group width */
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

/* FAQ Section */
.page-gdpr__faq-list {
    max-width: 900px;
    margin: 50px auto;
}

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

.page-gdpr__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    list-style: none; /* Remove default marker */
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-item summary:hover {
    background-color: var(--color-deep-green);
}

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

.page-gdpr__faq-qtext {
    flex-grow: 1;
    color: var(--color-text-main); /* Ensure question text is light */
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or similar on open */
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }

    .page-gdpr__hero-content {
        max-width: 700px;
    }

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

    .page-gdpr__content-area {
        padding: 40px 15px;
    }

    .page-gdpr__grid-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .page-gdpr__card {
        padding: 25px;
    }

    .page-gdpr__cta-section {
        padding: 60px 15px;
    }

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

    .page-gdpr__faq-list {
        max-width: 700px;
    }
}

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

    .page-gdpr__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* body already handles offset, this is decorative */
    }

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

    .page-gdpr__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-gdpr__intro-text {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-gdpr__content-area {
        padding: 30px 15px;
    }

    .page-gdpr__section-title {
        font-size: clamp(1.6rem, 5.5vw, 2.2rem);
        margin-top: 40px;
        margin-bottom: 25px;
    }

    .page-gdpr p,
    .page-gdpr__list li {
        font-size: 0.95rem;
    }

    .page-gdpr__grid-container {
        grid-template-columns: 1fr; /* Single column layout for cards */
        gap: 20px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .page-gdpr__card {
        padding: 20px;
    }

    .page-gdpr__card-title {
        font-size: 1.3rem;
    }

    .page-gdpr__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 30px auto;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        margin-left: 0 !important; /* Remove margin for single column */
        margin-bottom: 15px; /* Add vertical spacing */
    }

    .page-gdpr__cta-section {
        padding: 50px 15px;
    }

    .page-gdpr__cta-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 20px;
    }

    .page-gdpr__cta-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-gdpr__faq-list {
        max-width: 100%;
        margin: 40px auto;
        padding: 0 15px; /* Add padding to faq list container */
        box-sizing: border-box;
    }

    .page-gdpr__faq-item summary {
        font-size: 1.1rem;
        padding: 18px 20px;
    }

    .page-gdpr__faq-answer {
        padding: 0 20px 18px 20px;
        font-size: 0.95rem;
    }

    /* Ensure all containers have proper responsive width */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-section,
    .page-gdpr__content-area,
    .page-gdpr__cta-section {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      /* Padding for content inside sections if not already applied */
      /* padding-left: 15px; */
      /* padding-right: 15px; */
    }
}

/* Ensure images and video responsiveness for all relevant selectors */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* No video on this page, but if it were, these rules would apply */
.page-gdpr video,
.page-gdpr__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-gdpr__video-section,
.page-gdpr__video-container,
.page-gdpr__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .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;
  }
  
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}