/* style/gdpr.css */

/* Variables (if any, ensure they are defined in shared.css or here if specific to page) */
:root {
  --primary-color: #017439;
  --secondary-color: #C30808; /* For Register/Login, not used on this page for buttons */
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --background-light: #ffffff;
  --background-dark-section: #017439; /* Use primary color for dark sections */
  --border-color: #e0e0e0;
}

/* Base styles for the GDPR page content */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark); /* Default dark text on light body background */
  background-color: var(--background-light); /* Body background is #FFFFFF, so this is consistent */
}

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

.page-gdpr__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

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

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

.page-gdpr__paragraph {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.7;
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-gdpr__list li {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-gdpr a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr a:hover {
  color: #005a2d; /* Darker primary for hover */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #f8f8f8; /* A very light background for the hero section */
  overflow: hidden; /* Ensure nothing overflows */
}

.page-gdpr__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure it takes full width within max-width */
}

.page-gdpr__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-gdpr__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px; /* Enforce minimum image size */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-gdpr__main-title {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.3;
  font-size: clamp(28px, 4vw, 48px); /* Using clamp for H1 as allowed for max/min */
}

.page-gdpr__description {
  font-size: 18px;
  color: var(--text-color-dark);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure responsive for buttons */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  background: #005a2d; /* Darker primary for hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Data Collection Section */
.page-gdpr__data-collection .page-gdpr__container {
  padding: 0 20px;
}

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

.page-gdpr__card {
  background: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  color: var(--text-color-dark); /* Ensure dark text on light card background */
}

.page-gdpr__card-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__card-text {
  font-size: 15px;
  line-height: 1.6;
}

/* Your Rights Section */
.page-gdpr__your-rights .page-gdpr__container {
  padding: 0 20px;
}

.page-gdpr__rights-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-gdpr__right-item {
  background: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: var(--text-color-dark);
}

.page-gdpr__right-title {
  font-size: 20px;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-gdpr__right-description {
  font-size: 15px;
  line-height: 1.6;
}

/* Data Security Section */
.page-gdpr__dark-bg {
  background-color: var(--background-dark-section);
  color: var(--text-color-light);
}

.page-gdpr__dark-bg .page-gdpr__section-title {
  color: var(--text-color-light);
}

.page-gdpr__dark-bg .page-gdpr__paragraph {
  color: var(--text-color-light);
}

.page-gdpr__dark-bg .page-gdpr__list li {
  color: var(--text-color-light);
}

.page-gdpr__dark-bg a {
  color: var(--text-color-light);
}

.page-gdpr__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-gdpr__feature-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-color-light);
}

.page-gdpr__feature-item img {
  width: 100%;
  max-width: 300px; /* Example size, adjust as needed */
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 4px;
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px; /* Enforce minimum image size */
  object-fit: cover;
}

.page-gdpr__feature-title {
  font-size: 20px;
  color: var(--text-color-light);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-gdpr__feature-description {
  font-size: 15px;
  line-height: 1.6;
  color: #e0e0e0; /* Slightly lighter text for readability on green background */
}

/* Contact Section */
.page-gdpr__contact-info {
  text-align: center;
  margin-top: 30px;
  font-size: 18px;
}

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

.page-gdpr__contact-info a {
  font-weight: bold;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 30px;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2); /* Lighter border on dark background */
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent white background */
  color: var(--text-color-light);
}