/* style/gdpr.css */

/* Root variables for colors */
:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-button-gradient-start: #2AD16F;
  --color-button-gradient-end: #13994A;
  --color-card-bg: #11271B;
  --color-background: #08160F;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
}

/* General page styles */
.page-gdpr {
  background-color: var(--color-background);
  color: var(--color-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-gdpr a {
  color: var(--color-gold);
  text-decoration: none;
}

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

/* Section styling */
.page-gdpr__section {
  padding: 60px 20px;
  border-bottom: 1px solid var(--color-divider);
}

.page-gdpr__section:last-of-type {
  border-bottom: none;
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__subsection-title {
  font-size: 1.8em;
  color: var(--color-text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr p {
  margin-bottom: 1em;
  color: var(--color-text-secondary);
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body already has padding-top from shared.css */
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height to prevent excessive space */
  overflow: hidden;
  position: relative;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-gdpr__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 800px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
  border-radius: 10px;
}

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

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

.page-gdpr__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  background: linear-gradient(180deg, var(--color-button-gradient-end) 0%, var(--color-button-gradient-start) 100%);
  transform: translateY(-2px);
}

/* Image styling */
.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
}

/* List styling */
.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-gdpr__list-item {
  background-color: var(--color-card-bg);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 5px solid var(--color-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__list-title {
  color: var(--color-gold);
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-gdpr__list-item p {
  color: var(--color-text-secondary);
}

/* Contact section specific */
.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.page-gdpr__contact-item {
  flex: 1 1 calc(50% - 20px);
  min-width: 300px;
  background-color: var(--color-card-bg);
  padding: 25px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-gdpr__contact-link {
  color: var(--color-secondary);
  font-weight: bold;
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  background-color: var(--color-card-bg);
  color: var(--color-text-main);
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

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

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

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-gdpr__section {
    padding: 40px 10px;
  }

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

  .page-gdpr__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-gdpr__subsection-title {
    font-size: 1.5em;
  }

  .page-gdpr__hero-content {
    position: static;
    transform: none;
    padding: 20px 15px;
    background-color: transparent;
    max-width: 100%;
  }

  .page-gdpr__hero-image-wrapper {
    max-height: 300px;
  }

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

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

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

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

  .page-gdpr__contact-item {
    flex: 1 1 100%;
    min-width: unset;
  }

  /* Ensure all images are responsive */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !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__hero-section {
    padding-top: 10px !important;
  }

  /* Buttons responsiveness */
  .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;
  }
}

/* Contrast fixes if needed (though colors are chosen for contrast) */
.page-gdpr__dark-bg {
  color: #ffffff;
  background: var(--color-primary);
}

.page-gdpr__light-bg {
  color: #333333;
  background: #ffffff;
}

.page-gdpr__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}