/* style/gdpr.css */

/* --- Base Styles --- */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light background, as body is light */
  background-color: var(--secondary-color, #FFFFFF); /* Ensure consistent background for main content */
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

.page-gdpr__section {
  padding: 60px 0;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-gdpr__section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__paragraph {
  font-size: 17px;
  margin-bottom: 15px;
  line-height: 1.7;
  text-align: justify;
}

.page-gdpr__paragraph--callout {
  font-style: italic;
  font-weight: 600;
  text-align: center;
  margin-top: 30px;
  padding: 15px 20px;
  background-color: #f0f0f0;
  border-left: 5px solid var(--primary-color);
  border-radius: 4px;
}

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.6;
}

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

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

/* --- Color Contrast Classes --- */
.page-gdpr__dark-section {
  background-color: var(--primary-color);
  color: #ffffff; /* Forced white text for dark background */
}

.page-gdpr__dark-section .page-gdpr__section-title,
.page-gdpr__dark-section .page-gdpr__paragraph,
.page-gdpr__dark-section .page-gdpr__list-item,
.page-gdpr__dark-section .page-gdpr__faq-question h3,
.page-gdpr__dark-section .page-gdpr__faq-toggle {
  color: #ffffff; /* Ensure all text within dark section is white */
}

.page-gdpr__light-bg {
  background-color: var(--secondary-color);
  color: #333333; /* Forced dark text for light background */
}

/* --- Hero Banner Section --- */
.page-gdpr__hero-banner {
  text-align: center;
  padding: 80px 0;
  background-color: var(--primary-color); /* Dark background for hero */
}

.page-gdpr__hero-title {
  font-size: 48px;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  max-width: 1200px;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-gdpr__feature-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__feature-description {
  font-size: 16px;
  color: #555555;
  line-height: 1.6;
}

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

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

.page-gdpr__btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
  border: 2px solid var(--primary-color);
}

.page-gdpr__btn-primary:hover {
  background-color: #005a2d; /* Slightly darker green */
  border-color: #005a2d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-secondary {
  background-color: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-gdpr__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2d; /* Slightly darker green */
  border-color: #005a2d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-gdpr__cta-button {
  background-color: #C30808; /* Custom color for CTA button */
  color: #FFFF00; /* Custom font color for CTA button */
  border: 2px solid #C30808;
}