/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  color: #ffffff; /* Body background is dark, so text should be light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-gdpr__section {
  padding: 60px 20px;
  background-color: #0a0a0a; /* Match body background */
  color: #ffffff;
}

.page-gdpr__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px; /* Small top padding, body handles header offset */
  padding-top: 10px; /* Small top padding as per requirements */
  min-height: 500px; /* Ensure hero section has a minimum height */
  overflow: hidden;
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
}

.page-gdpr__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em); /* Use clamp for H1 */
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.page-gdpr__description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 10px;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  background-color: #1a8cc4;
}

.page-gdpr__btn-secondary {
  background-color: #EA7C07; /* Login color for secondary CTA */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-gdpr__btn-secondary:hover {
  background-color: #c96706;
}

/* Commitment Section */
.page-gdpr__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__card {
  background-color: rgba(255, 255, 255, 0.08); /* Light transparent background for contrast */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__card-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__card-text {
  font-size: 1em;
  color: #e0e0e0;
}

/* Rights Section */
.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-gdpr__rights-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 5px solid #26A9E0;
}

.page-gdpr__rights-heading {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-gdpr__rights-text {
  font-size: 1em;
  color: #e0e0e0;
}

/* Data Processing Section */
.page-gdpr__list {
  list-style: disc inside;
  padding-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: rgba(38, 169, 224, 0.15); /* Light blue tint for questions */
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: #26A9E0;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.25);
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #e0e0e0;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

/* Details tag specific styles */
.page-gdpr__faq-item[open] > .page-gdpr__faq-question {
  background-color: rgba(38, 169, 224, 0.25);
}

.page-gdpr__faq-item > summary {
  list-style: none;
}

.page-gdpr__faq-item > summary::-webkit-details-marker {
  display: none;
}

/* Contact CTA Section */
.page-gdpr__contact-cta {
  text-align: center;
  padding: 80px 20px;
  background-color: #1c1c1c; /* Slightly different dark background */
}

.page-gdpr__contact-content {
  max-width: 900px;
}

/* Responsive adjustments */
/* All images responsive by default */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All image containers responsive by default */
.page-gdpr__card,
.page-gdpr__hero-section,
.page-gdpr__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
    min-height: 400px;
  }

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

  .page-gdpr__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-gdpr__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-gdpr__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
    padding: 12px 20px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__rights-item {
    padding: 20px;
  }

  .page-gdpr__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

  /* Ensure all containers have padding and max-width 100% */
  .page-gdpr__container,
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__hero-section,
  .page-gdpr__introduction,
  .page-gdpr__commitment,
  .page-gdpr__rights,
  .page-gdpr__data-processing,
  .page-gdpr__faq,
  .page-gdpr__contact-cta,
  .page-gdpr__contact-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons within groups should stack vertically */
  .page-gdpr__contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr__video-section {
    padding-top: 10px !important;
  }

  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}