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

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  overflow: hidden;
  background-color: #0a0a0a; /* Ensure dark background for hero */
}

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

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

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

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

.page-gdpr__intro-text {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* General Content Sections */
.page-gdpr__content-area {
  padding: 60px 0;
}

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

.page-gdpr__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff; /* Light text for dark background */
}

.page-gdpr__dark-section {
  background-color: #26A9E0; /* Brand color as background */
  color: #ffffff; /* Light text for brand color background */
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  color: inherit; /* Inherit color from parent section */
}

.page-gdpr__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-gdpr__paragraph {
  margin-bottom: 15px;
  font-size: 1em;
  line-height: 1.7;
  color: inherit;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: inherit;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  line-height: 1.6;
  color: inherit;
}

/* Image and Text Grid */
.page-gdpr__image-text-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
  margin-bottom: 40px;
}

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

.page-gdpr__grid-image {
  flex: 1 1 40%;
  max-width: 500px;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__image-text-grid .page-gdpr__list {
  flex: 1 1 50%;
  margin-left: 0;
  padding-left: 25px;
}

/* Contact Info */
.page-gdpr__contact-info {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gdpr__contact-image {
  flex: 1 1 30%;
  max-width: 300px;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__contact-list {
  flex: 1 1 60%;
  margin-left: 0;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

.page-gdpr__btn-center {
  display: block;
  margin: 30px auto 0 auto;
  width: fit-content;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-gdpr__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1.1em;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 0.95em;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-gdpr__hero-content {
    margin-top: 10px;
  }
}

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

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

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

  .page-gdpr__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-gdpr__sub-title {
    font-size: clamp(1.2em, 5vw, 1.6em);
  }

  .page-gdpr__content-area {
    padding: 30px 0;
  }

  .page-gdpr__section-container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Image responsive for mobile */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__grid-image,
  .page-gdpr__contact-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-gdpr__image-text-grid,
  .page-gdpr__image-text-grid--reverse {
    flex-direction: column;
    gap: 20px;
  }

  .page-gdpr__grid-image,
  .page-gdpr__image-text-grid .page-gdpr__list {
    flex: 1 1 100%;
    padding-left: 0;
  }

  .page-gdpr__contact-info {
    flex-direction: column;
    gap: 20px;
  }

  .page-gdpr__contact-image,
  .page-gdpr__contact-list {
    flex: 1 1 100%;
  }

  /* Button responsive for mobile */
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__btn-center {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-section {
    padding: 30px 10px;
    padding-top: 10px !important;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }

  .page-gdpr__section-title {
    font-size: clamp(1.3em, 7vw, 1.8em);
  }

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

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