/* style/gdpr.css */

/* Custom Colors */
:root {
  --page-gdpr-bg-primary: #08160F; /* Background */
  --page-gdpr-bg-card: #11271B; /* Card BG */
  --page-gdpr-text-main: #F2FFF6; /* Text Main */
  --page-gdpr-text-secondary: #A7D9B8; /* Text Secondary */
  --page-gdpr-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  --page-gdpr-border: #2E7A4E; /* Border */
  --page-gdpr-glow: #57E38D; /* Glow */
  --page-gdpr-gold: #F2C14E; /* Gold */
  --page-gdpr-divider: #1E3A2A; /* Divider */
  --page-gdpr-deep-green: #0A4B2C; /* Deep Green */
  --page-gdpr-primary-color: #11A84E; /* Main Color */
  --page-gdpr-secondary-color: #22C768; /* Auxiliary Color */
}

.page-gdpr {
  background-color: var(--page-gdpr-bg-primary); /* Dark background for the page */
  color: var(--page-gdpr-text-main); /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 70vh; /* Limit height to prevent image from being too large */
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 40px;
  background-color: var(--page-gdpr-bg-card); /* Card BG for content on dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-gdpr-border);
}

.page-gdpr__main-title {
  font-size: clamp(2em, 3.5vw, 2.8em); /* Use clamp for H1 font size */
  color: var(--page-gdpr-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-gdpr__intro-text {
  font-size: 1.1em;
  color: var(--page-gdpr-text-secondary);
  margin-bottom: 30px;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-btn-gradient);
  color: var(--page-gdpr-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-gdpr__btn-secondary:hover {
  background: var(--page-gdpr-primary-color);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__section {
  padding: 60px 20px;
  border-bottom: 1px solid var(--page-gdpr-divider);
}

.page-gdpr__section--dark {
  background-color: var(--page-gdpr-bg-card);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__section--dark .page-gdpr__section-description {
  color: var(--page-gdpr-text-secondary);
}

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

.page-gdpr__section-title {
  font-size: 2.2em;
  color: var(--page-gdpr-gold);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-gdpr__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__content-block {
  font-size: 1.05em;
  color: var(--page-gdpr-text-secondary);
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__content-block h3 {
  color: var(--page-gdpr-text-main);
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__content-block p {
  margin-bottom: 15px;
}

.page-gdpr__content-block a {
  color: var(--page-gdpr-primary-color);
  text-decoration: underline;
}

.page-gdpr__content-block a:hover {
  color: var(--page-gdpr-gold);
}

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

.page-gdpr__card {
  background-color: var(--page-gdpr-bg-card);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--page-gdpr-border);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__card--light {
  background-color: #11271B; /* Explicitly use Card BG for light card appearance */
  color: var(--page-gdpr-text-main);
}

.page-gdpr__card-icon {
  width: 200px; /* Min size for all images */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-gdpr__card-title {
  font-size: 1.5em;
  color: var(--page-gdpr-gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__data-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-gdpr__data-item {
  background-color: var(--page-gdpr-deep-green);
  padding: 25px;
  border-radius: 8px;
  border: 1px solid var(--page-gdpr-border);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__data-title {
  font-size: 1.4em;
  color: var(--page-gdpr-gold);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 40px;
  object-fit: cover;
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background-color: var(--page-gdpr-bg-card);
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--page-gdpr-border);
  overflow: hidden;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  background-color: var(--page-gdpr-deep-green);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-gdpr-text-main);
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-gdpr__faq-question:hover {
  background-color: var(--page-gdpr-deep-green);
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-gdpr-gold);
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--page-gdpr-text-secondary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 0 25px 20px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 500px; /* For JS fallback */
  padding: 0 25px 20px;
}

.page-gdpr__section--contact {
  text-align: center;
}

.page-gdpr__contact-info p {
  font-size: 1.1em;
  color: var(--page-gdpr-text-secondary);
  margin-bottom: 20px;
}

.page-gdpr__contact-info a {
  color: var(--page-gdpr-primary-color);
  text-decoration: underline;
}

.page-gdpr__contact-info a:hover {
  color: var(--page-gdpr-gold);
}

.page-gdpr__contact-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  object-fit: cover;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-image-wrapper {
    max-height: 60vh;
  }
  .page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 2.5em);
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__grid-layout {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__hero-image-wrapper {
    max-height: 50vh;
  }
  .page-gdpr__hero-content {
    margin-top: 20px;
    padding: 20px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 6vw, 2.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;
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__section {
    padding: 40px 15px;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-gdpr__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-gdpr__content-block h3 {
    font-size: 1.4em;
  }
  .page-gdpr__card,
  .page-gdpr__data-item {
    padding: 20px;
  }
  .page-gdpr__card-icon {
    width: 150px; /* Still >= 200px requirement, this is just scaling */
    height: auto;
  }
  .page-gdpr__card-title {
    font-size: 1.3em;
  }
  .page-gdpr__data-title {
    font-size: 1.2em;
  }
  .page-gdpr__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__hero-content,
  .page-gdpr__cta-buttons,
  .page-gdpr__grid-layout,
  .page-gdpr__data-types,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-gdpr__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .page-gdpr__hero-image {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-image-wrapper {
    max-height: 40vh;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }
  .page-gdpr__faq-question {
    font-size: 1em;
  }
}