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

.page-gdpr {
  background-color: var(--page-gdpr-bg);
  color: var(--page-gdpr-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability, not changing color */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  color: var(--page-gdpr-text-main);
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-gdpr__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--page-gdpr-text-main);
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--page-gdpr-btn-gradient);
  color: #ffffff; /* White text for button */
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1em;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

/* Content Area */
.page-gdpr__content-area,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__protection-section,
.page-gdpr__contact-faq-section,
.page-gdpr__cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--page-gdpr-text-main);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.page-gdpr__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--page-gdpr-gold);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-gdpr__text-block {
  font-size: 1.05em;
  color: var(--page-gdpr-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

/* Dark Background Sections */
.page-gdpr__dark-section {
  background-color: var(--page-gdpr-card-bg);
  color: var(--page-gdpr-text-main);
}

.page-gdpr__light-bg {
  background-color: var(--page-gdpr-bg);
  color: var(--page-gdpr-text-main);
}

/* Grid Container for Principles */
.page-gdpr__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__card {
  background-color: var(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-gdpr-text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-gdpr__card-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-gdpr__card-text {
  font-size: 1em;
  color: var(--page-gdpr-text-secondary);
  text-align: justify;
}

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

.page-gdpr__rights-item {
  background-color: var(--page-gdpr-bg);
  border: 1px solid var(--page-gdpr-border);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--page-gdpr-text-main);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__rights-item:hover {
  transform: translateY(-5px);
}

.page-gdpr__rights-icon {
  width: 200px; /* Minimum size requirement */
  height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-gdpr__rights-title {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--page-gdpr-gold);
  margin-bottom: 10px;
}

.page-gdpr__rights-text {
  font-size: 0.95em;
  color: var(--page-gdpr-text-secondary);
  text-align: justify;
}

/* Protection Features */
.page-gdpr__protection-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__feature-item {
  background-color: var(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-divider);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  color: var(--page-gdpr-text-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-gdpr__feature-icon {
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: var(--page-gdpr-gold); /* Placeholder for actual icons */
  border-radius: 50%;
  /* Example icons, will be replaced by actual images/SVGs */
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
}

.page-gdpr__feature-icon--encryption {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.79z"/></svg>');
}
.page-gdpr__feature-icon--firewall {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M22 10V6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v4c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-4c1.1 0 2-.9 2-2zm-2-4v4h-4V6h4zM4 6h4v4H4V6zm16 12H4v-4h16v4z"/></svg>');
}
.page-gdpr__feature-icon--access-control {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 0c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm4 12H8v-8h8v8z"/></svg>');
}
.page-gdpr__feature-icon--training {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M12 3L1 9l11 6 11-6L12 3zm0 14.7L5.5 14 12 10.3l6.5 3.7L12 17.7zM12 16.03l-6.5-3.7V9.3L12 13l6.5-3.7V12.33L12 16.03z"/></svg>');
}

.page-gdpr__feature-title {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--page-gdpr-text-main);
  margin-bottom: 10px;
}

.page-gdpr__feature-text {
  font-size: 0.95em;
  color: var(--page-gdpr-text-secondary);
}

/* Contact & FAQ */
.page-gdpr__contact-faq-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin-top: 60px;
}

.page-gdpr__contact-info {
  padding: 20px;
  border-radius: 10px;
  background-color: var(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-border);
}

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

.page-gdpr__contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.page-gdpr__contact-icon {
  display: block;
  width: 30px;
  height: 30px;
  margin-right: 15px;
  background-color: var(--page-gdpr-gold); /* Placeholder */
  border-radius: 50%;
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
}

.page-gdpr__contact-icon--email {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
}

.page-gdpr__contact-icon--support {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 14h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"/></svg>');
}

.page-gdpr__contact-text {
  font-size: 1.05em;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__contact-text a {
  color: var(--page-gdpr-gold);
  text-decoration: none;
}

.page-gdpr__contact-text a:hover {
  text-decoration: underline;
}

.page-gdpr__faq {
  padding: 20px;
  border-radius: 10px;
  background-color: var(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-border);
}

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

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid var(--page-gdpr-divider);
  padding-bottom: 15px;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--page-gdpr-text-main);
  cursor: pointer;
  padding: 10px 0;
  list-style: none; /* For details summary */
}

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: 300;
  color: var(--page-gdpr-gold);
  margin-left: 15px;
}

.page-gdpr__faq-answer {
  font-size: 1em;
  color: var(--page-gdpr-text-secondary);
  padding-top: 10px;
  text-align: justify;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-gdpr__contact-faq-section {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.8em;
  }
  .page-gdpr__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
  }
  .page-gdpr__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-gdpr__description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-gdpr__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__content-area,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__protection-section,
  .page-gdpr__contact-faq-section,
  .page-gdpr__cta-section {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-gdpr__text-block {
    font-size: 0.95em;
  }

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

  .page-gdpr__card-image,
  .page-gdpr__rights-icon {
    width: 100% !important;
    height: auto !important;
    max-width: 250px !important; /* Adjust max-width for smaller screens if needed */
    object-fit: contain;
  }

  .page-gdpr__card,
  .page-gdpr__rights-item,
  .page-gdpr__feature-item,
  .page-gdpr__contact-info,
  .page-gdpr__faq {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr__feature-icon {
    width: 60px;
    height: 60px;
  }

  .page-gdpr__contact-faq-section {
    gap: 30px;
  }

  .page-gdpr__faq-question {
    font-size: 1em;
  }
  .page-gdpr__faq-answer {
    font-size: 0.9em;
  }

  /* Ensure all img tags within .page-gdpr do not cause overflow */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* Contrast Fixes - Ensure text is readable on backgrounds */
.page-gdpr__dark-section p,
.page-gdpr__dark-section li,
.page-gdpr__dark-section a {
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__dark-section h1,
.page-gdpr__dark-section h2,
.page-gdpr__dark-section h3,
.page-gdpr__dark-section h4 {
  color: var(--page-gdpr-text-main);
}

.page-gdpr__card {
  color: var(--page-gdpr-text-main);
}

.page-gdpr__card-title {
  color: var(--page-gdpr-gold);
}

.page-gdpr__card-text {
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__rights-item {
  color: var(--page-gdpr-text-main);
}

.page-gdpr__rights-title {
  color: var(--page-gdpr-gold);
}

.page-gdpr__rights-text {
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__faq-question {
  color: var(--page-gdpr-text-main);
}

.page-gdpr__faq-answer {
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__contact-text a {
  color: var(--page-gdpr-gold);
}