/* style/gdpr.css */

/* Base styles for GDPR page content, ensuring contrast with body background #f5f5f5 */
.page-gdpr {
  color: #333333; /* Deep gray for readability on light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #1A202C; /* Dark background for this section */
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  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 {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
}

.page-gdpr__intro-paragraph {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* General Content Area */
.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-gdpr__heading {
  font-weight: bold;
  margin-bottom: 25px;
  color: #1A202C; /* Dark color for headings on light background */
}

.page-gdpr__heading--white {
  color: #FFD700;
}

.page-gdpr__sub-heading {
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #1A202C;
}

.page-gdpr__sub-heading--white {
  color: #f0f0f0;
}

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

.page-gdpr__paragraph--white {
  color: #f0f0f0;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-gdpr__list--white {
  color: #f0f0f0;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  color: #333333;
}

.page-gdpr__list-item--white {
  color: #f0f0f0;
}

.page-gdpr__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__image-center {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__image-with-text {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.page-gdpr__image-left {
  flex: 1 1 40%; /* Adjust as needed */
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__text-content {
  flex: 1 1 50%; /* Adjust as needed */
}

/* Grid Container for Principles */
.page-gdpr__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-gdpr__card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  color: #333333;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-gdpr__card-title {
  font-weight: bold;
  margin-bottom: 10px;
  color: #1A202C;
}

.page-gdpr__card-text {
  font-size: 0.95em;
  line-height: 1.5;
}

/* Call to Action Buttons */
.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-gdpr__cta-buttons--center {
  justify-content: center;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background-color: #FFD700;
  color: #1A202C; /* Dark text on gold button for contrast */
  border: 2px solid #FFD700;
}

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

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text on dark background for hero, or gold text on light background */
  border: 2px solid #FFD700;
}

.page-gdpr__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

/* Dark sections for alternating content */
.page-gdpr__dark-section {
  background-color: #1A202C;
  color: #f0f0f0;
}

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

.page-gdpr__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

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

.page-gdpr__faq-title {
  margin: 0;
  font-size: 1.1em;
  color: #1A202C;
}

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

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

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

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure priority */
  padding: 15px 25px 25px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.2em;
  }
  .page-gdpr__heading {
    font-size: 1.8em;
  }
  .page-gdpr__sub-heading {
    font-size: 1.3em;
  }
  .page-gdpr__image-left {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .page-gdpr__text-content {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__heading {
    font-size: 1.5em;
  }
  .page-gdpr__sub-heading {
    font-size: 1.2em;
  }
  .page-gdpr__intro-paragraph {
    font-size: 1em;
  }
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-gdpr__content-area {
    padding: 30px 15px;
  }
  .page-gdpr__grid-container {
    grid-template-columns: 1fr;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__faq-question,
  .page-gdpr__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.5em;
  }
  .page-gdpr__heading {
    font-size: 1.3em;
  }
  .page-gdpr__sub-heading {
    font-size: 1.1em;
  }
  .page-gdpr__faq-title {
    font-size: 1em;
  }
}