/* Tarik Gungor — Premium Minimal Theme */

:root{
  --bg: #0e0e0e;
  --panel: rgba(255,255,255,0.03);
  --text: #eaeaea;
  --muted: #a0a0a0;
  --line: rgba(255,255,255,0.10);
  --accent: #174a3a;
  --accentHover: #1f5f4a;

  --max: 1040px;
  --r: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,0.45);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(23,74,58,0.25), transparent 60%),
    radial-gradient(900px 600px at 85% 10%, rgba(23,74,58,0.12), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.55;
}

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

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(14,14,14,0.6);
  border-bottom: 1px solid var(--line);
}

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

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.brand .dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(23,74,58,0.18);
}

.navlinks{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.navlinks a{
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.navlinks a:hover{ color: var(--text); }

.hero{
  padding: 90px 0 52px;
}
.hero h1{
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.8px;
  line-height: 1.06;
}
.hero .title{
  margin-top: 14px;
  color: var(--muted);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.2px;
}
.hero .tagline{
  margin-top: 16px;
  max-width: 68ch;
  font-size: 18px;
  color: rgba(234,234,234,0.92);
}
.hero .location{
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.actions{
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
}
.btn.primary{
  background: linear-gradient(180deg, rgba(23,74,58,0.95), rgba(23,74,58,0.75));
  border-color: rgba(23,74,58,0.65);
  box-shadow: 0 10px 30px rgba(23,74,58,0.22);
}
.btn.primary:hover{
  background: linear-gradient(180deg, rgba(31,95,74,0.98), rgba(31,95,74,0.70));
}
.btn:hover{
  border-color: rgba(255,255,255,0.18);
}

.section{
  padding: 42px 0;
  border-top: 1px solid var(--line);
}
.section h2{
  margin: 0 0 14px 0;
  font-size: 18px;
  letter-spacing: 0.2px;
}
.section p{
  margin: 0;
  color: var(--muted);
  max-width: 75ch;
}

.grid{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.card{
  grid-column: span 6;
  padding: 18px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.card h3{
  margin: 0 0 10px 0;
  font-size: 16px;
}
.card p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.card .meta{
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pill{
  font-size: 12px;
  font-weight: 700;
  color: rgba(234,234,234,0.85);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 10px;
  border-radius: 999px;
}
.pill.accent{
  border-color: rgba(23,74,58,0.55);
  color: rgba(230,255,245,0.92);
  background: rgba(23,74,58,0.22);
}

.list{
  margin-top: 14px;
  display: grid;
  gap: 12px;
}
.item{
  padding: 16px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--panel);
}
.item .row{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.item .role{
  font-weight: 800;
}
.item .when{
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.footer{
  padding: 28px 0 50px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.page{
  padding: 40px 0 60px;
}
.page h1{
  margin: 0 0 10px 0;
  font-size: 34px;
  letter-spacing: -0.4px;
}
.page .lede{
  color: var(--muted);
  max-width: 78ch;
}
.kv{
  margin-top: 20px;
  display: grid;
  gap: 10px;
}
.kv div{
  padding: 14px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--panel);
}
.kv b{ color: rgba(234,234,234,0.95); }
.kv span{ color: var(--muted); }

@media (max-width: 860px){
  .card{ grid-column: span 12; }
  .hero{ padding: 72px 0 46px; }
}

/* =========================
   Visual upgrades (Premium)
   ========================= */

/* 1) Hero: subtle technical grid + glow */
.hero{
  position: relative;
  overflow: hidden;
}

.hero::before{
  content: "";
  position: absolute;
  inset: -40px 0 auto 0;
  height: 560px;
  pointer-events: none;

  /* more visible than before, still premium */
  opacity: 0.55;

  background:
    radial-gradient(circle at 18% 15%, rgba(23,74,58,0.55), transparent 48%),
    radial-gradient(circle at 82% 0%, rgba(23,74,58,0.28), transparent 50%),
    repeating-linear-gradient(
      to right,
      rgba(255,255,255,0.07) 0px,
      rgba(255,255,255,0.07) 1px,
      transparent 1px,
      transparent 64px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.06) 0px,
      rgba(255,255,255,0.06) 1px,
      transparent 1px,
      transparent 64px
    );

  /* fade out smoothly */
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
}

.hero > .container{
  position: relative;
  z-index: 1;
}

/* 2) Cards: better hover + stripe for project links */
.card{
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.card:hover{
  transform: translateY(-2px);
  border-color: rgba(23,74,58,0.55);
}

/* Apply stripe ONLY to project cards that are links */
a.card{
  position: relative;
  overflow: hidden;
}

a.card::before{
  content:"";
  position:absolute;
  left:0; top:0;
  width:100%;
  height:6px;
  background: linear-gradient(90deg, rgba(23,74,58,1), rgba(23,74,58,0));
  opacity: 1;
}

.hero-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.hero-left{ flex: 1; }
.hero-right{ flex: 0 0 auto; }

.avatar{
  width: 160px;
  height: 160px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 45px rgba(0,0,0,0.55);
}

@media (max-width: 860px){
  .hero-wrap{ flex-direction: column-reverse; align-items:flex-start; }
  .avatar{ width: 130px; height: 130px; }
}
