/* style/gdpr.css */

/* Common styles for GDPR page */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text 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;
}

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

.page-gdpr__section-title,
.page-gdpr__hero-title,
.page-gdpr__cta-title {
  color: #FFD700; /* Accent color for titles */
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5em;
  font-weight: bold;
}

.page-gdpr__text-block,
.page-gdpr__hero-description,
.page-gdpr__cta-description {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-gdpr__dark-bg {
  background-color: #001F3F;
}

.page-gdpr__content-area {
  background-color: transparent;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__hero-title {
  font-size: 3.5em;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 900px;
}

.page-gdpr__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background-color: #FFD700;
  color: #001F3F;
  border: 2px solid #FFD700;
}

.page-gdpr__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-gdpr__btn-secondary:hover {
  background-color: #FFD700;
  color: #001F3F;
}

/* Feature Grid */
.page-gdpr__feature-grid,
.page-gdpr__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-gdpr__feature-item,
.page-gdpr__security-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__feature-title,
.page-gdpr__security-title {
  color: #FFD700;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-gdpr__feature-description,
.page-gdpr__security-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* List styles */
.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-gdpr__list-item {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid #FFD700;
}

.page-gdpr__list-title {
  color: #FFD700;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-gdpr__list-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Images in content */
.page-gdpr__image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 40px;
  margin-bottom: 40px;
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__image--center {
  margin-left: auto;
  margin-right: auto;
}

/* Video Section */
.page-gdpr__video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 40px;
  min-width: 200px;
  min-height: 200px;
  cursor: pointer; /* For JS click */
}

/* Contact Info */
.page-gdpr__contact-info {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 8px;
  margin-top: 40px;
  text-align: center;
}

.page-gdpr__contact-text {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-gdpr__contact-link {
  color: #FFD700;
  text-decoration: none;
}

.page-gdpr__contact-link:hover {
  text-decoration: underline;
}

/* CTA Section */
.page-gdpr__cta-section {
  text-align: center;
  padding: 80px 0;
}

.page-gdpr__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
}

.page-gdpr__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

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

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #FFD700;
  font-size: 1.2em;
  font-weight: bold;
}

.page-gdpr__faq-question:hover {
  color: #e6c200;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px 20px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 3em;
  }
  .page-gdpr__hero-description {
    font-size: 1.1em;
  }
  .page-gdpr__section-title,
  .page-gdpr__cta-title {
    font-size: 2em;
  }
  .page-gdpr__feature-grid,
  .page-gdpr__security-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
  }
  .page-gdpr__hero-title {
    font-size: 2.2em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__section-title,
  .page-gdpr__cta-title {
    font-size: 1.8em;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    margin: 10px 0 !important;
    padding: 12px 20px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__hero-section .page-gdpr__btn-primary {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__cta-section .page-gdpr__btn-primary,
  .page-gdpr__cta-section .page-gdpr__btn-secondary {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__image,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px;
    min-height: 200px;
  }
  .page-gdpr__feature-item,
  .page-gdpr__security-item,
  .page-gdpr__list-item,
  .page-gdpr__contact-info,
  .page-gdpr__faq-item {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .page-gdpr__faq-question,
  .page-gdpr__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px 15px 20px !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;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title,
  .page-gdpr__cta-title {
    font-size: 1.5em;
  }
  .page-gdpr__feature-grid,
  .page-gdpr__security-grid {
    grid-template-columns: 1fr;
  }
}