/* style/gdpr.css */

/* Base Styles for GDPR Page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default light text color for dark body background */
  background-color: var(--dark-bg-1); /* Inherit from shared.css, assume dark */
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__paragraph {
  margin-bottom: 15px;
  color: #f0f0f0;
}

/* Hero Section */
.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #0d0d0d; /* Dark background for hero */
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-gdpr__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-gdpr__hero-title {
  font-size: 3.5em;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-gdpr__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 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: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  z-index: 0;
}

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

/* Principles Section */
.page-gdpr__principles-section {
  padding: 60px 20px;
  background-color: #1a1a1a; /* Dark background */
  color: #f0f0f0;
}

.page-gdpr__principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__principle-card {
  background-color: #2c2c2c; /* Slightly lighter dark card */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__card-text {
  color: #cccccc;
}

.page-gdpr__section-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Rights Section */
.page-gdpr__rights-section {
  padding: 60px 20px;
  background-color: #0d0d0d; /* Dark background */
  color: #f0f0f0;
}

.page-gdpr__rights-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__right-item {
  background-color: #1a1a1a; /* Darker card */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__right-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-gdpr__right-description {
  color: #cccccc;
}

/* Security Section */
.page-gdpr__security-section {
  padding: 60px 20px;
  background-color: #1a1a1a; /* Dark background */
  color: #f0f0f0;
}

.page-gdpr__security-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-gdpr__security-item {
  background-color: #2c2c2c;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid #26A9E0;
  color: #cccccc;
}

.page-gdpr__security-item strong {
  color: #ffffff;
}

/* Transfers Section */
.page-gdpr__transfers-section {
  padding: 60px 20px;
  background-color: #0d0d0d; /* Dark background */
  color: #f0f0f0;
}

.page-gdpr__transfer-safeguards {
  list-style: disc;
  margin-left: 20px;
  margin-top: 20px;
  color: #f0f0f0;
}

.page-gdpr__transfer-item {
  margin-bottom: 10px;
  color: #cccccc;
}

.page-gdpr__transfer-item strong {
  color: #ffffff;
}

/* DPO Section */
.page-gdpr__dpo-section {
  padding: 60px 20px;
  background-color: #1a1a1a; /* Dark background */
  color: #f0f0f0;
  text-align: center;
}

.page-gdpr__contact-info {
  margin-top: 30px;
  font-size: 1.1em;
  line-height: 1.8;
  color: #cccccc;
}

.page-gdpr__contact-info p {
  margin-bottom: 10px;
}

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

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

.page-gdpr__contact-note {
  font-style: italic;
  margin-top: 20px;
  color: #aaaaaa;
}

/* Video Section */
.page-gdpr__video-section {
  padding: 60px 20px;
  background-color: #0d0d0d; /* Dark background */
  color: #f0f0f0;
  text-align: center;
}

.page-gdpr__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 800px;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-gdpr__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
  display: block; /* Ensure video takes full space */
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 20px;
  background-color: #1a1a1a; /* Dark background */
  color: #f0f0f0;
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #26A9E0;
  color: #ffffff;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #1e87c0;
}

.page-gdpr__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #ffffff;
}

.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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
}

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

.page-gdpr__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
  color: #cccccc;
}

.page-gdpr__faq-answer .page-gdpr__contact-link {
  color: #26A9E0;
  text-decoration: underline;
}

/* CTA Section */
.page-gdpr__cta-section {
  padding: 80px 20px;
  background-color: #0d0d0d; /* Dark background */
  color: #f0f0f0;
  text-align: center;
}

.page-gdpr__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Image and Video Responsive styles (Global for .page-gdpr img/video) */
.page-gdpr img, .page-gdpr video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

  .page-gdpr__container,
  .page-gdpr__hero-content,
  .page-gdpr__principles-grid,
  .page-gdpr__rights-list,
  .page-gdpr__security-list,
  .page-gdpr__transfer-safeguards,
  .page-gdpr__dpo-section,
  .page-gdpr__video-section,
  .page-gdpr__faq-section,
  .page-gdpr__cta-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-gdpr__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

  .page-gdpr__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
  }

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

  .page-gdpr__section-intro {
    font-size: 1em;
  }

  .page-gdpr__principles-grid,
  .page-gdpr__rights-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__principle-card,
  .page-gdpr__right-item,
  .page-gdpr__security-item {
    padding: 20px;
  }

  .page-gdpr__card-title,
  .page-gdpr__right-title {
    font-size: 1.3em;
  }

  .page-gdpr__video-wrapper {
    max-width: 100%;
    margin: 30px auto;
  }
  
  .page-gdpr img, .page-gdpr video {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important; /* Ensure video fills container */
  }
  
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

/* Color Contrast Fixes (if needed) */
.page-gdpr__dark-section {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-gdpr__light-bg {
  background-color: #2c2c2c; /* Ensure it's not pure white on dark body */
  color: #ffffff;
}

/* Specific button colors */
.page-gdpr__btn-login {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-gdpr__btn-login:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}