/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000; /* Body background is dark */
}

.page-gdpr__section {
  padding: 60px 20px;
  margin-bottom: 20px;
}

.page-gdpr__dark-section {
  background-color: #26A9E0; /* Brand color as background */
  color: #ffffff;
}

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-gdpr__main-title {
  font-size: 2.8em;
  color: #ffffff;
  margin-bottom: 20px;
  text-align: center;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit color from parent section */
}

.page-gdpr__intro-text,
.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__link {
  color: #ffffff;
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: #f0f0f0;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  overflow: hidden;
  background-color: #26A9E0; /* Fallback color */
}

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

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 30px;
  border: none;
  cursor: pointer;
}

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

.page-gdpr__btn-contact {
  background-color: #26A9E0;
}

.page-gdpr__btn-contact:hover {
  background-color: #1e87bb;
}

/* Commitment Section */
.page-gdpr__commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0 auto;
}

.page-gdpr__commitment-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly lighter background for cards */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
}

.page-gdpr__commitment-image {
  max-width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-gdpr__commitment-heading {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #ffffff;
}

/* Data List */
.page-gdpr__data-list,
.page-gdpr__data-usage-list,
.page-gdpr__sharing-list,
.page-gdpr__contact-list {
  list-style-type: disc;
  margin: 20px auto;
  padding-left: 40px;
  max-width: 900px;
  color: inherit;
}

.page-gdpr__data-item,
.page-gdpr__data-usage-item,
.page-gdpr__sharing-item,
.page-gdpr__contact-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-gdpr__data-item strong {
  color: #26A9E0; /* Brand color for emphasis on light background */
}

/* FAQ Section */
.page-gdpr__faq-container {
  max-width: 900px;
  margin: 40px auto;
}

.page-gdpr__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #ffffff;
  color: #333333;
  font-weight: bold;
  border-bottom: 1px solid #eee;
}

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

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

.page-gdpr__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.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: #555555;
  background-color: #f9f9f9;
}

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

/* Security Measures Section */
.page-gdpr__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0 auto;
}

.page-gdpr__security-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly lighter background for cards */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
}

.page-gdpr__security-image {
  max-width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-gdpr__security-heading {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #ffffff;
}

/* Contact Section */
.page-gdpr__contact-info {
  max-width: 900px;
  margin: 40px auto;
  text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.2em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    flex-direction: column;
    min-height: 400px;
  }
  .page-gdpr__hero-content {
    padding: 15px;
  }
  .page-gdpr__main-title {
    font-size: 1.8em;
    line-height: 1.3;
  }
  .page-gdpr__intro-text {
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__section {
    padding: 40px 15px;
  }
  .page-gdpr__content-area {
    padding: 20px 15px;
  }
  .page-gdpr__commitment-grid,
  .page-gdpr__security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }
  .page-gdpr__data-list,
  .page-gdpr__data-usage-list,
  .page-gdpr__sharing-list,
  .page-gdpr__contact-list {
    padding-left: 25px;
  }
  .page-gdpr__faq-question {
    padding: 15px 20px;
  }
  .page-gdpr__faq-question h3 {
    font-size: 1em;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 10px 20px;
  }

  /* Force responsive for images, videos, and containers */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__commitment-section,
  .page-gdpr__how-we-use-data-section,
  .page-gdpr__faq-section,
  .page-gdpr__security-measures-section,
  .page-gdpr__data-sharing-section,
  .page-gdpr__contact-section,
  .page-gdpr__commitment-grid,
  .page-gdpr__security-grid,
  .page-gdpr__faq-container,
  .page-gdpr__contact-info {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }

  /* Buttons responsive */
  .page-gdpr__btn-primary,
  .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-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }
}