/* style/gdpr.css */

/* Base styles for the GDPR page, ensuring dark background and light text */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Main text color for dark background */
  background-color: #08160F; /* Page background color */
}

.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, more bottom padding */
  background-color: #0A4B2C; /* Deep Green background for hero */
  overflow: hidden; /* Ensure image doesn't overflow */
  width: 100%;
  box-sizing: border-box;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
  width: 100%; /* Ensure content takes full width within max-width */
}

.page-gdpr__main-title {
  color: #F2FFF6; /* Main text color */
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__intro-text {
  color: #A7D9B8; /* Secondary text color */
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 30px;
}

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

.page-gdpr__section-wrapper {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border color */
  color: #F2FFF6; /* Ensure text in section wrapper is light */
}

.page-gdpr__section-title {
  color: #F2FFF6; /* Main text color */
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 25px;
  text-align: center;
  position: relative;
}

.page-gdpr__section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #2AD16F 0%, #13994A 100%);
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-gdpr__subsection-title {
  color: #F2C14E; /* Gold color */
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr p {
  color: #F2FFF6; /* Main text color */
  margin-bottom: 15px;
}

.page-gdpr a {
  color: #57E38D; /* Glow color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr a:hover {
  color: #2AD16F;
  text-decoration: underline;
}

.page-gdpr ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  color: #F2FFF6; /* Main text color */
}

.page-gdpr li {
  margin-bottom: 8px;
  color: #F2FFF6; /* Main text color */
}

.page-gdpr__rights-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.page-gdpr__card {
  background-color: #11271B; /* Card BG */
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #2E7A4E;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #F2FFF6; /* Main text color */
}

.page-gdpr__card-title {
  color: #F2C14E; /* Gold color */
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.page-gdpr__security-measures strong,
.page-gdpr__data-types strong,
.page-gdpr__data-purposes strong,
.page-gdpr__data-sharing strong,
.page-gdpr__contact-options strong {
  color: #57E38D; /* Glow color for strong text */
}

.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__faq-list {
  margin-top: 30px;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #1E3A2A; /* Divider color for question background */
  color: #F2FFF6; /* Main text color */
  font-weight: bold;
  font-size: 1.1rem;
  border-bottom: 1px solid transparent; /* default */
  transition: background-color 0.3s ease, border-bottom 0.3s ease;
}

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #57E38D; /* Glow color */
}

.page-gdpr__faq-item[open] > .page-gdpr__faq-question {
  border-bottom: 1px solid #2E7A4E;
}

.page-gdpr__faq-answer {
  padding: 15px 25px 20px;
  color: #A7D9B8; /* Secondary text color */
  font-size: 0.95rem;
}

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

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

.page-gdpr__cta-section {
  background-color: #0A4B2C; /* Deep Green background */
  padding: 50px 30px;
  text-align: center;
  border-radius: 8px;
  margin-top: 40px;
  border: 1px solid #2E7A4E;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

.page-gdpr__cta-title {
  color: #F2C14E; /* Gold color */
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.page-gdpr__cta-description {
  color: #A7D9B8; /* Secondary text color */
  font-size: clamp(1rem, 2vw, 1.1rem);
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-gdpr__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Button text color */
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

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

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

  .page-gdpr__hero-content {
    padding: 0 15px;
  }

  .page-gdpr__main-title {
    font-size: 2.2rem;
  }

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

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

  .page-gdpr__section-wrapper {
    padding: 20px;
    margin-bottom: 20px;
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-gdpr__section-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  .page-gdpr__subsection-title {
    font-size: 1.2rem;
  }

  .page-gdpr__rights-list {
    grid-template-columns: 1fr;
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
    margin: 20px auto;
  }

  .page-gdpr__card {
    padding: 20px;
  }

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

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

  .page-gdpr__cta-section {
    padding: 30px 15px;
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-gdpr__cta-title {
    font-size: 2rem;
  }

  .page-gdpr__cta-description {
    font-size: 0.95rem;
  }

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

  /* Ensure all containers have proper padding/width */
  .page-gdpr__hero-section,
  .page-gdpr__content-area,
  .page-gdpr__hero-content,
  .page-gdpr__faq-list,
  .page-gdpr__cta-section {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Specific overrides for padding to prevent double padding or overflow */
  .page-gdpr__hero-section,
  .page-gdpr__cta-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__content-area {
    padding-left: 0;
    padding-right: 0;
  }

  .page-gdpr__hero-image-wrapper img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}