/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Body background is dark */
}

/* Ensure padding-top for fixed header offset */
.page-gdpr__hero-section {
  padding-top: var(--header-offset, 120px); /* Apply header offset */
}

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

/* Sections */
.page-gdpr__hero-section {
  position: relative;
  padding-bottom: 60px; /* Adjust as needed */
  text-align: center;
}

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

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

.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__data-processing-section,
.page-gdpr__contact-section,
.page-gdpr__faq-section,
.page-gdpr__cta-final-section {
  padding: 80px 0;
}

/* Titles */
.page-gdpr__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for main title */
  line-height: 1.2;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  color: #26A9E0; /* Brand color for section titles */
}

.page-gdpr__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for card titles */
}

/* Text blocks */
.page-gdpr__intro-text,
.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__text-block--small {
  font-size: 0.9em;
}

.page-gdpr__keyword-highlight {
  font-weight: bold;
  color: #26A9E0; /* Highlight keywords with brand color */
}

/* Links */
.page-gdpr__link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: #1a7bbd; /* Darker shade on hover */
}

/* Buttons */
.page-gdpr__cta-group {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial for responsive buttons */
  max-width: 100%;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

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

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

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

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

.page-gdpr__btn-primary--large {
  font-size: 1.2em;
  padding: 18px 35px;
}

/* Grid layout for cards */
.page-gdpr__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* Card background based on section */
.page-gdpr__principles-section .page-gdpr__card,
.page-gdpr__data-processing-section .page-gdpr__card {
  background-color: #f0f0f0; /* Light background for cards in light sections */
  color: #333333;
}

.page-gdpr__rights-section .page-gdpr__card,
.page-gdpr__contact-section .page-gdpr__card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards in dark sections */
  color: #ffffff;
}


.page-gdpr__card:hover {
  transform: translateY(-5px);
}

/* Lists */
.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-gdpr__list-item {
  background-color: rgba(255, 255, 255, 0.1); /* Light background for list items in dark sections */
  color: #ffffff;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-gdpr__rights-section .page-gdpr__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: bold;
  cursor: pointer;
  background-color: #e8e8e8;
  color: #333333;
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for details summary */
}

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

.page-gdpr__faq-question:hover {
  background-color: #e0e0e0;
}

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

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

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

.page-gdpr__faq-answer {
  padding: 15px 20px;
  font-size: 0.95em;
  color: #555555;
  background-color: #f8f8f8;
}

/* Images: Global responsive and size constraints */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure images cover their area */
}

.page-gdpr__hero-image-wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-gdpr__hero-image {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

/* Ensure content area images are not too small */
.page-gdpr__principles-section img,
.page-gdpr__data-processing-section img,
.page-gdpr__rights-section img,
.page-gdpr__contact-section img,
.page-gdpr__faq-section img,
.page-gdpr__cta-final-section img {
    min-width: 200px;
    min-height: 200px;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.8em;
  }

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

  .page-gdpr__card-title {
    font-size: 1.3em;
  }

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

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

  .page-gdpr__hero-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__data-processing-section,
  .page-gdpr__contact-section,
  .page-gdpr__faq-section,
  .page-gdpr__cta-final-section {
    padding: 60px 0;
  }

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

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

  .page-gdpr__grid {
    grid-template-columns: 1fr;
  }

  .page-gdpr__cta-group {
    flex-direction: column;
    gap: 15px;
  }
}