/*
Theme Name: Jobayer's Creation
Theme URI: https://www.behance.net/jobayercreatio
Author: Jobayer's Creation
Description: A premium minimalist white, purple and black portfolio theme for a creative designer and web developer.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: jobayers-creation
*/
:root{--purple:#8154d8;--purple-dark:#6636bd;--ink:#17151d;--muted:#777381;--line:#ece9f2;--soft:#f7f4fc;--white:#fff;--radius:22px;--shadow:0 18px 55px rgba(41,25,73,.09)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.container{width:min(1160px,calc(100% - 44px));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.9);backdrop-filter:blur(16px);border-bottom:1px solid rgba(236,233,242,.8)}
.nav-wrap{height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{font-weight:850;letter-spacing:-.7px;font-size:20px}.brand span{color:var(--purple)}
.nav-menu{display:flex;align-items:center;gap:30px;font-size:13px;font-weight:650;color:#55515f}
.nav-menu a:hover{color:var(--purple)}
.nav-cta,.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 21px;border-radius:999px;background:var(--purple);color:#fff;font-size:13px;font-weight:750;transition:.25s;border:1px solid var(--purple)}
.nav-cta:hover,.button:hover{background:var(--purple-dark);transform:translateY(-2px);color:#fff}
.button-outline{background:#fff;color:var(--ink);border-color:var(--line)}
.button-outline:hover{background:var(--soft);color:var(--purple);border-color:#d9c9f5}
.menu-toggle{display:none;border:1px solid var(--line);background:#fff;border-radius:12px;padding:9px 12px;font-size:20px}
.hero{padding:84px 0 72px;overflow:hidden;background:radial-gradient(circle at 85% 20%,#f1eaff 0,transparent 34%),linear-gradient(120deg,#fff 45%,#fbf9ff 100%)}
.hero-grid{display:grid;grid-template-columns:1.04fr .96fr;align-items:center;gap:58px}
.eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--purple);font-size:11px;font-weight:850;letter-spacing:2px;text-transform:uppercase}
.eyebrow:before{content:"";width:25px;height:2px;background:var(--purple)}
.hero h1{font-size:clamp(43px,6vw,76px);line-height:1.03;letter-spacing:-3.6px;margin:20px 0 18px;font-weight:850}
.hero h1 span{color:var(--purple)}
.hero-copy{max-width:510px;color:var(--muted);font-size:16px;margin:0 0 28px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px}
.hero-note{margin-top:30px;color:#8b8793;font-size:12px;display:flex;align-items:center;gap:9px}
.hero-note i{width:7px;height:7px;border-radius:50%;background:#56b78b;display:inline-block}
.hero-photo-wrap{position:relative;max-width:500px;margin-left:auto}
.hero-photo-wrap:before{content:"";position:absolute;inset:7% -4% -4% 8%;background:#eee5ff;border-radius:48% 48% 30px 30px;transform:rotate(4deg)}
.hero-photo{position:relative;width:100%;aspect-ratio:4/4.6;object-fit:cover;object-position:68% center;border-radius:48% 48% 28px 28px;box-shadow:var(--shadow)}
.photo-tag{position:absolute;left:-28px;bottom:34px;background:#fff;padding:15px 19px;border-radius:15px;box-shadow:var(--shadow);font-size:12px;font-weight:800}
.photo-tag small{display:block;color:var(--muted);font-weight:500;margin-top:2px}
.section{padding:88px 0}
.section-soft{background:#faf8fd}
.section-head{max-width:650px;margin:0 auto 42px;text-align:center}
.section-kicker{font-size:11px;text-transform:uppercase;letter-spacing:2px;color:var(--purple);font-weight:850}
.section-title{font-size:clamp(30px,4vw,46px);letter-spacing:-1.8px;line-height:1.13;margin:12px 0}
.section-desc{color:var(--muted);font-size:14px;margin:0}
.about-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:60px;align-items:center}
.about-card{background:linear-gradient(145deg,#f3edff,#fff);padding:34px;border-radius:var(--radius);min-height:270px;display:flex;flex-direction:column;justify-content:flex-end}
.about-card strong{font-size:34px;line-height:1.1;letter-spacing:-1px}
.about-card span{color:var(--purple);font-size:12px;font-weight:750;margin-top:10px}
.about-copy h3{font-size:29px;line-height:1.2;letter-spacing:-1px;margin:0 0 15px}
.about-copy p{color:var(--muted);font-size:14px}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}
.service-card{border:1px solid var(--line);border-radius:18px;padding:25px;background:#fff;transition:.25s}
.service-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:#d9c9f5}
.service-icon{width:43px;height:43px;border-radius:13px;background:var(--soft);color:var(--purple);display:grid;place-items:center;font-size:20px;margin-bottom:18px}
.service-card h3{font-size:16px;margin:0 0 7px}.service-card p{font-size:12px;color:var(--muted);margin:0}
.portfolio-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.project-card{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff}
.project-art{aspect-ratio:4/3;background:linear-gradient(135deg,#f0e8ff,#faf8ff);display:grid;place-items:center;color:#9b7bd6;font-size:13px;font-weight:750;letter-spacing:1px}
.project-card:nth-child(2) .project-art{background:linear-gradient(135deg,#eee,#fafafa);color:#777}
.project-card:nth-child(3) .project-art{background:linear-gradient(135deg,#e9e1ff,#f7f3ff)}
.project-info{padding:17px 18px}.project-info h3{font-size:15px;margin:0 0 4px}.project-info p{font-size:11px;color:var(--muted);margin:0}
.behance-panel{padding:48px;border-radius:26px;background:#191620;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px;position:relative;overflow:hidden}
.behance-panel:after{content:"Bē";position:absolute;right:23%;top:-65px;font-size:230px;font-weight:900;color:rgba(255,255,255,.045);pointer-events:none}
.behance-panel h2{font-size:clamp(28px,4vw,42px);line-height:1.1;letter-spacing:-1.4px;margin:9px 0}
.behance-panel p{color:#c4bfce;font-size:13px;margin:0;max-width:520px}
.behance-panel .button{position:relative;z-index:1;white-space:nowrap}
.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:42px}
.contact-copy h2{font-size:40px;line-height:1.1;letter-spacing:-1.7px;margin:12px 0}
.contact-copy p{color:var(--muted);font-size:14px}
.contact-links{display:grid;gap:12px;margin-top:25px}
.contact-link{padding:15px 17px;border:1px solid var(--line);border-radius:14px;font-size:13px;font-weight:700}
.contact-link span{display:block;color:var(--muted);font-size:10px;font-weight:500}
.contact-form{padding:27px;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}
.contact-form label{display:block;font-size:11px;font-weight:750;margin:0 0 6px}
.contact-form input,.contact-form textarea{width:100%;border:1px solid var(--line);border-radius:11px;padding:13px 14px;margin-bottom:15px;font:inherit;font-size:13px;background:#fff}
.contact-form textarea{min-height:115px;resize:vertical}
.contact-form input:focus,.contact-form textarea:focus{outline:2px solid #e6d9ff;border-color:var(--purple)}
.form-note{font-size:10px;color:var(--muted);margin:10px 0 0}
.site-footer{border-top:1px solid var(--line);padding:25px 0;color:var(--muted);font-size:11px}
.footer-wrap{display:flex;align-items:center;justify-content:space-between;gap:15px}
.footer-brand{font-weight:850;color:var(--ink);font-size:14px}
.footer-brand span{color:var(--purple)}
@media(max-width:850px){.hero-grid{gap:28px}.hero h1{font-size:54px}.nav-menu{gap:17px}.service-grid,.portfolio-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.container{width:min(100% - 32px,520px)}.nav-wrap{height:68px}.menu-toggle{display:block}.nav-cta{display:none}.nav-menu{display:none;position:absolute;top:68px;left:0;right:0;padding:18px 22px 22px;background:#fff;border-bottom:1px solid var(--line);flex-direction:column;align-items:flex-start;gap:17px}.nav-menu.is-open{display:flex}.hero{padding:48px 0 55px}.hero-grid{grid-template-columns:1fr;gap:35px}.hero h1{font-size:48px;letter-spacing:-2.4px}.hero-copy{font-size:14px}.hero-photo-wrap{width:88%;margin:0 auto}.photo-tag{left:-16px}.section{padding:65px 0}.about-grid,.contact-grid{grid-template-columns:1fr;gap:25px}.service-grid,.portfolio-grid{grid-template-columns:1fr 1fr;gap:11px}.service-card{padding:17px}.service-card h3{font-size:13px}.service-card p{font-size:11px}.project-info{padding:13px}.behance-panel{padding:30px 24px;display:block}.behance-panel .button{margin-top:22px}.contact-copy h2{font-size:34px}.footer-wrap{flex-direction:column;text-align:center}.section-head{margin-bottom:30px}}
@media(max-width:390px){.service-grid,.portfolio-grid{grid-template-columns:1fr}.hero h1{font-size:42px}}

/* Refined motion and balanced hero layout */
.scroll-progress{height:3px;position:fixed;top:0;left:0;right:0;z-index:100;background:transparent;pointer-events:none}
.scroll-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,#8154d8,#b99af4);box-shadow:0 0 10px rgba(129,84,216,.35)}
.site-header{box-shadow:0 5px 24px rgba(35,24,55,.025)}
.hero{padding:76px 0 66px}
.hero-grid{grid-template-columns:1fr 1fr;gap:38px;max-width:1080px}
.hero-grid>div:first-child{max-width:510px;margin-inline:auto;width:100%}
.hero-photo-wrap{width:100%;max-width:430px;margin-inline:auto;margin-right:24px}
.hero-photo{object-position:82% 30%}
.hero h1{font-size:clamp(48px,6vw,78px);letter-spacing:-3px}
.hero h1 span{background:linear-gradient(100deg,#8154d8,#a17be8);-webkit-background-clip:text;background-clip:text;color:transparent}
.photo-tag{left:-18px;bottom:28px}
.moving-strip{overflow:hidden;border-top:1px solid #f0edf5;border-bottom:1px solid #f0edf5;background:#fff;padding:17px 0;white-space:nowrap}
.moving-strip-track{display:flex;align-items:center;justify-content:space-around;gap:35px;width:max-content;min-width:200%;animation:stripMove 34s linear infinite}
.moving-strip span{font-size:11px;letter-spacing:2px;font-weight:800;color:#716b7c}
.moving-strip i{font-style:normal;color:var(--purple);font-size:16px}
@keyframes stripMove{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.reveal,.reveal-item{opacity:0;transform:translateY(24px);transition:opacity .75s ease,transform .75s cubic-bezier(.2,.7,.2,1)}
.reveal.is-visible,.reveal-item.is-visible{opacity:1;transform:translateY(0)}
.service-card:nth-child(3n+2),.project-card:nth-child(3n+2){transition-delay:.08s}
.service-card:nth-child(3n),.project-card:nth-child(3n){transition-delay:.16s}
.service-card{box-shadow:0 0 0 rgba(41,25,73,0);transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s,border-color .35s}
.service-card:hover{transform:translateY(-8px);box-shadow:0 18px 42px rgba(41,25,73,.10);border-color:#d7c6f5}
.service-icon{transition:transform .35s,background .35s,color .35s}
.service-card:hover .service-icon{transform:rotate(-8deg) scale(1.08);background:var(--purple);color:#fff}
.project-card{transition:transform .35s,box-shadow .35s}
.project-card:hover{transform:translateY(-7px);box-shadow:var(--shadow)}
.project-art{transition:filter .35s,transform .5s}
.project-card:hover .project-art{filter:saturate(1.12)}
.button,.nav-cta{box-shadow:0 7px 18px rgba(129,84,216,.12)}
.button:active,.nav-cta:active{transform:translateY(0) scale(.98)}
@media(max-width:850px){.hero-grid{grid-template-columns:1fr 1fr;gap:28px}.hero h1{font-size:52px}.hero-photo-wrap{max-width:390px}}
@media(max-width:650px){.hero{padding:48px 0 48px}.hero-grid{grid-template-columns:1fr;gap:30px}.hero-grid>div:first-child{text-align:center}.hero-grid .eyebrow{justify-content:center}.hero-actions{justify-content:center}.hero-note{justify-content:center}.hero h1{font-size:48px}.hero-photo-wrap{width:88%;max-width:390px;margin:0 auto}.moving-strip{padding:14px 0}.moving-strip-track{gap:25px}.reveal,.reveal-item{transform:translateY(16px)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.reveal,.reveal-item{opacity:1;transform:none}}


/* Version 3: stronger, polished motion design */
.hero{position:relative;isolation:isolate}
.hero:after{content:"";position:absolute;z-index:-1;width:420px;height:420px;right:-125px;top:-160px;border-radius:50%;background:radial-gradient(circle,rgba(160,119,235,.20),rgba(160,119,235,0) 70%);animation:heroGlow 9s ease-in-out infinite alternate;pointer-events:none}
@keyframes heroGlow{0%{transform:translate3d(0,0,0) scale(.9);opacity:.55}100%{transform:translate3d(-55px,65px,0) scale(1.18);opacity:1}}
.hero-grid>div:first-child .eyebrow{animation:heroTextIn .8s .08s both cubic-bezier(.2,.7,.2,1)}
.hero h1{animation:heroTextIn .9s .2s both cubic-bezier(.2,.7,.2,1)}
.hero-copy{animation:heroTextIn .9s .34s both cubic-bezier(.2,.7,.2,1)}
.hero-actions{animation:heroTextIn .9s .48s both cubic-bezier(.2,.7,.2,1)}
.hero-note{animation:heroTextIn .9s .6s both cubic-bezier(.2,.7,.2,1)}
.hero-photo-wrap{animation:heroPhotoIn 1.15s .18s both cubic-bezier(.16,1,.3,1);transform-origin:60% 55%}
.hero-photo-wrap:before{animation:blobFloat 7s ease-in-out infinite alternate}
.photo-tag{animation:tagFloat 4.5s ease-in-out infinite}
@keyframes heroTextIn{from{opacity:0;transform:translateY(28px);filter:blur(5px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
@keyframes heroPhotoIn{from{opacity:0;transform:translate3d(45px,24px,0) scale(.94) rotate(2deg);filter:blur(8px)}to{opacity:1;transform:translate3d(0,0,0) scale(1) rotate(0);filter:blur(0)}}
@keyframes blobFloat{0%{transform:translate(0,0) rotate(2deg)}100%{transform:translate(-12px,13px) rotate(7deg)}}
@keyframes tagFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
.moving-strip-track{will-change:transform}
.section-head .section-kicker{display:inline-block;transition:letter-spacing .35s ease}
.section-head:hover .section-kicker{letter-spacing:3px}
.service-card,.project-card,.contact-link{will-change:transform;transform-style:preserve-3d}
.service-card:after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(115deg,transparent 25%,rgba(255,255,255,.72) 48%,transparent 70%);transform:translateX(-130%);transition:transform .7s ease;pointer-events:none}
.service-card{position:relative;overflow:hidden}
.service-card:hover:after{transform:translateX(130%)}
.project-art{position:relative;overflow:hidden}
.project-art:after{content:"↗";position:absolute;right:15px;bottom:12px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--purple);font-size:18px;opacity:0;transform:translateY(8px);transition:.35s}
.project-card:hover .project-art:after{opacity:1;transform:translateY(0)}
.button,.nav-cta{position:relative;overflow:hidden;transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s,background .3s}
.button:before,.nav-cta:before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.25) 48%,transparent 75%);transform:translateX(-130%);transition:transform .65s ease}
.button:hover:before,.nav-cta:hover:before{transform:translateX(130%)}
.scroll-progress span{transition:width .08s linear}
.reveal,.reveal-item{opacity:0;transform:translate3d(0,42px,0) scale(.985);filter:blur(3px);transition:opacity .85s ease,transform .85s cubic-bezier(.16,1,.3,1),filter .85s ease}
.reveal.is-visible,.reveal-item.is-visible{opacity:1;transform:translate3d(0,0,0) scale(1);filter:blur(0)}
.reveal-item{transition-duration:.7s}
.about-card{transition:transform .5s cubic-bezier(.2,.8,.2,1),box-shadow .5s}
.about-card:hover{transform:translateY(-7px) rotate(-1deg);box-shadow:0 25px 60px rgba(41,25,73,.13)}
.behance-panel:after{animation:behanceDrift 12s ease-in-out infinite alternate}
@keyframes behanceDrift{from{transform:translateX(0) rotate(-5deg)}to{transform:translateX(-35px) rotate(5deg)}}
@media(max-width:650px){.hero:after{width:260px;height:260px;right:-100px;top:-90px}.hero-photo-wrap{animation-duration:.9s}.photo-tag{animation:none}}
@media(prefers-reduced-motion:reduce){.hero-grid>div:first-child .eyebrow,.hero h1,.hero-copy,.hero-actions,.hero-note,.hero-photo-wrap,.photo-tag,.hero:after,.hero-photo-wrap:before,.behance-panel:after{animation:none!important}.reveal,.reveal-item{filter:none;opacity:1;transform:none}}


/* Tiny spider on a fixed, full-viewport silk thread. */
html{scroll-behavior:auto}
#about,#services,#portfolio,#contact{scroll-margin-top:100px}
.scroll-spider{position:fixed!important;z-index:9999!important;right:12px!important;top:0!important;bottom:0!important;left:auto!important;width:14px!important;height:100vh!important;height:100dvh!important;opacity:.68;pointer-events:none!important;overflow:visible!important}
.spider-rope{position:absolute!important;left:50%!important;top:0!important;bottom:0!important;width:1px!important;height:100%!important;transform:translateX(-50%)!important;background:linear-gradient(180deg,rgba(129,84,216,.12),rgba(129,84,216,.48),rgba(129,84,216,.12))!important}
.spider-hanger{position:absolute!important;left:50%!important;top:0!important;width:12px!important;height:13px!important;transform:translate3d(-50%,0,0);will-change:transform}
.scroll-spider svg.spider-art{display:block!important;position:absolute!important;left:0!important;top:0!important;width:12px!important;height:13px!important;min-width:12px!important;max-width:12px!important;min-height:13px!important;max-height:13px!important;overflow:visible!important;animation:spiderBobbing 3.4s ease-in-out infinite;filter:drop-shadow(0 1px 2px rgba(61,35,103,.14))}
@keyframes spiderBobbing{0%,100%{translate:0 0}50%{translate:0 1px}}
.nav-menu a{position:relative;transition:color .2s ease}
.nav-menu a:after{content:"";position:absolute;left:0;right:100%;bottom:-7px;height:2px;border-radius:2px;background:var(--purple);transition:right .22s ease}
.nav-menu a:hover:after,.nav-menu a:focus-visible:after{right:0}
/* Keep scroll reveals light to avoid the stutter caused by large blur filters. */
.reveal,.reveal-item{filter:none!important;transition:opacity .55s ease,transform .55s cubic-bezier(.2,.7,.2,1)}
.service-card,.project-card,.contact-link{will-change:auto}
@media(max-width:650px){.scroll-spider{right:5px!important;width:12px!important}.spider-hanger{width:10px!important;height:11px!important}.scroll-spider svg.spider-art{width:10px!important;height:11px!important;min-width:10px!important;max-width:10px!important;min-height:11px!important;max-height:11px!important}}
@media(prefers-reduced-motion:reduce){.scroll-spider,.spider-art,.nav-menu a:after{animation:none!important;transition:none!important}}
