/* style/gdpr.css */

/* Custom Properties based on provided color scheme */
:root {
  --page-gdpr-primary-color: #11A84E; /* Main color */
  --page-gdpr-secondary-color: #22C768; /* Auxiliary color */
  --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-gdpr-card-bg: #11271B;
  --page-gdpr-background: #08160F;
  --page-gdpr-text-main: #F2FFF6;
  --page-gdpr-text-secondary: #A7D9B8;
  --page-gdpr-border-color: #2E7A4E;
  --page-gdpr-glow-color: #57E38D;
  --page-gdpr-gold-color: #F2C14E;
  --page-gdpr-divider-color: #1E3A2A;
  --page-gdpr-deep-green: #0A4B2C;
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: var(--page-gdpr-text-main); /* Default text color for the page */
  background-color: var(--page-gdpr-background); /* Ensure consistency with body */
  line-height: 1.6;
  font-size: 1rem;
}

/* Ensure headings have good contrast on dark background */
.page-gdpr h1,
.page-gdpr h2,
.page-gdpr h3,
.page-gdpr h4,
.page-gdpr h5,
.page-gdpr h6 {
  color: var(--page-gdpr-text-main);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.page-gdpr h1 {
  font-size: clamp(2rem, 4vw, 3.2rem); /* Using clamp for H1 font size */
  font-weight: 800;
  letter-spacing: -0.05em;
  max-width: 900px;
  text-align: center;
}

.page-gdpr h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.page-gdpr h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--page-gdpr-primary-color);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.page-gdpr h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--page-gdpr-text-main);
}

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

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

/* Section Styling */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  box-sizing: border-box;
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 1920px; /* Ensure it's not too wide */
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 2rem;
  display: block; /* Ensure it's a block element */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-gdpr__hero-content {
  max-width: 900px;
  text-align: center;
  margin-top: -4rem; /* Adjust to slightly overlap the image, but text is below it in DOM */
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.page-gdpr__hero-description {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 15px;
  justify-content: center;
  margin-top: 1.5rem;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons are responsive */
  text-align: center;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__btn-secondary {
  background: transparent;
  color: var(--page-gdpr-secondary-color);
  border: 2px solid var(--page-gdpr-secondary-color);
}

.page-gdpr__btn-secondary:hover {
  background: rgba(var(--page-gdpr-secondary-color), 0.1);
  color: var(--page-gdpr-glow-color);
  border-color: var(--page-gdpr-glow-color);
  transform: translateY(-2px);
}

.page-gdpr__content-section {
  padding: 50px 0;
  box-sizing: border-box;
}

.page-gdpr__dark-section {
  background-color: var(--page-gdpr-deep-green); /* Example dark section background */
  color: var(--page-gdpr-text-main);
}

.page-gdpr__container {
  width: 100%; /* Ensure width is 100% for desktop too as per rules */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-gdpr__section-title {
  color: var(--page-gdpr-text-main);
  margin-bottom: 2.5rem;
}

.page-gdpr__text-block {
  margin-bottom: 1.5rem;
  color: var(--page-gdpr-text-main);
  text-align: justify;
}

.page-gdpr__text-block a {
  color: var(--page-gdpr-secondary-color);
}

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

.page-gdpr__card {
  background-color: var(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-gdpr-text-main); /* Card text color */
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.page-gdpr__card-title {
  color: var(--page-gdpr-secondary-color);
  margin-bottom: 1rem;
}

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

.page-gdpr__image-full-width,
.page-gdpr__image-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.page-gdpr__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--page-gdpr-secondary-color);
  font-weight: bold;
}

.page-gdpr__contact-info {
  margin-top: 2rem;
  padding: 25px;
  background-color: var(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-border-color);
  border-radius: 12px;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__contact-item {
  margin-bottom: 10px;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 2rem;
}

.page-gdpr__faq-item {
  background-color: var(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-border-color);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--page-gdpr-text-main);
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: rgba(var(--page-gdpr-primary-color), 0.1);
}

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--page-gdpr-secondary-color);
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Rotate '+' to 'x' or use '−' */
}

/* For details tag, hide default marker */
.page-gdpr__faq-item summary {
  list-style: none;
}
.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--page-gdpr-text-secondary);
  line-height: 1.6;
}

.page-gdpr__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-gdpr__conclusion-section .page-gdpr__section-title {
  color: var(--page-gdpr-text-main);
}

.page-gdpr__conclusion-section .page-gdpr__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-gdpr-text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-image {
    height: 500px; /* Adjust height for tablets */
  }
}

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

  .page-gdpr h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-gdpr h2 {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

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

  .page-gdpr__hero-image {
    height: 300px; /* Adjust height for mobile */
    margin-bottom: 1.5rem;
  }

  .page-gdpr__hero-content {
    margin-top: -3rem; /* Adjust overlap */
    padding: 0 15px;
  }

  .page-gdpr__hero-description {
    font-size: 1rem;
  }

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__content-section {
    padding: 30px 0;
  }

  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__grid-layout {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 25px;
  }

  .page-gdpr__image-full-width,
  .page-gdpr__image-responsive {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 1.5rem auto;
    box-sizing: border-box !important;
  }

  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-gdpr__faq-answer {
    padding: 0 20px 15px;
  }

  /* Ensure all content containers are responsive */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__contact-info {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
}

/* Image color filter restriction */
.page-gdpr img {
  filter: none !important; /* Absolutely no CSS filters to change image colors */
}