/* style/gdpr.css */

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

.page-gdpr {
  font-family: Arial, sans-serif;
  color: var(--page-gdpr-text-main); /* Light text on dark body background */
  background-color: var(--page-gdpr-background); /* Dark background from palette */
  line-height: 1.6;
}

/* Ensure images are responsive and not tiny */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block; /* Prevents extra space below images */
  border-radius: 8px;
  margin: 20px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Main sections styling */
.page-gdpr__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-gdpr__light-bg {
  background-color: var(--page-gdpr-card-bg); /* Use card bg for light sections to maintain dark theme but create visual separation */
  color: var(--page-gdpr-text-main); /* Still light text for contrast */
}

.page-gdpr__light-text {
  color: var(--page-gdpr-text-main); /* Ensure light text on light-bg section which is also dark */
}

.page-gdpr__section-title {
  font-size: clamp(2em, 4vw, 2.8em); /* H1/H2 font-size clamp */
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--page-gdpr-gold); /* Gold for titles */
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-gdpr__sub-title {
  font-size: clamp(1.5em, 3vw, 2.2em);
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--page-gdpr-primary-color);
}

.page-gdpr__text-block {
  max-width: 900px;
  margin: 0 auto 20px auto;
  font-size: 1.1em;
  color: var(--page-gdpr-text-secondary); /* Secondary text for paragraphs */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, then content */
  background-color: var(--page-gdpr-background);
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  max-height: 500px; /* Adjust max-height for visual appeal */
  object-fit: cover;
  margin-bottom: 30px;
  border-radius: 0; /* Hero image usually full width, no border radius */
  box-shadow: none;
}

.page-gdpr__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  margin-top: -80px; /* Overlap image slightly for better visual flow */
  position: relative;
  z-index: 1;
}

.page-gdpr__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--page-gdpr-gold);
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  color: var(--page-gdpr-text-secondary);
  margin-bottom: 30px;
}

.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  text-align: center;
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-button-gradient);
  color: #ffffff; /* White text on dark button for contrast */
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

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

.page-gdpr__btn-secondary {
  background: transparent;
  color: #ffffff; /* Changed to white for better contrast on dark background */
  border: 2px solid var(--page-gdpr-primary-color);
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.2);
}

.page-gdpr__btn-secondary:hover {
  background: var(--page-gdpr-primary-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.4);
}

.page-gdpr__list {
  max-width: 900px;
  margin: 20px auto 30px auto;
  text-align: left;
  list-style: none;
  padding-left: 0;
}

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__list-item::before {
  content: '✅'; /* Checkmark for list items */
  position: absolute;
  left: 0;
  color: var(--page-gdpr-primary-color);
  font-weight: bold;
}

.page-gdpr__contact-info {
  max-width: 600px;
  margin: 30px auto;
  text-align: left;
  background-color: var(--page-gdpr-card-bg);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--page-gdpr-border);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

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

.page-gdpr__link {
  color: var(--page-gdpr-secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* FAQ Section */
.page-gdpr__faq-section {
  padding-bottom: 80px;
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-gdpr__faq-item {
  background-color: var(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-border);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__faq-item summary {
  list-style: none; /* Hide default marker */
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-gdpr-text-main);
  background-color: var(--page-gdpr-deep-green); /* Slightly different dark background for question */
  border-bottom: 1px solid var(--page-gdpr-divider);
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: var(--page-gdpr-primary-color);
  color: #ffffff;
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
  color: inherit; /* Inherit color from parent for hover effect */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: inherit; /* Inherit color from parent for hover effect */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-gdpr__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  color: var(--page-gdpr-text-secondary);
  border-top: 1px solid var(--page-gdpr-divider);
}

.page-gdpr__final-cta {
  padding-top: 80px;
  padding-bottom: 100px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-image {
    max-height: 400px;
  }
}

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

  .page-gdpr__hero-content {
    margin-top: -60px;
  }

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

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

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

  .page-gdpr__sub-title {
    font-size: clamp(1.3em, 6vw, 1.8em);
  }

  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__contact-item,
  .page-gdpr__faq-answer {
    font-size: 1em;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to container */
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
  }

  .page-gdpr__section,
  .page-gdpr__content-area {
    padding: 40px 15px;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-left: auto;
    margin-right: auto;
  }

  /* Video responsiveness (if any) */
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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