:root {
  --primary-color: #0077ff;
  --secondary-color: #00c6ff;
  --text-color: #333;
  --bg-color: #f9f9f9;
  --font-family: "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background: var(--bg-color);
  line-height: 1.6;
}

/* Header */
header {
  background: white;
  position: fixed;
  top: 0; left: 0; width: 100%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

header h1 { color: var(--primary-color); }
header nav ul {
  list-style: none;
  display: flex;
}
header nav ul li {
  margin-left: 1.5rem;
}
header nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
}
header nav ul li a:hover { color: var(--primary-color); }

/* Hero */
.hero {
  height: 100vh;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
}
.hero h2 { font-size: 3rem; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; }
.hero button {
  background: white; color: var(--primary-color);
  border: none; border-radius: 25px;
  padding: 0.75rem 1.5rem; cursor: pointer;
  transition: 0.3s;
}
.hero button:hover { background: #e6e6e6; }

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

/* Filters */
.filters {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.filters button {
  margin: 0 0.5rem; padding: 0.5rem 1rem;
  border: 1px solid var(--primary-color);
  border-radius: 5px; background: white; cursor: pointer;
  transition: 0.3s;
}
.filters button.active, .filters button:hover {
  background: var(--primary-color);
  color: white;
}

/* Portfolio Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.project-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 1rem;
  transition: 0.3s;
  text-align: center;
}
.project-card:hover { transform: translateY(-5px); box-shadow: 0 6px 15px rgba(0,0,0,0.1); }

/* Contact Form */
.contact form {
  display: grid;
  gap: 1rem;
}
.contact input, .contact textarea {
  width: 100%; padding: 0.75rem;
  border-radius: 5px; border: 1px solid #ccc;
}
.contact button {
  background: var(--primary-color);
  color: white;
  border: none; padding: 0.75rem; border-radius: 5px;
  cursor: pointer; transition: 0.3s;
}
.contact button:hover { background: #005fcc; }

/* Footer */
footer { text-align: center; padding: 2rem; background: var(--primary-color); color: white; }

/* Responsive */
@media (max-width:768px){
  header .container { flex-direction: column; }
  header nav ul { flex-direction: column; margin-top: 0.5rem; }
}
