/* style/gdpr.css */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg: #111111;
  --background-color: #0A0A0A;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-gdpr {
  background-color: var(--background-color);
  color: var(--text-main-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fallback for header offset */
}

.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;
  text-align: center;
  overflow: hidden;
  padding-bottom: 50px;
  background: var(--background-color);
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  height: 600px; /* Adjust height as needed */
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
  margin-top: -100px; /* Pull content up over the image slightly */
  background: rgba(10, 10, 10, 0.7); /* Semi-transparent background for readability */
  border-radius: 10px;
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-gdpr__section-description {
  font-size: 1.1em;
  color: var(--text-main-color);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
  color: var(--text-main-color);
}

.page-gdpr__text-block ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-main-color);
}

.page-gdpr__text-block ul li {
  margin-bottom: 8px;
}

.page-gdpr__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.page-gdpr__flex-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.page-gdpr__card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main-color);
  flex: 1 1 calc(33% - 20px);
  box-sizing: border-box;
  min-width: 300px;
}

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

.page-gdpr__image-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-gdpr__image-caption {
  font-size: 0.9em;
  color: var(--text-main-color);
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 10px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-gdpr__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
}

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

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

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

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

.page-gdpr__dark-section {
  background-color: var(--card-bg);
}

.page-gdpr__cta-banner {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--background-color);
  text-align: center;
  padding: 60px 20px;
  margin-top: 50px;
}

.page-gdpr__cta-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--background-color);
}

.page-gdpr__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--background-color);
}

.page-gdpr__cta-banner .page-gdpr__btn-primary {
  background: var(--background-color);
  color: var(--primary-color);
  border: none;
}

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

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 0;
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: var(--card-bg);
  color: var(--text-main-color);
  font-weight: bold;
  font-size: 1.1em;
}

.page-gdpr__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-gdpr__faq-title {
  color: var(--text-main-color);
  margin: 0;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

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

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-main-color);
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Important to override potential inline styles or other rules */
  padding: 15px 20px 20px 20px;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr__grid {
    grid-template-columns: 1fr;
  }

  .page-gdpr__image-card {
    order: -1; /* Image on top for smaller screens */
  }

  .page-gdpr__flex-grid .page-gdpr__card {
    flex: 1 1 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__hero-image-wrapper {
    height: 400px;
  }
  .page-gdpr__hero-content {
    margin-top: -80px;
  }
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-gdpr__sub-title {
    font-size: 1.5em;
  }
  .page-gdpr__flex-grid .page-gdpr__card {
    flex: 1 1 100%;
  }
  .page-gdpr__cta-title {
    font-size: 2em;
  }
  .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-left: 15px;
    padding-right: 15px;
    margin-left: 0;
    margin-right: 0;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__section, .page-gdpr__card, .page-gdpr__container, .page-gdpr__image-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 100px) !important; /* Mobile: adjust for smaller header */
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-image-wrapper {
    height: 300px;
  }
  .page-gdpr__hero-content {
    margin-top: -60px;
  }
  .page-gdpr__main-title {
    font-size: 1.5em;
  }
  .page-gdpr__card {
    padding: 20px;
  }
}

/* Ensure contrast for text on various backgrounds */
.page-gdpr a {
  color: var(--primary-color);
  text-decoration: underline;
}
.page-gdpr a:hover {
  color: var(--secondary-color);
}

.page-gdpr__dark-bg {
  color: var(--text-main-color); /* Deep background, light text */
}

.page-gdpr__card p, .page-gdpr__card li {
  color: var(--text-main-color);
}

.page-gdpr__text-block a, .page-gdpr__faq-answer a {
  color: var(--secondary-color);
}

/* No filter on images */
.page-gdpr img {
  filter: none;
}