/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Main text color for dark body background */
  background-color: #0A0A0A; /* Ensure consistency, though body is set by shared */
}

/* Fixed Header Spacing */
.page-gdpr__hero-section {
  padding-top: var(--header-offset, 120px); /* Desktop: Ensure content is not hidden by fixed header */
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

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

.page-gdpr__hero-content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-gdpr__hero-text-block {
  flex: 1;
  min-width: 300px;
  z-index: 1;
}

.page-gdpr__hero-image-container {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

.page-gdpr__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure it behaves as a block element */
}

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  color: #FFF6D6;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.2rem;
  color: #f0e0b9;
  margin-bottom: 30px;
  max-width: 700px;
}

/* Sections */
.page-gdpr__section {
  padding: 60px 0;
  border-bottom: 1px solid #3A2A12; /* Border color from custom palette */
}

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

.page-gdpr__dark-bg {
  background-color: #111111; /* Card BG from custom palette */
  color: #FFF6D6;
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #F2C14E; /* Main brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-gdpr__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

.page-gdpr__list {
  list-style-type: disc;
  padding-left: 30px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  color: #FFF6D6;
}

.page-gdpr__list-item strong {
  color: #FFD36B; /* Auxiliary color for emphasis */
}

.page-gdpr__grid-two-col {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.page-gdpr__grid-two-col--reversed {
  flex-direction: row-reverse;
}

.page-gdpr__grid-two-col > div {
  flex: 1;
  min-width: 300px;
}

.page-gdpr__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__image-wrapper--center {
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: block; /* Ensure it behaves as a block element */
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button gradient */
  color: #333333; /* Dark text for light button */
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main brand color for text */
  border: 2px solid #F2C14E; /* Border color from custom palette */
  margin-left: 20px;
}

.page-gdpr__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  color: #FFD36B;
  border-color: #FFD36B;
  transform: translateY(-2px);
}

.page-gdpr__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-gdpr__button-group--center {
  justify-content: center;
}

.page-gdpr__container--center-text {
  text-align: center;
}

/* Text links */
.page-gdpr__text-link {
  color: #FFD36B; /* Glow color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__text-link:hover {
  color: #F2C14E;
}

/* Contact Info */
.page-gdpr__contact-info {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  padding: 30px;
  border-radius: 8px;
  max-width: 600px;
  margin: 30px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

/* FAQ Section */
.page-gdpr__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1a1a1a;
  color: #F2C14E; /* Main brand color for question */
  font-weight: bold;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}

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

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

.page-gdpr__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: #FFD36B; /* Glow color for toggle icon */
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Change to '−' visual */
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px; /* Initial padding 0 */
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-gdpr__faq-answer .page-gdpr__text-block {
  margin-top: 0;
  margin-bottom: 0;
  color: #FFF6D6;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-section {
    padding-bottom: 60px;
  }
  .page-gdpr__hero-content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-gdpr__hero-text-block {
    order: 2; /* Text below image */
  }
  .page-gdpr__hero-image-container {
    order: 1; /* Image above text */
    margin-bottom: 30px;
  }
  .page-gdpr__grid-two-col {
    flex-direction: column;
  }
  .page-gdpr__grid-two-col--reversed {
    flex-direction: column; /* Keep consistent for mobile */
  }
  .page-gdpr__btn-secondary {
    margin-left: 0;
    margin-top: 15px;
  }
}

@media (max-width: 768px) {
  /* Mobile header offset handled by shared.css body padding-top */
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile: Ensure content is not hidden */
    padding-bottom: 40px;
  }

  .page-gdpr__section {
    padding: 40px 0;
  }

  .page-gdpr__main-title {
    font-size: 2rem;
  }

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

  .page-gdpr__section-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__contact-item,
  .page-gdpr__faq-title {
    font-size: 1rem;
  }

  /* Images responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  
  /* Containers with images/buttons responsiveness */
  .page-gdpr__section,
  .page-gdpr__container,
  .page-gdpr__card,
  .page-gdpr__image-wrapper,
  .page-gdpr__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsiveness */
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .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: 12px 20px;
    font-size: 1rem;
    margin-left: 0 !important; /* Override desktop margin */
  }

  .page-gdpr__button-group {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-gdpr__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-gdpr__faq-toggle {
    font-size: 1.5rem;
  }

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