/* style/gdpr.css */
:root {
  --gdpr-bg-color: #08160F;
  --gdpr-card-bg: #11271B;
  --gdpr-text-main: #F2FFF6;
  --gdpr-text-secondary: #A7D9B8;
  --gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --gdpr-border-color: #2E7A4E;
  --gdpr-glow-color: #57E38D;
  --gdpr-gold-color: #F2C14E;
  --gdpr-divider-color: #1E3A2A;
  --gdpr-deep-green: #0A4B2C;
}

.page-gdpr {
  background-color: var(--gdpr-bg-color);
  color: var(--gdpr-text-main);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  font-size: 17px;
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  box-sizing: border-box;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  color: var(--gdpr-gold-color);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-gdpr__description {
  font-size: 1.2em;
  color: var(--gdpr-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--gdpr-button-gradient);
  color: var(--gdpr-text-main);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
}

.page-gdpr__cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px var(--gdpr-glow-color);
}

.page-gdpr__section {
  padding: 80px 0;
  border-bottom: 1px solid var(--gdpr-divider-color);
}

.page-gdpr__section:last-of-type {
  border-bottom: none;
}

.page-gdpr__dark-section {
  background-color: var(--gdpr-deep-green);
  color: var(--gdpr-text-main);
}

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-gdpr__section-title {
  font-size: 2.8em;
  color: var(--gdpr-gold-color);
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-gdpr__sub-title {
  font-size: 2em;
  color: var(--gdpr-glow-color);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-gdpr__text-block {
  font-size: 1em;
  color: var(--gdpr-text-main);
  margin-bottom: 20px;
  text-align: justify;
}

.page-gdpr__text-block strong {
  color: var(--gdpr-gold-color);
}

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

.page-gdpr__image--left {
  float: left;
  margin-right: 40px;
  max-width: 45%;
}

.page-gdpr__image--right {
  float: right;
  margin-left: 40px;
  max-width: 45%;
}

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

.page-gdpr__card {
  background-color: var(--gdpr-card-bg);
  border: 1px solid var(--gdpr-border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--gdpr-glow-color);
}

.page-gdpr__card-title {
  font-size: 1.5em;
  color: var(--gdpr-gold-color);
  margin-bottom: 12px;
  font-weight: 700;
}

.page-gdpr__card-text {
  font-size: 0.98em;
  color: var(--gdpr-text-secondary);
}

.page-gdpr__list {
  list-style: disc inside;
  margin-left: 25px;
  margin-bottom: 25px;
  color: var(--gdpr-text-main);
}

.page-gdpr__list li {
  margin-bottom: 12px;
  font-size: 1em;
}

.page-gdpr__list li strong {
  color: var(--gdpr-glow-color);
}

.page-gdpr__ordered-list {
  list-style: decimal inside;
  margin-left: 25px;
  margin-bottom: 25px;
  color: var(--gdpr-text-main);
}

.page-gdpr__ordered-list li {
  margin-bottom: 12px;
  font-size: 1em;
}

.page-gdpr__contact-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 25px;
}

.page-gdpr__contact-list li {
  margin-bottom: 12px;
  font-size: 1.1em;
  color: var(--gdpr-text-main);
}

.page-gdpr__contact-list li strong {
  color: var(--gdpr-gold-color);
}

.page-gdpr__contact-link {
  color: var(--gdpr-glow-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
  color: var(--gdpr-gold-color);
  text-decoration: underline;
}

.page-gdpr__last-updated {
  text-align: right;
  font-style: italic;
  color: var(--gdpr-text-secondary);
  font-size: 0.9em;
  margin-top: 50px;
}

/* Responsive styles */
@media (min-width: 769px) {
  .page-gdpr__container {
    display: block; /* Reset flex for larger screens if images are floated */
    overflow: hidden;
  }

  .page-gdpr__introduction-section .page-gdpr__text-block,
  .page-gdpr__data-collection-section .page-gdpr__text-block,
  .page-gdpr__data-security-section .page-gdpr__text-block,
  .page-gdpr__third-party-sharing-section .page-gdpr__text-block,
  .page-gdpr__contact-section .page-gdpr__text-block {
    margin-left: 50%; /* Adjust for floated images */
    margin-bottom: 20px; /* Ensure spacing below text blocks */
  }

  .page-gdpr__introduction-section .page-gdpr__image--right,
  .page-gdpr__data-collection-section .page-gdpr__image--right,
  .page-gdpr__third-party-sharing-section .page-gdpr__image--right,
  .page-gdpr__contact-section .page-gdpr__image--right {
    float: right;
    margin-left: 40px;
    margin-bottom: 20px;
    max-width: 45%;
  }

  .page-gdpr__user-rights-section .page-gdpr__text-block,
  .page-gdpr__data-security-section .page-gdpr__text-block {
    margin-right: 50%;
  }

  .page-gdpr__user-rights-section .page-gdpr__image--left,
  .page-gdpr__data-security-section .page-gdpr__image--left {
    float: left;
    margin-right: 40px;
    margin-bottom: 20px;
    max-width: 45%;
  }

  /* Clear floats after sections to prevent layout issues */
  .page-gdpr__introduction-section::after,
  .page-gdpr__data-collection-section::after,
  .page-gdpr__data-security-section::after,
  .page-gdpr__third-party-sharing-section::after,
  .page-gdpr__contact-section::after {
    content: "";
    display: table;
    clear: both;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-gdpr__description {
    font-size: 1em;
  }

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

  .page-gdpr__section {
    padding: 40px 0;
  }

  .page-gdpr__container {
    padding: 0 15px;
    flex-direction: column;
    gap: 20px;
  }

  .page-gdpr__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-gdpr__sub-title {
    font-size: 1.5em;
  }

  .page-gdpr__text-block {
    font-size: 0.95em;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    float: none !important; /* Clear floats for mobile */
    margin: 20px auto !important; /* Center images */
  }

  .page-gdpr__image--left,
  .page-gdpr__image--right {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page-gdpr__rights-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__card-title {
    font-size: 1.2em;
  }

  /* Ensure all content containers are responsive */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Adjust for specific sections that might have padding on container */
  .page-gdpr__introduction-section .page-gdpr__container,
  .page-gdpr__user-rights-section .page-gdpr__container,
  .page-gdpr__data-collection-section .page-gdpr__container,
  .page-gdpr__data-security-section .page-gdpr__container,
  .page-gdpr__third-party-sharing-section .page-gdpr__container,
  .page-gdpr__contact-section .page-gdpr__container,
  .page-gdpr__updates-section .page-gdpr__container {
    padding-left: 0;
    padding-right: 0;
  }

  .page-gdpr__list,
  .page-gdpr__ordered-list,
  .page-gdpr__contact-list {
    margin-left: 0;
    padding-left: 20px;
  }
}