/* style/gdpr.css */
/* BEM Naming Convention: page-gdpr__element-name */

/* General Page Styles */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background from shared.css */
  padding-bottom: 60px; /* Space for footer */
}

.page-gdpr__padding-top {
  padding-top: 120px; /* Space for fixed header on desktop */
}

@media (max-width: 768px) {
  .page-gdpr__padding-top {
    padding-top: 100px; /* Space for fixed header on mobile */
  }
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  height: 400px; /* Fixed height for hero */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

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

.page-gdpr__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 51, 102, 0.7); /* Dark blue overlay */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 20px;
}

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

.page-gdpr__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Content Section */
.page-gdpr__content-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for content */
}

.page-gdpr__heading {
  color: #FFA500; /* Orange for headings */
  font-size: 2.2em;
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 2px solid #003366; /* Dark blue underline */
  padding-bottom: 10px;
}

.page-gdpr__paragraph {
  color: #f0f0f0;
  margin-bottom: 20px;
  font-size: 1.1em;
}

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

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

.page-gdpr__list-item strong {
  color: #FFA500;
}

.page-gdpr__link {
  color: #FFA500; /* Orange for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #ffcc66;
  text-decoration: underline;
}

/* Contact List */
.page-gdpr__contact-list {
  list-style-type: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-gdpr__contact-item {
  color: #f0f0f0;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-gdpr__contact-item strong {
  color: #FFA500;
  margin-right: 10px;
}

/* CTA Box */
.page-gdpr__cta-box {
  background-color: #003366; /* Dark blue brand color */
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-title {
  color: #FFA500; /* Orange for CTA title */
  font-size: 2.5em;
  margin-bottom: 20px;
}

.page-gdpr__cta-text {
  color: #ffffff;
  font-size: 1.2em;
  margin-bottom: 30px;
}

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

.page-gdpr__btn--primary {
  background-color: #FFA500; /* Orange primary button */
  color: #003366; /* Dark blue text */
  border: 2px solid #FFA500;
}

.page-gdpr__btn--primary:hover {
  background-color: #ffcc66;
  border-color: #ffcc66;
  color: #001a33;
}

/* FAQ Section Styles */
.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #2a2a2a; /* Slightly lighter background for FAQ item */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #003366; /* Dark blue for question background */
  border: 1px solid #004488;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-gdpr__faq-question:hover {
  background: #004488;
  border-color: #0055aa;
}

.page-gdpr__faq-question:active {
  background: #0055aa;
}

.page-gdpr__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff; /* White text for question */
  pointer-events: none;
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFA500; /* Orange toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Change to 'x' or similar effect */
}

.page-gdpr__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 20px;
  opacity: 0;
  background-color: #2a2a2a; /* Lighter dark background for answer */
  color: #f0f0f0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to show content */
  padding: 20px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.8em;
  }
  .page-gdpr__hero-description {
    font-size: 1.1em;
  }
  .page-gdpr__heading {
    font-size: 2em;
  }
  .page-gdpr__paragraph, .page-gdpr__list-item {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    height: 300px;
  }
  .page-gdpr__hero-title {
    font-size: 2.2em;
  }
  .page-gdpr__hero-description {
    font-size: 0.9em;
  }
  .page-gdpr__content-section {
    padding: 40px 0;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr__heading {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-gdpr__paragraph, .page-gdpr__list-item, .page-gdpr__contact-item {
    font-size: 0.95em;
  }
  .page-gdpr__cta-box {
    padding: 30px 20px;
  }
  .page-gdpr__cta-title {
    font-size: 2em;
  }
  .page-gdpr__cta-text {
    font-size: 1em;
  }
  .page-gdpr__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-gdpr__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-gdpr__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-gdpr__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-gdpr__faq-answer {
    padding: 0 15px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px !important;
  }

  /* Mobile image adaptation - MUST contain !important */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__hero-container,
  .page-gdpr__hero-overlay {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-gdpr__content-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-section {
    height: 250px;
  }
  .page-gdpr__hero-title {
    font-size: 1.8em;
  }
  .page-gdpr__hero-description {
    font-size: 0.8em;
  }
  .page-gdpr__heading {
    font-size: 1.5em;
  }
  .page-gdpr__cta-title {
    font-size: 1.8em;
  }
  .page-gdpr__cta-text {
    font-size: 0.9em;
  }
}