/* style/gdpr.css */

/* --- Custom Color Variables --- */
: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-color: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* --- General Styles --- */
.page-gdpr {
  color: var(--text-main); /* Assuming body background is dark, use light text */
  background-color: var(--background); /* Use the custom background color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-gdpr__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-gdpr__light-text {
  color: var(--text-main);
}

.page-gdpr__dark-bg {
  background-color: var(--card-bg); /* Use card background for dark sections */
  color: var(--text-main);
}

.page-gdpr__section-title {
  font-size: clamp(28px, 3.5vw, 42px); /* H1 font size constraint, apply to H2 as well for consistency */
  font-weight: bold;
  color: var(--gold); /* Use gold for main titles for emphasis */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-gdpr__sub-title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: bold;
  color: var(--text-main);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__paragraph {
  margin-bottom: 20px;
  font-size: 17px;
  color: var(--text-secondary); /* Use secondary text color for paragraphs */
}

.page-gdpr__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 17px;
}

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

.page-gdpr a {
  color: var(--glow); /* Link color */
  text-decoration: underline;
}

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

/* --- Hero Section --- */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: var(--deep-green); /* Use a dark background for the hero section */
  box-sizing: border-box;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px; /* Space between image and content */
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

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

.page-gdpr__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 2;
  position: relative;
  color: var(--text-main);
}

.page-gdpr__main-title {
  font-size: clamp(36px, 4.5vw, 58px); /* H1 font size, using clamp */
  font-weight: bold;
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr__intro-description {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* --- Call to Action Buttons --- */
.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 200px;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-gdpr__btn-primary {
  background: var(--button-gradient); /* Custom button color */
  color: var(--text-main); /* White-ish text for button */
  border: 2px solid transparent;
}

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

.page-gdpr__btn-secondary {
  background: transparent;
  color: var(--glow); /* Glow color for secondary button text */
  border: 2px solid var(--glow);
}

.page-gdpr__btn-secondary:hover {
  background: var(--glow);
  color: var(--deep-green); /* Dark text on hover */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* --- Image specific styles for content sections --- */
.page-gdpr__image-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 30px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-height: 200px;
}

.page-gdpr__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px;
}

/* --- Contact List --- */
.page-gdpr__contact-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-gdpr__contact-item {
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--text-main);
}

.page-gdpr__contact-item a {
  color: var(--glow);
  text-decoration: none;
}

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

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green); /* Darker green for question background */
  transition: background-color 0.3s ease;
}

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

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

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

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

/* Ensure paragraph inside FAQ answer also uses secondary text color */
.page-gdpr__faq-answer .page-gdpr__paragraph {
  color: var(--text-secondary);
  margin-bottom: 0;
}

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

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-gdpr__hero-section,
  .page-gdpr__section,
  .page-gdpr__cta-section {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 768px) {
  /* General mobile padding */
  .page-gdpr__section,
  .page-gdpr__hero-section,
  .page-gdpr__cta-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Small top padding for hero/first section */
  }

  /* Images responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Image containers responsive */
  .page-gdpr__image-wrapper,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0; /* Handled by section padding */
    padding-right: 0; /* Handled by section padding */
    overflow: hidden !important;
  }

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

  .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; /* Add some padding to buttons */
    padding-right: 15px;
  }

  /* FAQ responsive */
  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

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

  .page-gdpr__main-title {
    font-size: 30px;
  }
  .page-gdpr__intro-description {
    font-size: 16px;
  }
  .page-gdpr__section-title {
    font-size: 26px;
  }
  .page-gdpr__sub-title {
    font-size: 20px;
  }
  .page-gdpr__paragraph, .page-gdpr__list-item {
    font-size: 16px;
  }
}