/* =========================
   RESET
========================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, sans-serif;
  color: #1f2937;
  background: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================
   CONTAINERS
========================= */

.container {
  width: min(1100px, 92%);
  margin: auto;
}

.section {
  padding: 80px 0;
}

.section.alt {
  background: #f7f7f7;
}

h1, h2 {
  margin: 0 0 20px 0;
}

h2 {
  font-size: 32px;
}

.lead {
  font-size: 18px;
  color: #555;
}

.muted {
  color: #6b7280;
}

.tiny {
  font-size: 13px;
}

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

.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  color: white;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      rgba(15, 23, 42, 0.55),
      rgba(15, 23, 42, 0.65)
    ),
    url("../website/hero.jpg");

  background-size: cover;
  background-position: center;
}

.hero-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hero-copy {
  margin-top: auto;
  margin-bottom: 120px;
  max-width: 700px;
}

.hero-copy h1 {
  font-size: 52px;
  line-height: 1.1;
}

.hero-cta {
  margin-top: 30px;
  display: flex;
  gap: 16px;
}

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

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
}

.logo {
  height: 52px;
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav a {
  opacity: 0.9;
}

.nav a:hover {
  opacity: 1;
}

/* =========================
   BUTTONS
========================= */

.btn {
  background: #0f766e;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  transition: 0.2s;
}

.btn:hover {
  background: #115e59;
}

.btn.ghost {
  background: transparent;
  border: 1px solid white;
}

.btn.ghost:hover {
  background: rgba(255,255,255,0.1);
}

/* =========================
   TECH STACK
========================= */

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.chip {
  padding: 8px 14px;
  background: #eef2ff;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

/* =========================
   PROJECT CARDS
========================= */

.card-grid {
  margin-top: 40px;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
  transition: 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.card-img img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.placeholder {
  height: 190px;
  background: linear-gradient(45deg,#ddd,#eee);
}

.card-body {
  padding: 20px;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.tag-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: #f1f5f9;
  padding: 5px 10px;
  border-radius: 14px;
  font-size: 12px;
}

/* =========================
   PROJECT DETAIL
========================= */

.detail-title {
  font-size: 40px;
}

.link-row {
  margin: 30px 0;
  display: flex;
  gap: 16px;
}

.prose {
  margin: 40px 0;
  max-width: 750px;
  line-height: 1.7;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 20px;
}

.gallery img {
  border-radius: 8px;
}

.back {
  display: inline-block;
  margin-bottom: 20px;
  color: #0f766e;
}

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

.contact-box {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  margin-top: 40px;
}

.contact-title {
  font-weight: 600;
  margin-bottom: 6px;
}

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

.footer {
  background: #111827;
  color: #9ca3af;
  padding: 50px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.footer-logo {
  font-weight: 600;
  font-size: 18px;
  color: white;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a:hover {
  color: white;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 700px) {

.hero-copy h1 {
  font-size: 36px;
}

.hero {
  height: auto;
  padding-bottom: 60px;
}

.hero-copy {
  margin-top: 120px;
}

.nav {
  display: none;
}

}


.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.tech-strip {
  background: #f8fafc;
  padding: 40px 0;
}

.tech-logos {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  align-items: center;
}

.tech-logos img {
  height: 36px;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.25s ease;
}

.tech-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.tech-label {
  text-align: center;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 25px;
}