/* style/gdpr.css */

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

/* Base styles for the GDPR page */
.page-gdpr {
  background-color: var(--background-main); /* Inherit from custom color */
  color: var(--text-main); /* Ensure contrast with dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, text below */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: var(--deep-green); /* Use a deep green for hero background */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for large screens */
  margin-bottom: 20px; /* Space between image and content */
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* Call to Action Buttons in Hero */
.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 600px; /* Limit width for button group */
  margin: 0 auto;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 180px; /* Ensure minimum width for buttons */
  text-align: center;
  box-sizing: border-box;
}

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

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-main);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Content Area */
.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--background-main); /* Consistent with body */
  color: var(--text-main);
}

.page-gdpr__dark-section {
  background-color: var(--background-main); /* Ensure dark background for text */
  color: var(--text-main); /* Light text on dark background */
}

.page-gdpr__section-title {
  font-size: 2.2rem;
  color: var(--gold-color); /* Gold color for section titles */
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: bold;
  text-align: center;
}

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

.page-gdpr__image-inline {
  width: 100%;
  max-width: 800px; /* Max width for inline images */
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
  object-fit: cover;
}

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

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

.page-gdpr__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.page-gdpr__list-item strong {
  color: var(--gold-color);
}

.page-gdpr__contact-cta {
  margin-top: 40px;
}

/* FAQ Section */
.page-gdpr__faq-list {
  max-width: 900px;
  margin: 40px auto;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
}

.page-gdpr__faq-item {
  border-bottom: 1px solid var(--divider-color);
}

.page-gdpr__faq-item:last-child {
  border-bottom: none;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: var(--card-bg);
  color: var(--text-main);
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-gdpr__faq-question:hover {
  background-color: var(--deep-green);
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-gdpr__faq-answer {
  padding: 20px;
  background-color: var(--background-main);
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* Ensure details open/close smoothly without JS */
.page-gdpr__faq-item[open] > .page-gdpr__faq-answer {
  /* This will be handled by browser for <details> */
}

/* Final CTA Section */
.page-gdpr__cta-section {
  text-align: center;
  padding: 80px 20px;
  background: var(--deep-green); /* Use a deep green for this section */
  color: var(--text-main);
  margin-top: 60px;
  border-top: 1px solid var(--border-color);
}

.page-gdpr__cta-title {
  font-size: 2.5rem;
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr__cta-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__btn-large {
  padding: 18px 40px;
  font-size: 1.2rem;
  border-radius: 10px;
}

/* Links within content */
.page-gdpr__text-block a,
.page-gdpr__faq-answer a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__text-block a:hover,
.page-gdpr__faq-answer a:hover {
  color: var(--gold-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-gdpr__section-title {
    font-size: 2rem;
  }
  .page-gdpr__cta-title {
    font-size: 2.2rem;
  }
}

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

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

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

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

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

  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important; /* Allow text wrapping */
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__content-area {
    padding: 40px 15px;
  }

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

  .page-gdpr__text-block {
    font-size: 0.95rem;
  }

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__cta-section,
  .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;
  }

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

  .page-gdpr__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-gdpr__faq-answer {
    padding: 15px;
  }
  .page-gdpr__cta-title {
    font-size: 2rem;
  }
  .page-gdpr__cta-description {
    font-size: 1.1rem;
  }
  .page-gdpr__btn-large {
    font-size: 1.1rem;
    padding: 15px 30px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
  .page-gdpr__section-title {
    font-size: 1.6rem;
  }
  .page-gdpr__cta-title {
    font-size: 1.8rem;
  }
}