/* style/gdpr.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-color-light: #f5f5f5;
  --bg-color-dark: #1a1a1a;
  --button-login-color: #EA7C07;
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--secondary-color); /* Default light background for content */
}

.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;
  background-color: var(--primary-color);
  color: var(--text-color-light);
  padding: 80px 20px;
  padding-top: calc(80px + var(--header-offset, 120px)); /* Ensure space for fixed header */
  overflow: hidden;
}

.page-gdpr__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-gdpr__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: var(--text-color-light);
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  overflow: hidden;
}

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

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

.page-gdpr__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-gdpr__subsection-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-color-dark);
}

.page-gdpr__dark-section .page-gdpr__text-block, 
.page-gdpr__dark-section .page-gdpr__inline-link {
  color: var(--text-color-light);
}

.page-gdpr__dark-section .page-gdpr__section-title, 
.page-gdpr__dark-section .page-gdpr__subsection-title {
  color: var(--secondary-color);
}

.page-gdpr__dark-section .page-gdpr__section-title::after {
  background-color: var(--secondary-color);
}

.page-gdpr__content-section {
  padding: 60px 0;
}

.page-gdpr__dark-section {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

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

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--text-color-dark);
}

.page-gdpr__dark-section .page-gdpr__list-item {
  color: var(--text-color-light);
}

.page-gdpr__inline-link {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-gdpr__dark-section .page-gdpr__inline-link {
  color: var(--secondary-color);
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

.page-gdpr__btn-primary {
  background-color: var(--button-login-color); /* Using login color for primary action */
  color: var(--text-color-light);
  border: 2px solid var(--button-login-color);
  margin-right: 15px;
}

.page-gdpr__btn-primary:hover {
  background-color: #df6e00;
  border-color: #df6e00;
}

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

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

.page-gdpr__dark-section .page-gdpr__btn-secondary {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.page-gdpr__dark-section .page-gdpr__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-gdpr__content-image {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-gdpr__contact-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: var(--text-color-dark);
}

.page-gdpr__dark-section .page-gdpr__contact-item {
  color: var(--text-color-light);
}

.page-gdpr__faq-section {
  padding: 60px 0;
}

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

.page-gdpr__faq-item {
  background-color: var(--secondary-color);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-gdpr__dark-section .page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--primary-color);
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #f0f0f0;
}

.page-gdpr__dark-section .page-gdpr__faq-question {
  color: var(--secondary-color);
}

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

.page-gdpr__faq-title {
  margin: 0;
  color: inherit; /* Inherit color from parent */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: inherit; /* Inherit color from parent */
}

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

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

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px;
}

.page-gdpr__dark-section .page-gdpr__faq-answer {
  color: var(--text-color-light);
}

.page-gdpr__cta-section {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  padding: 80px 20px;
  text-align: center;
}

.page-gdpr__cta-content {
  max-width: 800px;
}

.page-gdpr__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--text-color-light);
}

.page-gdpr__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.5em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__subsection-title {
    font-size: 1.5em;
  }
  .page-gdpr__text-block, .page-gdpr__list-item, .page-gdpr__contact-item, .page-gdpr__faq-question {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: calc(40px + var(--header-offset, 120px)) !important; /* Adjust for mobile header offset */
    padding-bottom: 40px;
  }
  .page-gdpr__hero-title {
    font-size: 2em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__subsection-title {
    font-size: 1.3em;
  }
  .page-gdpr__content-section, .page-gdpr__faq-section, .page-gdpr__cta-section {
    padding: 40px 0;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .page-gdpr__btn-primary, .page-gdpr__btn-secondary {
    width: 100%;
    max-width: 300px !important; /* Constrain button width */
    margin-right: 0;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* Image and Video responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__hero-image-wrapper, .page-gdpr__content-image, .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 10px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__cta-title {
    font-size: 1.8em;
  }
  .page-gdpr__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}