/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  text-align: center;
  background-color: #0a0a0a; /* Dark background for hero */
  overflow: hidden;
}

.page-gdpr__hero-container {
  max-width: 900px;
  z-index: 10;
  margin-bottom: 40px;
}

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

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

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-gdpr__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for better text contrast */
}

/* Content Area */
.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff; /* Light background for content */
  color: #333333; /* Dark text for light background */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 5;
}

.page-gdpr__container {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #8B0000;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-gdpr__sub-section-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-gdpr__highlight {
  color: #8B0000;
  font-weight: bold;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 30px;
  font-size: 1.05em;
}

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

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__contact-info {
  background-color: #f9f9f9;
  border-left: 5px solid #FFD700;
  padding: 20px;
  margin: 30px 0;
  border-radius: 5px;
}

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

.page-gdpr__link {
  color: #8B0000;
  text-decoration: underline;
}

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

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #FFD700;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-gdpr__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-gdpr__cta-section {
  text-align: center;
  background-color: #f0f0f0;
  padding: 40px;
  margin-top: 50px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-gdpr__cta-text {
  font-size: 1.3em;
  color: #333333;
  margin-bottom: 25px;
  line-height: 1.5;
}

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

.page-gdpr__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #8B0000;
  transition: transform 0.3s ease;
}

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

.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  background-color: #ffffff;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px 25px;
}

.page-gdpr__faq-answer p {
  margin-bottom: 10px;
  font-size: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 3em;
  }
  .page-gdpr__hero-description {
    font-size: 1.2em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-gdpr__hero-title {
    font-size: 2.5em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__content-area {
    padding: 20px 15px;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__sub-section-title {
    font-size: 1.5em;
  }
  .page-gdpr__paragraph, .page-gdpr__list {
    font-size: 1em;
  }
  .page-gdpr__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__cta-section {
    padding: 25px 15px;
  }
  .page-gdpr__cta-text {
    font-size: 1.1em;
  }
  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__container, .page-gdpr__hero-container, .page-gdpr__cta-section, .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1.05em;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px;
  }
  .page-gdpr__faq-item.active .page-gdpr__faq-answer {
    padding: 10px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 2em;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
}

/* Contrast Fixes - Ensure WCAG AA */
.page-gdpr__dark-bg {
  color: #ffffff; 
  background-color: #0a0a0a;
}

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

/* Specific elements for contrast */
.page-gdpr__btn-primary {
  background-color: #FFD700;
  color: #ffffff;
}
.page-gdpr__btn-primary:hover {
  background-color: #e6c200;
}

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