/* ===== ფერები და ძირითადი პარამეტრები — აქ შეცვალე სტილი ===== */
:root {
  --bg: #0e0f13;
  --bg-alt: #15171d;
  --card: #1b1e26;
  --text: #ecedf1;
  --muted: #9aa0ad;
  --accent: #7c6cff;
  --accent-2: #2ee6c5;
  --border: #2a2e39;
  --radius: 18px;
  --font: "Noto Sans Georgian", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Noto Sans Georgian", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92%); margin: 0 auto; }

/* ===== ღილაკები ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.5rem;
  background: var(--accent); color: #fff;
  border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid var(--accent);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px var(--accent); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); box-shadow: none; }
.btn--small { padding: .5rem 1.1rem; font-size: .85rem; }

/* ===== ნავიგაცია ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(14, 15, 19, .85);
  backdrop-filter: blur(12px);
  border-color: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }
.nav__logo span { color: var(--accent-2); }
.nav__links { display: flex; align-items: center; gap: 2rem; font-size: .92rem; }
.nav__links a:not(.btn) { color: var(--muted); transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; width: 32px; height: 24px; position: relative; }
.nav__toggle span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--text); transition: .3s; }
.nav__toggle span:first-child { top: 7px; }
.nav__toggle span:last-child { bottom: 7px; }
.nav__toggle.open span:first-child { top: 11px; transform: rotate(45deg); }
.nav__toggle.open span:last-child { bottom: 11px; transform: rotate(-45deg); }

/* ===== ჰერო ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px;
  background:
    radial-gradient(600px 400px at 80% 20%, rgba(124,108,255,.18), transparent 70%),
    radial-gradient(500px 400px at 10% 90%, rgba(46,230,197,.10), transparent 70%);
}
.hero__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: center; }
.eyebrow { color: var(--accent-2); font-weight: 600; letter-spacing: .04em; margin-bottom: .5rem; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.08; font-weight: 800; letter-spacing: -.02em;
}
.hero__role { font-size: 1.15rem; color: var(--text); margin: 1rem 0 .75rem; font-weight: 500; }
.hero__lead { color: var(--muted); max-width: 520px; }
.hero__cta { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.hero__photo { position: relative; justify-self: center; }
.hero__photo img {
  width: min(360px, 80vw); aspect-ratio: 1; object-fit: cover;
  border-radius: 32px; border: 1px solid var(--border);
  background: var(--card);
}
.hero__badge {
  position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%);
  background: var(--card); border: 1px solid var(--border);
  padding: .55rem 1rem; border-radius: 999px; font-size: .8rem; white-space: nowrap;
  display: flex; align-items: center; gap: .5rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(46,230,197,.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(46,230,197,0); } }

/* ===== სექციები ===== */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 3rem; }
.section__num { font-family: var(--font-display); color: var(--accent); font-weight: 700; }
.section__head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700; }

/* ჩემ შესახებ */
.about__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; }
.about__text p { color: var(--muted); margin-bottom: 1.2rem; font-size: 1.05rem; }
.stats { list-style: none; display: grid; gap: 1rem; }
.stats li {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 1rem;
}
.stats strong { font-family: var(--font-display); font-size: 2.2rem; color: var(--accent-2); min-width: 64px; }
.stats strong::after { content: "+"; }
.stats span { color: var(--muted); font-size: .92rem; }

/* უნარები */
.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.skill-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; transition: border-color .3s, transform .3s;
}
.skill-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.skill-card h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tags span {
  font-size: .82rem; padding: .35rem .8rem; border-radius: 999px;
  background: rgba(124,108,255,.12); color: #c4bcff; border: 1px solid rgba(124,108,255,.25);
}
.tags--sm span { font-size: .75rem; padding: .25rem .65rem; }

/* პროექტები */
.filters { display: flex; gap: .5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.filters button {
  font: inherit; font-size: .88rem; cursor: pointer;
  background: transparent; color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px; padding: .45rem 1.1rem;
  transition: .2s;
}
.filters button:hover { color: var(--text); }
.filters button.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.project {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s, border-color .3s;
}
.project:hover { transform: translateY(-6px); border-color: var(--accent); }
.project.hide { display: none; }
.project__img {
  aspect-ratio: 16/10; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c1), var(--c2));
}
.project__img span { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: rgba(255,255,255,.85); }
.project__img img { width: 100%; height: 100%; object-fit: cover; }
.project__body { padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.project__body h3 { font-size: 1.15rem; }
.project__body p { color: var(--muted); font-size: .92rem; }
.project__link { margin-top: auto; color: var(--accent-2); font-weight: 600; font-size: .9rem; }

/* გამოცდილება */
.timeline { list-style: none; border-left: 2px solid var(--border); padding-left: 2rem; max-width: 760px; }
.timeline li { position: relative; padding-bottom: 2.5rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: calc(-2rem - 7px); top: .45rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg-alt); border: 2px solid var(--accent);
}
.timeline__date { font-size: .82rem; color: var(--accent-2); font-weight: 600; }
.timeline h3 { font-size: 1.15rem; margin: .25rem 0 .4rem; }
.timeline p { color: var(--muted); }

/* კონტაქტი */
.contact__box {
  text-align: center; padding: 4.5rem 2rem; border-radius: 28px;
  border: 1px solid var(--border);
  background:
    radial-gradient(400px 200px at 50% 0%, rgba(124,108,255,.25), transparent 70%),
    var(--card);
}
.contact__box h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .75rem; }
.contact__box p { color: var(--muted); margin-bottom: 1.5rem; }
.contact__mail {
  font-family: var(--font-display); font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700; color: var(--accent-2);
  border-bottom: 2px solid transparent; transition: border-color .2s;
}
.contact__mail:hover { border-color: var(--accent-2); }
.socials { display: flex; justify-content: center; gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }
.socials a { color: var(--muted); font-size: .92rem; transition: color .2s; }
.socials a:hover { color: var(--text); }

/* ფუტერი */
.footer { border-top: 1px solid var(--border); padding: 1.75rem 0; font-size: .85rem; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; }

/* ანიმაცია გამოჩენისას */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== რესპონსივი ===== */
@media (max-width: 900px) {
  .hero__inner, .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__photo { order: -1; }
  .skills, .projects { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; gap: 1.25rem; padding: 2rem 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    transform: translateY(-120%); transition: transform .35s ease;
  }
  .nav__links.open { transform: none; }
  .skills, .projects { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
