/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #F2FFF6); /* Default text color, ensuring contrast */
  background-color: var(--background-color, #08160F); /* Page background from shared */
}

/* Ensure proper spacing for sections */
.page-gdpr__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-gdpr__section:first-of-type {
  padding-top: 10px; /* Small top padding for the first content section, body handles header offset */
}

.page-gdpr__content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: var(--gold-color, #F2C14E);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-gdpr__inline-link {
  color: var(--primary-color, #11A84E);
  text-decoration: underline;
}

.page-gdpr__inline-link:hover {
  color: var(--glow-color, #57E38D);
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for the first content section, body handles header offset */
  text-align: center;
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: 40px;
  color: var(--text-main-color, #F2FFF6);
}

.page-gdpr__main-title {
  font-size: clamp(2.2em, 5vw, 3.5em);
  color: var(--gold-color, #F2C14E);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-gdpr__subtitle {
  font-size: 1.2em;
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 30px;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

/* General Image Styles */
.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* List styles */
.page-gdpr__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-gdpr__list-item strong {
  color: var(--text-main-color, #F2FFF6);
}

/* FAQ Section */
.page-gdpr__faq-item-list {
  margin-top: 30px;
}

.page-gdpr__faq-item {
  background-color: var(--card-bg-color, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main-color, #F2FFF6);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.15em;
  color: var(--text-main-color, #F2FFF6);
  background-color: var(--deep-green-color, #0A4B2C);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-gdpr__faq-question:hover {
  background-color: var(--primary-color, #11A84E);
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold-color, #F2C14E);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  background-color: var(--primary-color, #11A84E);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--text-secondary-color, #A7D9B8);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 15px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__text-block, .page-gdpr__list-item {
    font-size: 1em;
  }
  .page-gdpr__main-title {
    font-size: clamp(2em, 6vw, 3em);
  }
  .page-gdpr__subtitle {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__section {
    padding: 40px 15px;
  }
  .page-gdpr__section:first-of-type {
    padding-top: 10px !important; /* body handles header offset */
  }
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-gdpr__hero-content {
    margin-top: 30px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-gdpr__subtitle {
    font-size: 1em;
  }
  .page-gdpr__cta-button {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset;
    min-height: unset;
  }
  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px 15px;
  }
  .page-gdpr__content-wrapper, .page-gdpr__hero-content {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__text-block, .page-gdpr__list-item {
    font-size: 0.95em;
  }
  .page-gdpr__faq-question {
    font-size: 0.95em;
  }
  .page-gdpr__faq-toggle {
    font-size: 1.2em;
  }
}