/* style/gdpr.css */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--black-color); /* Inherit from shared.css */
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  background: linear-gradient(135deg, #26A9E0 0%, #1a7bb0 100%); /* Brand blue gradient */
  color: #ffffff;
  overflow: hidden;
  min-height: 500px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-gdpr__hero-container {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-gdpr__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-gdpr__hero-cta {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-gdpr__hero-cta:hover {
  background-color: #1a7bb0;
  transform: scale(1.02);
}

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15; /* Subtle background image */
}

.page-gdpr__content-section,
.page-gdpr__rights-section,
.page-gdpr__data-collection-section,
.page-gdpr__security-section,
.page-gdpr__sharing-section,
.page-gdpr__retention-cookies-section,
.page-gdpr__contact-faq-section {
  padding: 60px 20px;
  text-align: center;
}

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-gdpr__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-gdpr__content-container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: bold;
  color: inherit; /* Inherit from section background */
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 25px;
  line-height: 1.8;
  text-align: left;
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__rights-list,
.page-gdpr__security-features,
.page-gdpr__sharing-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-gdpr__rights-item,
.page-gdpr__security-item,
.page-gdpr__sharing-item {
  background-color: rgba(255, 255, 255, 0.15); /* Light translucent background for dark section */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-gdpr__rights-item:hover,
.page-gdpr__security-item:hover,
.page-gdpr__sharing-item:hover {
  transform: translateY(-5px);
}

.page-gdpr__rights-heading,
.page-gdpr__security-heading,
.page-gdpr__sharing-heading {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #ffffff;
}

.page-gdpr__rights-description,
.page-gdpr__security-description,
.page-gdpr__sharing-description {
  font-size: 1em;
  opacity: 0.9;
}

.page-gdpr__data-cards,
.page-gdpr__info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-gdpr__card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
}

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

.page-gdpr__card-description {
  font-size: 1em;
  line-height: 1.7;
}

.page-gdpr__text-link {
  color: #26A9E0;
  text-decoration: underline;
  transition: color 0.3s ease;
}

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

.page-gdpr__faq-area {
  margin-top: 50px;
  margin-bottom: 40px;
  text-align: left;
}

.page-gdpr__faq-main-title {
  font-size: 2em;
  margin-bottom: 30px;
  font-weight: bold;
  color: #333333;
  text-align: center;
}

.page-gdpr__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: #f9f9f9;
  color: #333333;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Plus sign to X or minus */
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  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 20px;
}

.page-gdpr__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
}

.page-gdpr__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: none;
}

.page-gdpr__btn-primary:hover {
  background-color: #1a7bb0;
  transform: scale(1.02);
}

.page-gdpr__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.page-gdpr__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: scale(1.02);
}

/* Floating Login/Register Buttons */
.page-gdpr__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-gdpr__floating-button {
  display: block;
  padding: 12px 20px;
  font-size: 1em;
  font-weight: bold;
  border-radius: 25px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-gdpr__floating-button--register {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
}

.page-gdpr__floating-button--register:hover {
  background-color: #1a7bb0;
  transform: translateY(-3px);
}

.page-gdpr__floating-button--login {
  background-color: #EA7C07; /* Custom login color */
  color: #ffffff;
}

.page-gdpr__floating-button--login:hover {
  background-color: #c46406;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.8em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__rights-list,
  .page-gdpr__data-cards,
  .page-gdpr__info-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-title {
    font-size: 2.2em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__text-block {
    font-size: 0.95em;
    text-align: left;
  }
  .page-gdpr__rights-list,
  .page-gdpr__data-cards,
  .page-gdpr__info-cards {
    grid-template-columns: 1fr;
  }
  .page-gdpr__rights-item,
  .page-gdpr__security-item,
  .page-gdpr__sharing-item,
  .page-gdpr__card {
    padding: 25px;
  }
  .page-gdpr__rights-heading,
  .page-gdpr__security-heading,
  .page-gdpr__sharing-heading,
  .page-gdpr__card-title {
    font-size: 1.3em;
  }
  .page-gdpr__hero-section,
  .page-gdpr__content-section,
  .page-gdpr__rights-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__security-section,
  .page-gdpr__sharing-section,
  .page-gdpr__retention-cookies-section,
  .page-gdpr__contact-faq-section {
    padding: 40px 15px;
  }

  /* Image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__content-container,
  .page-gdpr__data-cards,
  .page-gdpr__info-cards,
  .page-gdpr__faq-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  /* Button responsiveness */
  .page-gdpr__hero-cta,
  .page-gdpr__btn-secondary,
  .page-gdpr__floating-button {
    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__floating-buttons {
    right: 10px;
    bottom: 10px;
    gap: 8px;
  }
  .page-gdpr__floating-button {
    padding: 10px 15px;
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 10px 20px 15px;
  }
}