/* ============================================================
   Clean portfolio theme — jtupayachi.github.io
   Self-contained. No splash / particles / reveal-on-scroll.
   Everything is visible by default so content never gets stuck.
   ============================================================ */

:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --fg: #1c2333;
  --muted: #5a6478;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --border: #e6e9f0;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(20, 30, 60, 0.08);
  --shadow-lg: 0 16px 40px rgba(20, 30, 60, 0.12);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          Helvetica, Arial, sans-serif;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 76px; /* offset for sticky navbar */
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

img, svg, canvas { max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------- Navbar ---------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.navbar .brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--fg);
  letter-spacing: -0.2px;
}
.navbar .brand:hover { text-decoration: none; }
.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--accent); text-decoration: none; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 84px 0 64px;
  background:
    radial-gradient(1000px 460px at 78% -8%, #e2ecff 0%, rgba(226, 236, 255, 0) 60%),
    radial-gradient(800px 420px at 8% 0%, #eef2ff 0%, rgba(238, 242, 255, 0) 55%),
    var(--bg);
  text-align: center;
}
.hero .eyebrow {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.hero h1 {
  margin: 10px 0 6px;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.05;
}
.hero .role {
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 500;
  margin: 0 auto 18px;
  max-width: 720px;
}
.hero .lead {
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-outline {
  background: var(--surface);
  color: var(--fg);
  border-color: var(--border);
}
.btn-outline:hover {
  color: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
  transform: translateY(-2px);
}

.socials {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.socials a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--border);
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, color 0.2s ease, border-color 0.2s ease;
}
.socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
  text-decoration: none;
}

/* ---------------- Sections ---------------- */
main { display: block; }

section.block {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
section.block:first-of-type { border-top: none; }

.section-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* Reused by the about/resume includes */
.user-details { text-align: center; }
.user-details h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
  color: var(--fg);
}
.user-details p {
  color: var(--muted);
  max-width: 820px;
  margin: 0 auto 14px;
  font-size: 1.05rem;
}
.user-details strong { color: var(--fg); }

/* Design / Code / Tools SVG showcase from about include */
.user {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
  margin: 44px auto 0;
  max-width: 960px;
}
.user .tech {
  flex: 1 1 240px;
  max-width: 300px;
  text-align: center;
}
.user .tech h2 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 16px;
}
.user .tech svg {
  width: 52px;
  height: 52px;
  margin: 6px;
  vertical-align: middle;
}

/* ---------------- Footer ---------------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 34px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  background: var(--surface);
}
.footer a { color: var(--fg); font-weight: 500; }
.footer .love { color: #ef4444; }

/* ---------------- Responsive ---------------- */
@media (max-width: 640px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 0.88rem; }
  .navbar .brand { font-size: 0.95rem; }
  section.block { padding: 44px 0; }
}
