/* style/gdpr.css */

/* Core Styles for GDPR Page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #0a0a0a; /* Matches body background */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background: linear-gradient(135deg, #017439, #0a0a0a); /* Brand green to dark background */
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

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

.page-gdpr__intro-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #f0f0f0;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-gdpr__cta-buttons--center {
  margin-top: 30px;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button adapts to mobile */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background-color: #C30808; /* Register/Login red */
  color: #FFFF00; /* Register/Login font yellow */
  border: 2px solid #C30808;
}

.page-gdpr__btn-primary:hover {
  background-color: #e00b0b;
  border-color: #e00b0b;
  color: #ffffff;
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-gdpr__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

/* Content Area */
.page-gdpr__content-area {
  background-color: #0a0a0a; /* Dark background */
  padding: 60px 0;
  color: #f0f0f0; /* Light text */
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #ffffff;
  margin-bottom: 30px;
  text-align: center;
  padding-top: 40px;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-gdpr__highlight {
  color: #017439; /* Brand green for highlights */
  font-weight: bold;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-gdpr__text-link {
  color: #017439;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__text-link:hover {
  color: #00a04b;
}

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

.page-gdpr__feature-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark card */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #f0f0f0;
}

.page-gdpr__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Min size for images */
  min-height: 200px;
}

.page-gdpr__feature-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__feature-description {
  font-size: 1em;
  color: #e0e0e0;
}

/* Icon Grid */
.page-gdpr__icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-gdpr__icon-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #f0f0f0;
}

.page-gdpr__icon {
  width: 120px;
  height: 120px;
  margin-bottom: 15px;
  object-fit: contain;
  min-width: 200px; /* Min size for images, even if visually smaller icons */
  min-height: 200px;
}

.page-gdpr__icon-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-gdpr__icon-description {
  font-size: 0.95em;
  color: #e0e0e0;
}

/* Grid 3 Column */
.page-gdpr__grid-3-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-gdpr__card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
}

.page-gdpr__card-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-gdpr__card-description {
  font-size: 0.95em;
  color: #e0e0e0;
}

.page-gdpr__image-full-width {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 40px auto;
  display: block;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__contact-info {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 40px;
  font-size: 1.1em;
  color: #e0e0e0;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #f0f0f0;
}

.page-gdpr__faq-item summary {
  list-style: none; /* Hide default marker */
  cursor: pointer;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-gdpr__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'minus' effect */
}

.page-gdpr__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #e0e0e0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    min-height: 300px;
  }
  .page-gdpr__main-title {
    font-size: 2em;
  }
  .page-gdpr__intro-text {
    font-size: 1em;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
  }
  .page-gdpr__content-area {
    padding: 40px 0;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
    padding-top: 20px;
  }
  .page-gdpr__paragraph,
  .page-gdpr__list-item,
  .page-gdpr__card-description,
  .page-gdpr__icon-description,
  .page-gdpr__feature-description,
  .page-gdpr__faq-answer {
    font-size: 0.95em;
  }
  .page-gdpr__feature-grid,
  .page-gdpr__icon-grid,
  .page-gdpr__grid-3-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-gdpr__feature-item,
  .page-gdpr__icon-item,
  .page-gdpr__card {
    padding: 20px;
  }
  .page-gdpr__image-full-width,
  .page-gdpr__feature-image,
  .page-gdpr__icon {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Enforce minimum size */
    min-height: 200px !important;
  }
  /* Container specific for mobile to prevent overflow */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__feature-grid,
  .page-gdpr__icon-grid,
  .page-gdpr__grid-3-col,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-gdpr__faq-answer {
    padding: 10px 20px 15px;
  }
}