/* style/gdpr.css */

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000;
  --bg-light: #f8f8f8;
  --border-color: #e0e0e0;
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--bg-dark); /* Inherited from shared.css, just for clarity */
  padding-top: 10px; /* Default desktop padding to clear fixed header */
}

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

.page-gdpr__section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
  line-height: 1.3;
}

.page-gdpr__dark-bg {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 60px 0;
}

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

.page-gdpr p {
  margin-bottom: 15px;
  font-size: 16px;
}

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

.page-gdpr__list li {
  margin-bottom: 10px;
  font-size: 16px;
  color: inherit;
}

.page-gdpr__contact-info {
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 10px;
  color: inherit;
}

/* Video Section */
.page-gdpr__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop: Adjust according to fixed header height */
  background-color: var(--bg-dark);
}

.page-gdpr__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-gdpr__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.page-gdpr__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.page-gdpr__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Prevents video controls from blocking click event on parent <a> */
}

.page-gdpr__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-gdpr__video-link:hover .page-gdpr__video-overlay {
  opacity: 1;
}

.page-gdpr__video-click-hint {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(255, 215, 0, 0.8);
  border-radius: 5px;
  white-space: nowrap;
}

.page-gdpr__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-gdpr__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-gdpr__play-now-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.3);
}

.page-gdpr__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.15);
}

/* Title Section */
.page-gdpr__title-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--secondary-color), var(--bg-dark));
  color: var(--text-light);
  padding-top: 10px; /* Adjust if first section after header */
}

.page-gdpr__main-title {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--primary-color);
  line-height: 1.2;
}

.page-gdpr__title-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

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

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
  white-space: nowrap;
}

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

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__faq-question:hover {
  background: #9a0000;
  border-color: #b00000;
}

.page-gdpr__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none; /* Prevents h3 from blocking click event */
}

.page-gdpr__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevents icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

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

.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 25px;
  opacity: 0;
  background: #1a1a1a;
  border-radius: 0 0 8px 8px;
  color: #cccccc;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important; /* Ensure enough space for content */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-gdpr__faq-answer p {
  margin-bottom: 10px;
  color: inherit;
}

/* Brand Section */
.page-gdpr__brand-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-gdpr__brand-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__brand-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  flex: 1 1 300px;
  max-width: 380px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-gdpr__brand-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-gdpr__brand-item h3 {
  font-size: 24px;
  color: var(--secondary-color);
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-gdpr__brand-item p {
  font-size: 15px;
  color: #555555;
}

.page-gdpr__brand-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
  object-fit: cover;
}

/* Blog Section */
.page-gdpr__blog-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-gdpr__blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-gdpr__blog-item {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-gdpr__blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-gdpr__blog-item-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-gdpr__blog-item-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin: 15px 20px 10px;
  line-height: 1.3;
}

.page-gdpr__blog-item-excerpt {
  font-size: 15px;
  color: #cccccc;
  margin: 0 20px 15px;
  min-height: 60px;
}

.page-gdpr__blog-item-date {
  display: block;
  font-size: 13px;
  color: #888888;
  margin: 0 20px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 40px;
  }
  .page-gdpr__section-title {
    font-size: 28px;
  }
  .page-gdpr__faq-question h3 {
    font-size: 17px;
  }
  .page-gdpr__faq-toggle {
    font-size: 26px;
    width: 30px;
    height: 30px;
  }
  .page-gdpr__brand-item {
    flex: 1 1 300px;
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
    padding-top: 10px !important; /* Mobile: Adjust according to fixed header height */
  }
  .page-gdpr__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-gdpr__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-gdpr__main-title {
    font-size: 32px;
  }
  .page-gdpr__title-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-gdpr__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  /* Video Section Mobile */
  .page-gdpr__video-section {
    padding-top: 10px !important; /* Mobile: Adjust according to fixed header height */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-gdpr__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  
  .page-gdpr__video-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 4px;
    overflow: hidden !important;
  }
  
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 4px;
    object-fit: contain; 
  }
  
  .page-gdpr__video-cta {
    margin-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .page-gdpr__play-now-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-gdpr__video-click-hint {
    font-size: 14px !important;
    padding: 8px 16px !important;
  }

  /* FAQ Mobile */
  .page-gdpr__faq-question {
    padding: 15px;
    flex-wrap: wrap;
    border-radius: 5px;
  }
  .page-gdpr__faq-question h3 {
    font-size: 15px;
    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;
    border-radius: 0 0 5px 5px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px !important;
  }

  /* Brand Section Mobile */
  .page-gdpr__brand-content {
    flex-direction: column;
    align-items: center;
  }
  .page-gdpr__brand-item {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    padding: 20px;
  }
  .page-gdpr__brand-image {
    max-width: 180px;
  }
  
  /* Blog Section Mobile */
  .page-gdpr__blog-list {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-gdpr__blog-item-image {
    height: 180px;
  }
  .page-gdpr__blog-item-title {
    font-size: 18px;
  }
  .page-gdpr__blog-item-excerpt {
    font-size: 14px;
  }

  /* Global image/video responsiveness for mobile */
  .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__title-section,
  .page-gdpr__faq-section,
  .page-gdpr__brand-section,
  .page-gdpr__blog-section,
  .page-gdpr__blog-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}