/* style/gdpr.css */

/* --- Base Styles --- */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Assuming body background is black from shared.css */
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  text-align: justify;
}

/* --- Buttons --- */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

.page-gdpr__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #017439; /* Brand primary color */
  border: 2px solid #017439;
}

.page-gdpr__btn-secondary:hover {
  background-color: #017439;
  color: #FFFFFF;
}

.page-gdpr__card-link,
.page-gdpr__faq-link {
  color: #017439; /* Brand primary color for links */
  text-decoration: underline;
}

.page-gdpr__card-link:hover,
.page-gdpr__faq-link:hover {
  color: #00a040; /* Slightly lighter green for hover */
}

/* --- Hero Section --- */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 80px 20px 40px;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  overflow: hidden;
  text-align: center;
  background-color: #000000;
}

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3; /* Slightly transparent to allow text to stand out */
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: #FFFFFF;
}

.page-gdpr__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-gdpr__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-content .page-gdpr__btn-primary {
  font-size: 1.2em;
  padding: 15px 35px;
}

/* --- Introduction Section --- */
.page-gdpr__introduction-section {
  padding: 60px 0;
}

/* --- What is GDPR Section --- */
.page-gdpr__what-is-gdpr-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
}

.page-gdpr__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-gdpr__content-grid--reverse {
  grid-template-columns: 1fr 1fr; /* Reset for desktop */
}

.page-gdpr__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* --- Principles Section --- */
.page-gdpr__principles-section {
  padding: 60px 0;
}

.page-gdpr__principle-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-gdpr__principle-item {
  background-color: rgba(255, 255, 255, 0.05); /* Light transparent white for dark background */
  padding: 25px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__principle-title {
  font-size: 1.5em;
  color: #017439; /* Brand primary color */
  margin-bottom: 10px;
}

.page-gdpr__principle-description {
  font-size: 1em;
  color: #cccccc;
}

/* --- Rights Section --- */
.page-gdpr__rights-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
}

.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
}

.page-gdpr__rights-item {
  margin-bottom: 25px;
  padding-left: 20px;
  position: relative;
}

.page-gdpr__rights-item::before {
  content: '✓';
  color: #017439; /* Brand primary color */
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-gdpr__rights-title {
  font-size: 1.4em;
  color: #FFFFFF;
  margin-bottom: 5px;
}

.page-gdpr__rights-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* --- Implementation Section --- */
.page-gdpr__implementation-section {
  padding: 60px 0;
}

.page-gdpr__implementation-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-gdpr__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly more transparent white */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

.page-gdpr__card-title {
  font-size: 1.6em;
  color: #017439; /* Brand primary color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__card-description {
  font-size: 1em;
  color: #cccccc;
}

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

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

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

.page-gdpr__faq-item summary {
  list-style: none; /* Hide default marker */
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-gdpr__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
  color: #017439; /* Brand primary color */
}

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

.page-gdpr__faq-answer {
  padding: 20px 25px;
  font-size: 1.1em;
  color: #cccccc;
  background-color: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.page-gdpr__cta-section .page-gdpr__section-title {
  color: #FFFFFF;
}

.page-gdpr__cta-section .page-gdpr__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

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

/* --- Dark Background Handling (Smart Contrast) --- */
.page-gdpr__dark-section {
  background-color: #000000; /* Ensuring dark background */
  color: #ffffff; /* Light text for dark background */
}

/* --- Image specific styles --- */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 3em;
  }
  .page-gdpr__hero-description {
    font-size: 1.1em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-gdpr__content-grid--reverse {
    grid-template-columns: 1fr;
  }
  .page-gdpr__content-grid--reverse .page-gdpr__image-wrapper {
    order: -1; /* Image first on mobile for reverse grid */
  }
  .page-gdpr__principle-list,
  .page-gdpr__implementation-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Fixed header spacing for mobile */
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-gdpr__hero-title {
    font-size: 2.5em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile video responsiveness - if any */
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-gdpr__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }


  /* Mobile button responsiveness */
  .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-left: 15px;
    padding-right: 15px;
  }
  
  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr__container,
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-gdpr__faq-answer {
    padding: 15px 20px;
    font-size: 1em;
  }
}

/* Image content area CSS size lower bound */
.page-gdpr__content-area img,
.page-gdpr__what-is-gdpr-section img,
.page-gdpr__rights-section img {
  min-width: 200px;
  min-height: 200px;
}
@media (max-width: 768px) {
  .page-gdpr__content-area img,
  .page-gdpr__what-is-gdpr-section img,
  .page-gdpr__rights-section img {
    min-width: unset; /* Allow it to scale down on mobile if needed, but max-width 100% will handle it */
    min-height: unset;
  }
}

/* Contrast fix if needed */
.page-gdpr__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-gdpr__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}