/* Base font styling for body text
   Uses Arial for ADA/Section 508 readability */ 
body {
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  color: #333333; 						/* Very Dark Gray */
  background-color: #fdf6e3; 	/* Cream */
}
/* Heading font styling
   Georgia is used for visual contrast while maintaining ADA readability at larger sizes */
h1, h2, h3 {
  font-family: 'Georgia', serif;
}

/* Section heading color
   Matches header and tagline for visual unity */
h2 {
  color: #003366; 						/* Dark blue */
}

/* Header container styling
   Adds spacing and background color for visual separation */
header {
  margin: 0;
  padding: 20px;
  background-color: #e0f7fa;	/* Light aqua */
  color: #003366; 						/* Dark blue */
  text-align: center;
}

/* Flex layout for header content
   Aligns logo and heading side by side */
.header-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* Removes default margin from main heading */
.header-flex h1 {
  margin: 0;
}

/* Tagline styling
   Italicized and centered below main heading */
.tagline {
  font-size: 1.2rem;
  font-style: italic;
  color: #003366; 						/* Dark blue */
  margin-top: 5px;
  text-align: center;
}

/* Navigation bar container
   Horizontal layout with dark blue background */
nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  background-color: #003366; 	/* Dark blue */
}

/* Navigation list items
   Adds spacing around each link */
nav ul li {
  margin: 0;
  padding: 15px 25px;
}

/* Navigation link styling
   Bold white text with padding */
nav ul li a {
	padding: 12px 20px;
  text-decoration: none;
  color: #ffffff;							/* Pure white */
  font-weight: bold;
}

/* Navigation hover effect
   Light aqua background and dark blue text */
nav ul li a:hover {
  background-color: #e0f7fa;  /* Light aqua */
  color: #003366; 						/* Dark blue */
  border-radius: 5px;
}

/* Active page link styling
   Highlights current page in nav bar */
nav ul li a.active {
  background-color: #e0f7fa;  /* Light aqua */
  color: #000000;							/* Pure black */
  border-radius: 5px;
}

/* Main content container
   Centers content and adds spacing */
main {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background-color: #ffffff;  /* Pure white */
}
/* Intro section layout
   Two-column flexbox with spacing and wrapping */
.intro-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; 	/* Distribute space between text and photo */
  align-items: center;
  gap: 20px;
  margin: 40px auto;
  max-width: 900px;
  padding: 20px;
  background-color: #ffffff;  /* Pure white */
}

/* Text column styling
   Occupies ~60% of section width */
.intro-text {
  flex: 1 1 60%;
}

/* Paragraph styling inside intro-text to
   improve readability and spacing */
.intro-text p {
  line-height: 1.6;
  font-size: 1.05rem;
  color: #2c2c2c;             /* Softer black */
  letter-spacing: 0.3px;
  margin-top: 10px;
}

/* Bullet list spacing inside intro-section */
.intro-section ul li {
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Intro blurb styling
   Cream background with left border and bold text */
.intro-blurb {
	font-weight: 600;
  background-color: #fdf6e3;  /* Cream */
  padding: 15px;
  border-left: 4px solid #003366;  /* Dark blue */
  border-radius: 6px;
  margin-top: 10px;
}

/* Photo styling
   Occupies ~30% of section width and centers image */
.intro-photo {
  flex: 1 1 30%;
  text-align: center;
}

/* Profile image styling
   Rounded corners and responsive sizing */
.intro-photo img {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

/* Footer styling
   Light aqua background with centered dark blue text */
footer {
  clear: both;
  padding: 20px;
  text-align: center;
  background-color: #e0f7fa;  /* Light aqua */
  color: #003366; 						/* Dark blue */
}

/* Footer link styling
   Dark blue with underline */
footer a {
  color: #003366; 						/* Dark blue */
  text-decoration: underline;
}

/* Footer link hover effect
   Bright blue for emphasis */
footer a:hover {
  color: #0056D2; 						/* Bright blue */
}

/* Responsive navigation for smaller screens */
@media screen and (max-width: 768px) {
  
  /* Stack nav links vertically */
  nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  /* Add spacing and center alignment for nav items */
  nav ul li {
    padding: 10px 0;
    text-align: center;
  }

  /* Make nav links full-width and touch-friendly */
  nav ul li a {
    display: block;
    padding: 15px;
    border-bottom: 1px solid #ffffff;
  }
}

/* Resume specific page styling */

/* General resume section */
.resume-section {
  margin: 40px auto;
  padding: 0px;
  background-color: #ffffff;  /* Pure white */
  border-radius: 6px;
}

/* Resume intro paragraph */
.resume-intro {
  font-style: italic;
  color: #2c2c2c;
  margin-bottom: 20px;
}

/* Resume contact list */
.resume-contact ul {
  list-style-type: none;
  padding: 0;
}
.resume-contact li {
  margin: 5px 0;
}

/* Skills list in two columns */
.resume-skills ul {
  columns: 2;
  column-gap: 40px;
  list-style-type: disc;
  padding-left: 20px;
}

/* Education list */
.resume-education ul {
  list-style-type: disc;
  padding-left: 20px;
}

/* Experience entries */
.resume-experience article {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #fdf6e3;       /* Cream */
  border-left: 4px solid #003366;  /* Dark blue */
  border-radius: 6px;
}
.resume-experience h4 {
  margin-top: 0;
  color: #003366;             /* Dark blue */
}
.resume-experience p {
  font-weight: bold;
  margin-bottom: 10px;
}
.resume-experience ul {
  padding-left: 20px;
  list-style-type: disc;
}

/* Style for jobs with multiple positions */
.resume-experience h4.job-position {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
  color: #333333;             /* Dark grey */
}

/* Resume download button */
.resume-button {
  display: inline-block;
  padding: 6px 24px;
  margin-top: 10px;
  background-color: #003366;   /* Dark blue */
  color: #ffffff;              /* White text */
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover effect */
.resume-button:hover {
  background-color: #e0f7fa;   /* Light aqua */
  color: #003366;              /* Dark blue text */
}

/* GitHub specific page styling */

/* GitHub button with same resume-button styles */
.github-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* GitHub logo sizing */
.github-icon {
  height: 20px;
  width: 20px;
}

/* AboutMe specific page styling */

/* General AboutMe section */
.about-section {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #fdf6e3;       /* Cream highlight */
  border-left: 4px solid #003366;  /* Dark blue accent */
  border-radius: 6px;
}

.about-section h3 {
  margin-top: 0;
  color: #003366;             /* Dark blue */
}

/* Responsive adjustments for resume sections */
@media screen and (max-width: 768px) {
  .resume-skills ul {
    columns: 1; /* Single column on small screens */
  }
}
