/* style/gdpr.css */

/* Body background from shared.css is #08160F (dark), so text should be light */
.page-gdpr {
  color: var(--text-main);
  background-color: var(--background);
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px 20px; /* Small top padding, larger bottom for content */
  background-color: var(--deep-green);
  text-align: center;
}

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

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

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

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 20px;
}

.page-gdpr__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-gdpr__section {
  padding: 60px 20px;
  width: 100%;
  box-sizing: border-box;
}

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

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

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

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-gdpr__section-description {
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-secondary);
}

.page-gdpr__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-gdpr__text-block {
  line-height: 1.6;
}

.page-gdpr__image-wrapper {
  text-align: center;
}

.page-gdpr__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-gdpr__sub-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--gold);
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-gdpr p {
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.page-gdpr__card {
  background-color: var(--deep-green);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
}

.page-gdpr__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--glow);
  margin-bottom: 20px;
}

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-gdpr__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: var(--text-secondary);
}

.page-gdpr__list li::before {
  content: '✔';
  color: var(--glow);
  position: absolute;
  left: 0;
  top: 0;
}

.page-gdpr__info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.page-gdpr__rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__right-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: var(--text-main);
}

.page-gdpr__right-item .page-gdpr__sub-title {
  color: var(--glow);
  margin-top: 0;
}

.page-gdpr__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__feature-item {
  background-color: var(--deep-green);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: var(--text-main);
}

.page-gdpr__feature-item .page-gdpr__sub-title {
  color: var(--glow);
  margin-top: 0;
}

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

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

.page-gdpr__contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__cta-section {
  text-align: center;
  padding: 80px 20px;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-gdpr__text-main {
  color: var(--text-main);
}

.page-gdpr__text-secondary {
  color: var(--text-secondary);
}

.page-gdpr__mt-40 {
  margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__content-grid {
    grid-template-columns: 1fr;
  }
  .page-gdpr__content-grid.page-gdpr__reverse-grid-mobile {
    grid-template-columns: 1fr;
    flex-direction: column-reverse; /* Reverse order for mobile on specific sections */
  }
  .page-gdpr__info-cards,
  .page-gdpr__contact-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 10px 15px 40px 15px;
  }
  .page-gdpr__section {
    padding: 40px 15px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-gdpr__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .page-gdpr__sub-title {
    font-size: clamp(1.1rem, 5vw, 1.4rem);
  }
  .page-gdpr p,
  .page-gdpr__hero-description,
  .page-gdpr__section-description,
  .page-gdpr__list li {
    font-size: 15px;
  }

  /* Image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Container responsiveness */
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__hero-content,
  .page-gdpr__content-grid,
  .page-gdpr__info-cards,
  .page-gdpr__rights-grid,
  .page-gdpr__security-features,
  .page-gdpr__contact-info,
  .page-gdpr__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsiveness */
  .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: 12px 20px;
  }

  /* Ensure content images are not smaller than 200px (this is a general rule, not a specific media query for shrinking) */
  .page-gdpr__image {
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }

  /* Override padding for specific elements that might have it */
  .page-gdpr__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-gdpr__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}