/* style/privacy-policy.css */

/* Custom properties for colors from instructions */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A1A1A; /* Dark Black */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #1A1A1A;
  --bg-light: #f0f0f0;
  --border-color: #333333; /* Darker border for dark background */
}

/* Main page container */
.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Light text for dark background */
  background-color: var(--bg-dark); /* Ensure consistency if body background isn't exactly this */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

/* Section general styling */
.page-privacy-policy__hero-section {
  padding: 60px 20px;
  text-align: center;
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-privacy-policy__content-section {
  padding: 40px 20px;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-privacy-policy__container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 15px; /* Responsive padding */
}

/* Headings */
.page-privacy-policy__main-title {
  font-size: 2.8em;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-privacy-policy__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #cccccc; /* Slightly lighter for description */
}

.page-privacy-policy__section-title {
  font-size: 2em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 10px;
}

.page-privacy-policy__subsection-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Paragraphs */
.page-privacy-policy p {
  margin-bottom: 1em;
  color: var(--text-light);
}

/* Lists */
.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-privacy-policy__list li {
  margin-bottom: 0.5em;
  color: var(--text-light);
}

/* Images */
.page-privacy-policy__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

/* Image with text block */
.page-privacy-policy__image-text-block {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-privacy-policy__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-privacy-policy__image-text-block img {
  flex: 1;
  min-width: 250px; /* Minimum width before wrapping */
  max-width: 45%; /* Max width for image */
  height: auto;
  object-fit: cover;
}

.page-privacy-policy__image-text-block .page-privacy-policy__text-content {
  flex: 1;
  min-width: 300px; /* Minimum width for text content */
}

/* Links */
.page-privacy-policy__contact-link {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
  color: #ffd94f; /* Slightly lighter gold on hover */
}

/* CTA Block */
.page-privacy-policy__cta-block {
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px;
  background: linear-gradient(90deg, #1A1A1A 0%, #333333 100%);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--primary-color);
}

.page-privacy-policy__cta-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-light);
  font-weight: 500;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--primary-color);
  color: var(--secondary-color); /* Dark text for gold button */
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
}

.page-privacy-policy__cta-button:hover {
  background: #e6b800; /* Slightly darker gold on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 15px;
    line-height: 1.5;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-privacy-policy__container {
    padding: 0 10px;
  }

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

  .page-privacy-policy__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-privacy-policy__section-title {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__subsection-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-privacy-policy__image-text-block {
    flex-direction: column;
    gap: 20px;
  }

  .page-privacy-policy__image-text-block img {
    max-width: 100%;
    width: 100%;
    min-width: unset;
  }
  
  .page-privacy-policy__image-text-block .page-privacy-policy__text-content {
    min-width: unset;
    width: 100%;
  }

  .page-privacy-policy__cta-block {
    padding: 30px 15px;
    margin-top: 40px;
  }

  .page-privacy-policy__cta-text {
    font-size: 1.1em;
    margin-bottom: 20px;
  }

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

  /* Ensure all images are responsive and do not overflow */
  .page-privacy-policy img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-section {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-privacy-policy__list {
    margin-left: 15px;
  }
}

/* Color contrast check: Dark background #1A1A1A, light text #FFFFFF. WCAG AA contrast is met. */
/* Buttons: Gold #FFD700 background, Dark text #1A1A1A. WCAG AA contrast is met. */