/* style/gdpr.css */

/* Global styles for GDPR page content */
.page-gdpr {
  background-color: var(--background-color, #08160F); /* Fallback to custom background */
  color: var(--text-main-color, #F2FFF6); /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-gdpr__section {
  padding: 60px 0;
  background-color: var(--background-color, #08160F);
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: var(--deep-green-color, #0A4B2C);
  color: var(--text-main-color, #F2FFF6);
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-gdpr__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size */
  font-weight: 700;
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient, linear-gradient(180deg, #2AD16F 0%, #13994A 100%));
  color: var(--text-main-color, #F2FFF6);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  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 {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--text-main-color, #F2FFF6);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

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

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-gdpr__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--glow-color, #57E38D);
  font-weight: bold;
}

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

.page-gdpr__list-item a {
  color: var(--gold-color, #F2C14E);
  text-decoration: underline;
}

.page-gdpr__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: var(--card-bg-color, #11271B); /* Darker background for FAQ */
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__faq-item {
  background-color: var(--deep-green-color, #0A4B2C);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main-color, #F2FFF6);
  cursor: pointer;
  outline: none;
  list-style: none; /* Remove default marker */
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow-color, #57E38D);
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-gdpr__faq-answer p:last-child {
  margin-bottom: 0;
}

/* CTA Section */
.page-gdpr__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: var(--deep-green-color, #0A4B2C);
}

.page-gdpr__cta-content {
  max-width: 800px;
}

.page-gdpr__cta-content .page-gdpr__section-title {
  margin-bottom: 20px;
}

.page-gdpr__cta-content .page-gdpr__text-block {
  margin-bottom: 40px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 0 15px;
  }

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

  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-gdpr__subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__faq-item summary,
  .page-gdpr__faq-answer {
    font-size: 0.95rem;
  }

  /* Mobile image adaptation */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__section,
  .page-gdpr__container,
  .page-gdpr__card,
  .page-gdpr__faq-item,
  .page-gdpr__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button adaptation */
  .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-left: 15px;
    padding-right: 15px;
  }
  
  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-gdpr__faq-item summary {
    padding: 15px;
  }
}