/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #f4f7f6; /* Shared body background */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, #007bff, #0056b3); /* Darker blue gradient for depth */
  color: #ffffff;
  overflow: hidden; /* To contain image */
}

.page-gdpr__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-gdpr__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #ffffff; /* Ensure white text on dark background */
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-gdpr__hero-image-wrapper {
  margin-top: 40px;
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #ffc107; /* Secondary color for CTA */
  color: #000000; /* Dark text on bright yellow for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-gdpr__cta-button:hover {
  background: #e0a800; /* Slightly darker yellow on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.page-gdpr__content-section {
  padding: 60px 0;
}

.page-gdpr__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-gdpr__dark-bg {
  background-color: #007bff; /* Primary brand color */
  color: #ffffff;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherits from parent section */
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: inherit;
}

.page-gdpr__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

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

.page-gdpr__list-item {
  background: rgba(255, 255, 255, 0.1); /* Slightly visible on dark background, white on light */
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: inherit;
}

.page-gdpr__dark-bg .page-gdpr__list-item {
    background: rgba(255, 255, 255, 0.15); /* Slightly more opaque on dark */
    color: #ffffff;
}

.page-gdpr__light-bg .page-gdpr__list-item {
    background: #f9f9f9;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-gdpr__list-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: inherit;
}

.page-gdpr__list-item p {
  font-size: 1em;
  color: inherit;
}

/* Contact Info */
.page-gdpr__contact-info {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1em;
  color: inherit;
}

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

.page-gdpr__link {
  color: #ffc107; /* Secondary color for links on dark background */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__light-bg .page-gdpr__link {
    color: #007bff; /* Primary color for links on light background */
}

.page-gdpr__link:hover {
  color: #e0a800; /* Darker yellow on hover for dark background */
}

.page-gdpr__light-bg .page-gdpr__link:hover {
    color: #0056b3; /* Darker blue on hover for light background */
}


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

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333; /* Ensure dark text for answer content */
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #333333; /* Ensure dark text for question */
}