/* style/gdpr.css */

:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --text-main-color: #1F2D3D;
  --text-dark-color: #000000;
  --card-bg-color: #FFFFFF;
  --background-color: #F4F7FB;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
}

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

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--primary-color);
  color: #ffffff;
  text-align: center;
}

.page-gdpr__hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 800px; /* Adjust max-width for image in hero */
  height: auto;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-gdpr__hero-text-container {
  max-width: 900px;
  width: 100%;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 3.5vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

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

.page-gdpr__content-section {
  padding: 60px 20px;
}

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

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

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

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

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

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

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

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

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

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

.page-gdpr__card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-main-color);
}

.page-gdpr__card-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 4px;
  margin-bottom: 20px;
}

.page-gdpr__card-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-gdpr__card-text {
  font-size: 0.95em;
  line-height: 1.6;
  text-align: justify;
}

.page-gdpr__two-column-layout {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-gdpr__text-block {
  flex: 1;
}

.page-gdpr__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-gdpr__cta-section {
  text-align: center;
}

.page-gdpr__cta-container {
  max-width: 800px;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background: var(--button-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__two-column-layout {
    flex-direction: column;
  }
  .page-gdpr__image-block {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section,
  .page-gdpr__content-section {
    padding: 40px 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-gdpr__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

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

  /* Mobile image responsiveness */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__hero-section,
  .page-gdpr__content-section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__cta-container,
  .page-gdpr__two-column-layout,
  .page-gdpr__text-block,
  .page-gdpr__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile 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-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__cta-container {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Space between paragraph and button */
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-section {
    padding: 30px 10px;
    padding-top: 10px; /* body handles header offset */
  }

  .page-gdpr__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }

  .page-gdpr__section-title {
    font-size: clamp(1.3em, 7vw, 1.8em);
  }

  .page-gdpr__paragraph,
  .page-gdpr__list-item,
  .page-gdpr__card-text {
    font-size: 0.9em;
  }
}