:root {
  --bg: #000000;
  --bg-alt: #050608;
  --fg: #e6f3f1;
  --muted: #8c9699;
  --accent: #00f5c8;
  --line: #181f24;
  --max-width: 980px;
}

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

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.5;
}

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}



/* ============================== */
/* TOP NAVBAR */
/* ============================== */

.top-bar {
  display: flex;
  justify-content: flex-end;
  gap: 1.75rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.6rem;
  margin-bottom: 2rem;
}

.top-bar a {
  color: inherit;
  position: relative;
  padding-bottom: 2px;
}

.top-bar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.15s ease-out;
}

.top-bar a:hover::after {
  width: 100%;
}



/* ============================== */
/* HERO */
/* ============================== */

.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 1px solid var(--line);
  padding: 3rem 0;
}

.hero-logo {
  max-width: 360px;
  width: 100%;
  height: auto;
  margin-bottom: 1.75rem;
}

.hero-line-1,
.hero-line-2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.hero-line-2 {
  margin-top: 0.25rem;
}

.hero-sub {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  max-width: 520px;
  color: var(--fg);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 0.9rem;
}

.btn {
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.75rem 1.9rem;
  cursor: pointer;
  border-radius: 2px;
}

.btn-primary {
  background: var(--accent);
  color: #021612;
}



/* ============================== */
/* SECTIONS */
/* ============================== */

section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.section-text {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 0.9rem;
}



/* ============================== */
/* GRID: 4-COLUMN CAPABILITIES */
/* ============================== */

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1.4rem;
  font-size: 0.88rem;
}

.grid-4 > div {
  border: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 1rem;
}

.grid-4 h3 {
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

@media (max-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}



/* ============================== */
/* CONTACT FORM */
/* ============================== */

.contact-container {
  max-width: 650px;
  margin: 0 auto;
}

.contact-collapse {
  border: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 1rem 1.2rem;
  border-radius: 4px;
}

.contact-collapse summary {
  cursor: pointer;
  font-size: 0.88rem;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.14em;
  padding: 0.3rem 0;
}

.contact-inner {
  margin-top: 1rem;
}

/* INPUTS */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  background: #0d0f11;
  border: 1px solid var(--line);
  padding: 0.7rem;
  color: var(--fg);
  font-size: 0.9rem;
  border-radius: 3px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

textarea {
  resize: vertical;
  min-height: 120px;
}



/* ============================== */
/* PROJECT CARDS (used on projects.php) */
/* ============================== */

.project-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 1.4rem;
  margin-bottom: 1.3rem;
}

.project-card h3 {
  margin: 0 0 .45rem;
  font-size: 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
}

.project-card p {
  color: var(--muted);
}



/* ============================== */
/* FOOTER */
/* ============================== */

footer {
  padding-top: 2.2rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.legal-wrap {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

summary {
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: .75rem;
  border-top: 1px solid var(--line);
}
