/* styles.css */

/* YAML header */
.subtitle, .author, .date {
  text-decoration: none;
  color: #6c757d;
}

 /* toc highlight color */
.toc .active, .toc .highlight {
  background-color: #0085A1;
  color: #ffffff;
}

.toc .active a, .toc .highlight a {
  color: #ffffff;
}

/* floating header */
.floating-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  color: #0085A1;
  text-align: center;
  padding: 10px;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* body styles */
body {
    font-size: 12pt;
    margin-top: 60px; /* for floating header */
}

h1 {
  color: #0085A1;
  font-weight: bold;
}

h2 {
  font-weight: bold;
  color: #6c757d;
}

h3 {
  text-decoration: underline;
  color: #6c757d;
}

h4 {
  text-decoration: underline;
  font-weight: bold;
  color: #6c757d;
}

/* button stuff */
.button {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.button a {
  background-color: #0085A1;
  color: #ffffff;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  /* border-radius: 0.25rem;  */
  border-radius: 5px;
  font-weight: bold;
  border: 1px solid #343a40;
  transition: background-color 0.3s ease;
  display: inline-block; /* ensure button is inline-block */
  white-space: nowrap; /* prevent text wrapping */
}

.button a:hover {
  background-color: #005f73; 
  border: 1px solid #343a40; 
  padding: 10px 20px;
  border-radius: 5px;
}

/* indented blockquote */
blockquote {
  color: #555;
  border-left: 4px solid #ccc;
  padding-left: 10px;
  margin-left: 0;
}

/* text box border */
.text-border {
  border: 2px solid #343a40;
  padding: 20px;
  margin: 20px;
}

/* font awesome icons */
.fa-icon {
  color: #0085A1;
  font-size: 20pt;
  transition: color 0.3s ease;
  margin-right: 8px;
  margin-left: 20px;
  display: inline;
}

.fa-icon:hover {
  color: #005f73;
}

/* map box */
.map-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border: 2px solid #2a9d8f;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.map-container .leaflet-container {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {/* fills container on desktop */
  .map-container {
    display: flex;
  }

  .map-container .leaflet-container {
    flex-grow: 1;
  }
}

/* Footer styles */
.site-footer {
  margin-top: 2em;
  padding: 1em 0;
  background: #f8f9fa;
  border-top: 2px solid #e5e5e5;
  text-align: center;
  font-size: 1em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5em;
}
.site-footer .footer-owner {
  color: #888;
  font-weight: normal;
  font-size: 1em;
  letter-spacing: 0.01em;
}
.site-footer .footer-author {
  font-weight: 600;
  color: #888;
  margin-left: 0.2em;
}
.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
  align-items: center;
  justify-content: center;
}
.site-footer .footer-icon {
  margin-right: 0.3em;
  vertical-align: middle;
}
.site-footer .portfolio-link {
  color: #333 !important;
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer .linkedin-link {
  color: #0077b5;
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer .github-link {
  color: #333 !important;
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus {
  color: #0085a1 !important;
  text-decoration: underline;
}
@media (max-width: 600px) {
  .site-footer {
    flex-direction: column;
    gap: 0.8em;
    font-size: 0.97em;
    padding: 1.5em 0.5em;
  }
  .site-footer .footer-links {
    flex-direction: column;
    gap: 0.5em;
  }
}
