body {
  margin: 0;
  font-family: sans-serif;
}

.container {
  width: min(90%, 800px);
  margin-inline: auto;
}


.site-header {
  background: black;
  color: white;
  padding: 20px 0;

  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.nav-list {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: white;
  font-weight: bold;
  padding-bottom: 4px;
  transition: opacity 0.3s;
}

.nav-link:hover {
  opacity: 0.6;
}

.nav-link.is-current {
  border-bottom: 2px solid white;
}


.nav-toggle {
  font-size: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: none;
}

.global-nav.is-open {
  display: block;
}



.theme-toggle {
  background: none;
  border: 1px solid white;
  color: white;
  padding: 6px 10px;
  cursor: pointer;
}


.hero {
  padding: 40px 0;
}

.projects {
  padding: 40px 0;
}

.project {
  padding: 20px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
}



.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}



.contact-form {
  max-width: 600px;
  margin-top: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: black;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}



.btn {
  background: black;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
}

.btn:hover {
  background: #333;
}

.btn:active {
  transform: translateY(1px);
}



body.dark {
  background: #111;
  color: white;
}

body.dark .site-header {
  background: #000;
}

body.dark .project {
  border-color: #444;
}



.site-footer {
  background: black;
  color: white;
  padding: 20px 0;
  margin-top: 40px;
}



@media (max-width: 768px) {

  .nav-toggle {
    display: block;
  }

  .global-nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    background: black;
    padding: 20px;
  }

  .nav-list {
    flex-direction: column;
  }

}
