/* style/gdpr.css */
:root {
  --primary-color: #FFD700;
  --primary-color-dark: #E6C200; /* Darkened primary for hover */
  --primary-color-light: #FFE033; /* Lightened primary for link hover */
  --secondary-color: #1A1A1A;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark-body: #0d0d0d;
}

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

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden; /* Ensure no overflow from absolute image */
  color: var(--text-light);
  background-color: var(--secondary-color);
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.page-gdpr__hero-section .page-gdpr__container {
  position: relative;
  z-index: 1;
}

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

.page-gdpr__description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-gdpr__cta-button--primary:hover {
  background-color: var(--primary-color-dark);
  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(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.page-gdpr__content-section {
  padding: 60px 20px;
  margin-bottom: 20px;
}

.page-gdpr__content-section:nth-of-type(odd) {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-gdpr__content-section:nth-of-type(even) {
  background-color: #1a1a1a;
  color: var(--text-light);
}

.page-gdpr__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.page-gdpr__content-section p {
  font-size: 17px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 17px;
}

.page-gdpr__list li {
  margin-bottom: 10px;
}

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

.page-gdpr__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 40px;
  }
  .page-gdpr__section-title {
    font-size: 32px;
  }
  .page-gdpr__description, .page-gdpr__content-section p, .page-gdpr__list li {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  .page-gdpr__hero-section {
    padding: 60px 15px;
  }
  .page-gdpr__main-title {
    font-size: 32px;
  }
  .page-gdpr__description {
    font-size: 15px;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-gdpr__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
  }
  .page-gdpr__content-section {
    padding: 40px 15px;
  }
  .page-gdpr__section-title {
    font-size: 28px;
  }
  .page-gdpr__content-section p, .page-gdpr__list li {
    font-size: 15px;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; 
    min-height: 200px !important; 
  }
  .page-gdpr__content-section,
  .page-gdpr__hero-section .page-gdpr__container,
  .page-gdpr__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 28px;
  }
  .page-gdpr__section-title {
    font-size: 24px;
  }
  .page-gdpr__cta-button {
    font-size: 14px !important;
    padding: 10px 15px !important;
  }
  .page-gdpr__description, .page-gdpr__content-section p, .page-gdpr__list li {
    font-size: 14px;
  }
}