/* style/gdpr.css */
:root {
  --primary-color: #FFD700;
  --secondary-color: #000080;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212;
  --bg-light: #ffffff;
  --card-bg-dark-mode: rgba(255, 255, 255, 0.1);
  --card-bg-light-mode: #ffffff;
  --border-color: #e0e0e0;
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default to light text on dark body background */
  background-color: var(--bg-dark);
  padding-top: var(--header-offset, 120px);
}

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

.page-gdpr__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background-color: var(--secondary-color);
  color: var(--text-light);
  overflow: hidden;
}

.page-gdpr__main-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-gdpr__cta-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-gdpr__content-section {
  padding: 60px 0;
}

.page-gdpr__section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

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

.page-gdpr__light-bg .page-gdpr__section-title {
  color: var(--secondary-color);
}

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

.page-gdpr__dark-bg .page-gdpr__section-title {
  color: var(--primary-color);
}

.page-gdpr p {
  margin-bottom: 20px;
  font-size: 17px;
}

.page-gdpr__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

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

.page-gdpr__principle-item {
  padding: 30px;
  border-radius: 10px;
  background-color: var(--card-bg-dark-mode);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-gdpr__dark-bg .page-gdpr__principle-item {
  background-color: var(--card-bg-dark-mode);
  color: var(--text-light);
}

.page-gdpr__light-bg .page-gdpr__principle-item {
  background-color: var(--card-bg-light-mode);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

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

.page-gdpr__principle-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__list-item {
  background-color: var(--card-bg-light-mode);
  color: var(--text-dark);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  font-size: 16px;
}

.page-gdpr__dark-bg .page-gdpr__list-item {
  background-color: var(--card-bg-dark-mode);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-gdpr__list-item strong {
  color: var(--primary-color);
}

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

.page-gdpr__step-item {
  padding: 30px;
  border-radius: 10px;
  background-color: var(--card-bg-dark-mode);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-gdpr__dark-bg .page-gdpr__step-item {
  background-color: var(--card-bg-dark-mode);
  color: var(--text-light);
}

.page-gdpr__light-bg .page-gdpr__step-item {
  background-color: var(--card-bg-light-mode);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

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

.page-gdpr__step-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-gdpr__contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-gdpr__contact-button,
.page-gdpr__policy-link {
  display: inline-block;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-gdpr__btn-primary:hover {
  background: #e6c200;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.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);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 40px;
  }
  .page-gdpr__section-title {
    font-size: 32px;
  }
  .page-gdpr__principle-title,
  .page-gdpr__step-title {
    font-size: 20px;
  }
  .page-gdpr p,
  .page-gdpr__list-item {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    padding-top: var(--header-offset, 120px) !important;
    font-size: 16px;
    line-height: 1.6;
  }

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

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

  .page-gdpr__main-title {
    font-size: 32px;
  }

  .page-gdpr__description {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .page-gdpr__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__content-section {
    padding: 40px 0;
  }

  .page-gdpr__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .page-gdpr__principles-grid,
  .page-gdpr__implementation-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__principle-item,
  .page-gdpr__step-item {
    padding: 20px;
  }

  .page-gdpr__principle-title,
  .page-gdpr__step-title {
    font-size: 18px;
  }

  .page-gdpr p,
  .page-gdpr li {
    font-size: 15px;
  }

  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

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

  .page-gdpr__contact-button,
  .page-gdpr__policy-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 28px;
  }
  .page-gdpr__description {
    font-size: 16px;
  }
  .page-gdpr__section-title {
    font-size: 24px;
  }
}