/* style/gdpr.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --card-bg-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-light); /* Default text color for dark body background */
  background-color: var(--dark-bg-1); /* Inherited from shared.css, assumed dark */
}

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

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  padding: 80px 20px;
  text-align: center;
  background: var(--primary-color);
  color: var(--text-color-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* Ensure buttons don't overflow */
  text-align: center;
}

.page-gdpr__btn-primary {
  background: var(--login-color);
  color: var(--secondary-color);
  border: 2px solid var(--login-color);
}

.page-gdpr__btn-primary:hover {
  background: darken(var(--login-color), 10%);
  border-color: darken(var(--login-color), 10%);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-gdpr__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-gdpr__section-title {
  font-size: 2.2em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  padding-top: 40px;
}

.page-gdpr__section-intro-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
}

.page-gdpr__principles-section,
.page-gdpr__protection-section,
.page-gdpr__faq-section {
  padding: 60px 0;
}

.page-gdpr__rights-section,
.page-gdpr__contact-section,
.page-gdpr__conclusion-section {
  padding: 60px 0;
}

.page-gdpr__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
}

.page-gdpr__light-bg .page-gdpr__section-title,
.page-gdpr__light-bg .page-gdpr__section-intro-text {
  color: var(--text-color-dark);
}

.page-gdpr__dark-bg {
  background-color: var(--dark-bg-1);
  color: var(--text-color-light);
}

.page-gdpr__dark-bg .page-gdpr__section-title,
.page-gdpr__dark-bg .page-gdpr__section-intro-text {
  color: var(--text-color-light);
}

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

.page-gdpr__card {
  background: var(--card-bg-light);
  color: var(--text-color-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-gdpr__card--dark {
  background: var(--card-bg-dark);
  color: var(--text-color-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-gdpr__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-gdpr__card--dark .page-gdpr__card-title {
  color: var(--secondary-color);
}

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

.page-gdpr__image-content-block {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 50px;
}

.page-gdpr__image {
  flex: 1;
  min-width: 200px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-gdpr__content-subtitle {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-gdpr__light-bg .page-gdpr__content-subtitle {
  color: var(--primary-color);
}

.page-gdpr__dark-bg .page-gdpr__content-subtitle {
  color: var(--secondary-color);
}

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

.page-gdpr__list-item {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-gdpr__list-item::before {
  content: '✔';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-gdpr__text-block {
  margin-bottom: 20px;
}

.page-gdpr__contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__contact-info .page-gdpr__card {
  background: var(--card-bg-dark);
  color: var(--text-color-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-gdpr__contact-info .page-gdpr__card-title {
  color: var(--secondary-color);
}

.page-gdpr__link {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: darken(var(--primary-color), 10%);
}

.page-gdpr__dark-bg .page-gdpr__link {
  color: var(--secondary-color);
}

.page-gdpr__dark-bg .page-gdpr__link:hover {
  color: var(--primary-color);
}

.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background: var(--card-bg-light);
  color: var(--text-color-dark);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

.page-gdpr__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--primary-color);
}

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

.page-gdpr__faq-item summary .page-gdpr__faq-toggle {
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] summary .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  padding: 0 30px 20px 30px;
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-color-dark);
}

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

.page-gdpr__faq-answer .page-gdpr__link {
  color: var(--primary-color);
}

.page-gdpr__conclusion-section {
  text-align: center;
  padding: 80px 20px;
  background: var(--primary-color);
  color: var(--text-color-light);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.5em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__image-content-block {
    flex-direction: column;
    align-items: center;
  }
  .page-gdpr__image {
    width: 100%;
    max-width: 600px;
    margin-bottom: 30px;
  }
  .page-gdpr__contact-info {
    grid-template-columns: 1fr;
  }
}

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

  .page-gdpr__hero-section {
    padding: 60px 15px;
  }

  .page-gdpr__hero-title {
    font-size: 2em;
  }

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

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
    padding-top: 30px;
  }

  .page-gdpr__section-intro-text {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__protection-section,
  .page-gdpr__contact-section,
  .page-gdpr__faq-section,
  .page-gdpr__conclusion-section {
    padding: 40px 0;
  }

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

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

  .page-gdpr__card {
    padding: 25px;
  }

  .page-gdpr__card-title {
    font-size: 1.3em;
  }

  .page-gdpr__image-content-block {
    gap: 20px;
  }

  .page-gdpr__content-subtitle {
    font-size: 1.5em;
    margin-top: 20px;
  }

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

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

  /* Mobile image and video responsive 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-content-block,
  .page-gdpr__contact-info,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-gdpr__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__cta-buttons a {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}