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

.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for the page content */
  background-color: var(--background-color); /* Body background is handled by shared.css */
}

.page-gdpr__section {
  padding: 80px 0;
  background-color: var(--background-color);
}

.page-gdpr__dark-section {
  background-color: var(--background-color);
  color: var(--text-main);
}

.page-gdpr__dark-bg {
  background-color: var(--background-color);
  color: var(--text-main);
}

.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;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom */
  text-align: center;
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height of hero image */
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and content */
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  object-fit: cover;
}

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

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Use clamp for H1 */
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 15px;
  line-height: 1.2;
}

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

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-gdpr__sub-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__text-block {
  font-size: 1em;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-gdpr__text-block a {
  color: var(--secondary-color);
  text-decoration: underline;
}

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

.page-gdpr__list-item {
  margin-bottom: 8px;
  color: var(--text-main);
}

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

.page-gdpr__image-with-text-block {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.page-gdpr__image-with-text-block:nth-child(even) {
  flex-direction: row-reverse;
}

.page-gdpr__content-image {
  flex-shrink: 0;
  width: 600px;
  height: 450px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-gdpr__content-image--left {
    float: left;
    margin-right: 40px;
    margin-bottom: 20px;
}

.page-gdpr__contact-info {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 30px;
}

.page-gdpr__contact-info .page-gdpr__content-image {
    width: 600px;
    height: 450px;
}

.page-gdpr__contact-info .page-gdpr__text-content {
    flex-grow: 1;
}

.page-gdpr__contact-info a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* FAQ / Accordion */
.page-gdpr__accordion-list {
  margin-top: 30px;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  color: var(--text-main);
  background-color: var(--deep-green);
}

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 24px;
  text-align: center;
}

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

.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
  padding-top: 15px;
}

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

/* CTA Section */
.page-gdpr__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--deep-green);
  border-top: 1px solid var(--divider-color);
}

.page-gdpr__cta-image {
  margin-bottom: 30px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-gdpr__cta-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: var(--gold-color);
  margin-bottom: 20px;
}

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

.page-gdpr__cta-description a {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__image-with-text-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-gdpr__image-with-text-block:nth-child(even) {
    flex-direction: column;
  }
  .page-gdpr__content-image, .page-gdpr__contact-info .page-gdpr__content-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-right: 0;
    float: none;
  }
  .page-gdpr__contact-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

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

  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__main-title {
    font-size: 2em;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
  }

  .page-gdpr__sub-title {
    font-size: 1.3em;
  }

  .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__content-block,
  .page-gdpr__image-with-text-block,
  .page-gdpr__contact-info {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
  }

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

  /* Buttons responsive */
  .page-gdpr__btn-primary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    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-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-gdpr__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-gdpr__contact-info .page-gdpr__content-image {
      margin-right: 0;
  }
}