/* style/gdpr.css */

/* Global styles for page-gdpr scope */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Default text color for the page, overridden by sections */
  background-color: #08160F; /* Custom background color for the page main content */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, text below */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #08160F;
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px; /* Space between image and content */
}

.page-gdpr__hero-content {
  text-align: center;
  max-width: 900px;
  width: 100%;
  color: #F2FFF6; /* Light text on dark hero background */
}

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

.page-gdpr__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color */
}

/* CTA Buttons */
.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons are responsive */
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
  color: #F2FFF6; /* Light text on dark button */
  border: none;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Green text on transparent/dark background */
  border: 2px solid #2AD16F;
}

.page-gdpr__btn-secondary:hover {
  background: #2AD16F;
  color: #F2FFF6;
}

/* General Section Styles */
.page-gdpr__section {
  padding: 60px 20px;
  text-align: left;
}

.page-gdpr__dark-bg {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Light text on dark background */
}

.page-gdpr__light-bg {
  background-color: #11271B; /* Custom card background color, used as light background section */
  color: #F2FFF6; /* Light text on this section background */
}

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

.page-gdpr__heading {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #57E38D; /* Glow color for headings */
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from section */
}

.page-gdpr__text-block .keyword {
  font-weight: bold;
  color: #57E38D; /* Highlight keywords */
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from section */
}

.page-gdpr__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-gdpr__list li strong {
  color: #F2FFF6;
}

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

.page-gdpr__list a:hover {
  color: #57E38D;
}

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

.page-gdpr__card {
  background-color: #11271B; /* Custom card background color */
  color: #F2FFF6; /* Light text on dark card */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-gdpr__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #57E38D;
}

.page-gdpr__card-text {
  font-size: 1em;
  color: #A7D9B8;
}

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

.page-gdpr__faq-item {
  background-color: #08160F; /* Dark background for FAQ item */
  color: #F2FFF6;
  border: 1px solid #2E7A4E; /* Custom border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden; /* For details tag */
}

.page-gdpr__faq-item summary {
  list-style: none; /* Hide default marker */
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.15em;
  color: #57E38D; /* Glow color for question */
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

/* Rotate toggle for open state (for details tag) */
.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* + becomes x */
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #A7D9B8;
}

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

/* CTA Section at the bottom */
.page-gdpr__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #11271B; /* Card BG color as section background */
  color: #F2FFF6;
}

.page-gdpr__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
  margin-top: 30px;
}

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

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

  .page-gdpr__heading {
    margin-bottom: 25px;
  }

  .page-gdpr__feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

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

  .page-gdpr__hero-image {
    margin-bottom: 20px;
  }

  .page-gdpr__main-title {
    font-size: 2em; /* Smaller H1 for mobile */
  }

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

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px; /* Add padding to container */
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    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__section,
  .page-gdpr__container,
  .page-gdpr__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-gdpr__card {
    padding: 25px;
  }

  .page-gdpr__card-image {
    max-width: 100%;
    height: auto;
  }

  .page-gdpr__heading {
    font-size: 1.8em;
  }

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

  .page-gdpr__faq-item summary {
    font-size: 1.05em;
    padding: 18px 20px;
  }

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

  /* All images must be responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video responsive styles (not directly used in this page, but for general safety) */
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}