/* style/gdpr.css */

/* Custom properties for colors from shared.css */
:root {
  --primary-color: #017439; /* Main brand color */
  --secondary-color: #FFFFFF; /* Auxiliary color, typically for backgrounds */
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --button-register: #C30808;
  --button-login: #C30808;
  --button-text-yellow: #FFFF00;
  --border-light: #e0e0e0;
  --background-light-grey: #f9f9f9;
}

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light backgrounds */
  background-color: var(--secondary-color); /* Matches body background from shared.css */
}

/* Section styling */
.page-gdpr__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-light);
}

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

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

/* Dark background sections */
.page-gdpr__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light); /* Light 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 {
  color: var(--text-light);
}

/* Light background sections */
.page-gdpr__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

/* Headings */
.page-gdpr__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: var(--text-light); /* For hero section */
}

.page-gdpr__section-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary-color); /* Default for light backgrounds */
}

.page-gdpr__dark-section .page-gdpr__section-title {
  color: var(--text-light); /* White for dark backgrounds */
}

.page-gdpr__card-title,
.page-gdpr__feature-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

/* Paragraphs */
.page-gdpr__paragraph {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.8;
  text-align: justify;
}

/* Links within content */
.page-gdpr__paragraph a,
.page-gdpr__list-item a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}