/* style/gdpr.css */

/* Global styles for .page-gdpr scope */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body handles background color */
}

/* Container for content sections */
.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-gdpr__content-section {
  padding: 60px 0;
}

.page-gdpr__dark-bg {
  background-color: #0a0a0a; /* Ensure dark background for sections */
  color: #ffffff;
}

.page-gdpr__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px; /* Small top padding, larger bottom for content */
  background-color: #0a0a0a;
  overflow: hidden;
}

.page-gdpr__hero-content-wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  gap: 30px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  max-width: 1200px;
  border-radius: 10px;
  object-fit: cover;
}

.page-gdpr__hero-text-content {
  text-align: center;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  color: #26A9E0; /* Brand color for H1 */
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__subtitle {
  font-size: 1.15em;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  background-color: #cc6a06;
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Section titles */
.page-gdpr__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
}

/* Text blocks */
.page-gdpr__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  color: #e0e0e0;
  margin-bottom: 20px;
  text-align: justify;
}

.page-gdpr__text-block:last-child {
  margin-bottom: 0;
}

/* Lists */
.page-gdpr__list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  font-size: 1.05em;
  line-height: 1.7;
  color: #e0e0e0;
  margin-bottom: 10px;
}

.page-gdpr__list-item strong {
  color: #26A9E0;
}

/* Content images */
.page-gdpr__content-image {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

/* Feature grid */
.page-gdpr__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-gdpr__feature-card {
  background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-height: 200px;
}

.page-gdpr__card-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-gdpr__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
}

/* Video Section */
.page-gdpr__video-section {
  padding: 60px 0;
  background-color: #0a0a0a;
  text-align: center;
}

.page-gdpr__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px; /* Max width for video */
  margin: 40px auto 0;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-gdpr__video-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-gdpr__video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

/* Inline links */
.page-gdpr__inline-link {
  color: #26A9E0;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__inline-link:hover {
  color: #1e87b6;
}


/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  border-bottom: none;
}

.page-gdpr__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
}

/* Details element specific styles */
.page-gdpr__faq-item summary {
  list-style: none; /* Remove default marker */
}
.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for WebKit browsers */
}

/* CTA Section */
.page-gdpr__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0a0a0a;
}

.page-gdpr__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-image {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__hero-section {
    padding: 10px 0 40px;
  }

  .page-gdpr__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-gdpr__subtitle {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Adjust max-width for mobile buttons */
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .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: 12px 20px;
    font-size: 1em;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__card-text {
    font-size: 0.95em;
  }

  .page-gdpr__content-section,
  .page-gdpr__video-section,
  .page-gdpr__faq-section,
  .page-gdpr__cta-section {
    padding: 40px 0;
  }

  /* Images responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px; /* Maintain minimum size */
    min-height: 200px;
  }
  
  /* All containing elements for images/videos/buttons */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-content-wrapper,
  .page-gdpr__video-wrapper,
  .page-gdpr__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent content overflow */
  }

  /* Video responsive */
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px;
    min-height: 200px;
  }

  /* Video wrapper mobile padding adjustment */
  .page-gdpr__video-section {
    padding-top: 10px !important; /* body already handles header offset */
  }

  .page-gdpr__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-gdpr__faq-answer {
    padding: 0 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__feature-grid {
    grid-template-columns: 1fr;
  }
}