
:root {
  /* COLOR SYSTEM */
  --bg: #050708;               /* site background (very dark gray) */
  --bg-alt: #111827;           /* card background */
  --bg-soft: #0b1015;
  --accent: #22c55e;           /* main green */
  --accent-soft: rgba(34, 197, 94, 0.14);
  --accent-bright: #a3ffbf;    /* highlight green */
  --text: #f9fafb;
  --muted: #9ca3af;
  --border: #1f2933;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.7);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top left, #0b1220 0, #020617 40%, #020617 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* ARCHITECTURAL BACKGROUND LAYERS */

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -40vh;
  pointer-events: none;
  z-index: -2;
}

/* angled structural planes */
body::before {
  background-image:
    linear-gradient(120deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(210deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 120px 120px, 160px 160px;
  opacity: 0.9;
  mix-blend-mode: soft-light;
}

/* glowing vertical grid, like elevations/sections */
body::after {
  background-image:
    linear-gradient(to right, rgba(34, 197, 94, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 10% 20%, rgba(34, 197, 94, 0.18), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(56, 189, 248, 0.14), transparent 55%);
  background-size: 90px 100%, auto, auto;
  mix-blend-mode: screen;
  animation: driftGrid 40s linear infinite;
}

@keyframes driftGrid {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-120px, -40px, 0);
  }
}

img {
  pointer-events: none;
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 48px;
  position: relative;
  z-index: 1;
}

/* subtle glow frame around the page */
.page::before {
  content: "";
  position: fixed;
  inset: 40px 10%;
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  pointer-events: none;
  z-index: -1;
  box-shadow:
    0 0 60px rgba(15, 23, 42, 0.9),
    0 0 120px rgba(15, 23, 42, 0.9);
}

/* HEADER */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 20% 0, #ecfdf5, transparent 55%),
    conic-gradient(from 210deg, #22c55e, #22c55e, #22c55e, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ecfdf5;
  font-weight: 700;
  font-size: 18px;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.9),
    0 14px 35px rgba(0, 0, 0, 0.9);
}

.logo-text-main {
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 13px;
  text-transform: uppercase;
}

.logo-text-sub {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.18em;
}

nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.nav-link {
  position: relative;
  padding-bottom: 2px;
  color: var(--muted);
  transition: color 0.15s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  transition: width 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent-bright);
}

.nav-link.active::after {
  width: 100%;
}

.btn-primary {
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), #16a34a);
  color: #ecfdf5;
  border: 1px solid rgba(34, 197, 94, 0.5);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.75);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.12s ease,
    border-color 0.12s ease;
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.9);
  background: linear-gradient(135deg, #16a34a, #22c55e);
  border-color: rgba(163, 255, 191, 0.7);
}

/* SECTIONS COMMON */

section {
  margin-bottom: 40px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
}

.section-title {
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.section-subtitle {
  font-size: 13px;
  color: var(--muted);
}

/* HERO (HOME) */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  padding: 26px;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.16), transparent 55%),
              linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.96));
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 40px;
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

/* faint architectural section lines overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background-image:
    linear-gradient(90deg, rgba(148, 163, 184, 0.25) 1px, transparent 1px),
    linear-gradient(0deg, rgba(148, 163, 184, 0.18) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  transform: skewY(-4deg);
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 0, rgba(163, 255, 191, 0.3), transparent 55%),
    radial-gradient(circle at 70% 100%, rgba(56, 189, 248, 0.24), transparent 60%);
  opacity: 0.7;
  filter: blur(1px);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-title {
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.1;
}

.hero-title span {
  color: var(--accent-bright);
}

.hero-subtitle {
  color: var(--muted);
  font-size: 15px;
  max-width: 420px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
  font-size: 13px;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  color: var(--accent-bright);
  border: 1px solid rgba(148, 163, 184, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.8);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  align-items: center;
}

.hero-secondary {
  font-size: 13px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-secondary span {
  width: 16px;
  height: 1px;
  background: rgba(148, 163, 184, 0.7);
  display: inline-block;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

.hero-meta strong {
  font-size: 18px;
  display: block;
  color: var(--accent-bright);
}

/* HERO VISUAL */

.hero-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(circle at 0 0, #22c55e 0, #111827 40%);
  min-height: 220px;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  isolation: isolate;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.hero-visual img {
  object-fit: cover;
  width: 100%;
  filter: saturate(1.08) contrast(1.08);
  transform: scale(1.03);
  transition: transform 8s ease-out;
}

.hero-visual:hover img {
  transform: scale(1.07);
}

.hero-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(15, 23, 42, 0.92);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

.hero-card {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(2, 6, 23, 0.96);
  color: #e9f1f5;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 11px;
  min-width: 180px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(30, 64, 175, 0.7);
}

.hero-card-title {
  font-size: 12px;
  margin-bottom: 2px;
  color: var(--accent-bright);
}

.hero-progress-bar {
  margin-top: 8px;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  overflow: hidden;
}

.hero-progress-inner {
  width: 82%;
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #a3ffbf);
}

/* PROJECTS GRID */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.15), transparent 50%),
              var(--bg-alt);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.9);
  border-color: rgba(34, 197, 94, 0.6);
}

.project-image {
  height: 160px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.06);
  filter: saturate(1.12);
}

.project-body {
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  color: var(--muted);
}

.project-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-bright);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  font-size: 11px;
}

.project-tag {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: var(--muted);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* SERVICES PAGE */

.services {

}

.services-intro {
  background: linear-gradient(145deg, #111827, #020617);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  box-shadow: var(--shadow-soft);
  font-size: 14px;
  color: var(--muted);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.services-intro strong {
  color: var(--accent-bright);
}

.services-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.14), transparent 55%),
              rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-md);
  padding: 12px 12px 13px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.9);
}

.service-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--muted);
}

.service-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--accent-bright);
}

/* STUDIO / ABOUT PAGE */

.bottom {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.about {
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.15), transparent 60%),
              #020617;
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-soft);
  font-size: 14px;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.about-columns {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.about-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}

.about-highlight {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(148, 163, 184, 0.5);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

/* CONTACT PAGE */

.contact {
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.18), transparent 60%),
              #020617;
  border-radius: var(--radius-lg);
  padding: 16px 16px 18px;
  box-shadow: var(--shadow-soft);
  font-size: 14px;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.contact small {
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.form-field label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.form-field input,
.form-field textarea,
.form-field select {
  border-radius: 10px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 7px 9px;
  font-size: 13px;
  font-family: inherit;
  resize: vertical;
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.contact-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
  gap: 10px;
  flex-wrap: wrap;
}

/* FOOTER */

footer {
  margin-top: 30px;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

footer a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  color: var(--accent-bright);
}

/* LANGUAGE TOGGLE */

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.lang-toggle a,
.lang-toggle span {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
}

.lang-toggle a {
  border-color: rgba(148, 163, 184, 0.3);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lang-toggle a:hover {
  background: rgba(15, 23, 42, 0.8);
  color: var(--accent-bright);
  border-color: rgba(34, 197, 94, 0.6);
}

.lang-toggle .lang-active {
  border-color: rgba(34, 197, 94, 0.7);
  background: rgba(22, 163, 74, 0.18);
  color: var(--accent-bright);
  cursor: default;
}

/* optional: small contact meta block on contact page */
.contact-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

/* RESPONSIVE BREAKPOINTS */

@media (max-width: 900px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-intro {
    order: 2;
  }

  .bottom {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .page {
    padding-inline: 16px;
  }

  .hero {
    padding: 18px;
  }

  .projects-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-list {
    grid-template-columns: minmax(0, 1fr);
  }

  nav {
    font-size: 13px;
    gap: 12px;
  }

  .page::before {
    inset: 24px 4%;
  }
}
