/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #f8f8f8); /* Inherit from shared or fallback to light gray */
}

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

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height to prevent overly tall hero */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
  background-color: #ffffff; /* White background for text for readability */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-50px); /* Lift content slightly over image bottom */
  position: relative;
  z-index: 1;
  color: #333333;
}

.page-gdpr__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 20px;
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

/* General Content Area */
.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff; /* Explicit white background for content for contrast */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transform: translateY(-50px); /* Align with hero content */
  position: relative;
  z-index: 0;
  margin-bottom: -50px; /* Offset the transform */
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 600;
}

.page-gdpr__section-title--cta {
  color: #ffffff;
  margin-top: 0;
}

.page-gdpr__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-gdpr__text-block--cta {
  color: #ffffff;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__image-text-block {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.page-gdpr__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-gdpr__content-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__rights-list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-gdpr__rights-list li {
  margin-bottom: 10px;
}

.page-gdpr__security-measures {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-gdpr__security-measures li {
  margin-bottom: 10px;
}

/* Cards */
.page-gdpr__card {
  background: #ffffff; /* White background for cards */
  color: #333333;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

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

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-gdpr__faq-item summary {
  list-style: none; /* Hide default marker */
}

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

.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: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

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

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

.page-gdpr__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  background-color: #ffffff;
}

/* Contact Info */
.page-gdpr__contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gdpr__contact-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-gdpr__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-gdpr__link {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  text-decoration: underline;
  color: #1a7fb2;
}

/* CTA Section */
.page-gdpr__cta-section {
  background-color: #26A9E0; /* Brand color background */
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
  margin-top: 40px;
  border-radius: 8px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.page-gdpr__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  z-index: 0;
}

.page-gdpr__cta-section > * {
  position: relative;
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    transform: translateY(-30px);
  }
  .page-gdpr__content-area {
    transform: translateY(-30px);
    margin-bottom: -30px;
  }
  .page-gdpr__image-text-block {
    flex-direction: column;
    text-align: center;
  }
  .page-gdpr__image-text-block--reverse {
    flex-direction: column;
  }
  .page-gdpr__content-image {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__hero-content {
    padding: 30px 15px;
    transform: translateY(-20px);
  }
  .page-gdpr__content-area {
    padding: 30px 15px;
    transform: translateY(-20px);
    margin-bottom: -20px;
  }
  .page-gdpr__principles-grid {
    grid-template-columns: 1fr;
  }
  .page-gdpr__faq-question,
  .page-gdpr__faq-answer {
    padding: 15px 20px;
  }
  .page-gdpr__contact-info {
    padding: 30px 15px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-primary--large {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 10px; /* Add some spacing for stacked buttons */
  }
  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__image-text-block,
  .page-gdpr__contact-info,
  .page-gdpr__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-gdpr__content-image {
    max-width: 100%; /* Ensure content images are full width on mobile */
    flex: none;
  }
}