/* style/gdpr.css */

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

.page-gdpr {
  background-color: var(--gdpr-bg-color); /* Dark background */
  color: var(--gdpr-text-main); /* Light text for contrast */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 40px;
}

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em); /* Use clamp for H1 */
  font-weight: 700;
  color: var(--gdpr-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

/* General Section Styling */
.page-gdpr__section {
  padding: 60px 0;
}

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

.page-gdpr__light-bg {
  background-color: var(--gdpr-bg-color); /* Still dark, but different shade */
  color: var(--gdpr-text-main);
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--gdpr-gold-color); /* Use gold for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-gdpr__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--gdpr-primary-color);
  border-radius: 2px;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--gdpr-text-main);
  margin-top: 40px;
  margin-bottom: 20px;
  border-left: 5px solid var(--gdpr-primary-color);
  padding-left: 15px;
}

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

.page-gdpr__text-block strong {
  color: var(--gdpr-text-main);
}

.page-gdpr__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* List Styling */
.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--gdpr-text-secondary);
  font-size: 1em;
}

.page-gdpr__list-item::before {
  content: '✓'; /* Checkmark icon */
  color: var(--gdpr-primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box; /* Crucial for mobile responsiveness */
  max-width: 100%; /* Crucial for mobile responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-gdpr__btn-primary {
  background: var(--gdpr-btn-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

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

.page-gdpr__btn-secondary:hover {
  background: var(--gdpr-primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Links */
.page-gdpr__link {
  color: var(--gdpr-gold-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: var(--gdpr-primary-color);
  text-decoration: underline;
}

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: var(--gdpr-bg-color); /* Dark background */
  color: var(--gdpr-text-main);
}

.page-gdpr__faq-list {
  margin-top: 40px;
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--gdpr-text-main);
  background-color: var(--gdpr-deep-green); /* Slightly different background for question */
  border-bottom: 1px solid var(--gdpr-divider-color);
  list-style: none; /* For details/summary */
}

/* Hide default marker for details/summary */
.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-gdpr__faq-item summary {
  list-style: none;
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 24px;
  text-align: center;
  color: var(--gdpr-gold-color);
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
}


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

.page-gdpr__faq-answer p:last-child {
  margin-bottom: 0;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(2em, 4.5vw, 2.8em);
  }

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

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

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 10px 15px 40px;
  }

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

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

  .page-gdpr__section {
    padding: 40px 0;
  }

  .page-gdpr__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-gdpr__sub-title {
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__faq-question,
  .page-gdpr__faq-answer {
    font-size: 0.95em;
  }

  /* Image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__image-content {
    margin: 30px auto;
  }

  /* Button responsiveness */
  .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: 12px 20px;
    font-size: 1em;
  }

  /* If multiple buttons are in a flex container, make them stack */
  .page-gdpr__hero-content .page-gdpr__btn-primary {
    margin-bottom: 15px; /* Add space if there are multiple buttons */
  }
  .page-gdpr__hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .page-gdpr__dark-section .page-gdpr__btn-secondary {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

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

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

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

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