/* style/gdpr.css */

:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg-color: #17191F;
  --body-bg-color: #0D0E12;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange-color: #D96800;
}

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

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

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

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

.page-gdpr__light-bg {
  background-color: #f5f5f5;
  color: #333333; /* Dark text for light background */
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--primary-color);
  letter-spacing: 0.05em;
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem); /* Use clamp for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main-color);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 243, 230, 0.8);
}

.page-gdpr__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: left;
  color: inherit;
}

.page-gdpr__list {
  list-style-type: disc;
  text-align: left;
  margin: 20px auto;
  padding-left: 40px;
  max-width: 800px;
  color: inherit;
}

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

.page-gdpr__link {
  color: var(--secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: var(--glow-color);
}

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 132, 0, 0.4);
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 132, 0, 0.6);
}

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  padding: 10px 0 60px 0; /* body handles padding-top, small top padding for section */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 500px;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-width: 1920px; /* Ensure image doesn't stretch beyond reasonable width */
  min-height: 200px; /* Min size requirement */
}

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

/* Image Grid */
.page-gdpr__image-grid {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.page-gdpr__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  outline: none;
  background-color: rgba(255, 140, 26, 0.1);
  color: var(--primary-color);
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker */
}

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

.page-gdpr__faq-item summary:hover {
  background-color: rgba(255, 140, 26, 0.2);
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-gdpr__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1rem;
  color: rgba(255, 243, 230, 0.8);
  border-top: 1px solid var(--border-color);
}

/* Contact Section */
.page-gdpr__contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.page-gdpr__contact-info .page-gdpr__text-block {
  text-align: center;
}

.page-gdpr__contact-cta {
  margin-top: 40px;
}

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

  .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

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

  .page-gdpr__text-block {
    font-size: 0.95rem;
  }

  .page-gdpr__list {
    padding-left: 20px;
    max-width: 100%;
  }

  .page-gdpr__hero-section {
    padding-top: 10px !important; /* body handles header offset */
    min-height: auto;
  }

  .page-gdpr__hero-image-wrapper {
    max-height: 300px;
  }

  /* Images responsiveness */
  .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__content-image {
    max-width: 100% !important;
  }

  /* Buttons responsiveness */
  .page-gdpr__btn-primary,
  .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__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;
  }

  .page-gdpr__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-gdpr__faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }

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

  .page-gdpr__contact-info {
    flex-direction: column;
    gap: 15px;
  }
}