/* Base Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }
  
  body {
    background-color: #121212; /* Dark gray or near-black */
    color: #ccc;              /* Light gray text */
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    font-size: 16px; /* or 1rem */
    margin: 0;
    padding: 0;
  }

  h2 {
    color: #fff;      /* Brighter to stand out */
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
  
  h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600; /* Slightly bolder */
  }

  h2, h3 {
    color: #00b4d8; /* An accent color to differentiate from body text */
  }

  ul {
    list-style-type: disc; /* or "circle" */
    padding-left: 1.5rem;  /* indentation */
    margin-bottom: 1.5rem; 
  }
  
  li {
    margin-bottom: 0.5rem; 
  }

  ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  ol li {
    margin-bottom: 0.5rem;
  }
  
  /* Navigation Bar */
  
  header {
    background-color: #121212;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 10;
  }
  
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
  }
  
  .logo {
    font-weight: 700;
    font-size: 1.5rem;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: #0077b6;
  }
  
  /* Hero Section */
  
  .hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)), 
                url("../images/hero-image.jpg") center/cover no-repeat;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
  }
  
  .hero-stats {
    background: linear-gradient(135deg, #161616 0%, #1e1e1e 100%);
    padding: 3rem 1rem;
    text-align: center;
    color: #fff;
    display: flex;
    justify-content: center;
  }
  
  .hero-content {
    max-width: 800px;
    width: 100%;
  }
  
  /* Headshot */
  .hero-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
  }
  
  /* Title & Subtitle */
  .hero-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-top: 0.5rem;
  }
  
  .hero-pitch {
    margin: 1.5rem auto;
    font-size: 1rem;
    max-width: 600px;
    color: #bbb;
  }
  
  /* Stats Grid */
  .stats-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
  }
  
  .stat-card {
    background-color: #222;
    text-decoration: none;   /* remove underline */
    color: inherit;          /* keep text color the same */
    padding: 1rem 1.5rem;
    border-radius: 6px;
    text-align: center;
    min-width: 120px;
    transition: background-color 0.3s;
  }
  
  .stat-card:hover {
    background-color: #333;
  }
  
  .stat-card h2 {
    font-size: 2rem;
    margin: 0;
    color: #00b4d8; /* accent color for numbers */
  }
  
  .stat-card p {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    color: #ddd;
  }
  
  /* CTA Buttons */
  .hero-cta {
    margin-top: 2rem;
  }
  
  .cta-button {
    background-color: #0077b6;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    margin-right: 1rem;
    transition: background-color 0.3s;
    font-weight: 600;
  }
  
  .cta-button:hover {
    background-color: #005f8d;
  }
  
  .cta-button.secondary {
    background-color: #444;
    margin-right: 0;
  }
  
  .cta-button.secondary:hover {
    background-color: #333;
  }
  
  /* Section Containers */
  
  .section-container {
    max-width: 1200px;
    margin: auto;
    padding: 3rem 1rem;
  }
  
  .section-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
  }
  
  /* About Section */
  
  .about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
  }
  
  .headshot {
    width: 200px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .about-content p {
    flex: 1;
    font-size: 1rem;
  }
  
  /* Projects Section */

  .search-container {
    text-align: left;
    margin-bottom: 1.5rem;
  }
  
  #search-box {
    width: 100%;
    max-width: 400px;
    padding: 0.5rem;
    font-size: 1rem;
  }
  
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  .project-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
  }
  
  .project-card:hover {
    transform: translateY(-5px);
  }
  
  .project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  
  .project-card h3 {
    margin: 1rem;
    font-size: 1.2rem;
  }
  
  .project-card p {
    margin: 0 1rem 1rem 1rem;
    font-size: 0.95rem;
  }
  
  .project-card a {
    margin: 0 1rem 1rem 1rem;
    color: #0077b6;
    text-decoration: none;
    font-weight: 700;
  }
  
  .project-card a:hover {
    text-decoration: underline;
  }

  .cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
  }
  
  .cert-card {
    background-color: #2a2a2a;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
  }
  
  .cert-card img {
    width: 100%;
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 0.5rem;
  }
  
  .cert-card p {
    color: #ddd;
    margin: 0.5rem 0 0;
  }
  
  .language-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 1rem;
  }
  
  .language-list li {
    margin-bottom: 0.5rem;
    color: #ccc;
  }
  
  /* Contact Section */
  
  #contact p {
    text-align: center;
    font-size: 1.1rem;
  }
  
  #contact a {
    color: #0077b6;
    font-weight: 700;
    text-decoration: none;
  }
  
  #contact a:hover {
    text-decoration: underline;
  }

  /* Extra styling for the detail page */
  #project-detail img {
    max-width: 100%;
    border-radius: 4px;
    margin: 1rem 0;
  }
  
  /* Optional styling for the "Back to Projects" link or button */
  #project-detail .cta-button {
    background-color: #0077b6;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
  }
  
  #project-detail .cta-button:hover {
    background-color: #005f8d;
  }
  
  /* Footer */
  
  footer {
    background-color: #fff;
    border-top: 1px solid #eee;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
  }
  
  /* Responsive Adjustments */
  
  @media screen and (max-width: 768px) {
    .hero {
      height: 50vh;
    }
  
    .hero-text h1 {
      font-size: 2rem;
    }
  
    .hero-text p {
      font-size: 1rem;
    }
  
    .nav-links {
      display: none; /* Hide if you want a mobile menu approach. 
                        Or keep it for a simple, smaller screen approach. */
    }
  
    .about-content {
      flex-direction: column;
      text-align: center;
    }
  }
  