/* style/gdpr.css */

/* General styles for the page-gdpr scope */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: var(--text-main, #F2FFF6); /* Default text color from custom palette */
  background-color: var(--background, #08160F); /* Default background color from custom palette */
  line-height: 1.6;
}

/* Ensure headings have proper contrast on dark background */
.page-gdpr h1,
.page-gdpr h2,
.page-gdpr h3,
.page-gdpr h4,
.page-gdpr h5,
.page-gdpr h6 {
  color: var(--text-main, #F2FFF6);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.page-gdpr p {
  margin-bottom: 1rem;
  color: var(--text-main, #F2FFF6);
}

.page-gdpr a {
  color: var(--gold, #F2C14E); /* Example link color */
  text-decoration: none;
}

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

/* Container for content sections */
.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--background, #08160F); /* Consistent background */
  overflow: hidden; /* Ensure no overflow */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 40px; /* Space between image and content */
}

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

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

.page-gdpr__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main, #F2FFF6);
  letter-spacing: 0.05em;
}

.page-gdpr__subtitle {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: var(--text-secondary, #A7D9B8);
}

/* CTA Button */
.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button color */
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

/* Content Sections */
.page-gdpr__content-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--divider, #1E3A2A);
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__sub-section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  color: var(--gold, #F2C14E);
}

.page-gdpr__text-block {
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 1.5rem;
}

.page-gdpr__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 1.5rem;
  color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  color: var(--text-secondary, #A7D9B8);
}

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

.page-gdpr__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  max-width: 800px; /* Recommended size for content images */
}

/* Background variations for sections */
.page-gdpr__dark-bg {
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__dark-bg .page-gdpr__text-block,
.page-gdpr__dark-bg .page-gdpr__list-item {
  color: var(--text-secondary, #A7D9B8);
}

.page-gdpr__light-bg {
  background-color: var(--card-bg, #11271B); /* Using card background for light section */
  color: var(--text-main, #F2FFF6);
}

.page-gdpr__light-bg .page-gdpr__text-block,
.page-gdpr__light-bg .page-gdpr__list-item {
  color: var(--text-secondary, #A7D9B8);
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: var(--background, #08160F);
}

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

.page-gdpr__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  background-color: var(--card-bg, #11271B);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

.page-gdpr__faq-question:hover {
  background-color: rgba(var(--deep-green-rgb, 10, 75, 44), 0.5); /* Slightly lighter hover */
}

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold, #F2C14E);
  margin-left: 15px;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
  max-height: 0; /* For JS based toggle */
  overflow: hidden; /* For JS based toggle */
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
  max-height: 1000px; /* Sufficient height for content, for JS based toggle */
  padding-top: 10px; /* Add padding when open */
}

/* If using JS toggle for div-based FAQ */
.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px;
  padding-top: 10px;
}
.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  content: '−';
}


/* CTA Section at the bottom */
.page-gdpr__cta-section {
  padding: 80px 0;
  background-color: var(--card-bg, #11271B);
  text-align: center;
}

.page-gdpr__cta-container {
  max-width: 900px;
}

.page-gdpr__cta-section .page-gdpr__section-title {
  margin-bottom: 25px;
}

.page-gdpr__cta-section .page-gdpr__text-block {
  font-size: 1.1rem;
  margin-bottom: 40px;
}

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

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

.page-gdpr__btn-secondary {
  background-color: transparent;
  border: 2px solid var(--gold, #F2C14E);
  color: var(--gold, #F2C14E);
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--gold, #F2C14E);
  color: var(--background, #08160F);
}


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

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

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

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

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

  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-gdpr__section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-gdpr__sub-section-title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    margin-top: 25px;
    margin-bottom: 15px;
  }

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

  .page-gdpr__image {
    margin: 20px auto;
  }

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

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

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

  .page-gdpr__cta-section {
    padding: 60px 0;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* 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__image,
  .page-gdpr__container,
  .page-gdpr__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Video responsiveness (if any, though not in this specific page) */
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    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;
  }
}

/* Ensure contrast for text on specific backgrounds if needed */
/* Using custom properties to manage colors from the palette */
:root {
  --main-color: #11A84E;
  --accent-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;
  --deep-green-rgb: 10, 75, 44; /* For rgba usage */
}