/* style/gdpr.css */

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

/* Base styles for the GDPR page content */
.page-gdpr {
  background-color: var(--gdpr-background); /* Dark background */
  color: var(--gdpr-text-main); /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Ensure space above footer */
}

/* Fixed header spacing is handled by body in shared.css, so no padding-top: var(--header-offset) here */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image first, then content */
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  background-color: var(--gdpr-deep-green); /* A slightly different dark green for hero */
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and text */
}

.page-gdpr__hero-content {
  text-align: center;
  max-width: 900px;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: var(--gdpr-text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__intro-text {
  font-size: 1.1em;
  color: var(--gdpr-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-button {
  display: inline-block;
  background: var(--gdpr-button-gradient);
  color: var(--gdpr-text-main);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-gdpr__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Invert gradient on hover */
}

.page-gdpr__cta-button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 20px;
}

.page-gdpr__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2em;
  margin-top: 30px;
}

.page-gdpr__content-section {
  padding: 60px 20px;
  text-align: left;
}

.page-gdpr__content-section.page-gdpr__dark-bg {
  background-color: var(--gdpr-card-bg); /* Slightly lighter dark background for contrast */
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: var(--gdpr-gold); /* Use gold for main section titles */
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-gdpr__sub-title {
  font-size: 1.6em;
  color: var(--gdpr-text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__paragraph {
  font-size: 1em;
  color: var(--gdpr-text-secondary);
  margin-bottom: 15px;
}

.page-gdpr__image-text-block {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 40px;
}

.page-gdpr__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-gdpr__content-image {
  flex: 0 0 45%;
  max-width: 45%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

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

.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

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

.page-gdpr__rights-item .page-gdpr__sub-title {
  color: var(--gdpr-gold);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-gdpr__contact-info {
  background-color: var(--gdpr-card-bg);
  border: 1px solid var(--gdpr-border);
  border-radius: 10px;
  padding: 30px;
  margin-top: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.page-gdpr__contact-item {
  margin-bottom: 10px;
  color: var(--gdpr-text-secondary);
}

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

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

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 20px;
  background-color: var(--gdpr-background);
}

.page-gdpr__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__faq-item {
  background-color: var(--gdpr-card-bg);
  border: 1px solid var(--gdpr-border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--gdpr-text-main);
  cursor: pointer;
  background-color: var(--gdpr-deep-green);
  border-bottom: 1px solid var(--gdpr-border);
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  border-bottom: 1px solid var(--gdpr-border);
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
  color: var(--gdpr-gold); /* FAQ question text in gold */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--gdpr-glow);
}

.page-gdpr__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--gdpr-text-secondary);
  background-color: var(--gdpr-card-bg);
  border-top: none;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__image-text-block {
    flex-direction: column;
    align-items: center;
  }
  .page-gdpr__image-text-block--reverse {
    flex-direction: column; /* Ensure it stays column on smaller screens */
  }
  .page-gdpr__content-image {
    max-width: 100%;
    flex: none;
    margin-bottom: 20px;
  }
}

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

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

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

  .page-gdpr__intro-text {
    font-size: 1em;
  }

  .page-gdpr__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

  .page-gdpr__sub-title {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-gdpr__content-section {
    padding: 40px 15px;
  }

  .page-gdpr__rights-list {
    grid-template-columns: 1fr;
  }

  .page-gdpr__rights-item,
  .page-gdpr__contact-info,
  .page-gdpr__faq-item {
    padding: 20px;
  }

  .page-gdpr__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-gdpr__faq-answer {
    padding: 15px 20px;
  }
  
  /* Mobile mandatory image/video/button responsive styles */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr video,
  .page-gdpr__video { /* If video were present */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__content-section,
  .page-gdpr__faq-section,
  .page-gdpr__cta-section,
  .page-gdpr__video-section, /* If video were present */
  .page-gdpr__video-container, /* If video were present */
  .page-gdpr__video-wrapper, /* If video were present */
  .page-gdpr__cta-buttons, /* If multiple buttons */
  .page-gdpr__button-group, /* If multiple buttons */
  .page-gdpr__btn-container /* If multiple buttons */
  {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr__cta-button,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .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 and padding-right already handled by container */
    margin-bottom: 10px; /* Space between stacked buttons */
  }

  .page-gdpr__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}