
:root {
  --main-bg-color: lightblue;
  --nav-bg-color: mediumblue;
  --nav-link-color: white;
  --nav-link-bg: darkblue;
  --nav-link-hover-bg: rgb(114, 37, 37);
  --nav-border-color: rgb(29, 146, 31);
  --nav-border-width: 4px;

  --subnav-bg-color: #eee;
  --subnav-link-color: darkblue;
  --subnav-link-bg: white;
  --subnav-link-border-color: darkblue;
  --subnav-link-hover-bg: #ccc;
  --subnav-border-width: 2px;

  --banner-bg-color: darkblue;
  --banner-text-color: rgb(107, 227, 109);
  --banner-border-color: rgb(210, 151, 50);

  --button-font-size: 17px;
  --button-padding: 10px;
  --right-col-bg: var(--nav-link-bg);
  --right-col-width: 13px;
  --right-col-border: 12px solid orange;
  --right-col-height: 100vh;

    --h1-font-size: 35px;
    --h1-font-weight: bold;
    --h1-color: orange;
    --h1-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

body {
  background-color: var(--main-bg-color);
  margin: 0;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Tone down h3 on About Me page */
body.about-page h3 {
  font-weight: normal;
  font-size: 1.2em;  /* or adjust to taste */
  text-align: left;
  color: #977b28;  /* softer dark gray instead of bold black */
  margin-top: 30px;  /* add a little space above */
}

.banner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background-color: var(--banner-bg-color);
  color: var(--banner-text-color);
  padding: 20px;
  font-size: 1.em;
  font-weight: 800;
  font-family: 'Georgia', serif;
  border-bottom: 9px solid var(--banner-border-color);
  text-shadow: 1px 1px 2px rgba(243, 233, 233, 0.4);
  text-align: center;
  max-width: 100%;
  transform: translateY(2px);  /* <-- try values like 4px, 6px, 8px */
}

.bannerhold2 {
  background-color: var(--banner-bg-color);
  color: var(--banner-text-color);
  padding: 20px;
  font-size: 2em;
  border-bottom: 10px solid var(--banner-border-color);
  text-align: center;
}

.banner-left,
.banner-center,
.banner-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Adjust width individually */
.banner-left {
  justify-content: flex-start;
  padding-left: 10px;
}

.banner-center {
  justify-content: center;
}
.banner-right .ribbon {
  width: 190px;
  height: auto;
  margin-right: -250px;  /* 10px minus 96px to push it right by 1 inch */
}

/* Image sizes */
.logo {
  width: 125px;
  height: auto;
  transform: translateY(1px); /* move UP by 3px */
}

.ribbon {
  width: 270px;
  height: auto;
  transform: translateY( 0px); /* move UP by 3px */
}

/* Title style */
.banner-title {
  font-size: 2.9em;
  font-weight: 800;
  color: var(--banner-text-color);
  transform: translate(38px, 2px);  /* Move right 20px, down 2px */
  text-shadow: 2px 2px 4px rgb(5, 5, 5);
  letter-spacing: 1.8px;   /* New addition to spread letters */
}

.border-line {
  height: 3px;
  background-color: var(--banner-bg-color);
  margin-top: 2px;
}

.main-container {
  display: flex;
  flex: 1;
  min-height: 100vh;
}

.side-nav {
  width: 134px;
  background-color: mediumblue;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content:; /* center vertically */
  align-items: center;     /* center horizontally */
  height: 100vh;           /* fill full vertical height */
}

/*
.side-nav a {
  text-decoration: none;
  font-weight: bold;
  color: var(--nav-link-color);
  padding: var(--button-padding);
  border: var(--nav-border-width) solid var(--nav-border-color);
  border-radius: 5px;
  background-color: var(--nav-link-bg);
  font-size: var(--button-font-size);
  text-align: center;
  width: 75px;
  
}
*/

.side-nav a {
  text-decoration: none;
  font-weight: bold;
  color: white;
  padding: 10px 16px;
  border: 2px solid black;
  border-radius: 5px;
  background-color: darkblue;
  font-size: 17px;
  text-align: center;
  width: 100px;
  display: block; /* Optional but sometimes needed */
  transition: transform 0.2s ease-in-out;
}

.side-nav a:hover,
.side-nav a.active {
  background-color: var(--nav-link-hover-bg);
  transform: scale(1.05);        /* Grows the button by 5% */
  transition: transform 0.2s ease-in-out;
  cursor: pointer; 
}

/* Makes layout horizontal */
.main-wrapper {
  display: flex;
  min-height: 100vh;
}

/* Wraps content only */
.content-area {
  flex: 1;
  padding: 20px;
}

/* Right banner/column */
.right-column {
  width: 120px;
  background-color: mediumblue;
  padding: 20px;
  box-sizing: border-box;
  min-height: 100vh;
  position: relative;

  box-shadow:
  -10px 0 0 orange,   /* inner orange stripe */
  -11px 0 0 black;   /* black, pushed further out to show clearly */
    
}
  
.content {
  flex: 1;
  padding: 30px;
  text-align: center;
  max-width: 900px;
  margin: -50px auto;
}

.site-footer {
  background-color: darkblue;
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 15px;
  font-family: 'Georgia', serif;
  letter-spacing: 0.5px;
  border-top: 9px solid yellow;
  border-radius: 20px;
  margin: 1% auto;
  position: relative;
  top: -40px;     /* ✅ Pulls the footer UP — adjust value as needed */
  left: 32px;           /* ✅ nudges it right */
  width: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/*footer {
  margin-top:  -25px;
  font-size: 1em;
  color: #333;
  text-align: center;
  background-color: #f0f0f0;
  padding: 10px;
} */

/* Sub-nav styling (Awards | Certificates | Letters) */
.sub-nav {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  padding: 12px 0 12px 40px;
  background-color: var(--subnav-bg-color);
  font-size: 14px;
  margin-top: -20px;
  border-bottom: var(--subnav-border-width) solid var(--subnav-link-border-color);
}

.sub-nav a {
  text-decoration: none;
  font-weight: bold;
  color: var(--subnav-link-color);
  padding: 6px 12px;
  border: var(--subnav-border-width) solid var(--subnav-link-border-color);
  border-radius: 5px;
  background-color: var(--subnav-link-bg);
}
.sub-nav a:hover {
  background-color: var(--subnav-link-hover-bg);
}

/* Letter viewer */
.image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
.image-container img {
  max-width: 90%;
  max-height: 80vh;
  border: 4px solid darkblue;
  margin-top: 20px;
}

.viewer-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 500px;
}

.arrow-buttons {
  text-align: center;
  margin: -135px 0;
}

.arrow-buttons button {
  font-size: 16px;
  padding: 6px 12px;
  margin: 0 5px;
  background-color: var(--nav-bg-color);
  color: var(--nav-link-color);
  border: 2px solid var(--nav-border-color);
  border-radius: 5px;
  cursor: pointer;
}

.arrow-buttons button:hover {
  background-color: var(--nav-link-hover-bg);
}

h1, h2, .banner {
  color: orange;
  text-shadow: 
    -1px -1px 0 #080e01,
     1px -1px 0 darkblue,
    -1px  2.5px 0 rgb(8, 61, 113),
     1px  1px 0 darkblue;
}

.home-content {
  margin-top: -35px; /* raise it closer to the top */
}

.home-content h1 {
  font-size: 35px;
  font-weight: bold;
  color: orange;
  letter-spacing: 3px;
  text-shadow:
    -2px -2px 0 black,
     2px -2px 0 black,
    -2px  2px 0 black,
     2px  2px 0 black,
    -2px  0px 0 black,
     2px  0px 0 black,
     0px -2px 0 black,
     0px  2px 0 black,
     0px  0px 6px rgba(255, 140, 0, 0.6);
}

.left-column {
  width: 180px;
  background-color: var(--nav-bg-color);
  padding: 20px;
  box-sizing: border-box;
  height: 100%;
  position: relative;

  /* Borders on the right: orange inner, black outer */
  box-shadow:
    10px 0 0 orange,     /* orange inner edge */
    11px 0 0 black;      /* black outer edge */
}

.jimbo-image-wrapper {
  text-align: center;
  margin-top: 75px;
}

.jimbo-image {
  max-width: 60%;
  height: auto;
  border: 4px solid darkblue;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}
.jimbo-side-by-side {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.jimbo-box {
  text-align: center;
}

.jimbo-small {
  max-width: 100%;
  height: auto;
  border: 2px solid #ccc;
  border-radius: 8px;
}

/* Adjust main image size */
.main-img {
  width: 40%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 20px auto; /* centers the image */
}

/* Container for jimbo1 with slight vertical spacing */
.top-image {
  margin-top: -5px; /* Adjust this value to move down more if needed */
  text-align: center;
}

/* Size and alignment for jimbo1 image */
.main-img {
  width: 60%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Caption styling */
.main-caption {
  margin-top: 10px;
  font-size: 16px;
  font-style: italic;
  color: #333;
}

/* Universal style for all images on the Home page */
.top-image img,
.side-img img {
  border: 4px solid darkblue; /* Adjust thickness if needed */
  padding: 2px; /* Optional: gives a little space inside the border */
  box-shadow: -6px 2px 6px rgba(0, 0, 0, 0.2); /* Optional: adds soft shadow */
  border-radius: 6px; /* Optional: rounded corners */
}

.side-img {
  flex: 0 0 200px;     /* Fixed width for each image box */
  text-align: center;
}

.side-img img {
  width: 100%;         /* Scales image to fit .side-img */
  height: auto;
  display: block;
}

.about-page + .site-footer {
  top: -250px; /* Only affects footer on About page */
  margin-left: 500px;
  position: relative;
}

.awards-page + .site-footer {
  top: -250px; /* Only affects footer on About page */
  margin-left: 500px;
  position: relative;
}

.certificates-page + .site-footer {
  top: -250px; /* Only affects footer on About page */
  margin-left: 500px;
  position: relative;
}

.contact-page + .site-footer {
  top: -250px; /* Only affects footer on About page */
  margin-left: 500px;
  position: relative;
}

.accolades-page + .site-footer {
  top: -250px; /* Only affects footer on About page */
  margin-left: 500px;
  position: relative;
}

.index-page + .site-footer {
  top: -0px; /* Only affects footer on About page */
  margin-left: 225px;
  position: relative;
}

.bottom-images {
  display: flex;
  justify-content: center;
  gap: 90px;
  margin-top: 40px;
  flex-wrap: nowrap; /* Don't allow stacking */
}

.caption {
  min-height: 140px;
  max-width: 200px;
  text-align: left;         /* ← switch to left align */
  margin-top: 10px;
  font-size: 15px;
  font-style: normal;       /* ← no more italic */
  color: #333;              /* slightly darker for better readability */
  line-height: 1.5;
  margin-left: 0;           /* left-aligned against image */
  margin-right: 0;
  line-height: 1.2;       /* Tighter spacing between lines */
  margin-bottom: 4px;
}

.timeline-table {
  width: 100%;
  table-layout: fixed;      /* Forces columns to divide space proportionally */
  border-collapse: collapse;
  margin-top: 90px;
}

.timeline-table th,
.timeline-table td {
  border: 1px solid darkblue;
  padding: 8px;
  font-family: Arial, sans-serif;
  text-align: center;
  overflow-wrap: break-word; /* Prevents text overflow */
}

.timeline-table th {
  background-color: #58de4c;
  font-weight: bold;
  text-align: center;   /* ✅ This centers the top row text */
  padding: 8px;
  font-size: 1.2em;  /* 🔧 Adjust this as needed (try 1.2em, 1.3em, etc.) */
}

.timeline-table td:nth-child(1),
.timeline-table th:nth-child(1) {
  width: 14ch;
}

.timeline-table td:nth-child(2),
.timeline-table th:nth-child(2) {
  width: 20ch;
}

.timeline-table td:nth-child(3),
.timeline-table th:nth-child(3) {
  width: 4ch;
}

.timeline-table td:nth-child(4),
.timeline-table th:nth-child(4) {
  width:32ch;
}
.simple-page-title {
  transform: translateX(412px);  /* Adjust this value as needed */
}
/* Contact page title */
body.contact-page .content h1 {
  transform: translateX(-17px);
}

/* Blog page title */
body.blog-page .content h1 {
  transform: translateX(-20px);
}

body.accolades-page .sub-nav {
  background-color: darkblue;
  padding: 8px 0;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 2px solid yellow;
  margin-top: 20px;  /* THIS pushes the banner down */
}

body.accolades-page .sub-nav a {
  padding: 6px 12px;
  margin: 0 5px;
  background-color: darkgreen;
  color: white;
  border: 3px solid orange;
  font-weight: bold;
  text-decoration: none;
}

body.accolades-page .sub-nav a:hover {
  background-color: lightyellow;
  color: darkblue;
}

/* --- Title alignment fix for Awards, Certificates, Letters only --- */
body.accolades-subpage .simple-page-title {
  margin-left: 10px;  /* You can adjust this if needed */
}

body.certificates-page .content-area {
  min-height: px;  /* or whatever height keeps the footer down */
}

/* Narrative paragraph styling for intro text */
.page-narrative {
  font-weight: normal;
  font-size: 1.2em;
  text-align: left;
  color: #333;
  margin-top: 10px;
  margin-bottom: 15px;
}

/* Thumbnails styling */
.accolades-thumbnails {
  margin-top: 10px;
}

.thumbnail {
  width: 100px;
  height: auto;
  margin-right: 10px;
  border: 2px solid darkblue;
  border-radius: 4px;
}

.thumbnail:hover {
  box-shadow: 0 0 10px gold;
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.accolades-thumbnails {
  margin-top: 10px;
  display: block;
  position: relative;  /* Key change */
  height: 300px;  /* Or however tall you want the area to be */
}

.thumb1 {
  position: absolute;
  top: 60px;
  left: 10px;
}

.thumb2 {
  position: absolute;
  top: 80px;
  left: 450px;
}

.thumb3 {
  position: absolute;
  top: 109px;
  left: 850px;
}

/* Lightbox styles */
#lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  text-align: center;
  padding-top: 5%;
}

#lightbox img {
  max-width: 90%;
  max-height: 80%;
  border: 6px solid rgb(39, 14, 203);
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

#lightbox-caption {
  color: #a1dcf4;  /* Softer gray instead of harsh white */
  margin-top: 10px;
  font-size: 1.2em;
  font-style: italic;
  max-width: 33%;   /* Keeps the caption from stretching too wide */
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  background-color: rgba(0, 0, 0, 0.4); /* Soft transparent background behind text */
  padding: 10px;
  border-radius: 6px;
}


#lightbox:before {
  content: "Click anywhere to close";
  display: block;
  color: white;
  margin-top: 10px;
  font-size: 1em;
}

/* Thumbnail hover effect */
.thumbnail:hover {
  box-shadow: 0 0 10px gold;
  transform: scale(1.05);
  transition: all 0.3s ease;
}