/* ============================================
   GLORY GAKII — Data Scientist & BI Analyst
   Clean Minimal · Teal Accents
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=IBM+Plex+Sans:wght@300;400;500&display=swap');

:root {
  --white:      #ffffff;
  --black:      #0a0a0a;
  --grey-dark:  #1c1c1c;
  --grey-mid:   #555555;
  --grey-light: #f4f4f4;
  --border:     #e8e8e8;
  --teal:       #0d9488;
  --teal-light: #ccfbf1;
  --teal-dark:  #0f766e;

  --font-display: 'Syne', sans-serif;
  --font-body:    'IBM Plex Sans', sans-serif;

  --radius: 6px;
  --shadow: 0 2px 20px rgba(0,0,0,0.07);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.13);
  --transition: 0.25s ease;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- UTILITY ---- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--grey-mid);
  max-width: 560px;
  margin-bottom: 3rem;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border: 2px solid var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,148,136,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}
.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.02em;
}
.nav-brand span { color: var(--teal); }
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--grey-mid);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--black); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 5rem 2rem;
  max-width: 1080px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s ease both;
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--teal); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--grey-mid);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
  animation: fadeUp 0.7s 0.15s ease both;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}

/* Hero Visual — animated data bars */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1s 0.4s ease both;
}
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 240px;
  padding: 1.5rem;
  background: var(--grey-light);
  border-radius: 12px;
  border: 1px solid var(--border);
}
.bar {
  width: 36px;
  border-radius: 4px 4px 0 0;
  background: var(--border);
  animation: growUp 1s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.bar.active { background: var(--teal); }
.bar:nth-child(1) { height: 45%; animation-delay: 0.5s; }
.bar:nth-child(2) { height: 70%; animation-delay: 0.6s; }
.bar:nth-child(3) { height: 55%; animation-delay: 0.7s; }
.bar:nth-child(4) { height: 85%; animation-delay: 0.8s; }
.bar:nth-child(5) { height: 60%; animation-delay: 0.9s; }
.bar:nth-child(6) { height: 90%; animation-delay: 1.0s; }
.bar:nth-child(7) { height: 40%; animation-delay: 1.1s; }

/* ============================================
   STATS STRIP
   ============================================ */
.stats-strip {
  background: var(--black);
  padding: 2.5rem 2rem;
}
.stats-strip .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}
.stat-item {
  text-align: center;
  color: var(--white);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--teal);
  display: block;
}
.stat-label {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ============================================
   FEATURED PROJECTS
   ============================================ */
.featured {
  padding: 6rem 0;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}
.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.25rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--teal);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}
.project-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: transparent;
}
.project-card:hover::before { transform: scaleY(1); }
.card-badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
  margin-bottom: 1.25rem;
}
.project-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.project-card p {
  font-size: 0.95rem;
  color: var(--grey-mid);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.card-tags span {
  font-size: 0.76rem;
  font-family: var(--font-display);
  font-weight: 600;
  background: var(--grey-light);
  color: var(--grey-dark);
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
  letter-spacing: 0.03em;
}
.card-link {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--transition);
}
.card-link:hover { gap: 0.6rem; }

/* ============================================
   SKILLS STRIP
   ============================================ */
.skills-strip {
  background: var(--grey-light);
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.skills-track {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.skills-track span {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-mid);
  white-space: nowrap;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--white);
  transition: all var(--transition);
}
.skills-track span:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.page-hero {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  padding: 5rem 0;
  align-items: start;
}
.about-sticky {
  position: sticky;
  top: 90px;
}
.about-photo-wrap {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 3px solid var(--teal-light);
}
.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  display: none;
  align-items: center;
  justify-content: center;
}
.about-location {
  font-size: 0.88rem;
  color: var(--grey-mid);
  margin-bottom: 0.25rem;
}
.about-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.about-role {
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.about-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.about-contact-links a {
  font-size: 0.88rem;
  color: var(--grey-mid);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition);
}
.about-contact-links a:hover { color: var(--teal); }
.about-body h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 2.5rem;
}
.about-body h2:first-child { margin-top: 0; }
.about-body p {
  font-size: 1rem;
  color: var(--grey-mid);
  margin-bottom: 1rem;
  line-height: 1.8;
}
.skills-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.skills-list li {
  font-size: 0.9rem;
  color: var(--grey-dark);
  padding: 0.5rem 0.75rem;
  background: var(--grey-light);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  border-left: 3px solid var(--teal);
}

/* ============================================
   PROJECTS PAGE
   ============================================ */
.projects-list {
  padding: 5rem 0;
}
.projects-list .project-grid {
  grid-template-columns: 1fr;
  max-width: 760px;
}
.project-card-full {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.5rem;
  transition: all var(--transition);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: start;
}
.project-card-full:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--teal);
}
.project-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: var(--teal-light);
  line-height: 1;
  text-align: right;
}

/* ============================================
   PROJECT DETAIL PAGES
   ============================================ */
.project-header {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--grey-mid);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  transition: color var(--transition);
}
.back-link:hover { color: var(--teal); }
.project-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.meta-tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  background: var(--grey-light);
  color: var(--grey-mid);
}
.meta-tag.highlight {
  background: var(--teal-light);
  color: var(--teal-dark);
}
.project-title-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 700px;
}
.project-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 5rem;
  padding: 4rem 0;
  align-items: start;
}
.project-main h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  margin-top: 2.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--teal-light);
}
.project-main h2:first-child { margin-top: 0; }
.project-main p {
  font-size: 0.98rem;
  color: var(--grey-mid);
  margin-bottom: 1rem;
  line-height: 1.8;
}
.project-main ul {
  list-style: none;
  margin-bottom: 1rem;
}
.project-main ul li {
  font-size: 0.95rem;
  color: var(--grey-mid);
  padding: 0.4rem 0 0.4rem 1.25rem;
  position: relative;
  line-height: 1.7;
}
.project-main ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.screenshot-box {
  background: var(--grey-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin: 2rem 0;
}
.screenshot-box img {
  width: 100%;
  display: block;
}
.screenshot-box figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--grey-mid);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.code-snippet {
  background: var(--grey-dark);
  color: #e2e8f0;
  padding: 1.5rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-family: 'IBM Plex Mono', monospace;
  line-height: 1.7;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.code-snippet .kw { color: #67e8f9; }
.code-snippet .fn { color: #a78bfa; }
.code-snippet .str { color: #86efac; }
.code-snippet .cm { color: #6b7280; }

/* Sidebar */
.project-sidebar {
  position: sticky;
  top: 90px;
}
.sidebar-card {
  background: var(--grey-light);
  border-radius: 10px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}
.sidebar-card h4 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.sidebar-card ul { list-style: none; }
.sidebar-card ul li {
  font-size: 0.88rem;
  color: var(--grey-dark);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 600;
}
.sidebar-card ul li:last-child { border-bottom: none; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--grey-dark);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.sidebar-link:hover { color: var(--teal); }
.sidebar-link:last-child { border-bottom: none; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  padding: 5rem 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.contact-info p {
  color: var(--grey-mid);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-link-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--grey-light);
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.contact-link-item:hover {
  border-color: var(--teal);
  background: var(--teal-light);
}
.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--teal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-link-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 0.15rem;
}
.contact-link-text span {
  font-size: 0.95rem;
  color: var(--black);
  font-weight: 500;
}
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #dcfce7;
  color: #16a34a;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.availability-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #16a34a;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2.5rem;
  font-size: 0.85rem;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
}
.footer a {
  color: var(--teal);
  transition: opacity var(--transition);
}
.footer a:hover { opacity: 0.8; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes growUp {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
    min-height: auto;
  }
  .hero-visual { display: none; }
  .project-grid { grid-template-columns: 1fr; }
  .project-content { grid-template-columns: 1fr; }
  .project-sidebar { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .navbar { padding: 0 1.25rem; }
  .nav-links { gap: 1.25rem; }
  .stats-strip .container { justify-content: center; gap: 1.5rem; }
}
