/* =====================
   ROOT VARIABLES
===================== */

:root {
  --ink: #e5e7eb;        /* main text */
  --muted: #9ca3af;     /* secondary text */
  --bg: #0b0f14;        /* page background */
  --soft: #111827;      /* section/footer bg */
  --border: #1f2933;
  --link: #60a5fa;
}

/* =====================
   BASE
===================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}

/* =====================
   HEADER / NAV
===================== */

header {
  position: fixed;
  inset: 0 0 auto 0;
  background: #fff;
  z-index: 100;
}

.nav {
  max-width: 1100px;
  margin: auto;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.15em;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
}

/* =====================
   SECTIONS (DEFAULT)
===================== */

section {
  max-width: 1100px;
  margin: auto;
  padding: 120px 32px;
}

/* =====================
   HERO (LIGHT / CLEAN)
===================== */

.hero {
  padding-top: 220px;
  padding-bottom: 120px;
  text-align: center;
  background: #ffffff;
  color: var(--ink);
}

.hero h1 {
  color: var(--ink);
}

.hero p {
  color: var(--muted);
}




.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 100px;
}





.hero p:first-of-type {
  font-family: "Playfair Display", serif;
  font-size: 20px;
}

.hero-image {
  display: flex;
  justify-content: flex-end;
}

.hero-img {
  max-width: 260px;
  border-radius: 4px;
}

/* =====================
   TYPOGRAPHY
===================== */

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
}

h2 {
  font-size: 42px;
  margin: 0;
}

p {
  color: var(--muted);
}

/* =====================
   BUTTON
===================== */

.btn {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 26px;
  background: var(--ink);
  color: #101010;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-decoration: none;
}

/* =====================
   TWO COLUMN SECTIONS
===================== */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 120px;
}

/* =====================
   WORK GRID (4×3)
===================== */

.work-container {
  max-width: 1200px;
  margin: auto;
  padding: 200px 32px 120px;
}

.work-title {
  font-size: 48px;
  margin-bottom: 80px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.project-card {
  border: 1px solid var(--border);
  padding: 32px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.project-card img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  margin-bottom: 24px;
}

.project-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.project-card p {
  font-size: 14px;
  margin-bottom: 24px;
}

.project-links a {
  display: block;
  font-size: 14px;
  color: var(--link);
  text-decoration: none;
  margin-bottom: 10px;
}

.project-links a:hover {
  text-decoration: underline;
}

/* =====================
   FOOTER
===================== */

footer {
  background: var(--soft);
  text-align: center;
  padding: 80px 20px;
  font-size: 13px;
  color: var(--muted);
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 160px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    justify-content: center;
    margin-top: 40px;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .work-title {
    font-size: 36px;
    margin-bottom: 48px;
  }
}


body {
  background: var(--bg);
  color: var(--ink);
}

header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

section {
  background: transparent;
}

.hero {
  background: transparent;
}

.project-card {
  background: #0f172a;
  border: 1px solid var(--border);
}

footer {
  background: var(--soft);
}


.contact-footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  margin-top: 80px;
}

.contact-footer a {
  margin: 0 14px;
  color: var(--text);
  font-size: 18px;
  text-decoration: none;
}

.contact-footer a:hover {
  color: var(--accent);
}

