/* style/gdpr.css */

/* Custom Colors */
:root {
  --page-gdpr-primary-color: #11A84E;
  --page-gdpr-secondary-color: #22C768;
  --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;
}

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

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  background-color: var(--page-gdpr-background);
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-height: 200px; /* Minimum image size */
}

.page-gdpr__hero-content {
  position: relative; /* Ensure content is above image if needed, but not overlaying */
  z-index: 1;
  padding: 0 20px;
  max-width: 900px;
}

.page-gdpr__main-title {
  color: var(--page-gdpr-text-main);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Subtle shadow for readability */
  /* No fixed font-size for H1, relying on responsive scaling */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

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

/* Sections */
.page-gdpr__section {
  padding: 60px 0;
}

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

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

.page-gdpr__section-title {
  color: var(--page-gdpr-text-main);
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  font-weight: bold;
}

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

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

.page-gdpr__content-area {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-gdpr__content-area p {
  margin-bottom: 1.5em;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__content-area h3 {
  color: var(--page-gdpr-text-main);
  font-size: 1.4rem;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__content-area a {
  color: var(--page-gdpr-primary-color);
  text-decoration: none;
}

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

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-height: 200px; /* Minimum image size */
}

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

.page-gdpr__list-item {
  background-color: var(--page-gdpr-deep-green); /* Slightly different background for list items */
  border: 1px solid var(--page-gdpr-border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-gdpr__list-title {
  color: var(--page-gdpr-gold-color);
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-gdpr__list-description {
  color: var(--page-gdpr-text-secondary);
  font-size: 1rem;
}

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

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

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 0;
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.page-gdpr__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: var(--page-gdpr-text-main);
  font-weight: bold;
  font-size: 1.1rem;
  background-color: var(--page-gdpr-deep-green);
  border-bottom: 1px solid transparent; /* default */
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-item summary:hover {
  background-color: var(--page-gdpr-deep-green); /* Slightly darker on hover */
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

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

.page-gdpr__faq-item[open] summary {
  border-bottom-color: var(--page-gdpr-divider-color);
}

.page-gdpr__faq-answer {
  padding: 15px 20px 20px;
  color: var(--page-gdpr-text-secondary);
  font-size: 1rem;
  border-top: 1px solid var(--page-gdpr-divider-color);
  margin-top: -1px; /* Overlap border for clean look */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-gdpr__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-gdpr__hero-section {
    padding: 10px 15px 40px;
  }

  .page-gdpr__hero-content {
    padding: 0 15px;
  }

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

  .page-gdpr__description {
    font-size: 1rem;
  }

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

  .page-gdpr__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-gdpr__content-area {
    padding: 0 15px;
  }

  .page-gdpr__list-item {
    padding: 15px;
  }

  .page-gdpr__list-title {
    font-size: 1.2rem;
  }

  .page-gdpr__list-description {
    font-size: 0.95rem;
  }

  /* Mobile responsive for images */
  .page-gdpr img {
    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__hero-image-wrapper,
  .page-gdpr__content-area,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile responsive for buttons */
  .page-gdpr__btn-primary,
  .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: 15px;
    padding-right: 15px;
  }
  
  .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__faq-list {
    padding: 0 15px; /* Adjust padding for FAQ list on mobile */
  }

  .page-gdpr__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }

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

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }
  .page-gdpr__section-title {
    font-size: 1.6rem;
  }
  .page-gdpr__hero-section {
    padding-bottom: 30px;
  }
}