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

/* Section styling */
.page-gdpr__section {
  padding: 60px 20px;
  text-align: center;
}

.page-gdpr__section--intro {
  background-color: #08160F;
}

.page-gdpr__section--rights,
.page-gdpr__section--processing,
.page-gdpr__section--security,
.page-gdpr__section--contact,
.page-gdpr__section--faq {
  background-color: #11271B; /* Card BG color for sections */
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-gdpr__section--cta {
  background: linear-gradient(180deg, #13994A 0%, #0A4B2C 100%); /* Deep Green gradient for CTA */
  padding: 80px 20px;
  border-radius: 0; /* Full width section */
}

.page-gdpr__dark-section {
  background: #0A4B2C; /* Deep Green for a dark section */
  color: #F2FFF6;
}

/* Container styling */
.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-gdpr__container--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-gdpr__container--reverse {
  grid-template-columns: 1fr 1fr; /* Default order for desktop */
}

.page-gdpr__container--centered {
  text-align: center;
}

/* Hero section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom */
  background-color: #08160F;
}

.page-gdpr__hero-image {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

.page-gdpr__hero-content {
  max-width: 800px;
  text-align: center;
  padding: 0 20px;
}

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

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

/* Titles */
.page-gdpr__section-title {
  font-size: 2.2em;
  font-weight: 600;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 30px;
}

.page-gdpr__section-title--white {
  color: #F2FFF6;
}

/* Text blocks */
.page-gdpr__text-block {
  font-size: 1em;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 15px;
}

.page-gdpr__text-block--white {
  color: #F2FFF6;
}

.page-gdpr__text-block strong {
  color: #57E38D; /* Glow color for emphasis */
}

/* Lists */
.page-gdpr__rights-list,
.page-gdpr__data-types-list,
.page-gdpr__security-list,
.page-gdpr__contact-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-gdpr__rights-item,
.page-gdpr__data-types-item,
.page-gdpr__security-item,
.page-gdpr__contact-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #A7D9B8; /* Secondary text color */
}

.page-gdpr__rights-item::before,
.page-gdpr__data-types-item::before,
.page-gdpr__security-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2AD16F; /* Bright green checkmark */
  font-weight: bold;
}

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

/* Images */
.page-gdpr__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure it behaves as a block element */
}

.page-gdpr__image--full-width {
  margin-top: 30px;
  width: 100%;
  max-width: 1000px; /* Adjust max-width for specific image */
  height: auto;
  object-fit: cover;
}

/* Buttons */
.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  color: #F2FFF6; /* Light text for buttons */
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-button--primary {
  background: linear-gradient(180deg, #57E38D 0%, #13994A 100%); /* Slightly different gradient for primary */
}

.page-gdpr__cta-button--secondary {
  background: transparent;
  border: 2px solid #2AD16F; /* Border with bright green */
  color: #2AD16F;
}

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

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

.page-gdpr__link:hover {
  color: #2AD16F; /* Brighter green on hover */
  text-decoration: underline;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__faq-item details {
  padding: 0;
}

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  color: #F2FFF6; /* Main text color */
  font-size: 1.1em;
  outline: none;
  list-style: none; /* Hide default marker */
}

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

.page-gdpr__faq-question {
  flex-grow: 1;
  text-align: left;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  margin-left: 20px;
  color: #57E38D; /* Glow color for toggle */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  color: #A7D9B8; /* Secondary text color */
  text-align: left;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr__container--grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-gdpr__container--reverse {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .page-gdpr__section {
    padding: 40px 15px;
  }

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

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

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

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

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

  .page-gdpr__image--full-width {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Responsive image/content containers */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__image-wrapper,
  .page-gdpr__content-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsive */
  .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;
    margin-bottom: 15px; /* Add some space between stacked buttons */
  }
  
  .page-gdpr__cta-button:last-child {
    margin-bottom: 0;
  }

  .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;
    display: flex; /* Ensure flex behavior */
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

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

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

  /* Video section top padding on mobile */
  .page-gdpr__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__section {
    padding: 30px 10px;
  }

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

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

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

  .page-gdpr__cta-button {
    font-size: 1em;
    padding: 12px 20px;
  }
}