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

/* Hero Section */
.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px 60px;
  background-color: #0A0A0A; /* Background */
  position: relative;
  overflow: hidden;
}

.page-gdpr__hero-image-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text contrast */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: -150px; /* Overlap slightly for visual appeal, but text is below image */
  padding: 0 20px;
  color: #FFF6D6; /* Text Main */
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: bold;
  line-height: 1.2;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  max-width: 100%;
}

.page-gdpr__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #0A0A0A; /* Dark text for contrast on gold button */
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.5);
}

/* General Section Styling */
.page-gdpr__section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
}

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

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

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

.page-gdpr__text-block {
  margin-bottom: 20px;
  font-size: 1rem;
  color: #FFF6D6; /* Text Main */
}

.page-gdpr__card-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.page-gdpr__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  flex: 1 1 calc(50% - 30px); /* Two cards per row on desktop */
  max-width: calc(50% - 30px);
  box-sizing: border-box;
  color: #FFF6D6; /* Text Main */
}

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

.page-gdpr__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #FFF6D6; /* Text Main */
}

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

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

.page-gdpr__link {
  color: #FFD36B; /* Auxiliary color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

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

/* Contact Section */
.page-gdpr__contact-details {
  margin-top: 30px;
  text-align: center;
}

.page-gdpr__contact-item {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #FFF6D6; /* Text Main */
}

.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: transparent;
  color: #F2C14E; /* Primary color for text */
  border: 2px solid #F2C14E; /* Primary color for border */
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 30px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-secondary:hover {
  background-color: #F2C14E; /* Primary color on hover */
  color: #0A0A0A; /* Dark text on hover */
}

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

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

.page-gdpr__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1); /* Slight highlight on hover */
}

.page-gdpr__faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #F2C14E; /* Primary color */
}

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color */
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'minus' effect */
}

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

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

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr__card {
    flex: 1 1 calc(100% - 30px); /* Single card per row on tablet */
    max-width: calc(100% - 30px);
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 20px 15px 40px; /* Adjusted small padding for mobile */
  }

  .page-gdpr__hero-content {
    margin-top: -100px; /* Adjust overlap for mobile */
    padding: 0 15px;
  }

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

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

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

  .page-gdpr__container {
    padding: 0 15px;
  }

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

  .page-gdpr__sub-title {
    font-size: 1.2rem;
  }

  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__contact-item,
  .page-gdpr__faq-question h3 {
    font-size: 0.95rem;
  }

  .page-gdpr__card {
    padding: 20px;
    flex: 1 1 100%;
    max-width: 100%;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: unset; /* Allow smaller height if image is very wide */
    min-width: unset;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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; /* Add padding to prevent text touching edges */
    padding-right: 15px;
  }

  .page-gdpr__hero-content .page-gdpr__btn-primary {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .page-gdpr__contact-us .page-gdpr__btn-secondary {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  
  .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;
  }
  
  .page-gdpr__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}