/* Global Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #121212;  /* Dark background */
  color: #f5f5f5;       /* Light text */
  line-height: 1.6;
}

/* Header */
header {
  text-align: center;
  padding: 3rem 1rem;
  background: #000000;  /* Pure black */
  color: #00aaff;       /* Bold accent */
}

header h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: center;
  background: #1e1e1e;  /* Slightly lighter than black */
  padding: 0.8rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar a {
  color: #f5f5f5;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: bold;
  transition: color 0.3s, border-bottom 0.3s;
}

.navbar a:hover,
.navbar .active {
  color: #00aaff;
  border-bottom: 2px solid #00aaff;
}

/* Sections */
section {
  padding: 3rem 1.5rem;
  text-align: center;
}

h2 {
  color: #00aaff;
  margin-bottom: 1rem;
}

/* Project Cards */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: #1e1e1e;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.6);
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,170,255,0.5);
}

.project-card a {
  display: inline-block;
  margin-top: 0.8rem;
  color: #00aaff;
  text-decoration: none;
  font-weight: bold;
}

.project-card a:hover {
  text-decoration: underline;
}

/* Skills */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.skills span {
  background: #000000;
  color: #00aaff;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid #00aaff;
}

/* Contact Form */
.contact-form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #333;
  border-radius: 6px;
  background: #1e1e1e;
  color: #f5f5f5;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00aaff;
  outline: none;
}

.contact-form button {
  background: #00aaff;
  color: black;
  padding: 0.8rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #0088cc;
  color: white;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #000000;
  color: #cccccc;
  font-size: 0.9rem;
}
