/* style/gdpr.css */

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

/* Hero Section */
.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; /* Background color */
  overflow: hidden;
}

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

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

.page-gdpr__hero-content {
  text-align: center;
  padding: 40px 20px 0;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
  position: relative;
  z-index: 1;
}

.page-gdpr__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: bold;
  color: #F2C14E; /* Main brand color for title */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-gdpr__hero-description {
  font-size: clamp(1em, 1.8vw, 1.2em);
  color: #FFF6D6; /* Text Main color */
  max-width: 700px;
  margin: 0 auto;
}

/* General Section Styles */
.page-gdpr__section {
  padding: 60px 20px;
  background-color: #0A0A0A; /* Default background */
  color: #FFF6D6;
}

.page-gdpr__section--dark {
  background-color: #111111; /* Card BG color */
}

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

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

.page-gdpr__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  color: #FFD36B; /* Auxiliary brand color */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__text-block p {
  margin-bottom: 1em;
  font-size: 1.05em;
  color: #FFF6D6;
}

.page-gdpr__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 1.5em;
  color: #FFF6D6;
}

.page-gdpr__list li {
  margin-bottom: 0.5em;
  color: #FFF6D6;
}

.page-gdpr__link {
  color: #FFD36B; /* Auxiliary brand color for links */
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: #F2C14E; /* Main brand color on hover */
}

/* Image-Text Block */
.page-gdpr__image-text-block {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.page-gdpr__content-image {
  flex: 1 1 400px; /* Allows image to grow/shrink but maintain min width */
  max-width: 50%; /* Max width for image in desktop */
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Ensure images are not too small */
}

.page-gdpr__image-text-block .page-gdpr__text-block {
  flex: 1 1 500px; /* Text block takes remaining space */
  max-width: calc(100% - 440px); /* Adjust for gap and image max-width */
}

/* FAQ Section */
.page-gdpr__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-gdpr__faq-item {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  overflow: hidden;
  color: #FFF6D6;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #111111;
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-title {
  font-size: clamp(1.1em, 2vw, 1.3em);
  color: #FFD36B; /* Auxiliary brand color */
  margin: 0;
  font-weight: bold;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #F2C14E; /* Main brand color */
  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;
}

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

.page-gdpr__faq-answer p {
  margin-bottom: 0;
  color: #FFF6D6;
}

/* CTA Section */
.page-gdpr__cta-section {
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
  background-color: #111111; /* Card BG color */
}

.page-gdpr__cta-container {
  max-width: 800px;
}

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

.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  justify-content: center;
  gap: 20px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 300px; /* Limit button width */
  width: 100%; /* Ensure buttons take full width up to max-width */
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Ensure text breaks within button */
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for light button */
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(242, 193, 78, 0.4);
}

.page-gdpr__btn-secondary {
  background: #111111; /* Card BG color */
  color: #F2C14E; /* Main brand color for text */
  border: 2px solid #F2C14E; /* Main brand color for border */
}

.page-gdpr__btn-secondary:hover {
  background: #F2C14E; /* Main brand color on hover */
  color: #111111; /* Dark text on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(242, 193, 78, 0.4);
}


/* Responsive Styles */
@media (max-width: 992px) {
  .page-gdpr__hero-content {
    margin-top: -80px;
  }
  .page-gdpr__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-gdpr__image-text-block {
    flex-direction: column;
    gap: 30px;
  }
  .page-gdpr__content-image,
  .page-gdpr__image-text-block .page-gdpr__text-block {
    max-width: 100%;
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }
  .page-gdpr__hero-content {
    margin-top: -60px;
    padding-top: 20px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-gdpr__hero-description {
    font-size: clamp(0.9em, 2.5vw, 1em);
  }
  .page-gdpr__section {
    padding: 40px 15px;
  }
  .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-bottom: 30px;
  }
  .page-gdpr__sub-title {
    font-size: clamp(1.2em, 4vw, 1.5em);
  }
  .page-gdpr__text-block p,
  .page-gdpr__list li {
    font-size: 0.95em;
  }

  /* Mobile image adaptation */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__image-text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Buttons mobile adaptation */
  .page-gdpr__cta-button,
  .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-left: 15px;
    padding-right: 15px;
  }
  
  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

  /* Ensure video section top padding is small (if it were a video page) */
  .page-gdpr__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-content {
    margin-top: -40px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-gdpr__faq-question {
    padding: 15px 20px;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 10px 20px;
  }
}

/* Color contrast enforcement - inherited from body or explicitly set for elements */
.page-gdpr {
  color: #FFF6D6; /* Ensuring light text on dark body background */
}

.page-gdpr__card,
.page-gdpr__faq-item {
  background: #111111; /* Card BG */
  color: #FFF6D6; /* Light text on dark card background */
}

.page-gdpr__dark-section {
  background: #111111; /* Card BG */
  color: #FFF6D6; /* Light text */
}

/* Specific elements that need to ensure contrast */
.page-gdpr p,
.page-gdpr li {
  color: #FFF6D6; /* Ensure all text is light */
}

.page-gdpr__faq-title {
  color: #FFD36B; /* Auxiliary brand color, ensures contrast with #111111 */
}
.page-gdpr__faq-toggle {
  color: #F2C14E; /* Main brand color, ensures contrast with #111111 */
}

/* Button colors are already set to ensure contrast */