/* style/gdpr.css */

/* Base styles for GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark background */
  background-color: var(--dark-bg); /* Inherit from shared */
  padding-top: var(--header-offset, 120px);
}

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

.page-gdpr__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background-color: #1A237E;
  color: #ffffff;
  overflow: hidden;
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.page-gdpr__hero-section .page-gdpr__container {
  position: relative;
  z-index: 1;
}

.page-gdpr__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #FFD700;
  color: #1A237E;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  background-color: #e0b800;
  color: #0d124b;
}

.page-gdpr__content-area {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #1A237E;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-gdpr__sub-title {
  font-size: 1.8em;
  color: #1A237E;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.8;
}

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

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

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-gdpr__contact-info {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__contact-info .page-gdpr__text-block {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-gdpr__contact-info a {
  color: #1A237E;
  text-decoration: underline;
  font-weight: bold;
}

.page-gdpr__contact-info a:hover {
  color: #FFD700;
}

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

.page-gdpr__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

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

.page-gdpr__faq-title {
  margin: 0;
  color: #ffffff;
  font-size: 1em; /* Adjust to fit parent font size */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #333333;
}

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

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

.page-gdpr__cta-section {
  background-color: #1A237E;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-gdpr__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 25px;
}

.page-gdpr__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.8em;
  }
  .page-gdpr__section-title {
    font-size: 2.2em;
  }
  .page-gdpr__sub-title {
    font-size: 1.6em;
  }
  .page-gdpr__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__hero-section {
    padding: 60px 0;
  }
  .page-gdpr__hero-title {
    font-size: 2.2em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-gdpr__content-area {
    padding: 40px 0;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-gdpr__sub-title {
    font-size: 1.4em;
  }
  .page-gdpr__text-block, .page-gdpr__list-item {
    font-size: 1em;
  }
  .page-gdpr__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px 20px;
  }
  .page-gdpr__cta-section {
    padding: 60px 0;
  }
  .page-gdpr__cta-title {
    font-size: 2em;
  }
  .page-gdpr__cta-description {
    font-size: 1em;
  }

  /* Mobile specific image, video, button, and container rules */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Buttons responsiveness */
  .page-gdpr__btn-primary,
  .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;
  }
}

@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__faq-question {
    padding: 12px 15px;
  }
  .page-gdpr__faq-answer {
    padding: 0 15px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 12px 15px;
  }
}