/* style/gdpr.css */

:root {
  --color-primary: #E53935;
  --color-secondary: #FF5A4F;
  --color-text-main: #333333;
  --color-card-bg: #FFFFFF;
  --color-background-page: #F5F7FA;
  --color-border: #E0E0E0;
}

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

.page-gdpr__dark-bg {
  background: var(--color-primary);
  color: #ffffff;
}

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  height: auto;
  max-height: 600px;
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and text */
}

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

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

.page-gdpr__main-title {
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 20px;
  max-width: 100%;
}

.page-gdpr__description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

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

.page-gdpr__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  font-weight: 600;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-gdpr__intro-section .page-gdpr__section-title,
.page-gdpr__data-usage-section .page-gdpr__section-title,
.page-gdpr__user-rights-section .page-gdpr__section-title,
.page-gdpr__related-policies-section .page-gdpr__section-title {
  color: var(--color-primary);
}

.page-gdpr__data-collection-section .page-gdpr__section-title,
.page-gdpr__data-protection-section .page-gdpr__section-title,
.page-gdpr__contact-section .page-gdpr__section-title {
  color: #ffffff;
}

.page-gdpr__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: left;
}

.page-gdpr__list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  text-align: left;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

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

.page-gdpr__image--center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-gdpr__policy-list {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-gdpr__policy-item a {
  display: block;
  padding: 10px 20px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-text-main);
  transition: all 0.3s ease;
}

.page-gdpr__policy-item a:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-image-wrapper {
    max-height: 500px;
  }
  .page-gdpr__main-title {
    font-size: 2.5em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 10px 15px 40px;
  }
  .page-gdpr__hero-image-wrapper {
    max-height: 400px;
  }
  .page-gdpr__hero-content {
    padding: 0 15px;
  }
  .page-gdpr__main-title {
    font-size: 1.8em;
    max-width: 100% !important; /* Ensure H1 does not overflow */
  }
  .page-gdpr__description {
    font-size: 1em;
  }
  .page-gdpr__btn-primary {
    padding: 10px 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__section {
    padding: 40px 15px;
  }
  .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__text-block,
  .page-gdpr__list-item {
    font-size: 0.95em;
  }
  .page-gdpr__list {
    padding-left: 20px;
  }
  .page-gdpr__policy-list {
    flex-direction: column;
    gap: 10px;
  }
  .page-gdpr__policy-item a {
    width: 100%;
    box-sizing: border-box;
  }

  /* Mobile image and video responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__container,
  .page-gdpr__contact-info {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.6em;
  }
  .page-gdpr__section-title {
    font-size: 1.3em;
  }
}