/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
  color: #333333; /* Dark text for light body background #F5F7FA */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #F5F7FA;
  color: #333333;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  color: #E53935; /* Brand color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button adapts to mobile */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

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

.page-gdpr__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-gdpr__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
}

.page-gdpr__content-section {
  padding: 50px 20px;
  background-color: #F5F7FA;
  color: #333333;
  border-bottom: 1px solid #e0e0e0; /* Border for separation */
}

.page-gdpr__content-section:last-of-type {
  border-bottom: none;
}

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

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  color: #E53935;
  margin-bottom: 25px;
  text-align: center;
}

.page-gdpr__paragraph {
  font-size: 1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: cover;
}

.page-gdpr__cta-buttons--bottom {
  margin-top: 50px;
  margin-bottom: 20px;
}

.page-gdpr__paragraph a {
  color: #E53935;
  text-decoration: underline;
}

.page-gdpr__paragraph a:hover {
  color: #FF5A4F;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-gdpr__main-title {
    font-size: 2em; /* Smaller on mobile */
  }

  .page-gdpr__intro-text {
    font-size: 1em;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
    overflow: hidden;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__content-section {
    padding: 30px 15px;
  }

  .page-gdpr__container {
    padding-left: 0;
    padding-right: 0;
    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 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-gdpr p,
  .page-gdpr li {
    font-size: 16px; /* Mobile readability */
    line-height: 1.6;
  }
}

/* Ensure all image containers also adapt */
.page-gdpr__hero-image-wrapper,
.page-gdpr__content-image {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* General link color for content */
.page-gdpr a {
  color: #E53935; /* Brand primary color for links */
  text-decoration: underline;
}

.page-gdpr a:hover {
  color: #FF5A4F;
}