/* style/gdpr.css */

:root {
  --primary-color: #1E3A8A;
  --secondary-color: #F59E0B;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark: #0a0a0a;
  --bg-light: #f8f9fa;
  --border-light: #e0e0e0;
}

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  color: var(--text-light); /* Default text color for the main container due to dark body background */
  /* 🚨 Desktop padding-top for fixed header */
  padding-top: 120px;
}

.page-gdpr__intro-section,
.page-gdpr__commitment-section,
.page-gdpr__data-collection-section,
.page-gdpr__updates-section,
.page-gdpr__contact-section {
  padding: 60px 40px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__third-party-links-section,
.page-gdpr__faq-section {
  padding: 60px 40px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Background and text color for sections */
.page-gdpr__dark-bg-section {
  background: var(--primary-color);
  color: var(--text-light);
}

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

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

.page-gdpr__intro-text {
  font-size: 1.2em;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__intro-image,
.page-gdpr__commitment-image,
.page-gdpr__rights-image,
.page-gdpr__contact-image,
.page-gdpr__faq-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-gdpr__light-bg-section .page-gdpr__section-title {
  color: var(--primary-color);
}

.page-gdpr__dark-bg-section .page-gdpr__section-title {
  color: var(--secondary-color);
}

.page-gdpr__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__link {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: var(--text-light);
}

.page-gdpr__light-bg-section .page-gdpr__link {
  color: var(--primary-color);
}

.page-gdpr__light-bg-section .page-gdpr__link:hover {
  color: var(--secondary-color);
}

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

.page-gdpr__light-bg-section .page-gdpr__keyword {
  color: var(--primary-color);
}

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

.page-gdpr__principle-card,
.page-gdpr__data-card {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
}

.page-gdpr__principle-card .page-gdpr__card-title,
.page-gdpr__data-card .page-gdpr__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-gdpr__principle-card p,
.page-gdpr__data-card p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-dark);
}

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

.page-gdpr__commitment-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  text-align: left;
  color: var(--text-light);
}

.page-gdpr__commitment-item h3 {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-gdpr__commitment-item p {
  font-size: 1em;
  line-height: 1.6;
}

.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__rights-list li {
  background: var(--bg-light);
  padding: 25px 30px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
}

.page-gdpr__rights-list li h3 {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-gdpr__rights-list li p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-dark);
}

.page-gdpr__rights-callout {
  font-size: 1.1em;
  line-height: 1.7;
  margin-top: 30px;
  font-style: italic;
  color: var(--text-dark);
}

/* FAQ Styles */
.page-gdpr__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.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;
}

.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: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-dark);
}

.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: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
}

.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: #333;
}

.page-gdpr__contact-section {
  margin-top: 30px;
}

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

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

.page-gdpr__contact-info {
  margin-top: 20px;
  font-size: 1.1em;
}

/* 🚨 Responsive Design for all images and containers */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 20px 15px !important;
    /* 🚨 Mobile padding-top for fixed header */
    padding-top: 100px !important;
  }

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

  .page-gdpr__intro-text {
    font-size: 1em;
  }

  .page-gdpr__intro-section,
  .page-gdpr__principles-section,
  .page-gdpr__commitment-section,
  .page-gdpr__rights-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__third-party-links-section,
  .page-gdpr__updates-section,
  .page-gdpr__faq-section,
  .page-gdpr__contact-section {
    padding: 30px 20px;
    margin-bottom: 20px;
  }

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

  .page-gdpr__section-description {
    font-size: 0.95em;
  }

  .page-gdpr__principles-grid,
  .page-gdpr__data-collection-grid,
  .page-gdpr__commitment-points {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__principle-card,
  .page-gdpr__data-card,
  .page-gdpr__commitment-item,
  .page-gdpr__rights-list li {
    padding: 20px;
  }

  .page-gdpr__principle-card .page-gdpr__card-title,
  .page-gdpr__data-card .page-gdpr__card-title,
  .page-gdpr__commitment-item h3,
  .page-gdpr__rights-list li h3 {
    font-size: 1.2em;
  }

  .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;
  }

  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  
  /* 🚨 Ensure all images and their containers are responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__intro-section,
  .page-gdpr__principles-section,
  .page-gdpr__commitment-section,
  .page-gdpr__rights-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__third-party-links-section,
  .page-gdpr__updates-section,
  .page-gdpr__faq-section,
  .page-gdpr__contact-section,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}