/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light background */
  background-color: #FFFFFF; /* Default body background is white */
}

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

.page-gdpr__section {
  padding: 60px 0;
  border-bottom: 1px solid #e0e0e0;
}

.page-gdpr__section:last-of-type {
  border-bottom: none;
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 2.5vw, 2.5em);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

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

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

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
}

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(38, 169, 224, 0.85); /* Semi-transparent background for text */
  margin-top: -100px; /* Overlap slightly with image for visual appeal, but not cover image */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

/* CTA Buttons */
.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.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, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

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

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

.page-gdpr__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: left;
  transition: transform 0.3s ease;
  color: #333333;
}

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

.page-gdpr__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-gdpr__card-text {
  font-size: 1em;
  line-height: 1.5;
}

/* Rights Section */
.page-gdpr__rights-list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
}

.page-gdpr__list-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 1.1em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-gdpr__list-item strong {
  color: #26A9E0;
}

/* Security Section */
.page-gdpr__security-section {
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-gdpr__security-section .page-gdpr__section-title {
  color: #ffffff;
}

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

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

.page-gdpr__security-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-gdpr__security-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__security-text {
  font-size: 1em;
  line-height: 1.5;
}

/* Request Process Section */
.page-gdpr__request-process {
  background-color: #f8f8f8;
}

.page-gdpr__process-list {
  list-style: decimal;
  padding-left: 25px;
  margin-top: 30px;
}

.page-gdpr__process-list .page-gdpr__list-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 1.1em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-gdpr__process-list .page-gdpr__list-item strong {
  color: #26A9E0;
}

/* Contact Section */
.page-gdpr__contact-section {
  background-color: #000000; /* Use black for contact section */
  color: #ffffff;
  text-align: center;
}

.page-gdpr__contact-section .page-gdpr__section-title {
  color: #ffffff;
}

.page-gdpr__contact-info {
  margin-top: 40px;
  line-height: 1.8;
}

.page-gdpr__contact-item {
  font-size: 1.2em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-gdpr__contact-text {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-gdpr__contact-link {
  color: #EA7C07;
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__contact-link:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: #f8f8f8;
}

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

.page-gdpr__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  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: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  outline: none;
  list-style: none;
}

.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;
  line-height: 1;
  margin-left: 15px;
  color: #EA7C07;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1em;
  color: #333333;
  text-align: justify;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr__hero-content {
    margin-top: -80px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
  }

  .page-gdpr__hero-description {
    font-size: 1.1em;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.6em, 2.8vw, 2.2em);
  }

  .page-gdpr__card-image,
  .page-gdpr__security-image {
    height: 160px;
  }
}

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

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

  .page-gdpr__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.6em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-gdpr__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-gdpr__container {
    padding: 0 15px;
  }

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

  .page-gdpr__card,
  .page-gdpr__security-item {
    padding: 20px;
  }

  .page-gdpr__card-image,
  .page-gdpr__security-image {
    height: 150px;
  }

  .page-gdpr__list-item {
    padding: 12px 15px;
    font-size: 1em;
  }

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

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

  /* 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-section,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__hero-content,
  .page-gdpr__grid-container,
  .page-gdpr__security-grid,
  .page-gdpr__faq-list,
  .page-gdpr__contact-info {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  
  .page-gdpr__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-gdpr__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

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

  /* 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;
  }
}

/* Dark background for sections that need it */
.page-gdpr__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-gdpr__dark-bg .page-gdpr__section-title {
  color: #ffffff;
}

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

/* Specific override for contact section background */
.page-gdpr__contact-section.page-gdpr__dark-bg {
  background-color: #000000; /* Black background for contact */
}