/* style/gdpr.css */

/* General Styles */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

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

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

.page-gdpr__section-title {
  font-size: 36px;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-gdpr__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 16px;
  color: #1F2D3D;
}

/* Hero Section */
.page-gdpr__hero-section {
  padding-top: 10px; /* Small top padding, not --header-offset */
  overflow: hidden;
  position: relative;
  background-color: #F4F7FB; /* Ensure background for content below image */
  padding-bottom: 60px; /* Space between hero and next section */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for aesthetic */
  overflow: hidden;
}

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

.page-gdpr__hero-content {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: center;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: 48px;
  font-weight: bold;
  color: #2F6BFF; /* Main color for H1 */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__intro-text {
  font-size: 18px;
  color: #1F2D3D;
  margin-bottom: 30px;
}

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Custom Button Color */
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
  max-width: 100%; /* Button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: #FFFFFF; /* Card BG */
  color: #2F6BFF; /* Main color for text */
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #2F6BFF; /* Main color for border */
  cursor: pointer;
  max-width: 100%; /* Button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-secondary:hover {
  background: #2F6BFF;
  color: #FFFFFF;
}

/* Commitment Section */
.page-gdpr__commitment-section {
  background-color: #FFFFFF; /* Card BG */
  border-bottom: 1px solid #D6E2FF; /* Border */
}

/* Principles Section */
.page-gdpr__principles-section {
  background-color: #F4F7FB; /* Background */
}

/* Rights Section */
.page-gdpr__rights-section {
  background-color: #FFFFFF; /* Card BG */
  border-bottom: 1px solid #D6E2FF; /* Border */
  text-align: center;
}

/* Security Measures Section */
.page-gdpr__security-measures-section {
  background-color: #F4F7FB; /* Background */
}

.page-gdpr__content-with-image {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-gdpr__image-wrapper {
  flex: 1;
  min-width: 300px; /* Ensure image doesn't get too small */
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.page-gdpr__text-content {
  flex: 1;
}

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: #FFFFFF; /* Card BG */
  border-bottom: 1px solid #D6E2FF; /* Border */
}

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

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #fff;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #1F2D3D; /* Text Main */
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
  background: #f5f5f5;
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF; /* Main color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 20px 20px;
  background: #F4F7FB; /* Background */
  border-radius: 0 0 5px 5px;
  color: #1F2D3D; /* Text Main */
}
details.page-gdpr__faq-item .page-gdpr__faq-answer p {
  margin-bottom: 0;
}


/* Contact Section */
.page-gdpr__contact-section {
  background-color: #F4F7FB; /* Background */
}

.page-gdpr__contact-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-gdpr__contact-text-block {
  flex: 1;
}

.page-gdpr__contact-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-gdpr__contact-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* General image responsiveness */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-image-wrapper {
    max-height: 400px;
  }
  .page-gdpr__main-title {
    font-size: 40px;
  }
  .page-gdpr__section-title {
    font-size: 32px;
  }
  .page-gdpr__content-with-image,
  .page-gdpr__contact-flex {
    flex-direction: column;
    text-align: center;
  }
  .page-gdpr__image-wrapper,
  .page-gdpr__contact-image-wrapper {
    order: -1; /* Image appears above text on smaller screens */
    margin-bottom: 30px;
  }
  .page-gdpr__hero-content {
    margin-top: 30px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 0 15px !important;
  }
  .page-gdpr__section {
    padding: 40px 0 !important;
  }
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Fixed: ensure small top padding */
    padding-bottom: 40px !important;
  }
  .page-gdpr__hero-image-wrapper {
    max-height: 300px !important;
  }
  .page-gdpr__hero-content {
    margin-top: 20px !important;
    padding: 0 15px !important;
  }
  .page-gdpr__main-title {
    font-size: 32px !important;
    margin-bottom: 15px !important;
  }
  .page-gdpr__intro-text {
    font-size: 16px !important;
    margin-bottom: 25px !important;
  }
  .page-gdpr__section-title {
    font-size: 28px !important;
    margin-bottom: 30px !important;
  }
  .page-gdpr__text-block,
  .page-gdpr__list-item {
    font-size: 15px !important;
  }
  .page-gdpr__list {
    padding-left: 20px !important;
  }

  /* Images responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__image-wrapper,
  .page-gdpr__contact-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Buttons responsiveness */
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px !important;
    font-size: 16px !important;
  }
  /* Button containers if they exist */
  .page-gdpr__hero-content,
  .page-gdpr__rights-section,
  .page-gdpr__contact-text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  /* FAQ responsiveness */
  details.page-gdpr__faq-item summary.page-gdpr__faq-question { padding: 15px !important; }
  .page-gdpr__faq-qtext { font-size: 16px !important; }
  details.page-gdpr__faq-item .page-gdpr__faq-answer { padding: 0 15px 15px !important; }
}