/* style/gdpr.css */

:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --text-main-color: #F3F8FF;
  --text-secondary-color: #AFC4E8;
  --card-bg-color: #10233F;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy: #08162B;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Body background is dark (--deep-navy), so text must be light */
  background-color: var(--deep-navy);
}

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

.page-gdpr__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

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

.page-gdpr__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gdpr__description {
  font-size: 1.15rem;
  color: var(--text-secondary-color);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: var(--text-main-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-gdpr__cta-button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-gdpr__content-section {
  padding: 80px 20px;
  background-color: var(--deep-navy);
}

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

.page-gdpr__section-title {
  font-size: 2.2rem;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-gdpr__subsection-title {
  font-size: 1.7rem;
  color: var(--secondary-color);
  margin-top: 50px;
  margin-bottom: 25px;
  font-weight: 600;
  border-bottom: 2px solid var(--divider-color);
  padding-bottom: 10px;
}

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

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

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1rem;
}

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

.page-gdpr__contact-link {
  color: var(--glow-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
  color: var(--gold-color);
  text-decoration: underline;
}

.page-gdpr__faq-section {
  padding: 80px 20px;
  background-color: var(--card-bg-color);
}

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

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--deep-navy);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main-color);
  font-weight: 600;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
  background: rgba(var(--primary-color), 0.2);
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color);
}
.page-gdpr__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 25px 25px;
  background: var(--card-bg-color);
  border-radius: 0 0 8px 8px;
  color: var(--text-secondary-color);
  font-size: 1rem;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-gdpr__description {
    font-size: 1rem;
  }
  .page-gdpr__section-title {
    font-size: 2rem;
  }
  .page-gdpr__subsection-title {
    font-size: 1.5rem;
  }
  .page-gdpr__cta-button {
    padding: 12px 30px;
    font-size: 1rem;
  }
  .page-gdpr__content-section, .page-gdpr__faq-section {
    padding: 60px 15px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* body padding-top handles header offset */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-gdpr__hero-image img {
    border-radius: 4px;
  }
  
  .page-gdpr__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__hero-content {
    padding: 0 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-gdpr__description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .page-gdpr__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-gdpr__subsection-title {
    font-size: 1.3rem;
    margin-top: 40px;
    margin-bottom: 20px;
  }
  .page-gdpr__text-block, .page-gdpr__list-item {
    font-size: 0.95rem;
  }
  
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__container,
  .page-gdpr__hero-container,
  .page-gdpr__hero-content,
  .page-gdpr__content-section,
  .page-gdpr__faq-section,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item,
  .page-gdpr__faq-question,
  .page-gdpr__faq-answer {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  details.page-gdpr__faq-item summary.page-gdpr__faq-question { padding: 15px; }
  .page-gdpr__faq-qtext { font-size: 1rem; }
  .page-gdpr__faq-toggle { font-size: 1.5rem; width: 24px; }
  details.page-gdpr__faq-item .page-gdpr__faq-answer { padding: 0 15px 15px; }
}