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

body {
  font-family: "Space Mono", monospace;
  background-color: #1a1a1a;
  color: #aaaaaa;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

p,
h1,
h2 {
  margin: 1.5rem 0;
}

a {
  color: #ff5f1f;
}

ul,
ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.5rem;
}

ul ul,
ol ul,
ul ol,
ol ol {
  margin: 0.5rem 0;
}

ul ul ul,
ol ul ul,
ul ol ul,
ol ol ul,
ul ul ol,
ol ul ol,
ul ol ol,
ol ol ol {
  margin: 0.5rem 0;
}

/* Header and Navigation */
header {
  padding: 2rem 1rem;
  border-bottom: 1px solid #333;
}

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

nav a {
  color: #cccccc;
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ff5f1f;
}

/* Main Content */
main {
  flex: 1;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 4rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ff5f1f;
}

.hero h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: #cccccc;
}

/* Projects Section */
.projects {
  margin-bottom: 4rem;
}

.projects h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-link {
  text-decoration: none;
  color: inherit;
}

.project-card {
  background-color: #2a2a2a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.project-card:hover {
  border-color: #ff5f1f;
  transform: translateY(-2px);
}

.project-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ff5f1f;
}

.project-card p {
  font-size: 16px;
  color: #cccccc;
}

/* Content Pages */
.content {
  max-width: 800px;
  margin: 0 auto;
}

.content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  color: #ff5f1f;
}

.bio p {
  font-size: 18px;
  margin-bottom: 1.5rem;
}

.bio a {
  text-decoration: underline;
}

.bio a:hover {
  color: #ffffff;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #aaaaaa;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.75rem;
  font-family: "Space Mono", monospace;
  font-size: 16px;
  background-color: #2a2a2a;
  border: 1px solid #333;
  border-radius: 4px;
  color: #ffffff;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: none;
  border-color: #ff5f1f;
}

textarea {
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  font-family: "Space Mono", monospace;
  font-size: 18px;
  font-weight: 700;
  background-color: #ff5f1f;
  color: #1a1a1a;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #e05000;
}

/* Footer */
footer {
  padding: 2rem 1rem;
  border-top: 1px solid #333;
  text-align: center;
  color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.25rem;
  }

  .content h1 {
    font-size: 2rem;
  }

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

  nav ul {
    gap: 1rem;
  }

  nav a {
    font-size: 16px;
  }
}
