/* style/gdpr.css */

/* --- General Styles --- */
.page-gdpr {
  font-family: 'Arial', sans-serif; /* Example font, adjust as needed */
  color: #F2FFF6; /* Text Main - light color for dark background */
  background-color: #08160F; /* Background color */
  line-height: 1.6;
}

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

.page-gdpr__section {
  padding: 60px 0;
  position: relative;
}

.page-gdpr__section-title {
  font-size: clamp(28px, 4vw, 42px); /* Responsive H2 */
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__text-block {
  font-size: 18px;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__text-main {
  color: #F2FFF6; /* Text Main */
}

.page-gdpr__text-secondary {
  color: #A7D9B8; /* Text Secondary */
}

.page-gdpr__link {
  color: #57E38D; /* Glow color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #2AD16F; /* Lighter green on hover */
  text-decoration: underline;
}

/* --- Buttons --- */
.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial for responsiveness */
  max-width: 100%; /* Crucial for responsiveness */
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6); /* Glow on hover */
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Lighter green */
  border: 2px solid #2AD16F;
}

.page-gdpr__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6; /* Text Main */
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.4); /* Subtle glow */
}

/* --- Hero Section --- */
.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  background-color: #08160F; /* Background color for hero section */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover; /* Ensure image covers the area without distortion */
  display: block;
}

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(32px, 5vw, 56px); /* Responsive H1 */
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
}

.page-gdpr__description {
  font-size: 20px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* --- Card Styles --- */
.page-gdpr__card {
  background-color: #11271B; /* Card BG - dark background */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-gdpr__card-title {
  font-size: 22px;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.3;
}

.page-gdpr__card-text {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
}

.page-gdpr__card--transparent {
  background-color: transparent;
  border-color: #1E3A2A; /* Divider color for border */
  box-shadow: none;
}

.page-gdpr__card--transparent:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.2); /* Subtle glow on hover */
}

/* --- Image Styles --- */
.page-gdpr__image-full {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 12px;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* --- List Styles --- */
.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-gdpr__list--bullet {
  list-style: disc;
  padding-left: 20px;
  margin-left: 20px;
}

.page-gdpr__list-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-gdpr__list-title {
  font-size: 20px;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-gdpr__list-text {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
}

/* --- Contact Section --- */
.page-gdpr__contact-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-gdpr__contact-card {
  flex: 1;
  min-width: 300px;
  max-width: 45%;
  text-align: center;
}

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

.page-gdpr__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #1E3A2A; /* Divider color for hover */
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow color */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: "\2212"; /* Minus sign when open */
}

.page-gdpr__faq-item summary {
  list-style: none; /* Remove default marker */
}
.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

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

.page-gdpr__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Specific background colors for sections */
.page-gdpr__dark-bg {
  background-color: #0A4B2C; /* Deep Green for dark sections */
  color: #F2FFF6; /* Text Main */
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-gdpr__section-title {
    font-size: clamp(24px, 3.5vw, 36px);
  }
  .page-gdpr__main-title {
    font-size: clamp(28px, 4.5vw, 48px);
  }
  .page-gdpr__description,
  .page-gdpr__text-block {
    font-size: 17px;
  }
  .page-gdpr__card-title,
  .page-gdpr__list-title {
    font-size: 20px;
  }
  .page-gdpr__card-text,
  .page-gdpr__list-text,
  .page-gdpr__faq-question,
  .page-gdpr__faq-answer {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__section {
    padding: 40px 0;
  }

  .page-gdpr__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-gdpr__hero-image-wrapper {
    margin-bottom: 30px;
  }

  .page-gdpr__hero-content {
    padding: 0 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(26px, 6vw, 38px);
    margin-bottom: 15px;
  }

  .page-gdpr__description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-gdpr__section-title {
    font-size: clamp(22px, 5vw, 32px);
    margin-bottom: 25px;
  }

  .page-gdpr__text-block {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    padding: 0 15px; /* Add padding to buttons container */
  }

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

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

  .page-gdpr__card {
    padding: 25px;
  }

  .page-gdpr__card-title {
    font-size: 18px;
  }

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

  .page-gdpr__list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  .page-gdpr__list-item {
    padding: 20px;
  }

  .page-gdpr__list-title {
    font-size: 18px;
  }

  .page-gdpr__list-text {
    font-size: 15px;
  }

  .page-gdpr__contact-info {
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
  }

  .page-gdpr__contact-card {
    max-width: 100%;
    min-width: unset;
  }

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

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

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

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__contact-info,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

/* Ensure no filter on images */
.page-gdpr img {
  filter: none !important;
}

/* Contrast Fix (if needed) - these classes should be applied dynamically if contrast issues are detected */
.page-gdpr__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-gdpr__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}