/* style/gdpr.css */
.page-gdpr {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #FFFFFF; /* Ensure page content background is white */
}

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  overflow: hidden;
  padding: 60px 20px;
  text-align: center;
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF;
}

.page-gdpr__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay to make text readable */
  display: block; /* Ensure image behaves as block element */
}

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

.page-gdpr__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-gdpr__hero-description {
  font-size: 1.25em;
  margin-bottom: 30px;
  color: #F0F0F0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.page-gdpr__hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.page-gdpr__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-gdpr__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-gdpr__button--register:hover {
  background-color: #E0E0E0;
  color: #000000;
}

.page-gdpr__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-gdpr__button--login:hover {
  background-color: #E6A83C;
  color: #000000;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #000000;
}

.page-gdpr__introduction-section,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__security-section,
.page-gdpr__contact-section {
  padding: 80px 0;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #333333;
}

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

.page-gdpr__principle-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-gdpr__principle-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure image behaves as block element */
}

.page-gdpr__principle-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-gdpr__principle-description {
  font-size: 1em;
  color: #555555;
}

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

.page-gdpr__rights-item {
  background-color: #F8F8F8;
  border-left: 5px solid #000000;
  border-radius: 5px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-gdpr__rights-item-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-gdpr__rights-item-description {
  font-size: 1em;
  color: #555555;
}

.page-gdpr__action-callout {
  background-color: #FCBC45;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  margin-top: 50px;
}

.page-gdpr__action-text {
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 20px;
}

.page-gdpr__link {
  color: #000000;
  text-decoration: underline;
  font-weight: bold;
}

.page-gdpr__link:hover {
  color: #333333;
}

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

.page-gdpr__feature-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-gdpr__feature-card:hover {
  transform: translateY(-5px);
}

.page-gdpr__feature-image {
  width: 100%;
  height: 280px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure image behaves as block element */
}

.page-gdpr__feature-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-gdpr__feature-description {
  font-size: 1em;
  color: #555555;
}

.page-gdpr__button--contact {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-right: 15px;
}

.page-gdpr__button--contact:hover {
  background-color: #333333;
  color: #FFFFFF;
}

.page-gdpr__button--explore {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-gdpr__button--explore:hover {
  background-color: #E6A83C;
  color: #000000;
}

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

@media (max-width: 768px) {
  .page-gdpr {
    overflow-x: hidden; /* Prevent horizontal scrolling on mobile */
  }
  .page-gdpr__hero-section {
    min-height: 400px;
    padding: 40px 15px;
  }
  .page-gdpr__hero-title {
    font-size: 2.5em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .page-gdpr__button {
    width: 100%;
    max-width: 300px; /* Constrain button width */
  }
  .page-gdpr__introduction-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__security-section,
  .page-gdpr__contact-section {
    padding: 60px 0;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-gdpr__text-block {
    font-size: 0.95em;
  }
  .page-gdpr__principles-grid,
  .page-gdpr__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-gdpr__principle-image,
  .page-gdpr__feature-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and do not overflow */
    min-height: 200px; /* Minimum height for content images */
  }
  .page-gdpr__rights-item {
    padding: 20px;
  }
  .page-gdpr__button--contact,
  .page-gdpr__button--explore {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-gdpr__contact-section .page-gdpr__button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-gdpr__contact-section .page-gdpr__button:last-child {
    margin-bottom: 0;
  }
  /* Ensure all images within .page-gdpr are responsive on mobile */
  .page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  .page-gdpr__principle-image,
  .page-gdpr__feature-image {
    width: 100%;
    height: auto;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 2em;
  }
  .page-gdpr__hero-description {
    font-size: 0.9em;
  }
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__button {
    padding: 12px 20px;
  }
}