/* style/gdpr-compliance.css */

/* Body background from shared.css is #121212 (dark) */
/* Main text color should be light, e.g., #f0f0f0 or #ffffff */

.page-gdpr-compliance {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #121212; /* Ensure consistency with body background */
  padding-top: 10px; /* Fixed nav bar spacing for the first section */
}

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

.page-gdpr-compliance__hero-section {
  padding: 80px 0 40px;
  text-align: center;
  background: linear-gradient(135deg, #E44D26, #336699);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding-top: 90px; /* Ensure content is below fixed header */
}

.page-gdpr-compliance__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-gdpr-compliance__intro-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-gdpr-compliance__keyword {
  color: #ffd700; /* Highlight keywords */
  font-weight: bold;
}

.page-gdpr-compliance__image-wrapper {
  margin-top: 30px;
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-gdpr-compliance__hero-image-content {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gdpr-compliance__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr-compliance__section:last-of-type {
  border-bottom: none;
}

.page-gdpr-compliance__section-title {
  font-size: 2.5em;
  color: #E44D26; /* Brand primary color for section titles */
  margin-bottom: 40px;
  text-align: center;
  font-weight: bold;
}

.page-gdpr-compliance__sub-title {
  font-size: 1.8em;
  color: #336699; /* Brand secondary color for sub-titles */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr-compliance__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr-compliance__list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-gdpr-compliance__list-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for list items */
  border-left: 5px solid #E44D26;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-gdpr-compliance__list-title {
  font-size: 1.3em;
  color: #ffd700; /* Gold for list titles */
  margin-top: 0;
  margin-bottom: 10px;
}

.page-gdpr-compliance__list-description {
  font-size: 1em;
  color: #e0e0e0;
}

.page-gdpr-compliance__ordered-list {
  list-style: decimal;
  padding-left: 25px;
  margin: 0 0 30px 0;
  color: #f0f0f0;
}

.page-gdpr-compliance__ordered-list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-gdpr-compliance__button-group {
  text-align: center;
  margin-top: 40px;
}

.page-gdpr-compliance__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-gdpr-compliance__btn--primary {
  background-color: #E44D26; /* Primary brand color */
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(228, 77, 38, 0.4);
}

.page-gdpr-compliance__btn--primary:hover {
  background-color: #ff6a3c;
  box-shadow: 0 6px 20px rgba(228, 77, 38, 0.6);
  transform: translateY(-2px);
}

.page-gdpr-compliance__btn--secondary {
  background-color: #336699; /* Secondary brand color */
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(51, 102, 153, 0.4);
  margin-left: 20px;
}

.page-gdpr-compliance__btn--secondary:hover {
  background-color: #4a82c4;
  box-shadow: 0 6px 20px rgba(51, 102, 153, 0.6);
  transform: translateY(-2px);
}

.page-gdpr-compliance__image-wrapper--inline {
  width: 100%;
  max-width: 600px;
  margin: 30px auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

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

/* FAQ Section Styles */
.page-gdpr-compliance__faq-list {
  margin-top: 30px;
}

.page-gdpr-compliance__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-gdpr-compliance__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-gdpr-compliance__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.page-gdpr-compliance__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-gdpr-compliance__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #ffd700; /* Gold color for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-gdpr-compliance__faq-item.active .page-gdpr-compliance__faq-toggle {
  color: #E44D26;
  transform: rotate(45deg); /* Change to X or rotate */
}

.page-gdpr-compliance__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #e0e0e0;
  background-color: rgba(255, 255, 255, 0.03);
}

.page-gdpr-compliance__faq-item.active .page-gdpr-compliance__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr-compliance__main-title {
    font-size: 2.8em;
  }
  .page-gdpr-compliance__section-title {
    font-size: 2.2em;
  }
  .page-gdpr-compliance__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-gdpr-compliance {
    padding-top: 10px; /* Adjust for mobile fixed header */
  }
  .page-gdpr-compliance__hero-section {
    padding-top: 70px; /* Adjust for mobile fixed header */
    padding-bottom: 30px;
  }
  .page-gdpr-compliance__main-title {
    font-size: 2.2em;
  }
  .page-gdpr-compliance__intro-text {
    font-size: 1em;
    padding: 0 10px;
  }
  .page-gdpr-compliance__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-gdpr-compliance__section {
    padding: 40px 0;
  }
  .page-gdpr-compliance__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-gdpr-compliance__sub-title {
    font-size: 1.4em;
    margin-top: 30px;
  }
  .page-gdpr-compliance__text-block, .page-gdpr-compliance__list-description, .page-gdpr-compliance__ordered-list-item {
    font-size: 0.95em;
  }
  .page-gdpr-compliance__list-item {
    padding: 15px;
    margin-bottom: 10px;
  }
  .page-gdpr-compliance__list-title {
    font-size: 1.2em;
  }
  .page-gdpr-compliance__button-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-gdpr-compliance__btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
    margin-left: 0; /* Reset margin for stack layout */
  }
  .page-gdpr-compliance__btn + .page-gdpr-compliance__btn {
    margin-top: 15px;
  }
  .page-gdpr-compliance__faq-question {
    padding: 15px 20px;
  }
  .page-gdpr-compliance__faq-question h3 {
    font-size: 1em;
  }
  .page-gdpr-compliance__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-gdpr-compliance__faq-answer {
    padding: 0 20px;
  }
  .page-gdpr-compliance__faq-item.active .page-gdpr-compliance__faq-answer {
    padding: 15px 20px !important;
  }
  /* Ensure all images are responsive and do not cause overflow */
  .page-gdpr-compliance img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr-compliance__image-wrapper,
  .page-gdpr-compliance__image-wrapper--inline {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: auto;
    margin-right: auto;
  }
}