/* style/gdpr.css */
:root {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-light: #f8f9fa;
  --border-color: #e0e0e0;
}

.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so text should be light */
  background-color: var(--primary-color);
  padding-top: var(--header-offset, 120px);
}

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

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

.page-gdpr__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  font-weight: bold;
  line-height: 1.2;
}

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

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

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

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

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

.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);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-gdpr__list,
.page-gdpr__rights-list,
.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-gdpr__list-item,
.page-gdpr__rights-item,
.page-gdpr__contact-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 4px solid var(--secondary-color);
  border-radius: 4px;
  color: var(--text-light);
  font-size: 1.05em;
  line-height: 1.5;
}

.page-gdpr__list-item strong,
.page-gdpr__rights-item strong,
.page-gdpr__contact-item strong {
  color: var(--secondary-color);
}

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

.page-gdpr__link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-gdpr__principles-section,
.page-gdpr__data-collection-section,
.page-gdpr__international-transfer-section,
.page-gdpr__effective-date-section {
  padding: 60px 0;
  background: #1a2b47; /* Slightly lighter dark blue for contrast */
  color: var(--text-light);
}

.page-gdpr__rights-section,
.page-gdpr__security-section,
.page-gdpr__cookies-contact-section {
  padding: 60px 0;
  background: var(--primary-color);
  color: var(--text-light);
}

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

.page-gdpr__card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

.page-gdpr__image--center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__effective-date-text {
  text-align: center;
  font-size: 0.95em;
  color: #a0a0a0;
  margin-top: 30px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.8em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__sub-title {
    font-size: 1.5em;
  }
  .page-gdpr__card-title {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    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: 2em;
  }
  .page-gdpr__description {
    font-size: 1em;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-gdpr__cta-button {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-gdpr__sub-title {
    font-size: 1.3em;
    margin-top: 30px;
  }
  .page-gdpr__list-item,
  .page-gdpr__rights-item,
  .page-gdpr__contact-item {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__security-section,
  .page-gdpr__international-transfer-section,
  .page-gdpr__cookies-contact-section {
    padding: 40px 0;
  }
  .page-gdpr__grid-container {
    gap: 20px;
  }
  .page-gdpr__card {
    padding: 20px;
  }
  /* Ensure all images are responsive and do not overflow */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-gdpr__image {
    margin: 20px auto;
  }
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__security-section,
  .page-gdpr__international-transfer-section,
  .page-gdpr__cookies-contact-section,
  .page-gdpr__effective-date-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__cta-button {
    font-size: 0.95em;
    padding: 10px 15px;
  }
}