/* ============================================================
   ZYNTHELIO.NET — Style Sheet
   Sections: Reset → Tokens → Typography → Layout → Nav →
             Hero → Sections → Skills → Projects →
             Experience → Contact → Footer → Responsive
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Design Tokens ── */
:root {
  --bg:          #0d1117;
  --bg-alt:      #111820;
  --bg-card:     #161d27;
  --bg-card-hover: #1b2433;
  --border:      rgba(255,255,255,0.07);
  --border-hover:rgba(255,255,255,0.14);

  --text:        #e2e8f0;
  --text-muted:  #7a8899;
  --text-light:  #a8b8c8;

  --accent:      #0078d4;        /* Azure blue */
  --accent-dim:  rgba(0,120,212,0.15);
  --accent-glow: rgba(0,120,212,0.3);

  --radius:      10px;
  --radius-lg:   16px;
  --nav-h:       64px;
}

/* ── Typography ── */
h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; color: var(--text); }

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
  max-width: 560px;
}

.body-text {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 620px;
}

.body-text + .body-text { margin-top: 1rem; }

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

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  margin-bottom: 3rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #1a8ae0;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.btn-lg { padding: 0.85rem 2rem; font-size: 0.95rem; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.nav.scrolled { border-bottom-color: var(--border); }

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'DM Mono', monospace;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text) !important;
  transition: border-color 0.2s, background 0.2s !important;
}
.nav-cta:hover {
  border-color: var(--accent) !important;
  background: var(--accent-dim);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-muted);
  transition: all 0.3s;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-title-accent {
  color: var(--accent);
  font-weight: 500;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: fadeUp 0.6s 0.4s ease both;
}

.stat { display: flex; flex-direction: column; gap: 2px; }

.stat-num {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text);
  font-family: 'DM Mono', monospace;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll-hint {
  position: absolute;
  right: 3rem;
  bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  animation: fadeUp 0.6s 0.6s ease both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: start;
}

.about-label-col { padding-top: 4px; }

.cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2rem;
}

.cert-chip {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0,120,212,0.25);
  border-radius: 6px;
  padding: 4px 12px;
}

/* ── Skills Grid ── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.skill-card {
  background: var(--bg-card);
  padding: 2rem;
  transition: background 0.2s;
}
.skill-card:hover { background: var(--bg-card-hover); }

.skill-icon {
  color: var(--accent);
  margin-bottom: 1rem;
}

.skill-title {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--text);
}

.skill-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skill-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.skill-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--border-hover);
}

/* ── Projects ── */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.project-card {
  background: var(--bg-card);
  padding: 2rem 2.5rem;
  transition: background 0.2s;
  border-left: 3px solid transparent;
}
.project-card:hover {
  background: var(--bg-card-hover);
  border-left-color: var(--accent);
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.project-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0,120,212,0.2);
  padding: 3px 10px;
  border-radius: 4px;
}

.project-year {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: 'DM Mono', monospace;
}

.project-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 1.25rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tech span {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 4px;
}

/* ── Timeline ── */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: -2.4rem;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-alt);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.timeline-body {}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.timeline-role {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.timeline-company {
  display: block;
  font-size: 0.85rem;
  color: var(--accent);
  margin-top: 2px;
}

.timeline-period {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  padding-top: 2px;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 640px;
}

/* ── Contact ── */
.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-title { margin-bottom: 1rem; }

.contact-sub {
  margin-bottom: 2.5rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius);
  transition: all 0.2s;
}
.contact-link:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.03);
}
.contact-link svg { flex-shrink: 0; }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Accent color ── */
.accent { color: var(--accent); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
  }
  .hamburger { display: flex; }

  .hero-scroll-hint { display: none; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 1.5rem;
  }
  .timeline-marker { left: -1.9rem; }

  .timeline-header {
    flex-direction: column;
    gap: 0.25rem;
  }

  .hero-stats {
    gap: 1.25rem;
  }

  .stat-num { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }
  .hero-inner { padding-top: 3rem; padding-bottom: 4rem; }
  .project-card { padding: 1.5rem; }
}
.profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  margin-bottom: 1.5rem;
}
