/* Tech Nicco — shared styles */
:root {
  --bg: #0f1115;
  --surface: #181b22;
  --border: #2a2f3a;
  --text: #e8eaf0;
  --muted: #a3a9b7;
  --accent: #4fd1c5;
}

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

html { font-size: 17px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header / nav */
header {
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: 0.02em;
}
.logo:hover { text-decoration: none; }
.nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.nav ul a { color: var(--muted); }
.nav ul a:hover,
.nav ul a[aria-current="page"] { color: var(--text); text-decoration: none; }

/* Main content */
main {
  flex: 1;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}
h2 {
  font-size: 1.6rem;
  margin: 3rem 0 1.25rem;
}
.lead {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 1.25rem;
}

/* Hero (landing page) */
.hero {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 { font-size: clamp(3rem, 10vw, 5.5rem); }

/* Buttons */
.buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.btn {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  font-weight: 600;
}
.btn:hover { background: var(--accent); color: var(--bg); text-decoration: none; }
.btn.solid { background: var(--accent); color: var(--bg); }
.btn.solid:hover { opacity: 0.9; }

/* Contact box */
.contact {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  max-width: 28rem;
}
.contact p { margin-bottom: 0.4rem; }
.contact strong { color: var(--muted); font-weight: 500; margin-right: 0.4rem; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.gallery figure {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.gallery img,
.gallery .placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.gallery .placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  background: repeating-linear-gradient(45deg, #1c2029, #1c2029 12px, #20242e 12px, #20242e 24px);
}
.gallery figcaption {
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
footer .inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
}
