/* style/gdpr.css */

/* General Styles */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main for dark body background #08160F */
  background-color: #08160F; /* Ensure background is set if not from body */
}

.page-gdpr__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

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

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Gold for main titles */
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  color: #22C768; /* Auxiliary color */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr p {
  margin-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-gdpr__ordered-list {
  list-style-type: decimal;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  color: #A7D9B8; /* Text Secondary */
}

.page-gdpr__list-item strong {
  color: #F2FFF6; /* Text Main */
}

.page-gdpr__list-title {
  font-size: 1.2em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-gdpr__list-sub-title {
  font-size: 1.1em;
  color: #22C768; /* Auxiliary color */
  margin-bottom: 8px;
  font-weight: bold;
}

.page-gdpr__link {
  color: #57E38D; /* Glow color for links */
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: #2AD16F;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom */
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  max-height: 500px; /* Limit hero image height */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px;
  background: rgba(17, 39, 27, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  margin-top: 200px; /* Adjust based on image height */
}

.page-gdpr__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Content Images */
.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* Contact Info */
.page-gdpr__contact-info {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  padding: 30px;
  border-radius: 8px;
  margin: 30px 0;
  color: #F2FFF6;
}

.page-gdpr__contact-info p {
  margin-bottom: 10px;
  color: #A7D9B8;
}

.page-gdpr__contact-info strong {
  color: #F2FFF6;
}

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

.page-gdpr__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-gdpr__faq-question:hover {
  background-color: #1E3A2A; /* Deep Green */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  color: #57E38D; /* Glow */
  margin-left: 15px;
  line-height: 1;
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  line-height: 1.6;
}

.page-gdpr__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    padding: 30px;
  }

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

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

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

@media (max-width: 768px) {
  .page-gdpr__hero-image {
    max-height: 400px;
  }
  
  .page-gdpr__hero-content {
    padding: 20px;
    margin-top: 150px;
  }

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

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

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

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

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

  .page-gdpr__sub-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-gdpr p,
  .page-gdpr__list-item,
  .page-gdpr__faq-answer p {
    font-size: 0.95em;
  }

  .page-gdpr__list {
    padding-left: 20px;
  }

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

  /* Image and Video responsive rules */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__hero-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-gdpr__content-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Ensure all containers holding images/videos also respect max-width */
  .page-gdpr__section,
  .page-gdpr__hero-section,
  .page-gdpr__introduction,
  .page-gdpr__user-rights,
  .page-gdpr__data-handling,
  .page-gdpr__cookies-policy,
  .page-gdpr__contact-rights,
  .page-gdpr__policy-updates,
  .page-gdpr__faq {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-gdpr__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-gdpr__hero-content {
    width: calc(100% - 30px); /* Adjust for container padding */
    margin-left: 15px;
    margin-right: 15px;
    box-sizing: border-box;
  }

  .page-gdpr__video-section {
    padding-top: 10px !important;
  }

  /* Button responsive rules (if any) */
  .page-gdpr__cta-button,
  .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__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-gdpr__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-content {
    margin-top: 100px;
  }

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

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

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