/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark background */
  background: var(--dark-bg); /* Inherited from shared.css */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  padding: 120px 0 60px; /* Adjusted padding-top to account for fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
  background-color: #1a1a1a; /* Dark background for hero */
}

.page-gdpr__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay */
  z-index: 0;
}

.page-gdpr__hero-section .page-gdpr__container {
  position: relative;
  z-index: 1;
}

.page-gdpr__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold color for title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  color: #e0e0e0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* General Content Sections */
.page-gdpr__content-section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-gdpr__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #1E90FF; /* Blue underline */
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-gdpr__subsection-title {
  font-size: 1.8em;
  color: #1E90FF; /* Blue color for subsections */
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-gdpr__text-block {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #e0e0e0;
}

.page-gdpr__list-item strong {
  color: #FFD700;
}

.page-gdpr__link {
  color: #1E90FF; /* Blue for links */
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: #FFD700;
}

/* Image content styles */
.page-gdpr__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-gdpr__btn-primary {
  background-color: #FFD700; /* Gold background */
  color: #1a1a1a; /* Dark text for contrast */
  border: 2px solid #FFD700;
  margin-right: 15px;
}

.page-gdpr__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-gdpr__btn-secondary:hover {
  background-color: #FFD700;
  color: #1a1a1a;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* FAQ Section */
.page-gdpr__faq {
  background-color: #1a1a1a; /* Slightly lighter dark background for FAQ */
  padding: 60px 0;
}

.page-gdpr__faq-item {
  background-color: #2a2a2a;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #3a3a3a;
  color: #FFD700; /* Gold for question */
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-question:hover {
  background-color: #4a4a4a;
}

.page-gdpr__faq-title {
  margin: 0;
  color: inherit;
  font-size: 1em; /* Adjust to fit parent */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #1E90FF; /* Blue for toggle */
}

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

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 20px !important;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.8em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__subsection-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  /* Fixed header offset for mobile, if not handled by shared.css body padding */
  .page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    min-height: 400px;
  }

  /* Ensure content containers don't overflow */
  .page-gdpr__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__hero-title {
    font-size: 2em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__subsection-title {
    font-size: 1.3em;
  }
  .page-gdpr__text-block,
  .page-gdpr__list-item {
    font-size: 0.95em;
  }

  /* Image responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__image-content {
    margin: 20px auto;
  }

  /* Button responsive */
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-right: 0 !important; /* Remove margin for single column */
  }
  .page-gdpr__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
  }

  /* FAQ responsive */
  .page-gdpr__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-gdpr__faq-answer {
    padding: 0 15px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 15px !important;
  }
}

/* Ensure minimum image size and no small icons */
/* The following rules apply to all images within .page-gdpr, overriding any smaller defaults */
.page-gdpr img {
  min-width: 200px;
  min-height: 200px;
}

/* Specific override for social icons if they were part of the main content and needed to be small, but generally they are handled by shared */
.page-gdpr__social-icon {
  min-width: unset;
  min-height: unset;
}