/* style/gdpr.css */

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

.page-gdpr {
  color: var(--page-gdpr-text-main);
  background-color: var(--page-gdpr-bg-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
}

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body handles --header-offset, this is decorative top padding */
  background-color: var(--page-gdpr-bg-color);
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text contrast */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over the image, but not *on* it */
  background-color: rgba(17, 39, 27, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-gdpr-border-color);
}

.page-gdpr__main-title {
  color: var(--page-gdpr-gold-color);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-gdpr__hero-description {
  color: var(--page-gdpr-text-main);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

.page-gdpr__content-section,
.page-gdpr__rights-section,
.page-gdpr__cookie-section,
.page-gdpr__faq-section {
  background-color: #ffffff; /* Light background for contrast */
  color: #333333; /* Dark text for contrast */
  padding: 60px 0;
}

.page-gdpr__dark-bg {
  background-color: var(--page-gdpr-bg-color);
  color: var(--page-gdpr-text-main);
  padding: 60px 0;
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--page-gdpr-primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-gdpr__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--page-gdpr-button-gradient);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-gdpr__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--page-gdpr-deep-green);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__content-section .page-gdpr__sub-title,
.page-gdpr__rights-section .page-gdpr__sub-title,
.page-gdpr__cookie-section .page-gdpr__sub-title,
.page-gdpr__faq-section .page-gdpr__sub-title {
  color: #333333; /* Ensure dark text on light background */
}

.page-gdpr__paragraph {
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
  color: inherit; /* Inherit color from parent section */
}

.page-gdpr__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: inherit;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 1rem;
  color: inherit;
}

.page-gdpr__link {
  color: var(--page-gdpr-primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-gdpr__link:hover {
  text-decoration: underline;
  color: var(--page-gdpr-secondary-color);
}

.page-gdpr__commitment-grid {
  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(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__card-title {
  font-size: 1.5rem;
  color: var(--page-gdpr-gold-color);
  margin-bottom: 15px;
}

.page-gdpr__card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__security-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

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

.page-gdpr__rights-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__rights-item .page-gdpr__sub-title {
  color: var(--page-gdpr-primary-color);
  margin-top: 0;
  font-size: 1.3rem;
}

.page-gdpr__rights-item .page-gdpr__paragraph {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.page-gdpr__rights-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 50px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.page-gdpr__contact-details {
  margin-top: 30px;
  margin-bottom: 40px;
  text-align: center;
  font-size: 1.1rem;
}

.page-gdpr__contact-item {
  margin-bottom: 10px;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__contact-item .page-gdpr__link {
  color: var(--page-gdpr-gold-color);
}

.page-gdpr__contact-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.page-gdpr__faq-list {
  margin-top: 30px;
}

.page-gdpr__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-gdpr-primary-color);
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  list-style: none;
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  border-bottom: 1px solid var(--page-gdpr-primary-color);
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-gdpr-primary-color);
}

.page-gdpr__faq-answer {
  padding: 20px 25px;
  background-color: #fefefe;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    margin-top: -100px;
    padding: 30px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
  }

  .page-gdpr__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }

  .page-gdpr__sub-title {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-gdpr__hero-content {
    margin-top: -80px;
    padding: 20px;
    max-width: calc(100% - 30px); /* Account for padding in container */
  }

  .page-gdpr__main-title {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
  }

  .page-gdpr__hero-description {
    font-size: 1rem;
  }

  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 0.95rem;
    width: 100% !important;
  }

  .page-gdpr__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__content-section,
  .page-gdpr__commitment-section,
  .page-gdpr__rights-section,
  .page-gdpr__data-processing-section,
  .page-gdpr__cookie-section,
  .page-gdpr__contact-section,
  .page-gdpr__faq-section {
    padding: 40px 0;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-gdpr__sub-title {
    font-size: clamp(1.1rem, 4vw, 1.6rem);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-gdpr__paragraph,
  .page-gdpr__list-item {
    font-size: 0.95rem;
  }

  .page-gdpr__commitment-grid,
  .page-gdpr__rights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card,
  .page-gdpr__rights-item {
    padding: 20px;
  }

  /* Images responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Image containers responsive */
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__security-image,
  .page-gdpr__rights-image,
  .page-gdpr__contact-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Buttons responsive */
  .page-gdpr__cta-button,
  .page-gdpr__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__contact-details {
    font-size: 1rem;
  }

  .page-gdpr__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-gdpr__faq-answer {
    padding: 15px 20px;
  }
}