/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  line-height: 1.6;
  background: #f4f6f9;
  color: #333;
}

/* HEADER */
header {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(135deg, #4a90e2, #7b4397);
  color: white;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* NAVIGATION */
nav {
  background: #222;
}

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

nav ul li {
  margin: 0 1.5rem;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

/* MAIN CONTENT */
main {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

section {
  margin-bottom: 3rem;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #7b4397;
  border-bottom: 3px solid #4a90e2;
  display: inline-block;
  padding-bottom: 0.2rem;
}

/* ABOUT */
#about p {
  font-size: 1.1rem;
}

/* PROJECTS */
#projects article {
  background: #fff;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#projects article:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

#projects h3 {
  margin-bottom: 0.5rem;
  color: #4a90e2;
}

#projects img {
  max-width: 100%;
  border-radius: 8px;
  margin: 1rem 0;
}

/* CONTACT */
#contact p {
  margin-bottom: 0.5rem;
}

#contact a {
  color: #4a90e2;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

#contact a:hover {
  color: #7b4397;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 1.5rem;
  background: #222;
  color: #ccc;
  font-size: 0.9rem;
}
.project-gallery {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}

.project-gallery img {
  width: 30%;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}