/*
Theme Name: NovaWeb Studio
Theme URI: https://novawebstudio.com
Author: NovaWeb Studio
Author URI: https://novawebstudio.com
Description: A responsive WordPress theme for web development & SEO agencies, converted from the NovaWeb Studio landing page. Includes custom post types for Portfolio Projects and Client Reviews, manageable from the dashboard.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: novaweb-studio
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, e-commerce, blog

NovaWeb Studio WordPress Theme, (C) 2026
NovaWeb Studio is distributed under the terms of the GNU GPL.
*/


/* ---------- Design tokens ---------- */
:root{
  --radius: 16px;
  --background:#F8FAFC;
  --foreground:#334155;
  --dark:#0F172A;
  --card:#FFFFFF;
  --muted:#F1F5F9;
  --muted-foreground:#64748B;
  --border:#E2E8F0;
  --primary:#2563EB;
  --primary-foreground:#FFFFFF;
  --primary-soft:#EFF4FF;
  --accent:#10B981;
  --accent-foreground:#FFFFFF;
  --accent-soft:#E7F8F1;
  --shadow-soft: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px -8px rgba(15,23,42,.08);
  --shadow-card: 0 1px 2px rgba(15,23,42,.04), 0 12px 40px -12px rgba(15,23,42,.12);
  --shadow-glow: 0 20px 60px -20px rgba(37,99,235,.35);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--background);color:var(--foreground);
  font-family:"Plus Jakarta Sans",ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  -webkit-font-smoothing:antialiased;line-height:1.55;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;background:none;border:0;color:inherit}
h1,h2,h3,h4{color:var(--dark);letter-spacing:-.02em;font-weight:700;margin:0}
p{margin:0}
ul{margin:0;padding:0;list-style:none}

/* ---------- Layout ---------- */
.container{max-width:1200px;margin:0 auto;padding:0 20px}
@media (min-width:640px){.container{padding:0 32px}}
.section{padding:80px 0}
@media (min-width:768px){.section{padding:112px 0}}
.section--muted{background:rgba(255,255,255,.6);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:8px;padding:14px 24px;border-radius:var(--radius);
  font-size:14px;font-weight:600;transition:all .25s ease;box-shadow:var(--shadow-soft)}
.btn:hover{transform:translateY(-2px)}
.btn--primary{background:var(--primary);color:#fff}
.btn--primary:hover{box-shadow:var(--shadow-glow)}
.btn--outline{background:var(--card);color:var(--dark);border:1px solid var(--border)}
.btn--outline:hover{border-color:rgba(37,99,235,.4)}
.btn--ghost{background:rgba(255,255,255,.06);color:#fff;border:1px solid rgba(255,255,255,.15);backdrop-filter:blur(8px)}
.btn--ghost:hover{background:rgba(255,255,255,.12)}
.btn--sm{padding:10px 20px}

/* ---------- Navbar ---------- */
.site-header{position:sticky;top:0;z-index:50;transition:all .3s ease;background:transparent}
.site-header.is-scrolled{background:rgba(248,250,252,.8);backdrop-filter:blur(16px);border-bottom:1px solid rgba(226,232,240,.7)}
.nav{display:flex;align-items:center;justify-content:space-between;padding:16px 0}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:18px;color:var(--dark)}
.brand-mark{width:36px;height:36px;display:grid;place-items:center;background:var(--primary);color:#fff;border-radius:12px;box-shadow:var(--shadow-soft)}
.brand-dot{color:var(--primary)}
.nav-links{display:none;gap:4px;align-items:center}
.nav-links a{padding:8px 16px;border-radius:10px;font-size:14px;font-weight:500;color:var(--muted-foreground);transition:all .2s}
.nav-links a:hover{background:var(--muted);color:var(--dark)}
.nav-cta{display:none}
.nav-toggle{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--border);background:var(--card);border-radius:12px}
@media (min-width:768px){
  .nav-links{display:flex}
  .nav-cta{display:inline-flex}
  .nav-toggle{display:none}
}
.mobile-menu{display:none;border-top:1px solid var(--border);background:var(--background)}
.mobile-menu.is-open{display:block}
.mobile-menu ul{padding:16px 0}
.mobile-menu a{display:block;padding:10px 20px;font-size:14px;font-weight:500;color:var(--muted-foreground);border-radius:8px}
.mobile-menu a:hover{background:var(--muted);color:var(--dark)}
.mobile-menu .btn{margin:12px 20px 20px}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden}
.hero-bg{position:absolute;top:-128px;left:50%;transform:translateX(-50%);width:900px;height:500px;
  background:radial-gradient(ellipse at center,rgba(37,99,235,.18),transparent 60%);
  filter:blur(48px);opacity:.6;pointer-events:none;border-radius:9999px}
.hero-grid{position:relative;display:grid;gap:56px;align-items:center;padding:48px 0 80px}
@media (min-width:768px){.hero-grid{grid-template-columns:1fr 1fr;gap:40px;padding:80px 0 112px}}
.pill{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:9999px;
  background:var(--card);border:1px solid var(--border);font-size:12px;font-weight:600;color:var(--muted-foreground);box-shadow:var(--shadow-soft);width:fit-content}
.pill-dot{width:6px;height:6px;border-radius:9999px;background:var(--accent)}
.hero-title{font-size:clamp(36px,5vw,60px);font-weight:800;line-height:1.05;letter-spacing:-.02em;margin:24px 0}
.hero-title .accent{color:var(--primary);position:relative;white-space:nowrap}
.hero-title .accent svg{position:absolute;bottom:-8px;left:0;width:100%;height:10px;color:rgba(37,99,235,.3)}
.hero-lede{max-width:560px;font-size:18px;color:var(--muted-foreground);margin-bottom:28px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:8px}
.hero-social{display:flex;align-items:center;gap:24px;padding-top:16px;font-size:14px;color:var(--muted-foreground)}
.avatars{display:flex}
.avatars img{width:32px;height:32px;border-radius:9999px;object-fit:cover;border:2px solid var(--background);margin-left:-8px}
.avatars img:first-child{margin-left:0}
.stars{display:none;align-items:center;gap:2px}
@media (min-width:640px){.stars{display:inline-flex}}
.stars svg{color:var(--accent);fill:var(--accent);width:16px;height:16px}

/* Hero mockup */
.mockup{position:relative;max-width:560px;margin:0 auto}
.mockup-frame{overflow:hidden;border-radius:20px;border:1px solid var(--border);background:var(--card);box-shadow:var(--shadow-card)}
.mockup-bar{display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid var(--border);background:rgba(241,245,249,.6)}
.mockup-bar span{width:12px;height:12px;border-radius:9999px}
.mockup-bar .b1{background:#FF5F57}.mockup-bar .b2{background:#FEBC2E}.mockup-bar .b3{background:#28C840}
.mockup-bar .bar-url{flex:1;margin:0 auto;height:24px;width:66%;background:rgba(248,250,252,.8);border-radius:6px}
.mockup-frame img{aspect-ratio:4/3;object-fit:cover;width:100%}
.float-card{position:absolute;display:none;align-items:center;gap:12px;padding:12px 16px;border-radius:16px;
  background:rgba(255,255,255,.7);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.6);box-shadow:var(--shadow-card)}
@media (min-width:640px){.float-card{display:flex}}
.float-card .icon{width:36px;height:36px;display:grid;place-items:center;border-radius:12px}
.float-card p{font-size:12px;font-weight:600;color:var(--dark)}
.float-card small{font-size:11px;color:var(--muted-foreground);display:block}
.fc-1{top:40px;left:-16px;animation:float 6s ease-in-out infinite}
.fc-2{top:112px;right:-16px;animation:float 7s ease-in-out 1.5s infinite}
.fc-3{bottom:-16px;left:50%;transform:translateX(-50%);animation:float 6s ease-in-out infinite}
.icon-accent{background:var(--accent-soft);color:var(--accent)}
.icon-primary{background:var(--primary-soft);color:var(--primary)}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
.fc-3{animation-name:float-h}
@keyframes float-h{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,-10px)}}

/* ---------- Stats ---------- */
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:32px;padding:48px 0}
@media (min-width:768px){.stats{grid-template-columns:repeat(4,1fr);padding:64px 0}}
.stat{text-align:center}
.stat-value{font-size:36px;font-weight:800;color:var(--dark);letter-spacing:-.02em}
.stat-label{font-size:14px;font-weight:500;color:var(--muted-foreground);margin-top:4px}

/* ---------- Section header ---------- */
.section-head{max-width:640px;margin:0 auto 56px;text-align:center}
.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:4px 12px;border-radius:9999px;
  background:var(--card);border:1px solid var(--border);font-size:12px;font-weight:600;letter-spacing:.08em;
  text-transform:uppercase;color:var(--primary);box-shadow:var(--shadow-soft)}
.section-title{font-size:clamp(28px,3.5vw,44px);font-weight:800;margin:16px 0;letter-spacing:-.02em}
.section-sub{font-size:16px;color:var(--muted-foreground)}
@media (min-width:768px){.section-head{margin-bottom:64px}}

/* ---------- Cards / grids ---------- */
.grid{display:grid;gap:24px}
.grid-2{grid-template-columns:1fr}
.grid-3{grid-template-columns:1fr}
.grid-4{grid-template-columns:1fr}
@media (min-width:640px){.grid-2,.grid-3,.grid-4{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.grid-3{grid-template-columns:repeat(3,1fr)}.grid-4{grid-template-columns:repeat(4,1fr)}}

.card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:28px;box-shadow:var(--shadow-soft);
  transition:all .3s ease;height:100%}
.card:hover{transform:translateY(-4px);border-color:rgba(37,99,235,.3);box-shadow:var(--shadow-card)}
.card-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:12px;background:var(--primary-soft);color:var(--primary);margin-bottom:20px;transition:all .3s}
.card:hover .card-icon{background:var(--primary);color:#fff}
.card h3{font-size:18px;margin-bottom:16px}
.card-list li{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--muted-foreground);margin-top:10px}
.card-list svg{color:var(--accent);flex-shrink:0;margin-top:2px;width:16px;height:16px}

.why-card{display:flex;gap:16px;padding:24px;background:var(--background);border:1px solid var(--border);border-radius:16px;
  box-shadow:var(--shadow-soft);transition:all .3s;height:100%}
.why-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-card)}
.why-card .card-icon{width:44px;height:44px;margin:0;flex-shrink:0}
.why-card h3{font-size:16px}
.why-card p{font-size:14px;color:var(--muted-foreground);margin-top:6px;line-height:1.6}

/* Portfolio */
.project{background:var(--card);border:1px solid var(--border);border-radius:16px;overflow:hidden;box-shadow:var(--shadow-soft);transition:all .3s}
.project:hover{transform:translateY(-4px);box-shadow:var(--shadow-card)}
.project-img{aspect-ratio:4/3;overflow:hidden;background:var(--muted)}
.project-img img{width:100%;height:100%;object-fit:cover;transition:transform .7s}
.project:hover .project-img img{transform:scale(1.05)}
.project-body{padding:24px}
.project-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.project-head h3{font-size:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.badge{padding:4px 10px;border-radius:9999px;font-size:12px;font-weight:600;background:var(--primary-soft);color:var(--primary);white-space:nowrap}
.tech-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.tech-tags span{padding:2px 8px;border-radius:6px;background:var(--muted);font-size:12px;color:var(--muted-foreground);font-weight:500}
.project a.link{margin-top:20px;display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--primary);transition:gap .2s}
.project a.link:hover{gap:10px}

/* Process */
.process{position:relative}
.process-line{position:absolute;top:8px;left:16px;width:1px;height:calc(100% - 1rem);background:var(--border);display:none}
@media (min-width:768px){.process-line{display:block;left:50%}}
.process-list{display:flex;flex-direction:column;gap:24px}
@media (min-width:768px){.process-list{gap:48px}}
.step{position:relative;display:grid;gap:16px}
@media (min-width:768px){.step{grid-template-columns:1fr 1fr;gap:48px}
  .step:nth-child(even) .step-body{order:2;text-align:left;padding-left:48px;padding-right:0}
  .step:nth-child(even) .step-num{left:-18px;right:auto}
}
.step-body{position:relative;padding-left:48px}
@media (min-width:768px){.step-body{padding-left:0;padding-right:48px;text-align:right}}
.step-num{position:absolute;top:0;left:0;width:36px;height:36px;display:grid;place-items:center;border-radius:9999px;
  border:4px solid var(--background);background:var(--primary);color:#fff;font-size:12px;font-weight:700;box-shadow:var(--shadow-soft)}
@media (min-width:768px){.step-num{right:-18px;left:auto}}
.step h3{font-size:20px}
.step p{font-size:14px;color:var(--muted-foreground);margin-top:8px;line-height:1.6}

/* Testimonials */
.tcard{display:flex;flex-direction:column;gap:20px;padding:28px;background:var(--card);border:1px solid var(--border);
  border-radius:16px;box-shadow:var(--shadow-soft);height:100%;transition:all .3s}
.tcard:hover{transform:translateY(-4px);box-shadow:var(--shadow-card)}
.tcard blockquote{margin:0;font-size:15px;line-height:1.65;color:var(--foreground)}
.tcard-foot{margin-top:auto;display:flex;align-items:center;gap:12px;padding-top:20px;border-top:1px solid var(--border)}
.tcard-foot img{width:48px;height:48px;border-radius:9999px;object-fit:cover}
.tcard-foot .name{font-size:14px;font-weight:700;color:var(--dark)}
.tcard-foot .co{font-size:12px;color:var(--muted-foreground)}

/* FAQ */
.faq-list{display:flex;flex-direction:column;gap:12px;max-width:720px;margin:0 auto}
.faq-item{border:1px solid var(--border);border-radius:16px;background:var(--background);overflow:hidden;box-shadow:var(--shadow-soft);transition:all .3s}
.faq-item.is-open{border-color:rgba(37,99,235,.3)}
.faq-q{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;font-size:15px;font-weight:600;color:var(--dark);text-align:left;width:100%}
.faq-q svg{transition:transform .3s;color:var(--muted-foreground);flex-shrink:0}
.faq-item.is-open .faq-q svg{transform:rotate(180deg);color:var(--primary)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease}
.faq-a-inner{padding:0 24px 20px;font-size:14px;color:var(--muted-foreground);line-height:1.65}

/* CTA */
.cta{position:relative;overflow:hidden;border-radius:24px;background:var(--dark);color:#fff;
  padding:64px 32px;text-align:center;box-shadow:var(--shadow-card)}
@media (min-width:640px){.cta{padding:80px 64px}}
.cta-bg{position:absolute;top:-128px;left:50%;transform:translateX(-50%);width:700px;height:400px;
  background:radial-gradient(ellipse at center,rgba(37,99,235,.5),transparent 60%);filter:blur(48px);opacity:.4;pointer-events:none}
.cta-inner{position:relative}
.cta .pill{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.15);color:rgba(255,255,255,.8);backdrop-filter:blur(8px)}
.cta h2{font-size:clamp(28px,4vw,48px);font-weight:800;color:#fff;margin:20px auto 16px;max-width:640px;line-height:1.15}
.cta p{max-width:520px;margin:0 auto;color:rgba(255,255,255,.7)}
.cta-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:32px}

/* Footer */
.site-footer{background:rgba(255,255,255,.6);border-top:1px solid var(--border)}
.footer-grid{display:grid;gap:40px;padding:56px 0;grid-template-columns:1fr}
@media (min-width:768px){.footer-grid{grid-template-columns:2fr 1fr 1fr}}
.footer-about p{max-width:360px;font-size:14px;color:var(--muted-foreground);margin-top:16px;line-height:1.6}
.socials{display:flex;gap:8px;margin-top:20px}
.socials a{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;border:1px solid var(--border);background:var(--background);color:var(--muted-foreground);transition:all .3s}
.socials a:hover{transform:translateY(-2px);border-color:rgba(37,99,235,.4);color:var(--primary)}
.footer-col h4{font-size:14px;margin-bottom:16px}
.footer-col li{margin-bottom:10px}
.footer-col a{font-size:14px;color:var(--muted-foreground);display:flex;align-items:center;gap:10px;transition:color .2s}
.footer-col a:hover{color:var(--primary)}
.footer-bottom{border-top:1px solid var(--border);padding:24px 0;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted-foreground)}
@media (min-width:640px){.footer-bottom{flex-direction:row}}

/* Reveal animation */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s cubic-bezier(.22,1,.36,1),transform .7s cubic-bezier(.22,1,.36,1)}
.reveal.is-visible{opacity:1;transform:translateY(0)}

/* ---------- WordPress core / accessibility ---------- */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;
  padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.screen-reader-text:focus{background-color:#fff;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;
  clip-path:none;color:#111;display:block;font-size:14px;font-weight:700;height:auto;left:5px;line-height:normal;
  padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.alignleft{float:left;margin:0 24px 24px 0}
.alignright{float:right;margin:0 0 24px 24px}
.aligncenter{display:block;margin:0 auto 24px}
.wp-caption,.wp-block-image{max-width:100%}
a:focus-visible,button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}

/* Fallback placeholder image (used when a Project/Review has no featured image) */
.img-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;
  background:var(--primary-soft);color:var(--primary)}
.img-placeholder svg{width:40%;height:40%;opacity:.6}

/* Star rating (Client Reviews CPT) */
.stars-rating{display:flex;gap:2px}
.stars-rating svg{width:16px;height:16px}
.stars-rating svg.is-filled{color:var(--accent);fill:var(--accent)}
.stars-rating svg.is-empty{color:var(--border);fill:var(--border)}

/* No-results / empty states for CPT loops */
.empty-note{text-align:center;color:var(--muted-foreground);padding:24px;grid-column:1/-1}

/* WooCommerce / generic single content spacing (in case a static page uses default content) */
.entry-content{padding:48px 0}
.entry-content img{border-radius:var(--radius)}
.entry-content h1,.entry-content h2,.entry-content h3{margin-top:1.4em}
.entry-content p{margin-bottom:1em;color:var(--foreground)}

/* Pagination (blog / archive) */
.nw-pagination{display:flex;gap:8px;justify-content:center;padding:32px 0;flex-wrap:wrap}
.nw-pagination a,.nw-pagination span{padding:8px 16px;border-radius:10px;border:1px solid var(--border);
  background:var(--card);font-size:14px;font-weight:600;color:var(--muted-foreground)}
.nw-pagination .current{background:var(--primary);color:#fff;border-color:var(--primary)}

/* Comments (fallback, kept minimal since this is a marketing site) */
.comment-list{list-style:none;padding:0;margin:32px 0}
.comment-list li{margin-bottom:16px;padding:16px;border:1px solid var(--border);border-radius:12px}
