/* style/gdpr.css */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Page background color */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit hero image height */
}

.page-gdpr__hero-content {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.page-gdpr__hero-text-container {
  padding: 40px 20px;
  background-color: #111111; /* Card BG */
  border-radius: 8px;
  margin-top: -80px; /* Overlap slightly with image for visual effect */
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid #3A2A12;
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: #F2C14E;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__intro-text {
  font-size: 1.1rem;
  color: #FFF6D6;
  max-width: 800px;
  margin: 0 auto;
}

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #0A0A0A; /* Ensure content area uses the defined background color */
  color: #FFF6D6;
}

.page-gdpr__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #FFD36B;
  font-weight: 600;
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: center;
}

.page-gdpr__sub-title {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  color: #F2C14E;
  font-weight: 500;
  margin-top: 35px;
  margin-bottom: 15px;
}

.page-gdpr__paragraph {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #FFF6D6;
  text-align: justify;
}

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

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1rem;
}

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

.page-gdpr__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px 0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-gdpr__image-centered {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-gdpr__contact-info {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 8px;
  margin-top: 30px;
  border: 1px solid #3A2A12;
}

.page-gdpr__contact-item {
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: #FFF6D6;
}

.page-gdpr__contact-item a {
  color: #F2C14E;
  text-decoration: none;
}

.page-gdpr__contact-item a:hover {
  text-decoration: underline;
  color: #FFD36B;
}

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

.page-gdpr__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12;
  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;
  font-size: 1.1rem;
  font-weight: bold;
  color: #F2C14E;
  background-color: #1a1a1a;
  border-bottom: 1px solid transparent; /* default */
}

.page-gdpr__faq-item.active .page-gdpr__faq-question {
  border-bottom-color: #3A2A12;
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B;
}

.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: #FFF6D6;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure it overrides */
  padding: 20px 25px;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-text-container {
    margin-top: -60px;
  }
  .page-gdpr__content-area {
    padding: 40px 15px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 100px) !important; /* Mobile padding-top */
  }
  .page-gdpr__hero-text-container {
    margin-top: -40px;
    padding: 25px 15px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-gdpr__intro-text {
    font-size: 1rem;
  }
  .page-gdpr__section-title {
    font-size: clamp(1.6rem, 6vw, 2rem);
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-gdpr__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-gdpr__paragraph, .page-gdpr__list-item {
    font-size: 0.95rem;
  }
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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;
  }
  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-gdpr__faq-answer {
    padding: 15px 20px;
  }
  .page-gdpr__contact-info {
    padding: 20px;
  }
  .page-gdpr__contact-item {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-text-container {
    margin-top: -20px;
  }
}