@import url('https://fonts.googleapis.com/css2?family=Limelight&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  --primary: #3B82F6;
  --secondary: #8B5CF6;
  --success: #16A34A;
  --warning: #D97706;
  --danger: #DC2626;
  --surface: #FFFFFF;
  --text: #111827;
  --neutral: #F3F4F6;
  --text-light: #6B7280;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --transition: 200ms ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Limelight', display;
  font-weight: 400;
  line-height: 1.2;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover, a:focus-visible {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ---- Header / Nav ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  padding: 16px 0;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Limelight', display;
  font-size: 24px;
  color: var(--text);
}
.logo span { color: var(--primary); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text);
}

/* ---- Hero ---- */
.hero {
  padding: 140px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--primary); }
.hero p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-gallery img {
  border-radius: var(--radius);
  object-fit: cover;
  width: 100%;
  height: 200px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.hero-gallery img:first-child {
  grid-column: 1 / -1;
  height: 280px;
}
.hero-gallery img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: #2563EB;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59,130,246,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
}
.btn-outline:hover {
  background: var(--text);
  color: var(--surface);
}

/* ---- Sections ---- */
.section {
  padding: 100px 0;
}
.section-title {
  font-size: 36px;
  margin-bottom: 48px;
  text-align: center;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ---- Services ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid #E5E7EB;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--neutral);
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-light);
}

/* ---- Projects ---- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  background: var(--surface);
}
.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.project-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.project-info {
  padding: 20px 24px;
}
.project-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.project-info p {
  font-size: 13px;
  color: var(--text-light);
}
.project-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--neutral);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 12px;
}

/* ---- Clients ---- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
  justify-items: center;
}
.client-logo {
  width: 120px;
  height: 60px;
  background: var(--neutral);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Limelight', display;
  font-size: 18px;
  color: var(--text-light);
  transition: all var(--transition);
  padding: 8px;
}
.client-logo:hover {
  background: var(--primary);
  color: #fff;
}

/* ---- Team ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  text-align: center;
}
.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.team-card h3 {
  font-size: 18px;
  margin-bottom: 4px;
}
.team-card p {
  font-size: 13px;
  color: var(--text-light);
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info h3 {
  font-size: 24px;
  margin-bottom: 16px;
}
.contact-info p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  border: 2px solid #E5E7EB;
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
}
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  border-color: var(--primary);
}
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* ---- Footer ---- */
.footer {
  background: var(--text);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.footer p {
  font-size: 13px;
  opacity: 0.7;
}
.footer .logo {
  color: #fff;
  margin-bottom: 16px;
  display: inline-block;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 { font-size: 36px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .section-title { font-size: 28px; }
}
