/* style/gdpr.css */
:root {
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --card-bg: #D32F2F;
  --section-bg: #B71C1C;
  --text-main: #FFF5E1;
  --border-color: #F2B544;
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red-color: #7A0E0E;
  --light-text-color: #333333;
  --dark-text-color: #ffffff;
  --body-bg-light: #f0f2f5;
}

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

.page-gdpr h1, .page-gdpr h2, .page-gdpr h3, .page-gdpr h4, .page-gdpr h5, .page-gdpr h6 {
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-gdpr h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: bold;
  color: var(--dark-text-color); /* H1 in hero section uses dark text on dark background */
}

.page-gdpr h2 {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
}

.page-gdpr h3 {
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 600;
  margin-bottom: 15px;
}

.page-gdpr a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

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

.page-gdpr__container--center {
  text-align: center;
}

/* HERO Section */
.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, body handles header offset */
  background: var(--section-bg);
  color: var(--dark-text-color);
  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;
  position: relative;
  z-index: 1;
}

.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.3);
}

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

.page-gdpr__hero-content p {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: var(--dark-text-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--border-color);
}

.page-gdpr__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border-color: var(--glow-color);
}

/* Section Backgrounds */
.page-gdpr__light-bg {
  background-color: var(--body-bg-light);
  color: var(--light-text-color);
}

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

.page-gdpr__dark-section h2, .page-gdpr__dark-section h3 {
  color: var(--gold-color);
}

.page-gdpr__dark-section a {
  color: var(--gold-color);
}

.page-gdpr__dark-section a:hover {
  color: var(--glow-color);
}

/* Content Grid */
.page-gdpr__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}

.page-gdpr__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-gdpr__text-block {
  flex: 1;
}

.page-gdpr__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Lists */
.page-gdpr__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

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

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

.page-gdpr__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

/* FAQ Section */
details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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;
}

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: var(--deep-red-color);
}

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

.page-gdpr__faq-toggle {
  font-size: 24px;
  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 20px 20px;
  background: var(--deep-red-color);
  border-radius: 0 0 5px 5px;
  color: var(--text-main);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr__content-grid {
    flex-direction: column;
  }
  .page-gdpr__content-grid--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-gdpr h1 {
    font-size: clamp(24px, 7vw, 40px);
  }

  .page-gdpr h2 {
    font-size: clamp(20px, 6vw, 32px);
    margin-bottom: 20px;
  }

  .page-gdpr h3 {
    font-size: clamp(18px, 5vw, 24px);
  }

  .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__section {
    padding: 40px 0;
  }

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

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  details.page-gdpr__faq-item summary.page-gdpr__faq-question { padding: 15px; }
  .page-gdpr__faq-qtext { font-size: 15px; }
  details.page-gdpr__faq-item .page-gdpr__faq-answer { padding: 0 15px 15px; }
}