/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Page background color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #0A0A0A;
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-gdpr__hero-content {
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin-top: 30px;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  color: #FFD36B; /* Accent color for main title */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff; /* White text for contrast on button */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.page-gdpr__cta-button--secondary {
  background: #111111; /* Card BG color */
  color: #F2C14E; /* Brand color text */
  border: 2px solid #F2C14E;
}

.page-gdpr__cta-button--secondary:hover {
  background: #F2C14E;
  color: #111111;
}

/* General section styling */
.page-gdpr__introduction-section,
.page-gdpr__what-is-gdpr-section,
.page-gdpr__data-protection-section,
.page-gdpr__data-processing-section,
.page-gdpr__security-measures-section,
.page-gdpr__data-transfers-section,
.page-gdpr__contact-section,
.page-gdpr__policy-changes-section,
.page-gdpr__faq-section,
.page-gdpr__conclusion-section {
  padding: 60px 0;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Primary brand color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__subsection-title {
  font-size: 1.8em;
  color: #FFD36B; /* Auxiliary brand color */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr p {
  margin-bottom: 15px;
  color: #FFF6D6;
}

.page-gdpr__list,
.page-gdpr__rights-list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-gdpr__list li,
.page-gdpr__rights-list li {
  margin-bottom: 10px;
}

.page-gdpr__rights-list .page-gdpr__right-title {
  font-size: 1.3em;
  color: #FFD36B;
  margin-top: 20px;
  margin-bottom: 5px;
}

.page-gdpr__dark-section {
  background-color: #111111; /* Card BG color for dark sections */
  color: #FFF6D6;
}

.page-gdpr__card-like {
  background-color: #111111;
  padding: 40px 20px;
  border-radius: 10px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
  object-fit: cover;
}

.page-gdpr__contact-link {
  color: #F2C14E;
  text-decoration: underline;
}

.page-gdpr__contact-link:hover {
  color: #FFD36B;
}

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

.page-gdpr__faq-item {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  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: #111111;
  color: #FFF6D6;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #FFF6D6;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  color: #F2C14E;
  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;
  color: #FFF6D6;
  background-color: #0A0A0A;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__section-title {
    font-size: 2em;
  }

  .page-gdpr__subsection-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__hero-content {
    padding: 15px;
    margin-top: 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

  .page-gdpr__hero-description {
    font-size: 1em;
  }

  .page-gdpr__cta-button,
  .page-gdpr__cta-button--secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-gdpr__introduction-section,
  .page-gdpr__what-is-gdpr-section,
  .page-gdpr__data-protection-section,
  .page-gdpr__data-processing-section,
  .page-gdpr__security-measures-section,
  .page-gdpr__data-transfers-section,
  .page-gdpr__contact-section,
  .page-gdpr__policy-changes-section,
  .page-gdpr__faq-section,
  .page-gdpr__conclusion-section {
    padding: 40px 0;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-gdpr__subsection-title {
    font-size: 1.3em;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__hero-section {
    padding-top: 10px !important;
  }

  .page-gdpr__card-like {
    padding: 25px 15px;
  }

  .page-gdpr__faq-question {
    padding: 15px 20px;
  }

  .page-gdpr__faq-answer {
    padding: 0 20px;
  }

  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: clamp(1.5em, 10vw, 2em);
  }

  .page-gdpr__section-title {
    font-size: 1.5em;
  }

  .page-gdpr__subsection-title {
    font-size: 1.2em;
  }
}