/* style/gdpr.css */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg: #111111;
  --page-bg: #0A0A0A;
  --text-main: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-gdpr {
  background-color: var(--page-bg); /* Assuming --site-bg from shared.css is dark */
  color: var(--text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

/* Hero Section (as title/intro) */
.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; /* Small top padding as body handles header offset */
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
}

.page-gdpr__hero-content {
  max-width: 800px;
  margin-bottom: 20px;
}

.page-gdpr__main-title {
  font-size: 2.8em;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.4);
}

.page-gdpr__intro-description {
  font-size: 1.1em;
  color: var(--text-main);
  margin-bottom: 30px;
  max-width: 900px;
  line-height: 1.5;
}

/* Content Sections */
.page-gdpr__content-section {
  padding: 50px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.page-gdpr__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.3);
}

.page-gdpr__sub-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 500;
}

.page-gdpr p {
  margin-bottom: 15px;
  color: var(--text-main);
}

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

.page-gdpr__list li {
  margin-bottom: 10px;
  padding-left: 5px;
}

.page-gdpr__list li strong {
  color: var(--secondary-color);
}

.page-gdpr__link {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: var(--secondary-color);
}

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

.page-gdpr__image--centered {
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: var(--card-bg);
  padding: 50px 0;
}

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

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: #1a1a1a; /* Slightly lighter than card-bg for contrast */
  box-shadow: 0 2px 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 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  color: var(--text-main);
}

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: #2a2a2a; /* Darker hover for dark background */
}

.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 20px 20px;
  background: #0d0d0d; /* Darker background for answer */
  border-radius: 0 0 8px 8px;
  color: var(--text-main);
}

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

/* Contact Info Section */
.page-gdpr__contact-info-section {
  padding: 50px 0;
  text-align: center;
}

.page-gdpr__last-updated {
  margin-top: 30px;
  font-size: 0.9em;
  color: #999999;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.4em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__sub-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-gdpr__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-gdpr__intro-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-gdpr__content-section {
    padding: 30px 0;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-gdpr__sub-title {
    font-size: 1.2em;
  }
  .page-gdpr__list {
    margin-left: 20px;
  }
  .page-gdpr__image {
    border-radius: 4px;
  }
  
  details.page-gdpr__faq-item summary.page-gdpr__faq-question { padding: 15px; }
  .page-gdpr__faq-qtext { font-size: 1em; }
  .page-gdpr__faq-toggle { font-size: 20px; }
  details.page-gdpr__faq-item .page-gdpr__faq-answer { padding: 0 15px 15px; }

  /* Ensure images and containers do not cause horizontal scroll */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__container,
  .page-gdpr__hero-container,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__sub-title {
    font-size: 1.1em;
  }
  .page-gdpr__faq-qtext {
    font-size: 0.95em;
  }
}