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

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Georgia', serif;
  background: #f9fafb;
  color: #222;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 400vh;
  min-height: 750px;
  overflow: hidden;
}

.hero-content {
  position: absolute;
  top: 5rem;
  left: 5vw;
  z-index: 2;
  padding: 0;
  max-width: 760px;
  width: min(760px, calc(100% - 10vw));
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-bg {
  position: absolute;
  inset: -10%;
  background-image: url('assets/hero.jpg');
  background-size: cover;
  background-position: center;
  background-color: #1a2a3a;
  animation: kenburns 18s ease-in-out infinite alternate;
  filter: brightness(0.55);
}

@keyframes kenburns {
  0%   { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.12) translate(-2%, -1.5%); }
}

.hero-label {
  font-size: 1.4rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.2rem;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: normal;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.hero h1 span {
  color: #93c5fd;
}

.hero p {
  font-size: 1.8rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-family: 'Segoe UI', Arial, sans-serif;
  max-width: 600px;
}

@media (max-width: 720px) {
  .hero-content {
    max-width: min(90vw, 560px);
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .hero p {
    font-size: 1.4rem;
    max-width: 100%;
  }

  .btn-primary {
    font-size: 1.2rem;
    padding: 0.9rem 2rem;
  }
}

.btn-primary {
  display: inline-block;
  align-self: flex-start;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  padding: 1rem 2.4rem;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Segoe UI', Arial, sans-serif;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.4);
  font-size: 1.0rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  animation: scrollline 1.8s ease-in-out infinite;
}

@keyframes scrollline {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(0.5); }
}

/* ── NAV ── */
nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 6vw;
}

.nav-logo {
  font-size: 1.6rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.nav-logo span { color: #93c5fd; }

.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-link {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  color: rgba(255,255,255,0.85);
}

.nav-link:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.nav-link.disabled {
  color: rgba(255,255,255,0.35);
  pointer-events: none;
}

/* ── PROJECTS SECTION ── */
.projects-section {
  padding: 5rem 6vw;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.section-label {
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 0.6rem;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.section-title {
  font-size: 2.8rem;
  font-weight: normal;
  color: #111;
  margin-bottom: 2.5rem;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 1.8rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 20px rgba(37,99,235,0.08);
  transform: translateY(-2px);
}

.card.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.card-tag {
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 0.75rem;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.card-tag.soon {
  color: #bbb;
}

.card h2 {
  font-size: 1.7rem;
  font-weight: normal;
  color: #111;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.card p {
  font-size: 1.5rem;
  color: #666;
  line-height: 1.65;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.card-stats {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.stat {
  font-family: 'Segoe UI', Arial, sans-serif;
}

.stat-val {
  font-size: 2.0rem;
  font-weight: 600;
  color: #111;
}

.stat-lbl {
  font-size: 1.2rem;
  color: #aaa;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── FOOTER ── */
footer {
  margin-top: auto;
  padding: 2rem 6vw;
  border-top: 1px solid #e5e7eb;
  font-size: 1.2rem;
  color: #aaa;
  letter-spacing: 0.04em;
  font-family: 'Segoe UI', Arial, sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
