/* style/gdpr.css */
:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-card-bg: #11271B;
  --color-background: #08160F;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-gdpr {
  background-color: var(--color-background);
  color: var(--color-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

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

.page-gdpr__hero-image-container {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-gdpr__hero-content {
  max-width: 900px;
  margin-top: 40px;
  position: relative; /* Ensure content is above any potential background layering */
  z-index: 2;
}

.page-gdpr__main-title {
  color: var(--color-text-main);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-gdpr__section-block {
  margin-bottom: 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
}

.page-gdpr__section-block--cta {
  text-align: center;
  justify-content: center;
  flex-direction: column;
}

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

.page-gdpr__sub-title {
  color: var(--color-text-main);
  font-size: 1.6em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  width: 100%;
}

.page-gdpr__paragraph {
  color: var(--color-text-secondary);
  margin-bottom: 15px;
  flex: 1;
}

.page-gdpr__image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__image--left {
  order: -1;
  margin-right: 30px;
}

.page-gdpr__image--right {
  order: 1;
  margin-left: 30px;
}

.page-gdpr__section-block > .page-gdpr__paragraph {
  flex: 1;
  min-width: 300px;
}

.page-gdpr__faq-list {
  width: 100%;
  margin-top: 30px;
}

.page-gdpr__faq-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  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;
  cursor: pointer;
  color: var(--color-text-main);
  font-weight: 600;
  font-size: 1.1em;
  background-color: var(--color-deep-green);
  border-bottom: 1px solid var(--color-border);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  border-bottom: 1px solid var(--color-border);
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--color-glow);
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-answer {
  padding: 20px;
  color: var(--color-text-secondary);
  border-top: none;
}

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

.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-gdpr__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-gdpr__btn-secondary:hover {
  background-color: var(--color-glow);
  color: var(--color-background);
  transform: translateY(-2px);
}

/* Responsive Styles */
@media (min-width: 769px) {
  .page-gdpr__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
  }

  .page-gdpr__hero-image-container {
    max-height: 100vh;
  }

  .page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
  }

  .page-gdpr__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
  }

  .page-gdpr__image--left {
    order: 0;
  }
  .page-gdpr__image--right {
    order: 0;
  }

  .page-gdpr__section-block {
    flex-wrap: nowrap;
  }

  .page-gdpr__image {
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 15px;
  }

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

  .page-gdpr__main-title {
    font-size: 1.8em;
    margin-top: 20px;
  }

  .page-gdpr__intro-text {
    font-size: 1em;
  }

  .page-gdpr__content-area {
    padding: 40px 15px;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-gdpr__sub-title {
    font-size: 1.4em;
    margin-top: 30px;
  }

  .page-gdpr__section-block {
    flex-direction: column;
    gap: 20px;
  }

  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto 20px !important;
  }

  .page-gdpr__faq-question {
    padding: 15px;
    font-size: 1em;
  }

  .page-gdpr__faq-answer {
    padding: 15px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__hero-section,
  .page-gdpr__content-area,
  .page-gdpr__section-block,
  .page-gdpr__hero-image-container,
  .page-gdpr__hero-content,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item,
  .page-gdpr__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important; /* body has padding-top, this is for visual spacing */
  }
}