/* style/gdpr.css */

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

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

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 30px;
}

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

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

.page-gdpr__main-title {
  font-weight: bold;
  color: var(--gdpr-gold);
  line-height: 1.2;
  margin-bottom: 20px;
  /* Using clamp for responsive font-size */
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-gdpr__intro-text {
  font-size: 1.15rem;
  color: var(--gdpr-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background: var(--gdpr-btn-gradient);
  color: var(--gdpr-text-main);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-gdpr__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--gdpr-gold);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

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

.page-gdpr__paragraph {
  font-size: 1.05rem;
  color: var(--gdpr-text-secondary);
  margin-bottom: 20px;
}

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

.page-gdpr__list-item {
  font-size: 1.05rem;
  color: var(--gdpr-text-secondary);
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-gdpr__list-item::before {
  content: '✔';
  color: var(--gdpr-glow);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-gdpr__dark-section {
  background-color: var(--gdpr-card-bg);
  color: var(--gdpr-text-main);
  padding: 60px 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.page-gdpr__dark-section .page-gdpr__section-title {
  color: var(--gdpr-gold);
}

.page-gdpr__dark-section .page-gdpr__sub-title {
  color: var(--gdpr-text-main);
}

.page-gdpr__dark-section .page-gdpr__paragraph,
.page-gdpr__dark-section .page-gdpr__list-item {
  color: var(--gdpr-text-secondary);
}

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

.page-gdpr__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  max-width: 800px;
  object-fit: cover;
}

.page-gdpr__faq-section {
  background-color: var(--gdpr-card-bg);
  padding: 60px 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--gdpr-text-main);
  background-color: var(--gdpr-deep-green);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

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

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

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--gdpr-text-secondary);
  max-height: 0; /* Default for JS controlled accordion */
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  transition: max-height 0.5s ease-in;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  background-color: var(--gdpr-divider);
}

.page-gdpr__contact-section {
  text-align: center;
  padding: 60px 20px;
  background-color: var(--gdpr-bg-main);
}

.page-gdpr__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--gdpr-glow);
  border: 2px solid var(--gdpr-glow);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--gdpr-glow);
  color: var(--gdpr-bg-main);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
  }
  .page-gdpr__content-area,
  .page-gdpr__faq-section,
  .page-gdpr__contact-section {
    padding: 30px 15px;
  }
  .page-gdpr__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-gdpr__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
  .page-gdpr__sub-title {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 30px 10px;
  }
  .page-gdpr__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-gdpr__hero-content {
    padding: 0 10px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-gdpr__intro-text {
    font-size: 1rem;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    margin-bottom: 10px;
  }
  .page-gdpr__content-area,
  .page-gdpr__faq-section,
  .page-gdpr__contact-section {
    padding: 20px 10px;
  }
  .page-gdpr__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  .page-gdpr__sub-title {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
  }
  .page-gdpr__paragraph,
  .page-gdpr__list-item {
    font-size: 0.95rem;
  }
  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.9rem;
  }

  /* Mobile responsive image rules */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__image-content,
  .page-gdpr__container,
  .page-gdpr__content-area,
  .page-gdpr__hero-section,
  .page-gdpr__dark-section,
  .page-gdpr__faq-section,
  .page-gdpr__contact-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px;
    padding-right: 10px;
    overflow: hidden !important;
  }
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* body already has padding-top */
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-gdpr__section-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }
}