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

.page-gdpr {
  color: var(--text-main); /* Text Main: #FFF5E1, Background: #B71C1C */
  background-color: var(--page-bg);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.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%; /* Ensure full width on desktop for flex */
}

.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 16px rgba(0, 0, 0, 0.3);
}

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

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

.page-gdpr__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-main);
  max-width: 800px;
  margin: 0 auto 30px;
}

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

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

/* Section common styles */
.page-gdpr__section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--gold-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-gdpr__sub-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--gold-color);
}

.page-gdpr__paragraph {
  font-size: 17px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-gdpr__paragraph--centered {
  text-align: center;
}

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

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

.page-gdpr__text-link {
  color: var(--gold-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__text-link:hover {
  color: var(--glow-color);
}

/* Light background sections */
.page-gdpr__light-bg {
  background-color: var(--page-bg);
  color: var(--text-main);
}

/* Dark background sections */
.page-gdpr__dark-section {
  background-color: var(--deep-red-color);
  color: var(--text-main);
}

/* Principles section */
.page-gdpr__principles-section .page-gdpr__section-title {
    color: var(--gold-color);
}

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

.page-gdpr__card {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.page-gdpr__card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--gold-color);
}

.page-gdpr__card-description {
  font-size: 16px;
  color: var(--text-main);
}

/* Data Collection section */
.page-gdpr__content-flex {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}

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

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

.page-gdpr__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-gdpr__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  border: 2px solid var(--border-color);
}

/* Data Usage section */
.page-gdpr__grid-two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-gdpr__usage-item {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.page-gdpr__usage-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--gold-color);
}

.page-gdpr__usage-description {
  font-size: 16px;
  color: var(--text-main);
}

/* Rights section */
.page-gdpr__rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-gdpr__right-item {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.page-gdpr__right-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--gold-color);
}

.page-gdpr__right-description {
  font-size: 16px;
  color: var(--text-main);
}

.page-gdpr__contact-cta {
    text-align: center;
    margin-top: 40px;
}

/* 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);
}
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;
  color: var(--gold-color);
}
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: 18px;
  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);
}
.page-gdpr__faq-answer p {
    color: var(--text-main);
}

/* Contact Info section */
.page-gdpr__contact-info .page-gdpr__section-title {
    color: var(--gold-color);
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: center;
}

.page-gdpr__contact-list li {
  margin-bottom: 15px;
  font-size: 18px;
  color: var(--text-main);
}

.page-gdpr__contact-list li strong {
  color: var(--gold-color);
}

.page-gdpr__contact-list li a {
  color: var(--gold-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__contact-list li a:hover {
  color: var(--glow-color);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__content-flex {
    flex-direction: column;
  }
  .page-gdpr__content-flex--reverse {
    flex-direction: column;
  }
  .page-gdpr__image-wrapper {
    margin-top: 30px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 20px 15px;
  }
  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__main-title {
    font-size: 28px;
  }
  .page-gdpr__hero-description {
    font-size: 16px;
  }
  .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;
    margin-left: 0;
    margin-right: 0;
  }
  .page-gdpr__section-title {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .page-gdpr__sub-title {
    font-size: 20px;
  }
  .page-gdpr__paragraph,
  .page-gdpr__list li,
  .page-gdpr__card-description,
  .page-gdpr__usage-description,
  .page-gdpr__right-description {
    font-size: 15px;
  }
  .page-gdpr__grid,
  .page-gdpr__grid-two-col,
  .page-gdpr__rights-grid {
    gap: 20px;
  }
  .page-gdpr__card,
  .page-gdpr__usage-item,
  .page-gdpr__right-item {
    padding: 20px;
  }
  .page-gdpr__card-title,
  .page-gdpr__usage-title,
  .page-gdpr__right-title {
    font-size: 18px;
  }
  details.page-gdpr__faq-item summary.page-gdpr__faq-question { padding: 15px; }
  .page-gdpr__faq-qtext { font-size: 15px; }
  .page-gdpr__faq-toggle { font-size: 20px; width: 24px; height: 24px; }
  details.page-gdpr__faq-item .page-gdpr__faq-answer { padding: 0 15px 15px; }

  /* Ensure all images are responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-container,
  .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;
  }
  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-gdpr__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}