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

.page-gdpr {
  color: var(--page-gdpr-text-main); /* Default text color for dark body background */
  background-color: var(--page-gdpr-bg-color); /* Matches body bg-color from shared.css */
}

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--page-gdpr-bg-color);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px;
}

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-top: 20px;
}

.page-gdpr__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  color: var(--page-gdpr-text-main);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

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

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  background: var(--page-gdpr-btn-gradient);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--page-gdpr-text-main);
  position: relative;
}

.page-gdpr__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--page-gdpr-glow);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-gdpr__intro-section, .page-gdpr__rights-section, .page-gdpr__faq-section {
  background-color: #ffffff;
  color: #333333;
}

.page-gdpr__intro-section .page-gdpr__section-title, .page-gdpr__rights-section .page-gdpr__section-title, .page-gdpr__faq-section .page-gdpr__section-title {
  color: #000000;
}

.page-gdpr__text-block {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
  color: inherit;
}

.page-gdpr__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__card {
  background-color: var(--page-gdpr-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  color: var(--page-gdpr-text-main);
  border: 1px solid var(--page-gdpr-border);
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.page-gdpr__light-bg-card {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-gdpr__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: inherit;
}

.page-gdpr__card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__light-bg-card .page-gdpr__card-title {
  color: #000000;
}

.page-gdpr__light-bg-card .page-gdpr__card-text {
  color: #555555;
}

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

.page-gdpr__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #ffffff;
  color: #000000;
  border-bottom: 1px solid #e0e0e0;
  list-style: none;
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}

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

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

.page-gdpr__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

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

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

.page-gdpr__contact-section .page-gdpr__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  color: var(--page-gdpr-text-secondary);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 20px 15px;
  }

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

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

  .page-gdpr__description {
    font-size: 0.95rem;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 20px;
  }

  .page-gdpr__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 25px;
  }

  .page-gdpr__card-title {
    font-size: 1.3rem;
  }

  .page-gdpr__card-text {
    font-size: 0.9rem;
  }

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

  .page-gdpr__faq-answer {
    padding: 15px 20px;
    font-size: 0.9rem;
  }

  /* Mobile responsive images */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__card-image,
  .page-gdpr__container,
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__hero-section,
  .page-gdpr__intro-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__compliance-section,
  .page-gdpr__faq-section,
  .page-gdpr__contact-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile responsive buttons */
  .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;
    overflow: hidden !important;
  }
}