/* assets/css/style.css - Mortenson-inspired original design */
:root{
  --accent:#F7931E;
  --accent-2:#0b74de;
  --dark:#111827;
  --muted:#666;
  --bg:#f7f7f7;
  --container:1200px;
  --ease: cubic-bezier(.2,.9,.3,1);
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;background:var(--bg);color:var(--dark);-webkit-font-smoothing:antialiased}
.container{max-width:var(--container);margin:0 auto;padding:0 20px}
.site-header{background:#fff;box-shadow:0 3px 14px rgba(0,0,0,0.06);position:sticky;top:0;z-index:60}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand{font-weight:700;color:var(--dark);font-size:18px}
.nav a{margin-left:18px;color:#333;text-decoration:none;font-weight:600}
.nav-admin{background:var(--accent);color:#fff;padding:8px 12px;border-radius:6px;margin-left:18px}
.nav-toggle{display:none;background:transparent;border:0;font-size:20px}

/* Hero */
.hero{
    position:relative;
    height:72vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    overflow:hidden;
    /* CHANGED PATH: '../images/kiberinka.PNG' */
    background:linear-gradient(180deg,rgba(0,0,0,.2),rgba(0,0,0,.2)),url('assets/images/kiberinka.PNG') center/cover no-repeat;}
.hero-inner{position:relative;z-index:2;color:#fff;padding:0 20px}
.hero h1{font-size:clamp(32px,4.5vw,56px);margin:0 0 12px;line-height:1.02;letter-spacing:-0.5px}
.lead{font-size:1.05rem;opacity:.95;margin-bottom:18px}
.btn.primary{background:var(--accent);color:#fff;padding:12px 20px;border-radius:8px;text-decoration:none;display:inline-block;transition:transform .25s var(--ease)}
.btn.primary:hover{transform:translateY(-4px);background:#ffb35c;color:#111}

/* Sections */
.section{padding:60px 0}
.section-title{text-align:center;margin-bottom:28px;font-size:1.6rem;color:var(--dark)}

/* Grid */
.projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}
.project-card{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 8px 40px rgba(17,24,39,0.06);transition:transform .28s var(--ease),box-shadow .28s var(--ease)}
.project-card:hover{transform:translateY(-8px);box-shadow:0 18px 60px rgba(17,24,39,0.12)}
.card-media img{width:100%;height:180px;object-fit:cover;display:block}
.card-body{padding:16px}
.card-title{margin:0 0 8px;color:var(--accent-2);font-size:1.05rem}
.card-excerpt{margin:0;color:var(--muted);font-size:.95rem}
.meta{font-size:.8rem;color:#999;margin-top:10px}

/* Project detail */
.project-hero{height:40vh;background-size:cover;background-position:center;position:relative;display:flex;align-items:flex-end}
.project-hero .overlay{width:100%;background:linear-gradient(180deg,rgba(0,0,0,0.2),rgba(0,0,0,0.6));padding:40px 0;color:#fff}
.project-hero h1{color:#fff;margin:0;font-size:2rem}

/* Gallery */
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:12px}
.gallery-grid img{width:100%;height:140px;object-fit:cover;border-radius:8px}

/* Footer */
.site-footer{background:#0f1724;color:#cbd5e1;padding:28px 0;margin-top:36px}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.95rem}

/* Admin styles */
.admin-wrap{max-width:1000px;margin:24px auto;padding:20px}
.admin-wrap .card{padding:16px;background:#fff;border-radius:8px;margin-bottom:16px}

/* Social floating panel */
.social-panel{position:fixed;right:16px;top:40%;display:flex;flex-direction:column;gap:10px;z-index:80}
.social-panel a{width:46px;height:46px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#111;color:#fff;text-decoration:none;transition:transform .2s}
.social-panel a:hover{transform:translateY(-6px);background:var(--accent)}

/* Simple animate-up */
.animate-up{opacity:0;transform:translateY(12px);transition:opacity .6s ease,transform .6s ease}
.animate-up.in-view{opacity:1;transform:none}

/* Responsive */
@media(max-width:900px){.nav{display:none}.nav-toggle{display:inline-block}.hero{height:56vh}.projects-grid{gap:16px}}
@media(max-width:600px){.hero{height:48vh}.hero h1{font-size:28px}}
