/* style/gdpr.css */
/* Custom Colors */
:root {
  --page-gdpr-primary-color: #11A84E;
  --page-gdpr-secondary-color: #22C768;
  --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-gdpr-card-bg: #11271B;
  --page-gdpr-bg: #08160F;
  --page-gdpr-text-main: #F2FFF6;
  --page-gdpr-text-secondary: #A7D9B8;
  --page-gdpr-border-color: #2E7A4E;
  --page-gdpr-glow-color: #57E38D;
  --page-gdpr-gold-color: #F2C14E;
  --page-gdpr-divider-color: #1E3A2A;
  --page-gdpr-deep-green: #0A4B2C;
}

/* Base styles for the GDPR page content, ensuring contrast with shared body background */
.page-gdpr {
  color: var(--page-gdpr-text-main); /* Light text for dark body background */
  background-color: var(--page-gdpr-bg);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Ensure space above footer */
}

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

.page-gdpr__section {
  padding: 60px 0;
  position: relative;
  overflow: hidden; /* Prevent content overflow */
}

.page-gdpr__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--page-gdpr-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-gdpr__sub-title {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--page-gdpr-primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__content-block {
  max-width: 900px;
  margin: 0 auto;
  text-align: justify;
}

.page-gdpr p {
  margin-bottom: 15px;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr a {
  color: var(--page-gdpr-gold-color);
  text-decoration: underline;
}

.page-gdpr a:hover {
  color: var(--page-gdpr-glow-color);
}

/* Hero Section */
.page-gdpr__hero-section {
  padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
  background-color: var(--page-gdpr-deep-green);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1; /* Ensure content is above any background elements */
}

.page-gdpr__main-title {
  font-size: clamp(32px, 5vw, 54px);
  color: var(--page-gdpr-gold-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.8px;
}

.page-gdpr__intro-text {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--page-gdpr-text-main);
  margin-bottom: 30px;
}

/* What is GDPR Section */
.page-gdpr__what-is-gdpr .page-gdpr__content-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.page-gdpr__what-is-gdpr .page-gdpr__image {
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-gdpr__what-is-gdpr .page-gdpr__image--right {
  order: 2;
}

/* Core Principles Section */
.page-gdpr__core-principles {
  background-color: var(--page-gdpr-card-bg);
}

.page-gdpr__core-principles .page-gdpr__content-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-gdpr__list li {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid var(--page-gdpr-primary-color);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-gdpr__list li:last-child {
  margin-bottom: 0;
}

.page-gdpr__list-title {
  color: var(--page-gdpr-glow-color);
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-gdpr__list p {
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__core-principles .page-gdpr__image {
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-gdpr__core-principles .page-gdpr__image--left {
  order: 1;
}

/* Your Rights Section */
.page-gdpr__your-rights .page-gdpr__list--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-gdpr__your-rights .page-gdpr__list li {
  background-color: var(--page-gdpr-card-bg);
  border-left-color: var(--page-gdpr-secondary-color);
}

.page-gdpr__your-rights .page-gdpr__image {
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-gdpr__your-rights .page-gdpr__image--right {
  order: 2;
}

/* Data Protection Measures Section */
.page-gdpr__data-protection-measures {
  background-color: var(--page-gdpr-deep-green);
}

.page-gdpr__data-protection-measures .page-gdpr__list li {
  background-color: rgba(255, 255, 255, 0.05);
  border-left-color: var(--page-gdpr-glow-color);
}

.page-gdpr__data-protection-measures .page-gdpr__image {
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-gdpr__data-protection-measures .page-gdpr__image--left {
  order: 1;
}

/* Contact Support Section */
.page-gdpr__contact-support {
  background-color: var(--page-gdpr-card-bg);
}

.page-gdpr__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-button-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 204, 102, 0.3);
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 204, 102, 0.4);
}

.page-gdpr__contact-support .page-gdpr__image {
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-gdpr__contact-support .page-gdpr__image--right {
  order: 2;
}

/* FAQ Section */
.page-gdpr__faq {
  background-color: var(--page-gdpr-bg);
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__faq-item {
  background-color: var(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-divider-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  list-style: none; /* Remove default marker */
  color: var(--page-gdpr-gold-color);
}

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

.page-gdpr__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

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

.page-gdpr__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-gdpr-glow-color);
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 16px;
  color: var(--page-gdpr-text-secondary);
}

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

/* Image styles */
.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-gdpr__what-is-gdpr .page-gdpr__content-block,
  .page-gdpr__core-principles .page-gdpr__content-block,
  .page-gdpr__your-rights .page-gdpr__content-block,
  .page-gdpr__data-protection-measures .page-gdpr__content-block,
  .page-gdpr__contact-support .page-gdpr__content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
  }

  .page-gdpr__what-is-gdpr .page-gdpr__image--right {
    order: 2;
  }
  .page-gdpr__what-is-gdpr .page-gdpr__content-text {
    order: 1;
  }

  .page-gdpr__core-principles .page-gdpr__image--left {
    order: 1;
  }
  .page-gdpr__core-principles .page-gdpr__content-text {
    order: 2;
  }

  .page-gdpr__your-rights .page-gdpr__image--right {
    order: 2;
  }
  .page-gdpr__your-rights .page-gdpr__content-text {
    order: 1;
  }

  .page-gdpr__data-protection-measures .page-gdpr__image--left {
    order: 1;
  }
  .page-gdpr__data-protection-measures .page-gdpr__content-text {
    order: 2;
  }

  .page-gdpr__contact-support .page-gdpr__image--right {
    order: 2;
  }
  .page-gdpr__contact-support .page-gdpr__content-text {
    order: 1;
  }

  .page-gdpr__content-block > *:not(img) {
    grid-column: span 1;
  }

  .page-gdpr__content-block img {
    grid-column: span 1;
  }
}

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

  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-gdpr__main-title {
    font-size: 32px;
  }

  .page-gdpr__intro-text {
    font-size: 16px;
  }

  .page-gdpr__section-title {
    font-size: 28px;
  }

  .page-gdpr__sub-title {
    font-size: 20px;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__section,
  .page-gdpr__container,
  .page-gdpr__content-block,
  .page-gdpr__card,
  .page-gdpr__cta-wrapper,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  /* Mobile button responsiveness */
  .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-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Spacing for multiple buttons if any */
  }

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

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

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