/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #0d0d0d;
  color: #e0e0e0;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Navbar */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #0d0d0d;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.navbar {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.navbar .logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: #4a90e2;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.navbar ul li a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar ul li a:hover {
  color: #4a90e2;
}

/* Hero */
.hero {
  text-align: center;
  padding: 8rem 2rem;
  background: linear-gradient(135deg, #1f1f1f, #0d0d0d);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: #aaa;
  margin-bottom: 2rem;
}

.btn {
  background-color: #4a90e2;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #357ab8;
}

/* Sections */
.section {
  max-width: 1000px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #fff;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.project-card {
  background-color: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.7);
}

.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.project-card p {
  margin-bottom: 1.2rem;
  color: #ccc;
}

.project-card a {
  color: #4a90e2;
  text-decoration: none;
  font-weight: 600;
}

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

/* Contact Form */
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

#contact-form input,
#contact-form textarea {
  padding: 0.8rem;
  border-radius: 5px;
  border: 1px solid #333;
  background-color: #1a1a1a;
  color: #e0e0e0;
  font-size: 1rem;
  width: 100%;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: #888;
}

#contact-form button {
  width: fit-content;
  padding: 0.8rem 1.5rem;
  background-color: #4a90e2;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

#contact-form button:hover {
  background-color: #357ab8;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background-color: #0d0d0d;
  color: #888;
  margin-top: 5rem;
}
