/* style/gdpr.css */

/* Root variables for colors */
:root {
  --gdpr-primary-color: #C61F1F;
  --gdpr-secondary-color: #E53030;
  --gdpr-button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  --gdpr-card-bg: #2A1212;
  --gdpr-background: #140C0C;
  --gdpr-text-main: #FFF1E8;
  --gdpr-border-color: #6A1E1E;
  --gdpr-gold-color: #F3C54D;
  --gdpr-deep-red: #7E0D0D;
  --gdpr-text-dark: #333333;
  --gdpr-text-light: #ffffff;
  --gdpr-white: #ffffff;
  --gdpr-light-grey: #f5f5f5;
}

.page-gdpr {
  background-color: var(--gdpr-background);
  color: var(--gdpr-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px; /* Space below content */
  position: relative;
  overflow: hidden;
  background-color: var(--gdpr-deep-red);
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 20px;
  min-height: 200px; /* Min size requirement */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
  max-width: 900px;
}

.page-gdpr__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--gdpr-gold-color);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  max-width: 100%;
}

.page-gdpr__hero-description {
  font-size: 1.1rem;
  color: var(--gdpr-text-main);
  margin-bottom: 30px;
  max-width: 800px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: var(--gdpr-button-gradient);
  color: var(--gdpr-text-light);
  border: none;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.page-gdpr__btn-secondary {
  background: var(--gdpr-white);
  color: var(--gdpr-primary-color);
  border: 2px solid var(--gdpr-primary-color);
  margin-left: 15px;
}

.page-gdpr__btn-secondary:hover {
  transform: translateY(-2px);
  background-color: var(--gdpr-light-grey);
}

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--gdpr-gold-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-gdpr__sub-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--gdpr-secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gdpr__content-block p,
.page-gdpr__content-block li {
  color: var(--gdpr-text-main);
  margin-bottom: 15px;
  font-size: 1rem;
}

.page-gdpr__content-block strong {
  color: var(--gdpr-gold-color);
}

.page-gdpr__list {
  list-style: disc inside;
  padding-left: 20px;
  margin-bottom: 20px;
}

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

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

.page-gdpr__content-image--left {
  float: left;
  margin-right: 30px;
  margin-left: 0;
}

.page-gdpr__content-image--right {
  float: right;
  margin-left: 30px;
  margin-right: 0;
}

.page-gdpr__introduction-section,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__security-section,
.page-gdpr__sensitive-data-section,
.page-gdpr__faq-section,
.page-gdpr__contact-section,
.page-gdpr__conclusion-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--gdpr-border-color);
}

.page-gdpr__introduction-section,
.page-gdpr__rights-section,
.page-gdpr__sensitive-data-section,
.page-gdpr__conclusion-section {
  background-color: var(--gdpr-card-bg);
}

.page-gdpr__faq-section {
  background-color: var(--gdpr-background);
}

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

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: var(--gdpr-deep-red);
  color: var(--gdpr-text-light);
  font-weight: 700;
  font-size: 1.1rem;
  list-style: none;
}

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

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

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  padding: 20px;
  background-color: var(--gdpr-card-bg);
  color: var(--gdpr-text-main);
  border-top: 1px solid var(--gdpr-border-color);
}

.page-gdpr__faq-answer p {
  margin-bottom: 0;
}

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

.page-gdpr a {
  color: var(--gdpr-gold-color);
  text-decoration: underline;
}

.page-gdpr a:hover {
  color: var(--gdpr-gold-color);
  text-decoration: none;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__content-image--left,
  .page-gdpr__content-image--right {
    float: none;
    margin: 30px auto;
  }
}

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

  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__hero-section {
    padding-bottom: 20px;
  }

  .page-gdpr__hero-image {
    margin-bottom: 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-gdpr__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    padding: 12px 20px;
    font-size: 0.9rem;
    margin-left: 0;
    margin-bottom: 10px; /* Stack buttons */
    width: 100%;
  }

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

  .page-gdpr__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 30px;
    padding-top: 20px;
  }

  .page-gdpr__sub-title {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-gdpr__introduction-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__security-section,
  .page-gdpr__sensitive-data-section,
  .page-gdpr__faq-section,
  .page-gdpr__contact-section,
  .page-gdpr__conclusion-section {
    padding: 30px 0;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 20px auto !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;
  }

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

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

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

  .page-gdpr__cta-buttons {
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .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;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-content {
    padding: 0 10px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.2rem, 7vw, 2rem);
  }

  .page-gdpr__hero-description {
    font-size: 0.9rem;
  }

  .page-gdpr__section-title {
    font-size: clamp(1.2rem, 6vw, 1.8rem);
  }

  .page-gdpr__sub-title {
    font-size: clamp(1rem, 5vw, 1.4rem);
  }
}