/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color, adjust based on background */
  background-color: var(--background); /* Main background color */
  padding-bottom: 40px; /* Add some padding at the bottom */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center; /* Center content horizontally */
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Add padding at the bottom of the section */
  background-color: var(--deep-green); /* Background for the entire section */
  padding-top: 10px; /* Small top padding as per rule */
}

.page-gdpr__hero-image {
  width: 100%;
  max-height: 500px; /* Limit height for visual balance */
  object-fit: cover;
  display: block; /* Remove extra space below image */
  margin-bottom: 30px; /* Space between image and text content */
}

.page-gdpr__hero-content {
  max-width: 900px;
  color: var(--text-main);
  padding: 0 15px;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-main);
  line-height: 1.2;
}

.page-gdpr__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-main);
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For mobile responsiveness */
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 2px solid var(--border);
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--deep-green);
  color: #ffffff;
}

/* Content Sections */
.page-gdpr__content-section {
  padding: 60px 0;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--text-main);
}

.page-gdpr__sub-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-gdpr__paragraph {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: var(--text-secondary);
}

.page-gdpr__paragraph a {
  color: var(--gold); /* Link color */
  text-decoration: none;
  font-weight: 600;
}

.page-gdpr__paragraph a:hover {
  text-decoration: underline;
}

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

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.page-gdpr__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color); /* Checkmark color */
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1;
}

.page-gdpr__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Color Contrast Specifics */
.page-gdpr__dark-bg {
  background-color: var(--background); /* #08160F */
  color: var(--text-main); /* #F2FFF6 */
}

.page-gdpr__dark-bg .page-gdpr__section-title,
.page-gdpr__dark-bg .page-gdpr__sub-title,
.page-gdpr__dark-bg .page-gdpr__paragraph,
.page-gdpr__dark-bg .page-gdpr__list-item,
.page-gdpr__dark-bg .page-gdpr__faq-question {
  color: var(--text-main);
}

.page-gdpr__dark-bg .page-gdpr__paragraph a {
  color: var(--gold);
}

.page-gdpr__light-bg {
  background-color: var(--card-bg); /* #11271B, slightly lighter than main background for contrast */
  color: var(--text-main); /* #F2FFF6 */
}

.page-gdpr__light-bg .page-gdpr__section-title,
.page-gdpr__light-bg .page-gdpr__sub-title,
.page-gdpr__light-bg .page-gdpr__paragraph,
.page-gdpr__light-bg .page-gdpr__list-item,
.page-gdpr__light-bg .page-gdpr__faq-question {
  color: var(--text-main);
}

.page-gdpr__light-bg .page-gdpr__paragraph a {
  color: var(--gold);
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: var(--background);
  color: var(--text-main);
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main);
  background-color: var(--deep-green);
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.2em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
}

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

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

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

  .page-gdpr__main-title {
    font-size: 1.8em;
    margin-bottom: 10px;
  }

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

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 10px 15px;
    font-size: 1em;
  }

  .page-gdpr__content-section {
    padding: 40px 0;
  }

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

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

  .page-gdpr__paragraph {
    font-size: 0.95em;
  }

  .page-gdpr__list-item {
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 0.95em;
  }
  
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.5em;
  }
  .page-gdpr__section-title {
    font-size: 1.3em;
  }
}

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

/* Ensure text contrast for default links in paragraphs */
.page-gdpr__paragraph a {
  color: var(--gold); /* Gold color for links */
}

/* Emergency fix for contrast if needed */
.page-gdpr__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-gdpr__text-contrast-fix {
  color: var(--text-main) !important; /* Ensure text is main color on light background */
  text-shadow: none !important;
}

/* Overriding for light-bg elements to ensure text-main color */
.page-gdpr__light-bg .page-gdpr__section-title,
.page-gdpr__light-bg .page-gdpr__sub-title,
.page-gdpr__light-bg .page-gdpr__paragraph,
.page-gdpr__light-bg .page-gdpr__list-item,
.page-gdpr__light-bg .page-gdpr__faq-question {
  color: var(--text-main);
}
.page-gdpr__light-bg .page-gdpr__paragraph a {
  color: var(--gold);
}