/* style/gdpr.css */

/* Variables for brand colors */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A1A1A; /* Dark Black */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212; /* From shared.css body background */
  --bg-light: #f5f5f5;
  --border-color: #333333;
}

/* Base styles for the GDPR page content */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Light text on dark body background */
  background-color: var(--bg-dark); /* Ensure consistency, though body handles this */
  padding-bottom: 60px; /* Space above footer */
}

.page-gdpr__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  background-color: var(--secondary-color); /* Dark background for hero */
  color: var(--text-light);
  text-align: center;
  overflow: hidden; /* Prevent content overflow */
}

.page-gdpr__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

.page-gdpr__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0; /* Slightly softer white */
}

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

.page-gdpr__cta-buttons--center {
  justify-content: center;
  margin-top: 50px;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--primary-color);
  color: var(--secondary-color); /* Dark text on gold button for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: nowrap; /* Prevent text wrapping on desktop */
}

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

.page-gdpr__cta-button--primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.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: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}


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

.page-gdpr__content-section.page-gdpr__dark-bg {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-gdpr__content-section.page-gdpr__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-gdpr__content-container {
  max-width: 1000px;
  margin: 0 auto;
}

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

.page-gdpr__section-title.page-gdpr__section-title--light {
  color: var(--primary-color);
}

.page-gdpr__text-block {
  font-size: 1.05em;
  line-height: 1.8;
  margin-bottom: 20px;
}

.page-gdpr__text-block p {
  margin-bottom: 1em;
}

.page-gdpr__text-block--light p,
.page-gdpr__text-block--light li {
  color: #e0e0e0; /* Lighter text for dark background */
}

.page-gdpr__sub-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-gdpr__text-block--light .page-gdpr__sub-title {
  color: var(--primary-color);
}

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

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

.page-gdpr__text-block--light .page-gdpr__list-item {
  color: #e0e0e0;
}

.page-gdpr__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-gdpr__link {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #e6c200;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.5em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__sub-title {
    font-size: 1.4em;
  }
  .page-gdpr__hero-section,
  .page-gdpr__content-section {
    padding: 50px 15px;
  }
}

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

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

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

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to prevent overflow */
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .page-gdpr__cta-button {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-gdpr__sub-title {
    font-size: 1.2em;
  }

  .page-gdpr__text-block,
  .page-gdpr__list {
    font-size: 0.95em;
    margin-left: 15px; /* Adjust list indent */
  }

  .page-gdpr__content-section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent content overflow */
  }

  .page-gdpr__content-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  
  /* Mobile image responseive rules */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Ensure min size */
    min-height: 200px !important; /* Ensure min size */
  }

  /* Specific rules for content images to ensure min size if not already set */
  .page-gdpr__image {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

/* Ensure no CSS filter changes image colors */
.page-gdpr img {
  filter: none !important;
}

/* Content area image CSS dimensions lower limit */
.page-gdpr .page-gdpr__text-block img,
.page-gdpr .page-gdpr__image {
  min-width: 200px;
  min-height: 200px;
}