/* style/gdpr.css */
.page-gdpr {
  color: #ffffff; /* Light text for dark body background */
  background-color: #0A1931; /* Matches shared.css body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden; /* Ensure no overflow from images */
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.2; /* Subtle background effect */
}

.page-gdpr__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold accent for title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-gdpr__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0A1931; /* Dark text on gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-gdpr__hero-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-3px);
}

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

.page-gdpr__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-gdpr__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

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

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

.page-gdpr__principle-card,
.page-gdpr__right-card,
.page-gdpr__protection-item {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white background for cards */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  min-height: 280px; /* Ensure cards have some height for content */
}

.page-gdpr__principle-card:hover,
.page-gdpr__right-card:hover,
.page-gdpr__protection-item:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr__card-title,
.page-gdpr__item-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__card-description,
.page-gdpr__item-description {
  font-size: 1em;
  line-height: 1.6;
  color: #c0c0c0;
}

.page-gdpr__right-card img {
  width: 200px; /* Min image size 200x200 */
  
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.page-gdpr__right-card:hover img {
  transform: scale(1.05);
}

.page-gdpr__protection-image,
.page-gdpr__consent-image {
  width: 100%;
  max-width: 800px; /* Max width for content images */
  height: auto;
  display: block;
  margin: 50px auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-gdpr__rights-footer {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #e0e0e0;
}

.page-gdpr__consent-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-gdpr__consent-text {
  flex: 1;
}

.page-gdpr__consent-image {
  flex: 1;
  max-width: 600px; /* Specific max-width for this image */
  height: auto;
  margin: 0; /* Override default margin */
}

.page-gdpr__consent-text .page-gdpr__item-title {
  margin-top: 30px;
  margin-bottom: 10px;
  text-align: left;
}

.page-gdpr__consent-text .page-gdpr__item-description {
  text-align: left;
  margin-bottom: 20px;
}

.page-gdpr__consent-text a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

.page-gdpr__contact-details {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-gdpr__contact-item {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-gdpr__contact-item strong {
  color: #FFD700;
}

.page-gdpr__contact-item a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__contact-item a:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-gdpr__contact-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A1931;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-gdpr__contact-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-gdpr__cta-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for CTA */
  padding: 80px 20px;
  text-align: center;
}

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

.page-gdpr__cta-button {
  display: inline-block;
  padding: 18px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  min-width: 220px;
  text-align: center;
}

.page-gdpr__cta-button--primary {
  background-color: #FFD700;
  color: #0A1931;
}

.page-gdpr__cta-button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-gdpr__cta-button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-gdpr__cta-button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-3px);
  color: #e6c200;
  border-color: #e6c200;
}

.page-gdpr__disclaimer {
  font-size: 0.95em;
  color: #a0a0a0;
  margin-top: 50px;
  line-height: 1.5;
}

.page-gdpr__disclaimer a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 3em;
  }

  .page-gdpr__section-title {
    font-size: 2.2em;
  }

  .page-gdpr__principles-grid,
  .page-gdpr__rights-grid,
  .page-gdpr__protection-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 60px 15px;
  }

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

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

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

  .page-gdpr__section-intro {
    font-size: 1em;
    margin-bottom: 40px;
  }

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

  .page-gdpr__principle-card,
  .page-gdpr__right-card,
  .page-gdpr__protection-item {
    padding: 25px;
    min-height: auto;
  }

  .page-gdpr__card-title,
  .page-gdpr__item-title {
    font-size: 1.4em;
  }

  .page-gdpr__consent-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-gdpr__consent-image {
    margin-top: 20px;
    max-width: 100%;
  }

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

  .page-gdpr__cta-button {
    width: 100%;
    max-width: 300px; /* Limit button width on small screens */
  }

  /* Ensure content images are not too small and responsive */
  .page-gdpr__protection-image,
  .page-gdpr__consent-image,
  .page-gdpr__right-card img {
    max-width: 100%;
    height: auto;
    object-fit: contain; /* Use contain for icons/smaller illustrative images */
  }

  /* Mobile content area images must be responsive and not cause overflow */
  .page-gdpr img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 2em;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
  }

  .page-gdpr__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-gdpr__cta-button {
    font-size: 1.1em;
    padding: 15px 20px;
  }
}