/* style/gdpr.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --bg-dark: #000;
  --bg-light: #f8f9fa;
  --card-bg-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-light); /* Default for dark body background */
  background-color: var(--bg-dark); /* Ensure consistency with body background */
}

/* Fixed navigation bar spacing */
.page-gdpr__hero-section {
  padding-top: 180px; /* Desktop: Adjust based on fixed nav height */
}

.page-gdpr__hero-section.page-gdpr__dark-bg {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: var(--text-color-light);
  text-align: center;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-gdpr__hero-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-gdpr__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-color-light);
}

.page-gdpr__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-gdpr__hero-image {
  max-width: 80%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
}

.page-gdpr__cta-button {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--text-color-dark);
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__cta-button:hover {
  background: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-button--center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

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

.page-gdpr__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-gdpr__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.page-gdpr__highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

/* Section Backgrounds and Text Colors */
.page-gdpr__dark-bg {
  background-color: var(--bg-dark);
  color: var(--text-color-light);
}

.page-gdpr__light-bg {
  background-color: var(--bg-light);
  color: var(--text-color-dark);
}

.page-gdpr__intro-section .page-gdpr__text-block {
  color: var(--text-color-dark);
}

.page-gdpr__intro-section .page-gdpr__section-title {
  color: var(--text-color-dark);
}

.page-gdpr__principles-section .page-gdpr__section-title {
  color: var(--text-color-light);
}

.page-gdpr__rights-section .page-gdpr__section-title {
  color: var(--text-color-dark);
}

.page-gdpr__compliance-section .page-gdpr__section-title {
  color: var(--text-color-light);
}

.page-gdpr__benefits-section .page-gdpr__section-title {
  color: var(--text-color-dark);
}

.page-gdpr__faq-section .page-gdpr__section-title {
  color: var(--text-color-light);
}

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

.page-gdpr__card {
  background: var(--card-bg-light);
  color: var(--text-color-dark);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-gdpr__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-gdpr__card-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color-dark);
}

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

.page-gdpr__list-item {
  font-size: 18px;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: inherit; /* Inherit from parent section */
}

.page-gdpr__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 20px;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__image--left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
  max-width: 45%;
}

.page-gdpr__image--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
  max-width: 45%;
}

/* FAQ Styles */
.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: var(--text-color-dark);
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-bg-light);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-gdpr__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-gdpr__faq-question:active {
  background: #eeeeee;
}

.page-gdpr__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-color-dark);
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 40px;
  }
  .page-gdpr__section-title {
    font-size: 32px;
  }
  .page-gdpr__image--left, .page-gdpr__image--right {
    float: none;
    margin: 30px auto;
    max-width: 80%;
    display: block;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: 140px !important; /* Mobile: Adjust based on fixed nav height */
    padding-bottom: 60px;
  }
  .page-gdpr__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-gdpr__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-gdpr__section {
    padding: 40px 0;
  }
  .page-gdpr__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-gdpr__text-block, .page-gdpr__card-text, .page-gdpr__list-item {
    font-size: 15px;
  }
  .page-gdpr__card-title {
    font-size: 20px;
  }
  .page-gdpr__grid {
    gap: 20px;
  }
  .page-gdpr__card {
    padding: 25px;
  }
  .page-gdpr__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-gdpr__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-gdpr__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-gdpr__faq-answer {
    padding: 0 15px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px !important;
  }
  
  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__image--left, .page-gdpr__image--right {
    margin: 20px auto;
    max-width: 100%;
  }
}