/* styles.css */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #1A4341;
  color: #f5f5f5;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  text-align: center;
}

header {
  background-color: #333;
  padding: 1em 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1em;
}

.nav-logo {
  font-size: 1.5em;
  text-decoration: none;
  color: #f5f5f5;
}

.nav-menu-icon {
  display: none;
  font-size: 2em;
  cursor: pointer;
  color: #f5f5f5;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1em;
}

.nav-menu li a {
  text-decoration: none;
  color: #fff;
  padding: 0.5em;
  transition: background-color 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a:focus {
  background-color: #555;
  outline: none;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1em;
}

section {
  padding: 5em 0;
}

.full-height {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2em;
}

.project {
  background-color: #fff;
  opacity: 0.95;
  border-radius: 10px;
  padding: 1em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: #333;
  text-align: center;
}

.placeholder-image {
  border-radius: 10px;
  width: 100%;
  height: auto;
}

.links {
  display: flex;
  justify-content: center;
  gap: 1em;
}

.links a {
  font-size: 2em;
  color: #f5f5f5;
  text-decoration: none;
  transition: opacity 0.2s;
}

.links a:hover {
  opacity: 0.7;
}

footer {
  background-color: #333;
  color: #f5f5f5;
  padding: 1em 0;
  text-align: center;
}

@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    padding-top: 3em;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu-icon {
    display: block;
  }

  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .nav-menu-icon {
    z-index: 2000;
  }

  body {
    overflow-x: hidden;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

h1 {
  font-size: clamp(2rem, 6vw, 6rem);
  padding: 0.5rem clamp(1rem, 2vw, 3rem);
  border-radius: clamp(0.4rem, 0.75vw, 1rem);
  background-color: rgba(255, 255, 255, 0.90);
  color: #1A4341;
  margin: 0 auto;
  text-align: center;
  max-width: 80%;
}

a {
  text-decoration: none;
  color: f5f5f5;
  transition: 0.2s;
  margin: .5rem;
}

a:hover {
  opacity: 80%;
}

.tagline {
  font-size: 1.5em;
  margin-top: 1em;
}
