/* style/gdpr.css */

/* Variables for consistency */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212;
  --bg-light-variant: #1a1a1a; /* Slightly lighter dark for contrast between sections */
  --border-color: #333; /* Darker border for dark background */
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Light text for dark body background */
  background-color: var(--bg-dark); /* Ensure body background is dark */
  padding-top: 120px; /* Space for fixed header - Desktop */
  overflow-x: hidden; /* Prevent horizontal scroll due to padding/margin issues */
}

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

.page-gdpr__hero-section {
  text-align: center;
  padding: 60px 0;
  background-color: var(--secondary-color); /* Dark blue background for hero */
  color: var(--text-light);
  border-bottom: 5px solid var(--primary-color);
}

.page-gdpr__main-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color); /* Gold title */
  line-height: 1.2;
}

.page-gdpr__hero-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button--primary {
  background-color: var(--primary-color);
  color: var(--secondary-color); /* Dark blue text on gold button */
}

.page-gdpr__cta-button--primary:hover {
  background-color: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-button--secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-gdpr__cta-button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1); /* Light gold transparent background */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-gdpr__content-section {
  padding: 80px 0;
}

.page-gdpr__dark-bg {
  background-color: var(--bg-dark); /* Ensure dark background */
  color: var(--text-light); /* Light text */
}

.page-gdpr__light-bg {
  background-color: var(--bg-light-variant); /* Slightly lighter dark for contrast between sections */
  color: var(--text-light); /* Light text */
}

.page-gdpr__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary-color); /* Gold titles */
}

.page-gdpr__sub-title {
  font-size: 28px;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--primary-color); /* Gold sub-titles */
}

.page-gdpr__paragraph {
  font-size: 17px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 17px;
  color: var(--text-light);
}

.page-gdpr__list-item strong {
  color: var(--primary-color); /* Highlight strong text with gold */
}

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

.page-gdpr__contact-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
  color: #e6c200; /* Slightly darker gold */
  text-decoration: underline;
}

.page-gdpr__conclusion-section {
  text-align: center;
  padding: 60px 0 80px;
  background-color: var(--secondary-color);
  color: var(--text-light);
  border-top: 5px solid var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 38px;
  }
  .page-gdpr__section-title {
    font-size: 32px;
  }
  .page-gdpr__sub-title {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    padding-top: 100px !important; /* Mobile space for fixed header */
    font-size: 16px;
  }

  .page-gdpr__hero-section {
    padding: 40px 0;
  }

  .page-gdpr__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-gdpr__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-gdpr__cta-button {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-gdpr__content-section {
    padding: 50px 0;
  }

  .page-gdpr__section-title {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .page-gdpr__sub-title {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-gdpr__paragraph,
  .page-gdpr__list-item {
    font-size: 15px;
  }

  .page-gdpr__list {
    margin-left: 20px;
  }

  .page-gdpr__image {
    margin: 30px auto;
    border-radius: 4px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-gdpr__conclusion-section {
    padding: 40px 0 60px;
  }
}

/* Ensure all images and containers are responsive and prevent overflow */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
}

/* Ensure container elements are responsive and prevent overflow */
.page-gdpr__hero-section,
.page-gdpr__content-section,
.page-gdpr__conclusion-section,
.page-gdpr__cta-buttons {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden; /* Important to contain content */
}

@media (max-width: 768px) {
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__hero-section,
  .page-gdpr__content-section,
  .page-gdpr__conclusion-section,
  .page-gdpr__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  /* Specific override for section padding if needed to be different from container */
  /* The .page-gdpr__container handles inner padding */
}