/*
Theme Name: Bojan OnePage
Theme URI: https://beamly.io/
Author: Bojan
Author URI: https://beamly.io/
Description: Minimal premium one-page theme for Bojan (dark-mode-first). Includes portfolio tabs + scroll reveal.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bojan-onepage
*/

:root{
  --bg:#05060A;
  --panel: rgba(255,255,255,.05);
  --panel2: rgba(11,13,19,.70);
  --border: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --muted2: rgba(255,255,255,.65);
  --muted3: rgba(255,255,255,.55);
  --shadow: 0 18px 50px rgba(34,211,238,.10);
  --radius: 24px;
  --max: 1100px;
  --grad: linear-gradient(90deg, rgba(129,140,248,1), rgba(34,211,238,1), rgba(52,211,153,1));
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}
a{ color: inherit; text-decoration:none; }
img{ max-width:100%; height:auto; }

.bojan-home{ min-height:100vh; overflow:hidden; position:relative; }
.wrap{ max-width: var(--max); margin:0 auto; padding: 0 20px; }
@media (min-width: 768px){ .wrap{ padding: 0 32px; } }

/* Ambient background */
.bojan-bg{ position:absolute; inset:0; pointer-events:none; overflow:hidden; }
.bojan-orb{
  position:absolute; border-radius:999px; filter: blur(60px);
  width: 780px; height: 780px;
  background: radial-gradient(circle at 30% 30%, rgba(129,140,248,.22), rgba(34,211,238,.14), rgba(52,211,153,.10), transparent 70%);
  opacity:.95;
}
.bojan-orb.one{ top:-260px; left:50%; transform: translateX(-50%); }
.bojan-orb.two{ bottom:-320px; left:-260px; background: radial-gradient(circle at 30% 30%, rgba(217,70,239,.10), rgba(129,140,248,.10), rgba(34,211,238,.10), transparent 70%); }
.bojan-orb.three{ top:40px; right:-320px; background: radial-gradient(circle at 30% 30%, rgba(52,211,153,.10), rgba(34,211,238,.10), rgba(129,140,248,.14), transparent 70%); }

.bojan-grid{
  position:absolute; inset:0; opacity:.08;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 52px 52px;
}
.bojan-radial{
  position:absolute; inset:0;
  background: radial-gradient(circle at top, rgba(255,255,255,.10), transparent 58%);
}

/* Animated gradient text */
.grad-text{
  background: var(--grad);
  background-size: 220% 100%;
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
  animation: gradMove 6.5s linear infinite;
}
@keyframes gradMove{ 0%{ background-position:0% 50%; } 100%{ background-position:100% 50%; } }

/* Header */
.bojan-header{
  position: sticky; top:0; z-index:50;
  border-bottom:1px solid var(--border);
  background: rgba(5,6,10,.65);
  backdrop-filter: blur(14px);
}
.bojan-header-row{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:14px; }
.bojan-brand-name{ font-size:18px; font-weight:700; letter-spacing:-0.02em; }
.bojan-brand-sub{ font-size:12px; color: rgba(255,255,255,.60); margin-top:4px; }

.bojan-nav{ display:none; gap:28px; font-size:14px; color: rgba(255,255,255,.70); }
.bojan-nav a:hover{ color: rgba(255,255,255,.95); }
@media (min-width: 900px){ .bojan-nav{ display:flex; } }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  border-radius:18px; padding:14px 18px; font-size:16px;
  border:1px solid transparent;
  cursor:pointer; user-select:none; line-height:1;
  transition: transform .18s ease, opacity .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
  white-space:nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: var(--grad);
  color: #05060A;
  box-shadow: 0 16px 40px rgba(34,211,238,.12);
}
.btn-primary:hover{ opacity:.92; }
.btn-secondary{
  border-color: rgba(34,211,238,.35);
  background: rgba(34,211,238,.12);
  color: rgba(224,255,255,.95);
  box-shadow: 0 10px 30px rgba(34,211,238,.10);
}
.btn-secondary:hover{
  border-color: rgba(34,211,238,.45);
  background: rgba(34,211,238,.18);
  color: rgba(240,255,255,.98);
}
.btn-lg{ padding:16px 22px; font-size:17px; border-radius:18px; }

.hire-badge{
  display:inline-flex; align-items:center; gap:10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
}
@media (min-width: 768px){ .hire-badge{ font-size: 16px; } }

.hire-text{
  background: var(--grad);
  background-size: 220% 100%;
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
  animation: gradMove 6.5s linear infinite;
}

.hire-dot{ position:relative; width:10px; height:10px; display:inline-flex; }
.hire-dot-core{
  position:relative; width:10px; height:10px; border-radius:999px;
  background: rgba(165,243,252,1);
}
.hire-dot-ping{
  position:absolute; inset:0;
  border-radius:999px;
  background: rgba(34,211,238,.55);
  animation: ping 1.35s cubic-bezier(0,0,0.2,1) infinite;
}
@keyframes ping{
  0%{ transform: scale(1); opacity: .85; }
  80%,100%{ transform: scale(2.2); opacity: 0; }
}


/* Mobile menu */
.menu-btn{
  width:44px; height:44px;
  border-radius:18px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.85);
  display:inline-flex; align-items:center; justify-content:center;
}
@media (min-width: 900px){ .menu-btn{ display:none; } }

.bojan-mobile{ display:none; border-top:1px solid var(--border); background: rgba(5,6,10,.85); backdrop-filter: blur(14px); }
.bojan-mobile.open{ display:block; }
.bojan-mobile .grid{ display:grid; gap:10px; padding:14px 0 18px; }
.bojan-mobile a.mLink{
  display:block;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  border-radius:18px;
  padding:12px 14px;
  color: rgba(255,255,255,.80);
  font-size:14px;
}
.bojan-mobile a.mLink:hover{
  border-color: rgba(34,211,238,.30);
  background: rgba(34,211,238,.10);
  color: rgba(220,255,255,.95);
}

/* Sections + reveal */
.section{ padding-top: 96px; }
.section.pad-bottom{ padding-bottom: 96px; }
.reveal, .reveal-step{
  opacity:0; transform: translateY(18px); filter: blur(6px);
  transition: opacity .6s ease, transform .6s ease, filter .6s ease;
}
.reveal.in, .reveal-step.in{ opacity:1; transform: translateY(0); filter: blur(0); }

/* Hero */
.hero{ padding-top:64px; }
@media (min-width: 768px){ .hero{ padding-top:112px; } }

.pill{
  display:inline-flex; align-items:center; gap:10px;
  border-radius:999px;
  border:1px solid rgba(34,211,238,.25);
  background: rgba(34,211,238,.10);
  padding:12px 18px;
  color: rgba(224,255,255,.95);
  font-weight:700;
  font-size:16px;
}
.pill .dot{ width:6px; height:6px; border-radius:999px; background: rgba(255,255,255,.6); }
.hero-kicker{ margin-top:16px; font-size:14px; color: rgba(255,255,255,.60); font-weight:600; letter-spacing:.02em; }

.hero h1{
  margin:20px 0 0;
  font-weight:700;
  letter-spacing:-0.03em;
  line-height:1.02;
  font-size:44px;
  max-width: 960px;
}
@media (min-width: 768px){ .hero h1{ font-size:68px; } }
@media (min-width: 1024px){ .hero h1{ font-size:78px; } }

.hero p{
  margin-top:22px;
  max-width: 820px;
  font-size:18px;
  line-height:1.6;
  color: rgba(255,255,255,.70);
}
@media (min-width: 768px){ .hero p{ font-size:22px; } }

.hero-ctas{ margin-top:26px; display:flex; flex-wrap:wrap; gap:10px; }

.hero-stats{ margin-top:26px; display:grid; gap:10px; }
@media (min-width: 640px){ .hero-stats{ grid-template-columns: repeat(3, 1fr);} }

.stat{
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding:16px;
}
.stat .k{
  font-size:11px;
  letter-spacing:.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.stat .v{ margin-top:8px; font-size:14px; font-weight:650; color: rgba(255,255,255,.92); }
@media (min-width: 768px){ .stat .v{ font-size:16px; } }

/* Shared blocks */
.grid-12{ display:grid; gap:26px; }
@media (min-width: 900px){ .grid-12{ grid-template-columns: repeat(12, 1fr);} }
.col-5{ grid-column: span 12; } .col-7{ grid-column: span 12; }
@media (min-width: 900px){ .col-5{ grid-column: span 5; } .col-7{ grid-column: span 7; } }

.h2{ font-size:28px; font-weight:700; letter-spacing:-0.02em; line-height:1.15; }
@media (min-width: 768px){ .h2{ font-size:36px; } }

.lead{ margin-top:14px; font-size:16px; line-height:1.6; color: rgba(255,255,255,.65); }
@media (min-width: 768px){ .lead{ font-size:18px; } }

.cards{ display:grid; gap:14px; }
@media (min-width: 640px){ .cards{ grid-template-columns: repeat(2, 1fr);} }

.card{
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding:18px;
  transition: transform .22s ease, background .22s ease;
}
.card:hover{ transform: translateY(-2px); background: rgba(255,255,255,.07); }
.card .t{ font-weight:650; }
.card .d{ margin-top:8px; font-size:14px; color: rgba(255,255,255,.60); line-height:1.5; }
.underline{
  margin-top:16px;
  width:48px; height:2px; border-radius:999px;
  background: linear-gradient(90deg, rgba(99,102,241,.7), rgba(34,211,238,.6), rgba(52,211,153,.55));
  opacity:.7;
  transition: opacity .22s ease;
}
.card:hover .underline{ opacity:1; }

.panel{
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding:22px;
  margin-top:16px;
}
.panel strong{ font-size:18px; }
.panel p{ margin:8px 0 0; color: rgba(255,255,255,.65); }

/* Portfolio */
.portfolio-top{ display:flex; flex-direction:column; gap:18px; }
@media (min-width: 900px){ .portfolio-top{ flex-direction:row; align-items:flex-end; justify-content:space-between; gap:30px; } }

.tabs{ display:flex; flex-wrap:wrap; gap:8px; }
.tab{
  border-radius:999px; padding:10px 14px; font-size:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.70);
  cursor:pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.tab:hover{
  background: rgba(34,211,238,.10);
  border-color: rgba(34,211,238,.30);
  color: rgba(220,255,255,.95);
}
.tab.active{
  background: rgba(34,211,238,.14);
  border-color: rgba(34,211,238,.45);
  color: rgba(240,255,255,.98);
  box-shadow: 0 10px 30px rgba(34,211,238,.10);
}

.portfolio-grid{ margin-top:22px; display:grid; gap:14px; }
@media (min-width: 640px){ .portfolio-grid{ grid-template-columns: repeat(2, 1fr);} }
@media (min-width: 1024px){ .portfolio-grid{ grid-template-columns: repeat(3, 1fr);} }

.portfolio-card .name{ font-size:18px; font-weight:700; transition: color .22s ease; }
.portfolio-card:hover .name{
  color: transparent;
  background: linear-gradient(90deg, rgba(165,180,252,1), rgba(165,243,252,1), rgba(167,243,208,1));
  background-size:200% 100%;
  -webkit-background-clip:text;
  background-clip:text;
}
.portfolio-card .meta{ margin-top:8px; font-size:13px; color: rgba(255,255,255,.60); }

/* Gradient border blocks */
.gborder{ border-radius:28px; padding:1px; background: linear-gradient(135deg, rgba(99,102,241,.35), rgba(34,211,238,.20), rgba(52,211,153,.20)); }
.ginner{ border-radius:28px; background: rgba(11,13,19,.70); backdrop-filter: blur(14px); border:1px solid rgba(255,255,255,.06); }

/* What I build */
.soft-grid{ margin-top:22px; display:grid; gap:14px; }
@media (min-width: 900px){ .soft-grid{ grid-template-columns: repeat(3, 1fr);} }
.tag{
  font-size:12px;
  color: rgba(255,255,255,.70);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  border-radius:999px;
  padding:6px 10px;
}

/* Capabilities */
.cap-grid{ margin-top:22px; display:grid; gap:16px; }
@media (min-width: 900px){ .cap-grid{ grid-template-columns: repeat(2, 1fr);} }
.cap{ padding:22px; }
.cap-n{ font-size:12px; color: rgba(255,255,255,.55); }
.cap-h{ margin-top:10px; font-size:20px; font-weight:700; }
.cap-d{ margin-top:10px; color: rgba(255,255,255,.65); line-height:1.6; }
.cap-list{ margin-top:14px; display:grid; gap:10px; }
.cap-item{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  border-radius:16px;
  padding:12px 14px;
  color: rgba(255,255,255,.78);
  font-size:14px;
}

/* About */
.about-wrap{ padding:26px; }
@media (min-width: 768px){ .about-wrap{ padding:38px; } }
.about-grid{ display:grid; gap:22px; }
@media (min-width: 900px){ .about-grid{ grid-template-columns: 5fr 7fr; gap:34px; } }

.photo{
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding:16px;
}

.img{
  width:100%;
  height:auto;
  display:block;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  object-fit:cover;
}
.photo .img{
  width:100%;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: radial-gradient(circle at 30% 30%, rgba(99,102,241,.18), rgba(34,211,238,.12), rgba(52,211,153,.12), transparent 70%);
}
.about p{ margin-top:14px; color: rgba(255,255,255,.65); line-height:1.7; font-size:16px; }
@media (min-width: 768px){ .about p{ font-size:18px; } }

.about-cards{ margin-top:18px; display:grid; gap:14px; }
@media (min-width: 640px){ .about-cards{ grid-template-columns: repeat(2, 1fr);} }

.about-card{
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding:16px;
}
.about-card .t{ font-weight:650; }
.about-card .s{ margin-top:8px; font-size:14px; color: rgba(255,255,255,.60); line-height:1.5; }

.about-note{
  margin-top:18px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding:18px;
}
.about-note .t{ font-weight:700; }
.about-note .s{ margin-top:10px; color: rgba(255,255,255,.65); line-height:1.6; }

/* How I Work timeline */
.timeline{
  position: relative;
  display: grid;
  gap: 16px;
  margin-top: 22px;
}
@media (min-width: 900px){
  .timeline{ gap: 18px; }
  .timeline::before{
    content:"";
    position:absolute;
    left: 22px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, rgba(34,211,238,.35), rgba(255,255,255,.10), rgba(52,211,153,.20));
  }
}
.step-row{ position:relative; display:grid; gap: 14px; }
@media (min-width: 900px){ .step-row{ grid-template-columns: 56px 1fr; gap: 24px; } }
.step-rail{ display:none; }
@media (min-width: 900px){
  .step-rail{ display:block; }
  .step-node{
    position: sticky;
    top: 112px;
    width: 44px; height: 44px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.05);
    display:flex; align-items:center; justify-content:center;
    color: rgba(255,255,255,.85);
    box-shadow: 0 10px 24px rgba(0,0,0,.25);
  }
}
.step-card{
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform .22s ease, background .22s ease;
}
.step-card:hover{ transform: translateY(-2px); background: rgba(255,255,255,.07); }
.step-meta{ display:flex; align-items:center; gap: 10px; }
.step-meta .label{
  font-size: 12px;
  letter-spacing: .16em;
  font-weight: 700;
  color: rgba(165,243,252,.70);
}
.step-meta .bar{
  width: 46px; height: 2px; border-radius:999px;
  background: linear-gradient(90deg, rgba(99,102,241,.7), rgba(34,211,238,.6), rgba(52,211,153,.55));
  opacity:.8;
}
.step-title{ margin-top: 12px; font-size: 22px; font-weight: 800; letter-spacing:-0.02em; }
.step-desc{ margin-top: 10px; color: rgba(255,255,255,.60); font-size: 16px; line-height:1.6; }
@media (min-width: 768px){ .step-desc{ font-size: 18px; } }
.mobile-icon{
  display:inline-flex;
  width:44px; height:44px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  align-items:center; justify-content:center;
}
@media (min-width: 900px){ .mobile-icon{ display:none; } }

/* CTA + footer */
.cta-inner{ padding:26px; }
@media (min-width: 768px){ .cta-inner{ padding:44px; } }
.cta-grid{ display:grid; gap:22px; }
@media (min-width: 900px){ .cta-grid{ grid-template-columns: 8fr 4fr; align-items:center; } }
.small{ margin-top:14px; font-size:12px; color: rgba(255,255,255,.55); text-align:center; }

.bojan-foot{
  border-top:1px solid var(--border);
  background: rgba(5,6,10,.60);
  backdrop-filter: blur(14px);
  margin-top:40px;
}
.bojan-foot-row{ display:flex; flex-direction:column; gap:10px; padding:26px 0; }
@media (min-width: 768px){ .bojan-foot-row{ flex-direction:row; align-items:center; justify-content:space-between; } }
.foot-links{ display:flex; gap:18px; color: rgba(255,255,255,.55); font-size:14px; }
.foot-links a:hover{ color: rgba(255,255,255,.90); }

.hide-sm{ display:none; }
@media (min-width: 640px){ .hide-sm{ display:inline; } }
