/* style/gdpr.css */

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

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

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.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;
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

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

.page-gdpr__section {
  padding: 60px 20px;
  overflow: hidden;
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-gdpr__content-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-gdpr__content-block p {
  margin-bottom: 15px;
}

.page-gdpr__content-block ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-gdpr__content-block li {
  margin-bottom: 10px;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  object-fit: cover;
}

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

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

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

.page-gdpr__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  color: #ffffff; /* Light text for dark background */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.page-gdpr__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for titles */
}

.page-gdpr__faq-section {
  margin-top: 60px;
}

.page-gdpr__faq-heading {
  font-size: 2em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

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

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

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

/* Color themes */
.page-gdpr__dark-bg {
  background-color: #0a0a0a; /* Body background color */
  color: #ffffff;
}

.page-gdpr__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast sections */
  color: #ffffff;
}

.page-gdpr__section-title.page-gdpr__dark-bg,
.page-gdpr__section-title.page-gdpr__light-bg {
  color: #26A9E0; /* Brand color for section titles */
}

.page-gdpr__content-block p,
.page-gdpr__content-block li {
  color: #f0f0f0; /* Slightly off-white for body text */
}

.page-gdpr__link {
  color: #26A9E0; /* Brand color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #5bc0f5; /* Lighter shade on hover */
}

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

.page-gdpr__btn-primary:hover {
  background-color: #1f8ac9;
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #26A9E0;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #26A9E0;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  font-size: 1em;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Floating images alignment */
.page-gdpr__image--left {
  margin-right: 20px;
}

.page-gdpr__image--right {
  margin-left: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }

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

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

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

@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__hero-content {
    margin-top: 10px;
  }

  .page-gdpr__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

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

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

  .page-gdpr__container {
    padding-left: 0;
    padding-right: 0;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-gdpr__content-block {
    gap: 15px;
  }

  .page-gdpr__image,
  .page-gdpr__image--left,
  .page-gdpr__image--right {
    float: none;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box !important;
  }

  .page-gdpr__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 25px;
  }

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

  .page-gdpr__faq-heading {
    font-size: 1.8em;
  }

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

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__hero-content .page-gdpr__btn-primary {
    margin-bottom: 10px;
  }
  
  .page-gdpr__content-block .page-gdpr__btn-secondary {
    width: auto !important; /* Allow it to be smaller if needed for context */
    max-width: 100% !important;
    margin: 0 auto; /* Center if it's the only button */
  }

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__section,
  .page-gdpr__container,
  .page-gdpr__content-block,
  .page-gdpr__card,
  .page-gdpr__faq-item,
  .page-gdpr__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}