﻿/* Custom improvements for local test file - added for better presentation, responsiveness and local file compatibility */
:root {
  --accent: #2c3e50;
}

body {
  font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Better hero / image handling */
.image-body img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Improve media section images */
.media img {
  max-width: 100%;
  height: auto;
}

/* Make the maintenance note stand out nicely */
.information span {
  display: inline-block;
  background: #f8f9fa;
  padding: 2px 8px;
  border-radius: 3px;
  border: 1px solid #e9ecef;
  margin-top: 4px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .nav-body nav ul li a {
    font-size: 14px;
    padding: 8px 4px;
  }
  
  .general .text-body {
    padding: 1rem;
  }
  
  h1, .h1 {
    font-size: 1.75rem;
  }
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Footer polish */
#footer .information {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Ensure containers don't stretch too much on very large screens */
@media (min-width: 1400px) {
  .container-fluid {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Icon images hover effect */
.icon img {
  transition: transform 0.2s ease;
}
.icon img:hover {
  transform: scale(1.1);
}

/* Consistent book cover styling for crisp, identical appearance */
.book-image_body img {
  width: 240px;
  height: auto;
  max-width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  display: block;
  object-fit: cover;
}

/* On smaller screens, allow slight scaling */
@media (max-width: 768px) {
  .book-image_body img {
    width: 200px;
  }
}

/* Make Speaking Inquiries section more prominent */
.speaking-inquiries {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.7;
}

.speaking-inquiries h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  margin-top: 0.25rem;
  color: #1a3a5c; /* slightly darker for emphasis */
  letter-spacing: -0.5px;
}

.speaking-inquiries p {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.speaking-inquiries strong {
  font-weight: 700;
}

.speaking-inquiries small {
  font-size: 0.95em;
  font-weight: 500;
}

/* About David section improvements for better readability, alignment, spacing, and flow to social icons */
.about-bio p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
  font-size: 18px;
  max-width: 100%;
}

.about-bio {
  margin-bottom: 0.5rem;
}

.about .social-icons {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.about .social-icons > div {
  width: 120px;
}

.about .icon img {
  width: 24px;
  height: 24px;
}
