/* static/css/style.css */

/* --- General Body & Layout --- */
body {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: #f9f9f9; /* Zillow's light gray page background */
  color: #333;
  padding-top: 80px; /* Adjust for a slightly taller navbar */
}

.container {
  max-width: 980px;
}

/* --- Navbar --- */
.navbar {
  background-color: #ffffff; /* Zillow's white navbar */
  border-bottom: 1px solid #dce0e6; /* Subtle border */
  padding-top: 12px;
  padding-bottom: 12px;
}

.navbar-brand, .nav-link {
  color: #333333 !important; /* Dark text on a light navbar */
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-link {
  font-weight: 600;
}

.nav-link.active {
  color: #006aff !important; /* Zillow's primary blue for the active link */
  font-weight: 700;
}

/* --- Content & Sections --- */
.content-section {
  padding: 30px 25px;
  margin-bottom: 25px;
  background-color: #ffffff;
  border: 1px solid #dce0e6;
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); /* Subtle shadow for depth */
}

h1, h2, h3 {
  color: #0d2651; /* Zillow's dark blue for headings */
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

hr.my-4 {
  border-color: #dce0e6;
}

.lead {
  font-size: 1.2rem;
  font-weight: 400;
}

/* --- Buttons & Links --- */
.btn-primary {
  background-color: #006aff;
  border-color: #006aff;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  transition: background-color 0.2s ease-in-out;
}

.btn-primary:hover {
  background-color: #0056d6; /* A darker blue for hover state */
  border-color: #0056d6;
}

.pagination .page-link {
  color: #006aff;
  font-weight: 600;
  border-radius: 6px;
  margin: 0 4px;
  border: 1px solid #dce0e6;
}

.pagination .page-item.disabled .page-link {
  color: #6c757d;
}

.pagination .page-item.active .page-link {
  background-color: #006aff;
  border-color: #006aff;
  color: white;
}

/* --- Key Terms & Lists --- */
.key-terms-bar {
  background-color: #f5f6f7;
  padding: 15px 20px;
  margin-top: 25px;
  border-radius: 8px;
  font-size: 0.9em;
  border: 1px solid #dce0e6;
}

.key-terms-bar strong {
  color: #0d2651;
}

.content-section ul {
  list-style: none;
  padding-left: 0;
}

.content-section ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* Custom checkmark bullet points */
.content-section ul li::before {
  content: '✓';
  color: #006aff; /* Zillow blue checkmark */
  font-weight: 900;
  font-size: 1rem;
  margin-right: 12px;
  margin-top: 2px;
}

/* --- Images & Placeholders --- */
.story-image, .end-page-qr-image {
  border-radius: 8px; /* Rounded corners for all images */
  border: 1px solid #dce0e6;
}

.image-placeholder-box {
  background-color: #f5f6f7;
  color: #596b82;
  text-align: center;
  padding: 40px 20px;
  margin: 20px auto;
  border: 2px dashed #dce0e6;
  border-radius: 8px;
  font-style: italic;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Navbar Visitor Info --- */
.visitor-info-navbar {
  font-size: 0.9em;
}

.visitor-info-navbar strong {
  color: #596b82;
}

.visitor-info-navbar .visitor-value {
  color: #006aff;
  font-weight: 700;
  margin-left: 4px;
}