/* style/gdpr.css */

/* Base styles for the page-gdpr scope */
.page-gdpr {
  font-family: Arial, sans-serif;
  color: var(--text-main, #F2FFF6); /* Default text color for dark background */
  background-color: var(--background-color, #08160F); /* Assuming body background is dark */
  line-height: 1.6;
  padding-bottom: 40px; /* Add some padding at the bottom */
}

/* Section styling */
.page-gdpr__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-gdpr__dark-section {
  background-color: var(--deep-green, #0A4B2C); /* Using a darker green for contrast */
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__section-title {
  font-size: clamp(28px, 4vw, 42px); /* Responsive font size */
  color: var(--gold, #F2C14E);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr__section-description {
  font-size: 18px;
  color: var(--text-secondary, #A7D9B8);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__hero-image-wrapper {
  width: 100%;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height on larger screens */
}

.page-gdpr__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 40px; /* Space between image and content, no overlap */
  background-color: var(--card-bg, #11271B); /* Dark background for text readability */
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__main-title {
  font-size: clamp(32px, 5vw, 56px); /* Responsive H1 */
  color: var(--gold, #F2C14E);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 18px;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px var(--glow, #57E38D);
}

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

.page-gdpr__grid--2-col {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.page-gdpr__card {
  background-color: var(--card-bg, #11271B);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border, #2E7A4E);
  color: var(--text-main, #F2FFF6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-gdpr__card-title {
  font-size: 24px;
  color: var(--gold, #F2C14E);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__card-title a {
  color: var(--gold, #F2C14E);
  text-decoration: none;
}

.page-gdpr__card-title a:hover {
  text-decoration: underline;
}

.page-gdpr__card p {
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__card--full-width {
  grid-column: 1 / -1;
}

/* Feature cards for measures section */
.page-gdpr__feature-card {
  background-color: var(--card-bg, #11271B);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border, #2E7A4E);
  color: var(--text-main, #F2FFF6);
  display: flex;
  flex-direction: column;
}

.page-gdpr__feature-title {
  font-size: 22px;
  color: var(--glow, #57E38D);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-gdpr__feature-card p {
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
}

/* List styling for data rights */
.page-gdpr__list-wrapper {
  margin-bottom: 40px;
}

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

.page-gdpr__bullet-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__bullet-list li::before {
  content: '✓';
  color: var(--glow, #57E38D);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
}

.page-gdpr__bullet-list li strong {
  color: var(--gold, #F2C14E);
}

/* Image container */
.page-gdpr__image-container {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

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

/* Button group */
.page-gdpr__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px var(--glow, #57E38D);
}

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

.page-gdpr__btn-secondary:hover {
  background-color: var(--glow, #57E38D);
  color: var(--card-bg, #11271B); /* Dark text on light background */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-gdpr__faq-item[open] {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  background-color: var(--card-bg, #11271B);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  background-color: var(--deep-green, #0A4B2C);
  border-bottom: 1px solid var(--divider, #1E3A2A);
  color: var(--gold, #F2C14E);
}

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

.page-gdpr__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow, #57E38D);
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
  color: var(--gold, #F2C14E);
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
}

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

/* Contact Section */
.page-gdpr__contact-section {
  text-align: center;
  padding-top: 40px;
}

.page-gdpr__contact-info {
  margin-top: 30px;
  font-size: 18px;
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__contact-info p {
  margin-bottom: 10px;
}

.page-gdpr__contact-info a {
  color: var(--glow, #57E38D);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__contact-info a:hover {
  color: var(--gold, #F2C14E);
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-gdpr__section {
    padding: 40px 15px;
  }

  .page-gdpr__hero-content {
    padding: 30px 15px;
    margin-top: 30px; /* Adjust for smaller screens, no overlap */
  }

  .page-gdpr__main-title {
    font-size: clamp(28px, 8vw, 42px);
  }

  .page-gdpr__hero-description {
    font-size: 16px;
  }

  .page-gdpr__section-title {
    font-size: clamp(24px, 7vw, 36px);
  }

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

  .page-gdpr__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__grid--2-col {
    grid-template-columns: 1fr;
  }

  .page-gdpr__card,
  .page-gdpr__feature-card {
    padding: 20px;
  }

  .page-gdpr__card-title,
  .page-gdpr__feature-title {
    font-size: 20px;
  }

  .page-gdpr__bullet-list li {
    font-size: 16px;
    padding-left: 25px;
  }

  .page-gdpr__bullet-list li::before {
    font-size: 18px;
  }

  .page-gdpr__button-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__cta-button,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    text-align: center;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* FAQ */
  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

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

  .page-gdpr__contact-info {
    font-size: 16px;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All containers with images/videos */
  .page-gdpr__section,
  .page-gdpr__image-container,
  .page-gdpr__grid,
  .page-gdpr__list-wrapper,
  .page-gdpr__faq-list,
  .page-gdpr__button-group,
  .page-gdpr__card,
  .page-gdpr__feature-card,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-gdpr__hero-section {
      padding-left: 0 !important;
      padding-right: 0 !important;
  }
  .page-gdpr__hero-content {
      padding-left: 15px !important;
      padding-right: 15px !important;
  }
}