/* style/gdpr.css */
/* Base styles for the GDPR page, ensuring light text on dark body background */
.page-gdpr {
  color: #f0f0f0; /* Light text color for readability on dark body background (#0a0a0a) */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

.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; /* Image above text */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #0a0a0a; /* Ensure dark background for hero section */
  color: #ffffff;
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 40px; /* Space between image and content */
  border-radius: 8px;
}

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

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for main title */
}

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

/* General Section Styling */
.page-gdpr__section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-gdpr__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  color: #ffffff;
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0; /* Brand color */
}

.page-gdpr__sub-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #ffffff; /* Light color for titles on dark background */
}

.page-gdpr__text-block {
  font-size: 1.05em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-gdpr__image-content {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 50px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Card Grid Layout */
.page-gdpr__grid,
.page-gdpr__protection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  color: #ffffff; /* Light text for card content */
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
}

.page-gdpr__card-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for card titles */
}

.page-gdpr__card p {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Rights List */
.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-gdpr__list-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-gdpr__list-title {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-gdpr__list-item p {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Cookie Section Specifics */
.page-gdpr__cookies-section .page-gdpr__list {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 20px;
  color: #f0f0f0;
}

.page-gdpr__cookies-section .page-gdpr__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #f0f0f0;
}

.page-gdpr__cookies-section .page-gdpr__list li strong {
  color: #26A9E0; /* Brand color for strong text */
}

/* Contact Section */
.page-gdpr__contact-info {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #f0f0f0;
}

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

.page-gdpr__contact-link {
  color: #26A9E0; /* Brand color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
  color: #ffffff;
}

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

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

.page-gdpr__faq-item summary {
  list-style: none; /* Hide default marker */
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #26A9E0; /* Brand color for question */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 20px;
  color: #ffffff;
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-gdpr__faq-answer p {
  margin-bottom: 10px;
}

/* Buttons */
.page-gdpr__cta-button {
  display: inline-block;
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}

.page-gdpr__cta-button:hover {
  background-color: #1e87b7; /* Darker shade on hover */
  transform: translateY(-2px);
}

.page-gdpr__cta-button--secondary {
  background-color: #EA7C07; /* Login color for secondary CTA */
  border-color: #EA7C07;
}

.page-gdpr__cta-button--secondary:hover {
  background-color: #c76a06;
  border-color: #c76a06;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 4vw, 2.8em);
  }
  .page-gdpr__section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 15px;
  }

  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* body handles header offset, this is for local section padding */
  }

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

  .page-gdpr__main-title {
    font-size: clamp(1.6em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-gdpr__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

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

  .page-gdpr__section-title {
    font-size: clamp(1.6em, 5vw, 2.2em);
    margin-bottom: 30px;
  }

  .page-gdpr__text-block {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-gdpr__grid,
  .page-gdpr__protection-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 25px;
  }

  .page-gdpr__card-title {
    font-size: 1.15em;
  }

  .page-gdpr__list-item {
    padding: 20px 25px;
    margin-bottom: 15px;
  }

  .page-gdpr__list-title {
    font-size: 1.1em;
  }

  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1.05em;
  }

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

  /* Responsive image rules */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/content */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Responsive button rules */
  .page-gdpr__cta-button,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .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;
    margin-bottom: 10px; /* Add some space between stacked buttons */
  }
  
  /* Button groups for mobile */
  .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; /* Allow buttons to wrap */
    gap: 10px; /* Space between buttons if they wrap */
    display: flex; /* Ensure flex context for wrap */
    flex-direction: column; /* Stack buttons vertically */
  }

  /* Specific padding for hero section on mobile */
  .page-gdpr__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}