/* General page styles */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  line-height: 1.6;
  padding-top: 10px; /* Small top padding for first section */
}

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

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

.page-gdpr__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #FF8C1A; /* Main color for titles */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-gdpr__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 500px;
  padding-top: 0; /* Handled by body padding-top or a small margin if needed */
}

.page-gdpr__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 80px 20px;
}

.page-gdpr__main-title {
  color: #FFF3E6;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

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

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

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #FFF3E6;
  border: none;
}

.page-gdpr__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: #FF8C1A;
  border: 2px solid #FF8C1A; /* Border */
}

.page-gdpr__btn-secondary:hover {
  background: #FF8C1A;
  color: #FFF3E6;
}

/* Principles Grid */
.page-gdpr__principles-grid,
.page-gdpr__rights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.page-gdpr__card {
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF3E6;
}

.page-gdpr__card-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-gdpr__card-title {
  font-size: 22px;
  font-weight: 600;
  color: #FFA53A; /* Auxiliary color for card titles */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-gdpr__card-description {
  font-size: 15px;
  line-height: 1.7;
  text-align: justify;
}

/* Security Measures Section */
.page-gdpr__security-measures {
  background: #17191F;
  padding: 80px 0;
  border-top: 1px solid #A84F0C;
}

.page-gdpr__security-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.page-gdpr__security-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-gdpr__security-text {
  flex: 1;
  max-width: 50%;
}

.page-gdpr__security-cta {
  margin-top: 30px;
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding-bottom: 80px;
}

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

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  background: #17191F; /* Card BG */
  color: #FFF3E6;
}

details.page-gdpr__faq-item summary.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 18px;
  font-weight: 600;
  color: #FFA53A; /* Auxiliary color */
}

details.page-gdpr__faq-item summary.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}

details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
  background: rgba(255, 165, 58, 0.1);
}

.page-gdpr__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}

.page-gdpr__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFF3E6;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 25px 20px;
  background: rgba(23, 25, 31, 0.8); /* Slightly lighter card BG for answer */
  border-radius: 0 0 10px 10px;
  font-size: 15px;
  line-height: 1.7;
  color: #f0f0f0;
}

/* Responsive Styles */

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-gdpr {
    padding-top: 0; /* body padding handles this */
    font-size: 15px;
  }

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

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

  .page-gdpr__hero-content {
    padding: 60px 15px;
  }

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

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

  /* General images for mobile */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* General buttons for mobile */
  .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;
  }

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

  .page-gdpr__card {
    padding: 25px;
  }

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

  .page-gdpr__security-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-gdpr__security-image,
  .page-gdpr__security-text {
    max-width: 100%;
  }

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

  .page-gdpr__faq-toggle {
    font-size: 24px;
    width: 25px;
  }

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

/* Desktop/Tablet (max-width: 1024px) - Adjustments for smaller screens */
@media (max-width: 1024px) {
  .page-gdpr__section-title {
    font-size: 32px;
  }

  .page-gdpr__hero-content {
    padding: 70px 20px;
  }

  .page-gdpr__main-title {
    font-size: 42px;
  }

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

  .page-gdpr__principles-grid,
  .page-gdpr__rights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .page-gdpr__security-content {
    flex-direction: column;
    gap: 40px;
  }

  .page-gdpr__security-image,
  .page-gdpr__security-text {
    max-width: 90%;
  }

  details.page-gdpr__faq-item summary.page-gdpr__faq-question {
    font-size: 17px;
  }
}