/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-gdpr__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.page-gdpr__dark-bg {
  background-color: #0a0a0a; /* Ensure sections have background if body is transparent */
  color: #ffffff;
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: bold;
  color: #26A9E0;
}

.page-gdpr__sub-title {
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
  color: #26A9E0;
}

.page-gdpr p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-gdpr a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-gdpr a:hover {
  color: #EA7C07;
}

/* Hero Section */
.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles padding-top, add small top padding for visual */
  position: relative;
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

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

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

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

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
}

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

/* Content Blocks */
.page-gdpr__content-block {
  margin-bottom: 30px;
  text-align: left;
}

.page-gdpr__content-block p {
  color: inherit;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
}

.page-gdpr__image--right {
  float: right;
  margin-left: 30px;
  max-width: 40%;
}

.page-gdpr__image--left {
  float: left;
  margin-right: 30px;
  max-width: 40%;
}

/* Principles and Rights Lists */
.page-gdpr__principles-list, .page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.page-gdpr__principles-item, .page-gdpr__rights-item {
  background-color: rgba(255, 255, 255, 0.1); /* Light background for items on dark sections */
  color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  flex: 1 1 calc(50% - 10px);
  box-sizing: border-box;
}

.page-gdpr__light-bg .page-gdpr__principles-item, .page-gdpr__light-bg .page-gdpr__rights-item {
  background-color: #f9f9f9;
  color: #333333;
}

.page-gdpr__list-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-gdpr__principles-item p, .page-gdpr__rights-item p {
  font-size: 1em;
  line-height: 1.5;
}

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

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

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.2); /* Slightly darker brand color for question */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-gdpr__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.3);
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr__section-title {
    font-size: 2em;
  }

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

  .page-gdpr__principles-item, .page-gdpr__rights-item {
    flex: 1 1 calc(100% - 10px);
  }

  .page-gdpr__image--right, .page-gdpr__image--left {
    float: none;
    margin: 0 auto 30px auto;
    max-width: 80%;
  }
}

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

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

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

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

  .page-gdpr p {
    font-size: 1em;
  }

  .page-gdpr__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__hero-image {
    max-height: 300px;
  }

  .page-gdpr__image--right, .page-gdpr__image--left {
    max-width: 100%;
  }

  .page-gdpr__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-gdpr__faq-answer {
    font-size: 0.95em;
    padding: 15px;
  }
}