/* style/gdpr.css */

/* Base Styles */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for the main content area, assuming a dark body background */
  background-color: transparent; /* Main content background will be handled by sections */
}

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

.page-gdpr__dark-bg {
  background-color: #017439; /* Primary brand color for dark sections */
  color: #ffffff;
}

.page-gdpr__light-bg {
  background-color: #ffffff; /* White background for light sections */
  color: #333333;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
}

.page-gdpr__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-gdpr__description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

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

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

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

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #C30808;
  color: #ffffff;
}

/* Content Sections */
.page-gdpr__content-section,
.page-gdpr__data-collection-section,
.page-gdpr__data-usage-section,
.page-gdpr__rights-section,
.page-gdpr__sharing-security-section,
.page-gdpr__cookie-contact-section,
.page-gdpr__updates-faq-section {
  padding: 80px 0;
}

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

.page-gdpr__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
}

.page-gdpr__inline-link {
  color: #007bff; /* Standard link color */
  text-decoration: underline;
}

.page-gdpr__inline-link:hover {
  color: #0056b3;
}

/* Image Styles */
.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__feature-card,
.page-gdpr__right-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-gdpr__feature-card:hover,
.page-gdpr__right-card:hover {
  transform: translateY(-5px);
}

.page-gdpr__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439; /* Dark text on light background */
}

.page-gdpr__feature-card .page-gdpr__card-text,
.page-gdpr__right-card .page-gdpr__card-text {
  color: #333333;
}

/* Flex Content for two columns */
.page-gdpr__flex-content {
  display: flex;
  gap: 40px;
}

.page-gdpr__column {
  flex: 1;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 30px;
}

.page-gdpr__faq-item {
  background-color: #f9f9f9; /* Light background for FAQ items */
  color: #333333;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  outline: none;
  list-style: none; /* Hide default marker */
  color: #017439; /* Dark text for question */
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Rotate '+' to 'x' or similar */
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1.1em;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__flex-content {
    flex-direction: column;
  }
  .page-gdpr__features-grid,
  .page-gdpr__rights-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-gdpr__main-title {
    font-size: 2em;
  }
  .page-gdpr__description,
  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__faq-answer {
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__sub-title {
    font-size: 1.5em;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr__image {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-gdpr__content-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__data-usage-section,
  .page-gdpr__rights-section,
  .page-gdpr__sharing-security-section,
  .page-gdpr__cookie-contact-section,
  .page-gdpr__updates-faq-section {
    padding: 40px 0;
  }
  .page-gdpr__faq-item summary {
    font-size: 1.1em;
    padding: 15px;
  }
  /* Ensure all containers containing images/buttons/videos are responsive */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__flex-content,
  .page-gdpr__column {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-gdpr__video-section { /* If a video section was added, ensure its padding-top is set */
    padding-top: var(--header-offset, 120px) !important;
  }
}

/* Ensure content area images are not scaled down below 200px by CSS */
.page-gdpr img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensure images fill their space without distortion */
}

@media (max-width: 768px) {
  .page-gdpr img {
    min-width: unset !important; /* Allow images to scale down on mobile */
    min-height: unset !important;
  }
}