/* ================================================================
   shared.css — common variables, navbar, footer, back-to-top
   Included by: portfolio.html, privacy.html, terms.html
   ================================================================ */
*{margin:0;padding:0;box-sizing:border-box}
:root{
    --color-dark:#0a0e27;--color-darker:#050608;--color-silver:#e8eaed;
    --color-white:#ffffff;--color-slate:#1e2239;--color-charcoal:#2a3050;
    --color-accent:#0d7ea4;--color-accent-light:#00a8d8;--color-accent-subtle:#0a4a63;
    --gradient-accent:linear-gradient(135deg,#0d7ea4 0%,#00a8d8 100%);
}
html{scroll-behavior:smooth}
body{font-family:'Sora',sans-serif;background:var(--color-dark);color:var(--color-silver);line-height:1.6;overflow-x:hidden}
a{color:var(--color-accent-light);text-decoration:none;transition:color .3s ease}
a:hover{color:var(--color-accent)}
h1,h2,h3,h4,h5,h6{font-family:'Playfair Display',serif;font-weight:700;color:var(--color-white);letter-spacing:-.5px}
/* Buttons */
.btn{font-weight:600;padding:.875rem 2rem;border-radius:6px;border:none;transition:all .3s ease;font-family:'Sora',sans-serif}
.btn-primary{background:var(--gradient-accent);color:var(--color-white);box-shadow:0 8px 20px rgba(13,126,164,.3)}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(13,126,164,.4);color:var(--color-white)}
.btn-outline-light{border:2px solid var(--color-silver);color:var(--color-silver)}
.btn-outline-light:hover{background:var(--color-silver);color:var(--color-dark)}
/* ── Navbar ── */
.navbar{background:rgba(10,14,39,.8);backdrop-filter:blur(10px);border-bottom:1px solid rgba(232,234,237,.1);padding:1rem 0;position:sticky;top:0;z-index:1000;box-shadow:0 4px 20px rgba(0,0,0,.1)}
.navbar-brand{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:1.5rem;background:linear-gradient(135deg,#fff 0%,#00a8d8 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:1px}
.nav-link{color:var(--color-silver)!important;font-weight:500;margin:0 .5rem;position:relative;transition:color .3s ease}
.nav-link:after{content:'';position:absolute;bottom:-5px;left:0;width:0;height:2px;background:var(--color-accent-light);transition:width .3s ease}
.nav-link:hover:after,.nav-link.active:after{width:100%}
.nav-link:hover{color:var(--color-accent-light)!important}
/* ── Footer ── */
footer{background:linear-gradient(135deg,#050608 0%,#0a0e27 100%);padding:60px 0 20px;border-top:1px solid rgba(232,234,237,.1)}
.footer-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:3rem;margin-bottom:3rem}
.footer-section h5{font-size:1.1rem;margin-bottom:1.5rem;color:var(--color-white)}
.footer-section p{color:var(--color-silver);font-size:.95rem;line-height:1.7}
.footer-section ul{list-style:none}
.footer-section ul li{margin-bottom:.8rem}
.footer-section ul li a{color:var(--color-silver);font-size:.95rem;transition:color .3s ease}
.footer-section ul li a:hover{color:var(--color-accent-light)}
.footer-bottom{border-top:1px solid rgba(232,234,237,.1);padding-top:2rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}
.footer-copyright{color:var(--color-silver);font-size:.9rem}
.footer-legal-links{display:flex;gap:2rem;flex-wrap:wrap}
.footer-legal-links a{color:var(--color-silver);font-size:.9rem;transition:color .3s ease}
.footer-legal-links a:hover{color:var(--color-accent-light)}
/* ── Back to Top ── */
.back-to-top{position:fixed;bottom:30px;right:30px;width:50px;height:50px;background:var(--gradient-accent);border-radius:50%;display:none;align-items:center;justify-content:center;color:var(--color-white);font-size:1.5rem;cursor:pointer;z-index:999;box-shadow:0 10px 30px rgba(13,126,164,.4);transition:all .3s ease}
.back-to-top:hover{transform:translateY(-5px)}
.back-to-top.show{display:flex}
