/* style/gdpr.css */

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

.page-gdpr {
  background-color: var(--page-gdpr-bg); /* Matches provided background color */
  color: var(--page-gdpr-text-main); /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Add some padding at the bottom */
}

.page-gdpr a {
  color: var(--page-gdpr-glow); /* Use a vibrant color for links */
  text-decoration: none;
}

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

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

.page-gdpr__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--page-gdpr-divider);
}

.page-gdpr__section:last-of-type {
  border-bottom: none;
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem); /* Responsive font size */
  color: var(--page-gdpr-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__text-block {
  margin-bottom: 20px;
  color: var(--page-gdpr-text-secondary);
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--page-gdpr-deep-green); /* A complementary background for hero */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* To match hero image size */
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gdpr__hero-content {
  text-align: center;
  padding: 40px 20px 60px;
  max-width: 900px;
  z-index: 1; /* Ensure content is above any background elements if layered */
}

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: var(--page-gdpr-gold); /* Gold for main title */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--page-gdpr-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-btn-gradient);
  color: #ffffff; /* White text for dark button */
  border: none;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-gdpr__btn-secondary:hover {
  background-color: var(--page-gdpr-glow);
  color: var(--page-gdpr-deep-green); /* Darker text on hover */
}

.page-gdpr__btn-primary--center {
  margin-left: auto;
  margin-right: auto;
  display: block; /* Make it a block element to center with margin auto */
  width: fit-content; /* Adjust width to content */
}

/* Grid layout for data rights and protection sections */
.page-gdpr__container--grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 769px) {
  .page-gdpr__container--grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-gdpr__container--reverse {
    grid-template-areas: "content image"; /* content on left, image on right */
  }
  .page-gdpr__container--reverse .page-gdpr__content-wrapper {
    grid-area: content;
  }
  .page-gdpr__container--reverse .page-gdpr__image-wrapper {
    grid-area: image;
  }
}


.page-gdpr__image-wrapper {
  text-align: center;
}

.page-gdpr__image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure it behaves as a block element for sizing */
  margin: 0 auto; /* Center image if it's smaller than wrapper */
}

.page-gdpr__image-wrapper--full-width {
  margin-top: 40px;
}

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

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

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

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

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

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  color: var(--page-gdpr-text-main);
  cursor: pointer;
  background-color: var(--page-gdpr-deep-green); /* Slightly darker for question header */
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
  font-size: 1.1rem;
}

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

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

.page-gdpr__faq-answer {
  padding: 15px 25px 20px;
  color: var(--page-gdpr-text-secondary);
  border-top: 1px solid var(--page-gdpr-border);
}

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

  .page-gdpr__section {
    padding: 40px 0;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
    margin-bottom: 30px;
  }

  .page-gdpr__main-title {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .page-gdpr__subtitle {
    font-size: clamp(1rem, 3vw, 1.1rem);
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    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__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;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-gdpr__container--grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .page-gdpr__image-wrapper,
  .page-gdpr__content-wrapper,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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