/* style/gdpr.css */

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

/* Section styling */
.page-gdpr__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-gdpr__section-title {
  font-size: clamp(28px, 4vw, 36px);
  color: #E53935;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-gdpr__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: left;
  color: #333333;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  background-color: #E53935;
  color: #ffffff;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Limit height for hero image */
  margin-bottom: 30px;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
  text-align: center;
  color: #ffffff;
}

.page-gdpr__hero-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #ffffff;
}

.page-gdpr__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background-color: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

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

/* Feature Grid for Rights Section */
.page-gdpr__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__feature-card {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__feature-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
}

.page-gdpr__feature-title {
  font-size: 22px;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__feature-description {
  font-size: 15px;
  color: #333333;
  text-align: left;
}

/* Image in content section */
.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Background color variations */
.page-gdpr__dark-bg {
  background-color: #E53935;
  color: #ffffff;
}

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

/* FAQ Section */
.page-gdpr__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-gdpr__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #E0E0E0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.page-gdpr__faq-question::marker, /* For Firefox */
.page-gdpr__faq-question::-webkit-details-marker { /* For Chrome/Safari */
  display: none;
  content: "";
}

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

.page-gdpr__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #E53935;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  background-color: #f0f0f0;
  border-bottom: 1px solid transparent;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 15px;
  color: #555555;
  background-color: #fdfdfd;
  border-top: 1px solid #eee;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }

  .page-gdpr__hero-title {
    font-size: 32px;
  }

  .page-gdpr__hero-description {
    font-size: 16px;
  }

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

  .page-gdpr__section-title {
    font-size: 28px;
  }

  .page-gdpr__text-block {
    font-size: 15px;
  }

  .page-gdpr__feature-grid {
    grid-template-columns: 1fr;
  }

  .page-gdpr__feature-card {
    padding: 20px;
  }

  .page-gdpr__feature-title {
    font-size: 20px;
  }

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

  .page-gdpr__faq-answer {
    padding: 10px 20px 15px 20px;
    font-size: 14px;
  }

  /* Mobile responsive images */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-content,
  .page-gdpr__feature-card,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important;
  }

  /* Mobile responsive buttons */
  .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 space between stacked buttons */
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 28px;
  }

  .page-gdpr__hero-description {
    font-size: 14px;
  }

  .page-gdpr__section-title {
    font-size: 24px;
  }

  .page-gdpr__faq-question {
    font-size: 15px;
  }
}