/* Base styles */
body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
  margin: 0;
  padding: 1rem;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: #111111;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Paragraphs */
p {
  margin-bottom: 1rem;
}

/* Links */
a {
  color: #0055cc;
  text-decoration: underline;
}

a:hover,
a:focus {
  color: #003399;
  outline: 2px solid #003399;
  outline-offset: 2px;
}

/* Buttons */
button {
  background-color: #0055cc;
  color: #ffffff;
  border: none;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  cursor: pointer;
}

button:hover,
button:focus {
  background-color: #003399;
  outline: 2px solid #003399;
  outline-offset: 2px;
}

/* Bold and strong text */
strong, b {
  color: #000000;
  font-weight: bold;
}

/* Blockquotes */
blockquote {
  border-left: 4px solid #cccccc;
  padding-left: 1rem;
  color: #333333;
  background-color: #f9f9f9;
}

/* Code blocks */
code {
  background-color: #f4f4f4;
  color: #d6336c;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: Consolas, monospace;
}

/* Horizontal rule */
hr {
  border: none;
  border-bottom: 1px solid #cccccc;
  margin: 2rem 0;
}

.large-btn {
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  transition: 0.2s ease-in-out;
}

.large-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.2);
}

/* Social link buttons */
.button-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1rem;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.05s ease, box-shadow 0.2s ease;
  color: #ffffff;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.55);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: none;
}

/* Platform-specific colors */
.btn-github {
  background: #24292e;
}

.btn-github:hover {
  background: #2f363d;
}

.btn-linkedin {
  background: #0a66c2;
}

.btn-linkedin:hover {
  background: #0959ac;
}

.btn-twitter {
  background: #000000;   /* black background */
  color: #ffffff;        /* white text */
}

.btn-twitter:hover,
.btn-twitter:focus {
  background: #333333;   /* dark gray on hover for subtle change */
  color: #ffffff;
}

.btn-resume {
  background-color: #0055cc;
  color: #ffffff;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease, transform 0.05s ease, box-shadow 0.2s ease;
}

.btn-resume:hover,
.btn-resume:focus {
  background-color: #003399;
  outline: 2px solid #003399;
  outline-offset: 2px;
}

/* Navigation Banner */
#nav {
  background: #f3f4f6; /* light gray background */
  padding: 0.75rem 1rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

#nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

#nav ul li a {
  color: #111827; /* dark text for contrast */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

#nav ul li a:hover {
  color: #1d9bf0; /* highlight color on hover */
}


/* Base nav styles */
#nav {
  background: #f3f4f6;
  padding: 0.75rem 1rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#nav .nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

#nav .nav-links li a {
  text-decoration: none;
  font-weight: 600;
  color: #111827;
}

/* Toggle button */
.nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsive collapse */
@media (max-width: 768px) {
  #nav .nav-links {
    display: none;
    flex-direction: column;
    background: #f3f4f6;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 1rem;
  }

  #nav .nav-links.show {
    display: flex;
  }

  .nav-toggle {
    display: block;
    color: #111827;
  }
}

/* Base nav */
#nav {
  background: #f3f4f6;
  padding: 0.75rem 1rem;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Links inline on desktop */
#nav .nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
#nav .nav-links li a {
  text-decoration: none;
  font-weight: 600;
  color: #111827;
}

/* Hamburger hidden on desktop */
.nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Collapse on mobile */
@media (max-width: 768px) {
  #nav .nav-links {
    display: none;
    flex-direction: column;
    background: #f3f4f6;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 1rem;
  }

  #nav .nav-links.show {
    display: flex; /* this is what makes it appear */
  }
}

/* Projects section buttons */
.actions.special {
  display: flex;       /* keep them side by side */
  gap: 1rem;           /* add space between buttons */
  justify-content: flex-start; /* align to the left instead of center */
  flex-wrap: wrap;     /* allow wrapping on small screens */
}

.actions.special li {
  list-style: none;    /* remove bullet points */
}
/* Medium dark blue headings for project details */
#project-details h3 {
  color: #1d4ed8; /* medium dark blue */
}
