/* style/gdpr.css */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg: #111111;
  --background-color: #0A0A0A;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* Body background is dark, so text is light */
  background-color: var(--background-color);
  line-height: 1.6;
  font-size: 16px;
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: var(--background-color);
  color: var(--text-main-color);
}

.page-gdpr__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-gdpr__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

.page-gdpr__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

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

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Using clamp for responsive H1 font size */
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.3);
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  color: var(--text-main-color);
  max-width: 700px;
  margin: 0 auto 30px;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-gdpr__section {
  padding: 80px 20px;
  background-color: var(--background-color);
  color: var(--text-main-color);
  border-bottom: 1px solid var(--border-color);
}

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

.page-gdpr__dark-bg {
  background-color: var(--card-bg);
  color: var(--text-main-color);
}

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%; /* Ensure container takes full width up to max-width */
  box-sizing: border-box;
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.2);
}

.page-gdpr p {
  margin-bottom: 20px;
  color: var(--text-main-color);
}

.page-gdpr ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-main-color);
}

.page-gdpr ul li {
  margin-bottom: 10px;
}

.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__card {
  background: var(--card-bg);
  color: var(--text-main-color);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-gdpr__card-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__image-full-width {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 40px auto 0;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__image-center {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 40px auto 0;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__rights-list {
  list-style: none;
  padding: 0;
}

.page-gdpr__rights-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__rights-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-gdpr__content-block {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__content-block h3 {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__faq-list {
  margin-top: 40px;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
}
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;
  color: var(--text-main-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(var(--primary-color-rgb), 0.1);
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color);
}
.page-gdpr__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 25px 25px;
  background: rgba(var(--background-color-rgb), 0.8);
  border-radius: 0 0 10px 10px;
  color: var(--text-main-color);
}

.page-gdpr__contact-cta {
  padding: 60px 20px;
  text-align: center;
}

.page-gdpr__contact-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-gdpr__summary p {
  text-align: center;
  font-size: 1.1em;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-gdpr {
    font-size: 15px;
    line-height: 1.5;
  }
  .page-gdpr__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__hero-image img {
    border-radius: 4px;
  }
  .page-gdpr__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    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__section {
    padding: 40px 15px;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-gdpr__main-title {
    font-size: 2.2em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-gdpr__card {
    padding: 20px;
  }
  .page-gdpr__card-title, .page-gdpr__rights-title, .page-gdpr__content-block h3 {
    font-size: 1.2em;
  }
  .page-gdpr__rights-item {
    padding: 20px;
  }
  .page-gdpr__content-block {
    padding: 20px;
  }
  details.page-gdpr__faq-item summary.page-gdpr__faq-question {
    padding: 15px;
  }
  .page-gdpr__faq-qtext {
    font-size: 1em;
  }
  .page-gdpr__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
  }
  details.page-gdpr__faq-item .page-gdpr__faq-answer {
    padding: 0 15px 15px;
  }
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__content-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .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;
    gap: 10px;
  }
}

/* RGB values for transparent backgrounds */
.page-gdpr__dark-bg {
  --background-color-rgb: 17, 17, 17; /* RGB for #111111 */
  --primary-color-rgb: 242, 193, 78; /* RGB for #F2C14E */
}
.page-gdpr__section {
  --background-color-rgb: 10, 10, 10; /* RGB for #0A0A0A */
}