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

:root {
  --bg-1: #071224;
  --bg-2: #0c1d38;
  --line: rgba(168, 196, 238, 0.3);
  --text: #e9f2ff;
  --muted: #b7ccea;
  --accent: #49b6ff;
  --accent-2: #63e9c1;
  --brand-blue: #0052a6;
  --brand-yellow: #ffd63a;
  --brand-orange: #ef5b34;
  --brand-green: #2b8f88;
  --shadow: 0 18px 40px rgba(2, 7, 18, 0.42);
  --radius: 18px;
}

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

html,
body {
  height: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: linear-gradient(160deg, var(--bg-1) 0%, var(--bg-2) 46%, #112c4f 100%);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
  display: block;
}

.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 10%, rgba(93, 164, 255, 0.2), transparent 32%),
    radial-gradient(circle at 8% 24%, rgba(102, 240, 194, 0.14), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(27, 58, 109, 0.5), transparent 45%);
}

.brand-marks {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.floating-logo {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  opacity: 0.27;
  user-select: none;
  filter: saturate(1.25) drop-shadow(0 2px 8px rgba(0,0,0,0.22));
  will-change: transform;
  pointer-events: none;
}

.delzongle-mark {
  padding: 16px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 214, 58, 0.42);
  background: rgba(0, 82, 166, 0.38);
  color: rgba(255, 214, 58, 0.96);
  font-weight: 800;
  letter-spacing: 0.03em;
  font-size: 1.18rem;
  white-space: nowrap;
}

.eiffel-mark {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(239, 91, 52, 0.35);
  background: rgba(15, 28, 49, 0.4);
  color: rgba(239, 91, 52, 0.95);
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 280px;
}

.eiffel-top {
  color: rgba(43, 143, 136, 0.95);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.eiffel-main {
  font-size: 1.44rem;
  line-height: 1.1;
  font-weight: 700;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 16, 32, 0.76);
  border-bottom: 1px solid rgba(139, 181, 236, 0.25);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  color: #f6fbff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.03em;
  font-size: 1.2rem;
}

.menu {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
}

.menu a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.menu a:hover,
.menu a.active {
  background: rgba(73, 182, 255, 0.2);
  color: #f4fbff;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: rgba(12, 28, 53, 0.9);
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hero-splash,
.page-hero {
  padding: 72px 0 32px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.14;
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(1.3rem, 3vw, 2rem);
  margin-bottom: 12px;
}

h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.lead-text {
  font-size: clamp(1.02rem, 2.2vw, 1.18rem);
  color: var(--muted);
  max-width: 760px;
}

.section {
  padding: 26px 0;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-stats span {
  border: 1px solid var(--line);
  background: rgba(11, 28, 52, 0.58);
  color: #d9ebff;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.btn {
  border-radius: 12px;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  color: #15243c;
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-orange));
  box-shadow: 0 8px 22px rgba(239, 91, 52, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(13, 33, 62, 0.78);
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.panel-card {
  background: linear-gradient(180deg, rgba(20, 47, 84, 0.95), rgba(14, 35, 65, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.panel-card p {
  color: var(--muted);
}

.panel-card p + p {
  margin-top: 10px;
}

.accent-card {
  border-color: rgba(99, 233, 193, 0.4);
  background: linear-gradient(165deg, rgba(20, 62, 78, 0.95), rgba(13, 39, 57, 0.95));
}

.section-title {
  margin-bottom: 14px;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.timeline-grid article {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: rgba(12, 30, 56, 0.75);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.timeline-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 233, 193, 0.55);
}

.timeline-grid p {
  color: var(--muted);
}

.project-route {
  display: grid;
  gap: 12px;
}

.route-item {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  color: var(--text);
  background: rgba(13, 33, 62, 0.72);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.route-item:hover {
  transform: translateX(6px);
  border-color: rgba(73, 182, 255, 0.72);
  background: rgba(14, 37, 71, 0.9);
}

.route-step {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  margin-bottom: 4px;
}

.route-item p {
  color: var(--muted);
}

.project-track {
  position: relative;
  display: grid;
  gap: 18px;
}

.project-track::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(73, 182, 255, 0.9), rgba(99, 233, 193, 0.5));
}

.track-item {
  scroll-margin-top: 110px;
  margin-left: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: linear-gradient(180deg, rgba(17, 40, 72, 0.95), rgba(12, 30, 55, 0.95));
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.track-item:hover {
  transform: translateY(-4px);
  border-color: rgba(73, 182, 255, 0.74);
}

.track-item::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  margin-left: -34px;
  margin-top: 9px;
  box-shadow: 0 0 0 4px rgba(73, 182, 255, 0.2);
}

.track-index {
  display: inline-flex;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  margin-bottom: 5px;
}

.track-item p {
  color: var(--muted);
}

.track-item p + p {
  margin-top: 7px;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.about-intro-grid p {
  color: var(--muted);
}

.about-intro-grid p + p {
  margin-top: 10px;
}

.about-list {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.about-list li {
  position: relative;
  padding-left: 16px;
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.about-list.plain li::before {
  background: var(--brand-orange);
}

.project-story {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(19, 46, 82, 0.92), rgba(13, 34, 63, 0.92));
  padding: 20px;
}

.project-story p {
  color: var(--muted);
}

.project-story p + p {
  margin-top: 10px;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.contact-actions-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-action {
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 14px;
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.contact-action:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 26px rgba(5, 13, 28, 0.5);
}

.action-title {
  font-size: 1.05rem;
  font-weight: 800;
}

.action-sub {
  color: #cae1ff;
  font-size: 0.9rem;
}

.contact-action.linkedin {
  background: linear-gradient(150deg, rgba(16, 52, 102, 0.94), rgba(13, 37, 79, 0.94));
}

.contact-action.email {
  background: linear-gradient(150deg, rgba(16, 62, 63, 0.94), rgba(10, 39, 40, 0.94));
}

.contact-action.location {
  background: linear-gradient(150deg, rgba(65, 41, 85, 0.94), rgba(42, 24, 58, 0.94));
}

.contact-action.cv {
  background: linear-gradient(150deg, rgba(56, 63, 28, 0.94), rgba(35, 41, 18, 0.94));
}

.cv-showcase {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 31, 56, 0.9);
  padding: 16px;
}

.cv-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cv-frame {
  width: 100%;
  height: 560px;
  border: 1px solid rgba(159, 191, 233, 0.4);
  border-radius: 12px;
  background: #fff;
}

.site-footer {
  margin-top: auto;
  text-align: center;
  padding: 20px 14px;
  color: #cfe4ff;
  background: rgba(6, 15, 30, 0.86);
  border-top: 1px solid rgba(137, 177, 230, 0.3);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.from-left {
  transform: translateX(-34px);
}

.reveal.from-right {
  transform: translateX(34px);
}

.reveal.from-bottom {
  transform: translateY(34px);
}

.reveal.visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

@media (max-width: 1080px) {
  .contact-actions,
  .contact-actions-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 860px) {
  .split-section,
  .timeline-grid,
  .contact-actions,
  .contact-actions-compact {
    grid-template-columns: 1fr;
  }

  .cv-frame {
    height: 420px;
  }

  .floating-logo {
    opacity: 0.16;
  }
}

@media (max-width: 700px) {
  .menu-toggle {
    display: inline-flex;
  }

  .menu {
    position: absolute;
    top: 66px;
    right: 4%;
    left: 4%;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(11, 26, 48, 0.96);
    padding: 10px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: 0.2s ease;
  }

  .menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .cv-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-logo {
    display: none;
  }
}
