/* style/gdpr.css */

/* Base styles for page-gdpr */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text for light body background */
  line-height: 1.6;
  font-size: 16px;
}

/* Section spacing and general layout */
.page-gdpr__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-gdpr__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Hero Section */
.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  padding-bottom: 60px;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-gdpr__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Buttons */
.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-gdpr__cta-buttons--center {
  margin-top: 40px;
}

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

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

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

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

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

.page-gdpr__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87bb;
  border-color: #1e87bb;
}

/* General content styles */
.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit from section for contrast */
}

.page-gdpr__paragraph {
  font-size: 1rem;
  margin-bottom: 20px;
  color: inherit;
}

/* Principles Section */
.page-gdpr__principles-section {
  text-align: center;
}

.page-gdpr__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-gdpr__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-gdpr__card-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-gdpr__card-text {
  font-size: 0.95rem;
  color: #f0f0f0;
}

/* Rights Section */
.page-gdpr__rights-section {
  text-align: left;
}

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

.page-gdpr__rights-item {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__rights-item-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-gdpr__rights-item-text {
  font-size: 0.95rem;
  color: #555555;
}

/* Security Section */
.page-gdpr__security-section {
  text-align: center;
}

.page-gdpr__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-gdpr__security-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-gdpr__security-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-gdpr__security-item-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-gdpr__security-item-text {
  font-size: 0.95rem;
  color: #f0f0f0;
}

/* Process Section */
.page-gdpr__process-section {
  text-align: center;
}

.page-gdpr__process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__process-step {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-gdpr__process-step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-gdpr__process-step-text {
  font-size: 1rem;
  color: #555555;
}

/* FAQ Section */
.page-gdpr__faq-section {
  text-align: left;
}

.page-gdpr__faq-list {
  margin-top: 30px;
}

.page-gdpr__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-gdpr__faq-item details > summary {
  list-style: none;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  border-bottom: 1px solid #eeeeee;
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  background-color: #e0f2f7;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
  color: #26A9E0;
}

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

.page-gdpr__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: #555555;
  background-color: #ffffff;
  border-radius: 0 0 8px 8px;
}

/* Call to Action Section */
.page-gdpr__call-to-action-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
  border-radius: 10px;
  padding: 50px;
}

.page-gdpr__cta-content {
  flex: 1;
}

.page-gdpr__cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-gdpr__cta-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-gdpr__cta-image-wrapper {
  flex: 0 0 400px;
  max-width: 400px;
}

.page-gdpr__cta-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr__principles-section .page-gdpr__grid-container,
  .page-gdpr__security-section .page-gdpr__security-grid,
  .page-gdpr__rights-list,
  .page-gdpr__process-steps {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-gdpr__call-to-action-section {
    flex-direction: column;
    text-align: center;
  }

  .page-gdpr__cta-image-wrapper {
    margin-top: 40px;
    max-width: 100%;
    flex: none;
  }
}

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

  .page-gdpr__section {
    padding: 40px 15px;
  }

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

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-gdpr__description {
    font-size: 1rem;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    margin-bottom: 20px;
  }

  .page-gdpr__card-title {
    font-size: 1.2rem;
  }

  .page-gdpr__rights-item-title {
    font-size: 1.1rem;
  }

  .page-gdpr__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

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

  .page-gdpr__cta-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .page-gdpr__cta-description {
    font-size: 1rem;
  }

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

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__grid-container,
  .page-gdpr__security-grid,
  .page-gdpr__rights-list,
  .page-gdpr__process-steps,
  .page-gdpr__faq-list,
  .page-gdpr__call-to-action-section,
  .page-gdpr__cta-content,
  .page-gdpr__cta-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-gdpr__hero-content {
    padding: 0 15px;
  }

  .page-gdpr__call-to-action-section {
    padding: 30px 15px;
  }

  .page-gdpr__process-step {
    padding: 20px;
  }

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

/* Ensure content area images are at least 200px display size on desktop */
.page-gdpr__card-image,
.page-gdpr__security-icon,
.page-gdpr__cta-image {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* No CSS filters for images */
.page-gdpr img {
  filter: none; /* Ensure no filters are applied */
}