/* style/gdpr.css */

/* General styles for the GDPR page */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #FFF3E6); /* Default text color for dark background */
  background-color: var(--background-color, #0D0E12); /* From custom palette */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Space for content below image */
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--background-color, #0D0E12);
  color: var(--text-main-color, #FFF3E6);
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gdpr__hero-content {
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 3vw, 2.8em); /* Use clamp for H1 */
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main-color, #FFF3E6);
  margin-bottom: 20px;
}

.page-gdpr__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-main-color, #FFF3E6);
}

/* Section Titles */
.page-gdpr__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: var(--primary-color, #FF8C1A);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-gdpr__sub-title {
  font-size: 1.6em;
  font-weight: 600;
  color: var(--primary-color, #FF8C1A);
  margin-top: 30px;
  margin-bottom: 20px;
}

/* Content Area */
.page-gdpr__content-area {
  padding: 60px 0;
}

.page-gdpr__light-bg {
  background-color: var(--card-bg-color, #17191F); /* Use card background for light sections */
  color: var(--text-main-color, #FFF3E6);
}

.page-gdpr__dark-section {
  background-color: var(--background-color, #0D0E12);
  color: var(--text-main-color, #FFF3E6);
}

.page-gdpr__text-block {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: var(--text-main-color, #FFF3E6);
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-main-color, #FFF3E6);
}

.page-gdpr__list-item {
  margin-bottom: 10px;
}

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

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, var(--auxiliary-color, #FFA53A) 0%, var(--deep-orange-color, #D96800) 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, var(--glow-color, #FFB04D) 0%, var(--deep-orange-color, #D96800) 100%);
}

.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: var(--primary-color, #FF8C1A);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color, #FF8C1A);
  cursor: pointer;
}

.page-gdpr__btn-secondary:hover {
  background: var(--primary-color, #FF8C1A);
  color: #ffffff;
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: var(--card-bg-color, #17191F);
  color: var(--text-main-color, #FFF3E6);
}

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

.page-gdpr__faq-item {
  background-color: var(--background-color, #0D0E12);
  border: 1px solid var(--border-color, #A84F0C);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main-color, #FFF3E6);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--background-color, #0D0E12);
  color: var(--primary-color, #FF8C1A);
}

/* Style for details summary marker */
.page-gdpr__faq-item summary {
  list-style: none;
}
.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--primary-color, #FF8C1A);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' or 'minus' effect */
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.05em;
  color: var(--text-main-color, #FFF3E6);
}

/* CTA Section */
.page-gdpr__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--background-color, #0D0E12);
  color: var(--text-main-color, #FFF3E6);
}

.page-gdpr__cta-section .page-gdpr__btn-primary {
  margin-top: 30px;
  font-size: 1.1em;
  padding: 15px 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-bottom: 40px;
  }

  .page-gdpr__main-title {
    font-size: 2em;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
    padding-top: 30px;
  }

  .page-gdpr__sub-title {
    font-size: 1.4em;
  }

  .page-gdpr__content-area {
    padding: 40px 0;
  }

  /* Images responsive */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsive */
  .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 */
  }

  .page-gdpr__hero-content .page-gdpr__btn-primary {
    margin-top: 20px;
  }

  .page-gdpr__cta-section .page-gdpr__btn-primary {
    margin-top: 20px;
    font-size: 1em;
  }

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

  .page-gdpr__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }

  /* Video responsive rules - included for completeness, though no video in this specific page */
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-gdpr__video-section {
    padding-top: 10px !important;
  }
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Custom properties for colors */
:root {
  --primary-color: #FF8C1A;
  --auxiliary-color: #FFA53A;
  --card-bg-color: #17191F;
  --background-color: #0D0E12;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange-color: #D96800;
}