/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background - to ensure consistency if shared.css doesn't apply directly */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fixed header spacing */
.page-gdpr__hero-section {
  padding-top: var(--header-offset, 120px); /* Desktop default */
  background-color: #0A0A0A; /* Ensure hero section background matches body */
}

.page-gdpr__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column; /* Image on top, text below */
  align-items: center;
  gap: 30px;
  padding: 20px;
  box-sizing: border-box;
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__hero-content {
  text-align: center;
  max-width: 800px;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Using clamp as per H1 font size rule */
  font-weight: 700;
  line-height: 1.2;
  color: #F2C14E; /* Main color for title */
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
}

.page-gdpr__hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box; /* For responsive buttons */
  white-space: normal; /* For responsive buttons */
  word-wrap: break-word; /* For responsive buttons */
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4); /* Glow color */
}

.page-gdpr__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  border: 2px solid #3A2A12; /* Border color */
}

.page-gdpr__btn-secondary:hover {
  background: #0A0A0A; /* Darker on hover */
  border-color: #F2C14E; /* Main color */
  transform: translateY(-2px);
}

/* Content Area */
.page-gdpr__content-area {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 20px;
  font-weight: 600;
}

.page-gdpr__text-block {
  font-size: 1.05em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-gdpr__text-block strong {
  color: #F2C14E; /* Highlight strong text */
}

.page-gdpr__text-link {
  color: #F2C14E;
  text-decoration: none;
  border-bottom: 1px solid #F2C14E;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-gdpr__text-link:hover {
  color: #FFD36B;
  border-color: #FFD36B;
}

/* Card Grid */
.page-gdpr__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-gdpr__card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6; /* Text Main */
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(255, 211, 107, 0.2); /* Subtle glow on hover */
}

.page-gdpr__card-title {
  font-size: 1.4em;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__card-text {
  font-size: 0.95em;
  color: #FFF6D6; /* Text Main */
  line-height: 1.6;
}

/* List styles */
.page-gdpr__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-gdpr__list-item {
  background: #111111; /* Card BG */
  border-left: 4px solid #F2C14E; /* Main color for accent */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: #FFF6D6; /* Text Main */
  font-size: 1.05em;
}

.page-gdpr__list-item strong {
  color: #FFD36B; /* Auxiliary color */
}

/* Image-Text Block */
.page-gdpr__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

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

.page-gdpr__content-image {
  flex: 1;
  min-width: 200px; /* Minimum image size */
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid #3A2A12; /* Border color */
}

.page-gdpr__text-content {
  flex: 1;
  min-width: 300px;
}

/* DPO Contact Card */
.page-gdpr__dpo-card {
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: center;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: #111111; /* Card BG */
  color: #FFD36B; /* Auxiliary color */
  font-weight: 600;
  font-size: 1.15em;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #1A1A1A; /* Slightly darker on hover */
}

.page-gdpr__faq-title {
  margin: 0;
  color: #FFD36B; /* Auxiliary color */
  font-size: 1em; /* Relative to parent .page-gdpr__faq-question */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #F2C14E; /* Main color */
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px;
}

.page-gdpr__faq-answer .page-gdpr__text-block {
  margin-bottom: 10px;
}

/* Conclusion Section */
.page-gdpr__conclusion .page-gdpr__hero-cta-buttons {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-container {
    flex-direction: column;
  }
  .page-gdpr__hero-image {
    max-width: 80%;
  }
  .page-gdpr__image-text-block {
    flex-direction: column;
    text-align: center;
  }
  .page-gdpr__image-text-block--reverse {
    flex-direction: column;
  }
  .page-gdpr__content-image {
    max-width: 80%;
  }
}

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

  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 100px) !important; /* Mobile padding-top */
  }

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

  .page-gdpr__section-title {
    font-size: 2em;
  }

  .page-gdpr__sub-title {
    font-size: 1.5em;
  }

  .page-gdpr__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to container */
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* All images responsive for mobile */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All content containers for mobile */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__image-text-block,
  .page-gdpr__hero-container,
  .page-gdpr__hero-content,
  .page-gdpr__dpo-card,
  .page-gdpr__faq-item,
  .page-gdpr__faq-question,
  .page-gdpr__faq-answer {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-gdpr__image-text-block,
  .page-gdpr__image-text-block--reverse {
    flex-direction: column;
    gap: 20px;
  }

  .page-gdpr__content-image {
    max-width: 100%;
  }
}

/* Ensure no CSS filters are used for images */
.page-gdpr img {
  filter: none !important;
}

/* Ensure content area images are not too small by CSS */
.page-gdpr__content-area img {
  min-width: 200px;
  min-height: 200px;
}
@media (max-width: 768px) {
  .page-gdpr__content-area img {
    min-width: unset; /* Allow to scale down but max-width: 100% ensures it's not smaller than container */
    min-height: unset;
  }
}