:root {
  --color-bg: #0a0a0a;
  --color-text: #ffffff;
  --color-accent: #00ff00;
  --font-main: 'Space Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
}

nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
}

nav a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--color-accent);
}

/* Button */
.button {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

.button:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* Sections */
section {
  padding: 100px 0;
}

h1, h2, h3 {
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

/* Hero */
.hero {
  height: 70vh;
  display: flex;
  align-items: center;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 40px;
}

/* About */
.about-content {
  max-width: 600px;
}

.about-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Work */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.work-item {
  position: relative;
  overflow: hidden;
}

.work-item img {
  padding: 40px;
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.work-info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-item:hover .work-info {
  opacity: 1;
}

.work-item:hover img {
  transform: scale(1.1);
}

.work-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* Contact */
form {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--color-text);
  color: var(--color-text);
  font-family: var(--font-main);
}

textarea {
  height: 150px;
  resize: none;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* Footer */
footer {
  padding: 40px 0;
  text-align: center;
}

footer .logo {
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .work-grid {
    grid-template-columns: 1fr;
  }
}