/* style/gdpr.css */

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

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

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles padding-top from header */
  background-color: var(--page-gdpr-deep-green);
  overflow: hidden;
}

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

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

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

.page-gdpr__hero-title {
  font-weight: 700;
  line-height: 1.2;
  color: var(--page-gdpr-text-main);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--page-gdpr-text-main);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--page-gdpr-text-main);
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-gdpr__text-block {
  font-size: 1em;
  color: var(--page-gdpr-text-secondary);
  margin-bottom: 15px;
}

.page-gdpr__intro-section,
.page-gdpr__data-collection-section,
.page-gdpr__data-usage-section,
.page-gdpr__user-rights-section,
.page-gdpr__security-section,
.page-gdpr__data-sharing-section,
.page-gdpr__cookies-section,
.page-gdpr__contact-section,
.page-gdpr__faq-section {
  padding: 60px 0;
}

.page-gdpr__card-bg {
  background-color: var(--page-gdpr-card-bg);
}

.page-gdpr__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .page-gdpr__content-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-gdpr__content-grid--reverse {
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: dense;
  }
  .page-gdpr__content-grid--reverse .page-gdpr__content-block:first-child {
    grid-column: 2;
  }
  .page-gdpr__content-grid--reverse .page-gdpr__content-block:last-child {
    grid-column: 1;
  }
}

.page-gdpr__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-gdpr__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--page-gdpr-primary-color);
  font-weight: bold;
}

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

@media (min-width: 768px) {
  .page-gdpr__list--grid {
    grid-template-columns: 1fr 1fr;
  }
}

.page-gdpr__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

.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;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-btn-gradient);
  color: var(--page-gdpr-text-main);
  border: none;
}

.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);
  transform: translateY(-2px);
}

.page-gdpr__faq-list {
  margin-top: 40px;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--page-gdpr-text-main);
  cursor: pointer;
  user-select: none;
}

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

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  color: var(--page-gdpr-text-secondary);
  font-size: 1em;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-gdpr__hero-title {
    font-size: 1.8em;
  }

  .page-gdpr__hero-description {
    font-size: 1em;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
  }

  .page-gdpr__sub-title {
    font-size: 1.4em;
  }

  .page-gdpr__intro-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__data-usage-section,
  .page-gdpr__user-rights-section,
  .page-gdpr__security-section,
  .page-gdpr__data-sharing-section,
  .page-gdpr__cookies-section,
  .page-gdpr__contact-section,
  .page-gdpr__faq-section {
    padding: 40px 0;
  }

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    display: block !important;
    margin-bottom: 15px;
  }

  .page-gdpr__cta-wrapper {
    padding: 0 15px;
  }

  /* Mobile images, videos, buttons 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__hero-image-wrapper,
  .page-gdpr__content-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  .page-gdpr__hero-image-wrapper { padding-left: 0; padding-right: 0; }

  .page-gdpr__cta-button,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-gdpr__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}