/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  background-color: #08160F; /* Custom Background */
  color: #F2FFF6; /* Custom Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.2;
}

.page-gdpr__sub-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #F2FFF6; /* Custom Text Main */
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-gdpr__text {
  font-size: 1em;
  margin-bottom: 15px;
}

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

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

.page-gdpr__list li,
.page-gdpr__ordered-list li {
  margin-bottom: 10px;
}

.page-gdpr a {
  color: #2AD16F; /* A brighter green for links */
  text-decoration: underline;
}

.page-gdpr a:hover {
  color: #57E38D; /* Custom Glow for hover */
  text-decoration: none;
}

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

.page-gdpr__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 675px; /* Fixed height for desktop */
  overflow: hidden;
}

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Overlap slightly for visual flow, but not on image */
  background-color: #11271B; /* Custom Card BG */
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 800;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button Gradient */
  color: #F2FFF6; /* Custom Text Main */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

/* Rights Grid Section */
.page-gdpr__rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gdpr__rights-item {
  background-color: #11271B; /* Custom Card BG */
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Custom Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__rights-title {
  font-size: 1.3em;
  color: #F2C14E; /* Custom Gold */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-gdpr__rights-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Custom Text Secondary */
}

.page-gdpr__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 800px; /* Example max-width for content images */
}

/* Contact Section */
.page-gdpr__contact-list {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
  margin-top: 20px;
  margin-bottom: 20px;
}

.page-gdpr__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-gdpr__contact-list li strong {
  color: #F2C14E; /* Custom Gold */
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.15em;
  color: #F2FFF6; /* Custom Text Main */
  background-color: #0A4B2C; /* Custom Deep Green for summary background */
  border-bottom: 1px solid transparent; /* default */
}

details.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  border-bottom: 1px solid #2E7A4E; /* Custom Border when open */
}

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

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
}

.page-gdpr__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E; /* Custom Gold */
}

.page-gdpr__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Custom Text Secondary */
}

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

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

  .page-gdpr__text,
  .page-gdpr__rights-description,
  .page-gdpr__faq-answer p {
    font-size: 0.95em;
  }

  /* Hero Section Mobile */
  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }

  .page-gdpr__hero-image-wrapper {
    height: 300px; /* Adjust height for mobile */
  }

  .page-gdpr__hero-content {
    padding: 25px 15px;
    margin-top: -80px; /* Adjust overlap */
  }

  .page-gdpr__main-title {
    font-size: 2em; /* Ensure H1 is not too large */
  }

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

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

  /* Images Mobile */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* Image containers Mobile */
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__image-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

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