/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
header {
  background-color: #070202; /* light, clean background */
  color: #1d3557;
  padding: 2rem 0;
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.highlight-name {
  color: #e63946; /* modern red tone */
}

.subtitle {
  font-size: 1rem;
  color: #457b9d; /* muted steel blue */
  font-weight: normal;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

nav a {
  text-decoration: none;
  color: #1d3557;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #e63946;
}

/* Section Common */
.section {
  padding: 4rem 0;
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #1d3557;
}

/* About Section */
#about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
  text-align: center;
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.project-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card h3 {
  margin-bottom: 0.5rem;
  color: #1d3557;
}

.project-card p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.project-card a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #e63946;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.project-card a:hover {
  background-color: #d62839;
}

/* Contact Section */
#contact p {
  text-align: center;
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

#contact a {
  color: #e63946;
  text-decoration: none;
}

#contact a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: #1d3557;
  color: white;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
}
