/* style/gdpr.css */
:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --background-dark: #0D0E12;
  --card-bg-dark: #17191F;
  --text-light: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
}

.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Main text color for dark body background */
  background-color: var(--background-dark);
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  overflow: hidden;
  box-sizing: border-box;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Adjust as needed */
}

.page-gdpr__hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  color: var(--text-light);
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-light);
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

.page-gdpr__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.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;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
  color: var(--text-light);
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-gdpr__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-gdpr__btn-secondary:hover {
  background: rgba(255, 165, 58, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.2);
}

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

.page-gdpr__section-title {
  font-size: 2.2em;
  color: var(--secondary-color);
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-gdpr__text-block {
  font-size: 1.05em;
  color: var(--text-light);
  margin-bottom: 30px;
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
}

.page-gdpr__text-block ul {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 15px;
}

.page-gdpr__text-block li {
  margin-bottom: 8px;
}

.page-gdpr__section.page-gdpr__dark-section {
  background-color: var(--card-bg-dark);
  padding: 60px 20px;
  border-radius: 10px;
  margin-bottom: 40px;
}

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

.page-gdpr__card {
  background-color: var(--card-bg-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-gdpr__card-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-gdpr__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  object-fit: cover;
}

.page-gdpr__contact-info {
  background-color: rgba(255, 165, 58, 0.1);
  border: 1px solid var(--border-color);
  padding: 25px;
  border-radius: 8px;
  margin-top: 30px;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-gdpr__contact-info p {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-gdpr__contact-link,
.page-gdpr__inline-link {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover,
.page-gdpr__inline-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

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

.page-gdpr__faq-item {
  background-color: var(--card-bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-light);
}

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: var(--secondary-color);
  list-style: none;
}

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--secondary-color);
}

.page-gdpr__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1.05em;
  color: var(--text-light);
}

/* Floating buttons */
.page-gdpr__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.page-gdpr__float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 50px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  color: var(--text-light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.page-gdpr__float-btn--register {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

.page-gdpr__float-btn--login {
  background: var(--primary-color);
}

.page-gdpr__float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-image {
    max-height: 500px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__card-title {
    font-size: 1.3em;
  }
  .page-gdpr__sub-title {
    font-size: 1.6em;
  }
}

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

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

  .page-gdpr__hero-content,
  .page-gdpr__content-area,
  .page-gdpr__section.page-gdpr__dark-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-gdpr__description {
    font-size: 1em;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .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__grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
  }

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

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-gdpr__faq-item summary {
    font-size: 1.1em;
    padding: 15px;
  }

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

  .page-gdpr__floating-buttons {
    flex-direction: row;
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(13, 14, 18, 0.95); /* Match body bg for seamless look */
    padding: 10px 15px;
    justify-content: space-around;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
    gap: 10px;
  }

  .page-gdpr__float-btn {
    flex: 1;
    width: auto;
    max-width: 48%; /* Adjust for spacing */
    height: 45px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: clamp(1.4em, 7vw, 2.2em);
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__sub-title {
    font-size: 1.2em;
  }
  .page-gdpr__float-btn {
    max-width: 100%; /* Ensure they stack if needed */
  }
}