/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Body background 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-bg {
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-gdpr__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

/* Fixed header spacing */
.page-gdpr__hero-section {
  padding-top: var(--header-offset, 120px);
  position: relative;
  overflow: hidden;
}

.page-gdpr__hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.page-gdpr__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #26A9E0;
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-gdpr__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.page-gdpr__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-gdpr__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #26A9E0;
}

.page-gdpr__light-bg .page-gdpr__section-title {
  color: #26A9E0;
}

.page-gdpr__dark-bg .page-gdpr__section-title {
  color: #ffffff;
}

.page-gdpr p {
  margin-bottom: 20px;
  font-size: 1.1em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 30px auto;
  text-align: left;
}

.page-gdpr__list-item {
  background-color: rgba(38, 169, 224, 0.1);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  font-size: 1.05em;
  color: #ffffff;
}

.page-gdpr__light-bg .page-gdpr__list-item {
  background-color: #f0f8ff;
  color: #333333;
  border-left-color: #26A9E0;
}

.page-gdpr__link {
  color: #26A9E0;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #EA7C07; /* Login orange for hover */
}

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  background-color: #EA7C07; /* Login orange for hover */
  transform: translateY(-2px);
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* User Rights Grid */
.page-gdpr__rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: left;
}

.page-gdpr__card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
}

.page-gdpr__card-title {
  color: #26A9E0;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-gdpr__card p {
  font-size: 1em;
  color: #555555;
  margin-left: 0;
  margin-right: 0;
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 600px;
  text-align: left;
}

.page-gdpr__contact-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-gdpr__light-bg .page-gdpr__contact-item {
  color: #333333;
}

.page-gdpr__contact-item strong {
  color: #26A9E0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__hero-title {
    font-size: 2.8em;
  }

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

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 40px 0;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }

  .page-gdpr__hero-title {
    font-size: 2em;
  }

  .page-gdpr__hero-description,
  .page-gdpr p,
  .page-gdpr__list-item,
  .page-gdpr__card p {
    font-size: 1em;
  }

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

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

  .page-gdpr__list,
  .page-gdpr__rights-grid,
  .page-gdpr__contact-list {
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-gdpr__card {
    padding: 20px;
  }

  /* Force responsive for images */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__data-usage-section,
  .page-gdpr__data-protection-section,
  .page-gdpr__user-rights-section,
  .page-gdpr__data-retention-section,
  .page-gdpr__cookie-policy-section,
  .page-gdpr__contact-section,
  .page-gdpr__commitment-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons responsive */
  .page-gdpr__btn-primary {
    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 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-title {
    font-size: 1.8em;
  }

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

  .page-gdpr__rights-grid {
    grid-template-columns: 1fr;
  }
}