/* style/gdpr.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark-body: #0a0a0a; /* From shared.css */
}

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Text color for dark body background */
  background-color: var(--bg-dark-body);
  padding-bottom: 40px; /* Ensure space above footer */
}

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

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

.page-gdpr__dark-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly visible on dark body */
  color: var(--text-light);
}

.page-gdpr__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-gdpr__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary-color);
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__sub-title {
  font-size: clamp(1.5em, 3vw, 2em);
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-gdpr__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
}

/* Hero Section */
.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-gdpr__hero-image-container {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

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

.page-gdpr__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: bold;
}

.page-gdpr__intro-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

/* Buttons */
.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-gdpr__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-gdpr__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%); /* Placeholder for darken, will be plain color */
  background-color: #1a8cc7;
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Lists */
.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-gdpr__list-item {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  font-size: 1.05em;
}

.page-gdpr__list-item::before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Images */
.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Inline Links */
.page-gdpr__inline-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-gdpr__inline-link:hover {
  color: #1a8cc7; /* Darker primary color */
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--primary-color);
  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;
  width: 100%;
}

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

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

.page-gdpr__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.05em;
  color: var(--text-light);
}

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

  .page-gdpr__container {
    padding: 0 15px;
  }

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

  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-gdpr__main-title {
    font-size: 2.2em;
  }

  .page-gdpr__intro-text {
    font-size: 1.1em;
  }

  .page-gdpr__section-title {
    font-size: 2em;
  }

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

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

  /* All containing elements for images, videos, buttons */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-image-container,
  .page-gdpr__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons responsiveness */
  .page-gdpr__cta-button,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    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: 1em;
  }

  /* If multiple buttons in a row, stack them or wrap */
  .page-gdpr__hero-content .page-gdpr__cta-button {
    margin-bottom: 15px;
  }

  .page-gdpr__faq-item summary {
    font-size: 1.1em;
    padding: 15px;
  }

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