/* style/gdpr.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-gdpr {
  color: #ffffff; /* Light text for dark body background #0a0a0a */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
  background-color: #0a0a0a; /* Ensure dark background */
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

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

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

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

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

.page-gdpr__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

/* General Section Styles */
.page-gdpr__section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Dark background from body for consistency */
}

.page-gdpr__section:nth-of-type(even) {
  background-color: #1a1a1a; /* Slightly different dark background for alternating sections */
}

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

.page-gdpr__text-block {
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gdpr__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-gdpr__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #26A9E0;
  font-weight: bold;
}

.page-gdpr__link {
  color: #26A9E0;
  text-decoration: none;
}

.page-gdpr__link:hover {
  text-decoration: underline;
}

/* Image Specific Styles */
.page-gdpr__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  display: block; /* Ensure no extra space below image */
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-gdpr__image--left {
  float: left;
  margin-right: 30px;
  max-width: 40%;
}

.page-gdpr__image--right {
  float: right;
  margin-left: 30px;
  max-width: 40%;
}

.page-gdpr__image--center {
  margin-left: auto;
  margin-right: auto;
  max-width: 60%;
}

/* Clear floats after image sections */
.page-gdpr__rights-section .page-gdpr__container::after,
.page-gdpr__data-collection-section .page-gdpr__container::after,
.page-gdpr__third-party-section .page-gdpr__container::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-image {
    max-height: 500px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 4vw, 3em);
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__image--left,
  .page-gdpr__image--right {
    max-width: 100%;
    float: none;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }
  .page-gdpr__hero-image {
    max-height: 400px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.5em, 5vw, 2.5em);
  }
  .page-gdpr__description {
    font-size: 1em;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent button overflow */
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
  }
  .page-gdpr__section {
    padding: 40px 0;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
  }
  .page-gdpr__image--center {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-image {
    max-height: 300px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.2em, 6vw, 2em);
  }
  .page-gdpr__section-title {
    font-size: 1.5em;
  }
  .page-gdpr__list-item {
    padding-left: 25px;
  }
}