@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&family=Figtree:wght@400;500;600&display=swap');

/* ── Reset & Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:      #150acd;
  --blue-dark: #0e07a0;
  --amber:     #f59e0b;
  --ink:       #111827;
  --ink-mid:   #374151;
  --ink-muted: #6b7280;
  --surface:   #f8f9fa;
  --white:     #ffffff;
  --void:      #0d0d0d;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'Figtree', system-ui, sans-serif;

  --radius-card: 8px;
  --radius-btn:  6px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/GedungTC.jpg');
  background-size: cover;
  background-position: center 30%;
  /* subtle scale for a slight parallax feel — no JS needed */
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 0 24px;
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  text-wrap: balance;
  margin-bottom: 16px;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 44px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--white);
  border: none;
  border-radius: var(--radius-btn);
  padding: 14px 32px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: var(--amber);
  color: var(--void);
  transform: translateY(-1px);
}

.btn-primary:active { transform: translateY(0); }

/* ── About ──────────────────────────────────────────────────────── */
.about {
  padding: 96px 24px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about-logo {
  width: 80px;
  height: auto;
  margin-bottom: 28px;
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
  text-wrap: balance;
}

.about-institution {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 28px;
}

.about-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-mid);
  max-width: 65ch;
  margin: 0 auto;
  text-wrap: pretty;
}

/* ── Stats ──────────────────────────────────────────────────────── */
.stats {
  background: var(--blue);
  padding: 72px 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Scene Grid ─────────────────────────────────────────────────── */
.scenes {
  background: var(--surface);
  padding: 88px 24px;
}

.scenes-header {
  max-width: 1200px;
  margin: 0 auto 48px;
}

.scenes-title {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.scenes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.scene-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: transform 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.scene-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
}

.scene-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #dde1e7;
}

.scene-card-label {
  padding: 12px 14px 4px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.scene-card-desc {
  padding: 0 14px 12px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

/* ── Footer ─────────────────────────────────────────────────────── */
.footer {
  background: var(--void);
  padding: 56px 24px;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  width: 48px;
  height: auto;
  opacity: 0.85;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
}

.footer-institution {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

.footer-year {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-tech {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .scenes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .scenes-grid {
    grid-template-columns: 1fr;
  }
  .about { padding: 64px 24px; }
  .stats { padding: 56px 24px; }
  .scenes { padding: 64px 20px; }
}

/* ── Reduced motion ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .btn-primary,
  .scene-card { transition: none; }
  .hero-bg { transform: none; }
}
