:root {
  --bg: #0f172a;
  --panel: #111827;
  --soft: #1f2937;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #22c55e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #0b1020, #121a2d);
  line-height: 1.6;
}

.hero {
  padding: 1.2rem 1.2rem 4rem;
  border-bottom: 1px solid #263247;
}

.nav {
  max-width: 1100px;
  margin: 0 auto 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}


.lang-label {
  color: var(--muted);
  font-size: 0.92rem;
}

.lang-toggle {
  border: 1px solid #334155;
  background: #0b1222;
  color: var(--text);
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  font-weight: 600;
}

.brand {
  font-weight: 700;
  font-size: 1.2rem;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: #1a2a41;
  border: 1px solid #2e4364;
  border-radius: 999px;
  color: #bfdbfe;
  font-size: 0.9rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 800px;
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.2rem;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

.two-col {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: rgba(17, 24, 39, 0.78);
  border: 1px solid #2b3751;
  border-radius: 14px;
  padding: 1rem;
}

.section-intro {
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #334155;
  background: rgba(28, 41, 66, 0.45);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-item figcaption {
  padding: 0.5rem 0.7rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
  max-width: 620px;
}

input,
textarea {
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #0b1222;
  color: var(--text);
}

.btn {
  display: inline-block;
  width: fit-content;
  margin-top: 0.8rem;
  padding: 0.68rem 1.1rem;
  background: var(--accent);
  color: #052e16;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.footer {
  border-top: 1px solid #263247;
  padding: 1.2rem;
  text-align: center;
  color: var(--muted);
}

a {
  color: #86efac;
}


.gallery-item img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1rem;
  background: rgba(2, 6, 23, 0.92);
  z-index: 999;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 95vw);
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  border: 1px solid #334155;
}

.lightbox p {
  margin-top: 0.8rem;
  color: var(--text);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  color: #0f172a;
  background: #e2e8f0;
}
