/* styles/styles.css */

/* Reset + Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

header {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  padding: 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: auto;
}

nav h1 {
  font-size: 1.8rem;
  color: #0077cc;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

nav a:hover {
  color: #0077cc;
}

section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

section h2 {
  font-size: 2rem;
  color: #0077cc;
  margin-bottom: 20px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
}

.project {
  margin-bottom: 30px;
  padding: 15px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.project h3 {
  color: #444;
  margin-top: 10px;
  margin-bottom: 8px;
}

.project p {
  margin-bottom: 10px;
  color: #555;
}

.project a {
  color: #0077cc;
  text-decoration: none;
}

.project-thumb {
  width: 100%;
  max-width: 600px;
  border-radius: 6px;
  margin-bottom: 10px;
  display: block;
}

ul li {
  margin-bottom: 5px;
}

footer {
  background-color: #fff;
  text-align: center;
  padding: 20px;
  border-top: 1px solid #ddd;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #777;
}

#hero {
  text-align: center;
  padding: 60px 20px;
  background-color: #eef6fb;
}

#hero h2 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  color: #222;
}

#hero p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 20px;
}

#hero a {
  display: inline-block;
  padding: 10px 20px;
  margin: 5px;
  background-color: #0077cc;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

#hero a:hover {
  background-color: #005fa3;
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding-top: 10px;
  }

  #hero h2 {
    font-size: 2rem;
  }

  #hero p {
    font-size: 1rem;
  }

  section h2 {
    font-size: 1.6rem;
  }

  .project-thumb {
    max-width: 100%;
  }
}
