/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #0a0a0a; /* Inherited from body or set explicitly for consistency */
}

/* Fixed header spacing - apply to main content or first section */
.page-gdpr__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Container for content width control */
.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-gdpr__hero-section {
  text-align: center;
  padding: 80px 0;
  background-color: #26A9E0; /* Brand main color for hero */
  color: #ffffff;
}

.page-gdpr__main-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-gdpr__intro-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-gdpr__hero-image-wrapper {
  margin-top: 30px;
}

.page-gdpr__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Content Sections */
.page-gdpr__content-section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Dark background for content sections */
  color: #ffffff; /* Light text */
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #26A9E0; /* Brand main color for titles */
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-gdpr__section-title--white {
  color: #ffffff;
}

.page-gdpr__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Slightly off-white for body text */
}

.page-gdpr__paragraph--white {
  color: #ffffff;
}

.page-gdpr__link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: #1a7bb7; /* Darker shade on hover */
}

/* Grid for principles and rights */
.page-gdpr__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-gdpr__grid-container--two-cols {
  grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
}

.page-gdpr__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly visible card background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-gdpr__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-gdpr__text-block {
  padding: 20px 0; /* Ensures text blocks have some padding */
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-gdpr__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

/* Contact Info */
.page-gdpr__contact-info {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.12);
  color: #26A9E0; /* Brand color for question */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-gdpr__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
  color: #ffffff; /* Ensure text is visible */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-qtext {
  color: #ffffff; /* Ensure text is visible */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
  color: #ffffff;
}

/* Hide default details marker */
.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-gdpr__faq-item summary::marker {
  display: none;
}

.page-gdpr__faq-answer {
  padding: 0 25px;
  font-size: 1.05em;
  color: #f0f0f0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
  max-height: 2000px; /* Sufficiently large to show content */
  padding: 20px 25px;
}

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

/* CTA Section */
.page-gdpr__cta-section {
  text-align: center;
  padding: 60px 20px;
  margin-top: 60px;
  background-color: #26A9E0; /* Brand main color */
  border-radius: 10px;
  color: #ffffff;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%; /* Ensure container takes full width */
  max-width: 100%; /* Ensure container takes full width */
  box-sizing: border-box;
  overflow: hidden; /* Prevent overflow */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  text-align: center;
}

.page-gdpr__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

.page-gdpr__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0; /* Brand main color */
  border: 2px solid #ffffff;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__intro-text {
    font-size: 1.1em;
  }
  .page-gdpr__grid-container--two-cols {
    grid-template-columns: 1fr; /* Stack columns on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-gdpr__main-title {
    font-size: 2em;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__intro-text {
    font-size: 1em;
  }
  .page-gdpr__hero-section,
  .page-gdpr__content-section,
  .page-gdpr__cta-section {
    padding: 40px 0;
  }
  .page-gdpr__container {
    padding: 0 15px; /* Smaller padding on mobile */
  }

  /* Images responsive */
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Ensure min size is kept */
    min-height: 200px !important; /* Ensure min size is kept */
  }
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  /* Buttons responsive */
  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px; /* Add padding to button container */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important; /* Full width buttons */
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* FAQ responsive */
  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px;
  }
  .page-gdpr__faq-item[open] .page-gdpr__faq-answer {
    padding: 15px 20px;
  }

  /* Video section padding for mobile (if any) */
  .page-gdpr__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Adjust for fixed header on mobile */
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.4em;
  }
  .page-gdpr__grid-container {
    grid-template-columns: 1fr; /* Stack all cards */
  }
}

/* Ensure no CSS filters are used on images */
.page-gdpr img {
  filter: none;
}