/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #1a1a1a; /* Slightly lighter dark background for hero */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

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

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Content Sections */
.page-gdpr__content-section {
  padding: 60px 0;
  box-sizing: border-box;
}

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-gdpr__dark-bg {
  background-color: #121212;
  color: #ffffff;
}

.page-gdpr__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0;
}

.page-gdpr__sub-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-gdpr__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

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

.page-gdpr__link-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-gdpr__link-list li {
  margin-bottom: 10px;
}

.page-gdpr__link-list a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-gdpr__link-list a:hover {
  color: #EA7C07;
  text-decoration: underline;
}

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  background-color: #1e87b7;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: #f5f5f5;
  color: #333333;
}

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

.page-gdpr__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  color: #333333;
  background-color: #ffffff;
  user-select: none;
  position: relative;
  list-style: none;
}

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, height 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
  opacity: 1;
  height: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

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

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

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

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

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

  .page-gdpr__hero-content {
    padding: 0 15px;
  }

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

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

  .page-gdpr__content-section {
    padding: 40px 0;
  }

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

  .page-gdpr__section-title {
    font-size: clamp(1.5rem, 5.5vw, 2.2rem) !important;
  }

  .page-gdpr__sub-title {
    font-size: clamp(1.2rem, 4vw, 1.6rem) !important;
  }

  .page-gdpr__text-block {
    font-size: 0.95rem;
  }

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

  /* Button responsive rules */
  .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;
  }

  /* FAQ responsive rules */
  .page-gdpr__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-gdpr__faq-answer {
    padding: 0 15px 15px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-section {
    padding: 30px 0;
    padding-top: 10px !important;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.5rem, 7vw, 2rem) !important;
  }

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

  .page-gdpr__btn-primary {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.3rem, 6.5vw, 1.8rem) !important;
  }

  .page-gdpr__sub-title {
    font-size: clamp(1rem, 5vw, 1.4rem) !important;
  }

  .page-gdpr__faq-question {
    font-size: 0.95rem;
  }
}