/* style/gdpr.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-dark: #0d0d0d;
  --background-light: #f8f9fa;
  --card-background-dark: rgba(255, 255, 255, 0.08);
  --card-background-light: #ffffff;
  --border-color: #e0e0e0;
}

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

/* Ensure content is not hidden by fixed header */
.page-gdpr__hero-section {
  padding-top: 120px; /* Desktop: Adjust based on shared header height */
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--secondary-color), rgba(139, 0, 0, 0.7));
  color: var(--text-light);
  text-align: center;
}

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

.page-gdpr__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--primary-color);
  line-height: 1.2;
}

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

.page-gdpr__main-title a:hover {
  color: #fff;
}

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

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

.page-gdpr__hero-description a:hover {
  color: #fff;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-gdpr__cta-button--primary {
  background-color: var(--primary-color);
  color: var(--text-dark);
}

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

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

.page-gdpr__cta-button--secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

.page-gdpr__section-title {
  font-size: 2.2em;
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary-color);
}

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

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

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

.page-gdpr__dark-bg p {
  color: #e0e0e0;
}

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

.page-gdpr__keyword {
  font-weight: bold;
  color: var(--primary-color);
}

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

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-gdpr__image--full-width {
  width: 100%;
  max-width: 900px;
}

.page-gdpr__image--medium {
  width: 100%;
  max-width: 600px;
}

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

.page-gdpr__principle-card, .page-gdpr__security-item {
  background-color: var(--card-background-light);
  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;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

.page-gdpr__dark-bg .page-gdpr__principle-card, .page-gdpr__dark-bg .page-gdpr__security-item {
  background-color: var(--card-background-dark);
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr__principle-card:hover, .page-gdpr__security-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

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

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

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

.page-gdpr__user-rights-list li {
  background-color: var(--card-background-light);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid var(--primary-color);
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 1.05em;
  color: var(--text-dark);
}

.page-gdpr__dark-bg .page-gdpr__user-rights-list li {
  background-color: var(--card-background-dark);
  color: var(--text-light);
  border-left-color: var(--primary-color);
}

.page-gdpr__user-rights-list li strong {
  color: var(--secondary-color);
}

.page-gdpr__dark-bg .page-gdpr__user-rights-list li strong {
  color: var(--primary-color);
}

.page-gdpr__user-rights-list li a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-gdpr__dark-bg .page-gdpr__user-rights-list li a {
  color: var(--primary-color);
}

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

/* General link styling for content areas */
.page-gdpr__content-section a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__content-section a:hover {
  color: #fff;
}

.page-gdpr__light-bg .page-gdpr__content-section a {
  color: var(--secondary-color);
}

.page-gdpr__light-bg .page-gdpr__content-section a:hover {
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.2em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: 100px !important; /* Mobile: Adjust based on shared header height */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

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

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

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

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

  .page-gdpr p {
    font-size: 0.95em;
  }

  .page-gdpr__image {
    margin: 30px auto;
  }

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

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

  .page-gdpr__card-title {
    font-size: 1.2em;
    margin-bottom: 10px;
  }

  .page-gdpr__user-rights-list li {
    padding: 12px 15px;
    font-size: 0.95em;
  }

  .page-gdpr__contact-cta {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  /* Image responsive specific overrides */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; */ /* Handled by container padding */
    /* padding-right: 15px; */ /* Handled by container padding */
  }
}