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

/* Base styles for the GDPR page */
.page-gdpr {
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--bg-color); /* Default background 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;
}

.page-gdpr__section {
  padding: 60px 0;
  text-align: center;
}

.page-gdpr__dark-section {
  background-color: var(--bg-color);
  color: var(--text-main);
}

.page-gdpr__light-bg {
  background-color: #f8f9fa; /* Using a light background for contrast */
  color: #333333; /* Dark text for light background */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

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

.page-gdpr__main-title {
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

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

/* Section Titles */
.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--gold-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-gdpr__light-bg .page-gdpr__section-title {
  color: var(--deep-green);
  text-shadow: none;
}

.page-gdpr__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-gdpr__dark-section .page-gdpr__sub-title {
  color: var(--text-main);
}

/* Text Blocks */
.page-gdpr__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.page-gdpr__light-bg .page-gdpr__text-block {
  color: #333333;
}

/* Images */
.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* Lists */
.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 900px;
  text-align: left;
}

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

.page-gdpr__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.page-gdpr__light-bg .page-gdpr__list-item {
  color: #333333;
}

.page-gdpr__light-bg .page-gdpr__list-item::before {
  color: var(--deep-green);
}

/* Links */
.page-gdpr__link {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

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

.page-gdpr__dark-section .page-gdpr__link {
  color: var(--gold-color);
}

.page-gdpr__dark-section .page-gdpr__link:hover {
  color: var(--glow-color);
}

/* Buttons */
.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
}

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

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: var(--bg-color);
  color: var(--text-main);
}

.page-gdpr__light-bg.page-gdpr__faq-section {
  background-color: #f8f9fa;
  color: #333333;
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-gdpr__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-gdpr__light-bg .page-gdpr__faq-item {
  background-color: #ffffff;
  border-color: #e0e0e0;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--text-main);
  transition: background-color 0.3s ease;
}

.page-gdpr__light-bg .page-gdpr__faq-question {
  color: #333333;
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--primary-color);
}

.page-gdpr__light-bg .page-gdpr__faq-toggle {
  color: var(--deep-green);
}

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

.page-gdpr__light-bg .page-gdpr__faq-answer {
  color: #555555;
}

/* Details element specific styles */
.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__faq-item > summary {
  list-style: none;
}

.page-gdpr__faq-item > summary::-webkit-details-marker {
  display: none;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-gdpr__section-title {
    font-size: clamp(1.6rem, 4.5vw, 2.5rem);
  }

  .page-gdpr__sub-title {
    font-size: clamp(1.2rem, 3.5vw, 2rem);
  }

  .page-gdpr__hero-description,
  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__faq-question,
  .page-gdpr__faq-answer {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .page-gdpr__section {
    padding: 40px 0;
  }

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

  .page-gdpr__hero-image-wrapper {
    max-height: 400px;
  }

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

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

  .page-gdpr__sub-title {
    font-size: clamp(1.1rem, 4.5vw, 1.8rem);
  }

  .page-gdpr__hero-description,
  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__faq-question,
  .page-gdpr__faq-answer {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .page-gdpr__container,
  .page-gdpr__hero-content,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item,
  .page-gdpr__cta-button {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__cta-button {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    text-align: center;
  }

  .page-gdpr__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__faq-question {
    padding: 15px;
  }

  .page-gdpr__faq-answer {
    padding: 0 15px 15px 15px;
  }

  /* Ensure content area images are at least 200px */
  .page-gdpr__section .page-gdpr__image {
    min-width: 200px;
    min-height: 200px;
  }

  /* Text contrast fix for light background on mobile if needed */
  .page-gdpr__light-bg {
    color: #333333 !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

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

  .page-gdpr__hero-description {
    font-size: 15px !important;
  }
}

/* Ensure no filter on images */
.page-gdpr img {
  filter: none; /* Reset any potential filter */
}

/* Specific filter for hero image for readability, not color change */
.page-gdpr__hero-image {
  filter: brightness(0.7);
}

/* All images in content area must be at least 200x200px */
.page-gdpr img:not(.page-gdpr__hero-image) {
    min-width: 200px;
    min-height: 200px;
}