/*
Theme Name: Business Park Solutions
Theme URI: https://businessparksolutions.com/
Description: Custom dark IT-support theme for Business Park Solutions Ltd. Reproduces the previous SeedProd design as a self-contained classic WordPress theme, with no page-builder dependency. Includes a baked-in home page, about page, contact page, and a standard blog.
Author: Business Park Solutions Ltd
Version: 1.0.11
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bps
*/

/* ============================================================
   DESIGN TOKENS  (lifted from the original SeedProd global CSS)
   ============================================================ */
:root{
  --bg:            #000000;
  --panel:         #000000;
  --panel-2:       rgb(50,50,50);
  --card:          rgba(255,255,255,0.067);
  --card-border:   rgba(255,255,255,0.10);
  --text:          #f8fafc;
  --text-muted:    #cbd5e1;
  --heading:       #ffffff;
  --link:          #3C4FFF;
  --primary:       #2563eb;
  --primary-hover: #1d4ed8;
  --input-bg:      #1e293b;
  --input-border:  #334155;
  --radius-card:   6px;
  --radius-pill:   100px;
  --radius-input:  60px;
  --container:     1100px;
  --content:       1000px;
  --font-body:     'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-head:     'Montserrat', var(--font-body);
  --font-btn:      'Open Sans', var(--font-body);
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;}
/* Force the page background black and neutralise any leftover/injected background image
   (e.g. cached critical CSS or a still-active page builder). Mirrors the original global CSS. */
html{background-color:#000;}
/* Page background: blue at the top, black through the middle, blue again at the bottom. */
body{
  background:linear-gradient(180deg,
    #1e56d6 0%,
    #0a1c44 9%,
    #000000 22%,
    #000000 78%,
    #0a1c44 91%,
    #1e56d6 100%);
  background-repeat:no-repeat;
  min-height:100vh;
}
/* Let the gradient show through — sections are transparent, cards/bands keep their own fills. */
main,.hero,.section,.site-footer,.page-hero{background-color:transparent !important;background-image:none !important;}
body{
  margin:0;
  background-color:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;height:auto;display:block;}
a{color:var(--link);font-family:var(--font-body);font-weight:600;text-decoration:none;transition:color .2s ease;}
a:hover{color:var(--primary-hover);}
p{margin:0 0 1rem;color:var(--text-muted);}

h1,h2,h3,h4,h5,h6{
  color:var(--heading);
  font-family:var(--font-head);
  font-weight:400;
  line-height:1.15;
  margin:0 0 .5em;
}
h1{font-size:70px;}
h2{font-size:50px;}
h3{font-size:35px;}
h4{font-size:25px;}
h5{font-size:20px;}
h6{font-size:18px;}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container{max-width:var(--container);margin:0 auto;padding:0 24px;}
.section{padding:90px 0;}
.section--tight{padding:60px 0;}
.section-head{text-align:center;max-width:760px;margin:0 auto 56px;}
.section-head p{font-size:18px;color:var(--text-muted);}
.eyebrow{font-family:var(--font-btn);text-transform:uppercase;letter-spacing:.14em;font-size:13px;font-weight:600;color:var(--primary);display:inline-block;margin-bottom:14px;}
.center{text-align:center;}
.muted{color:var(--text-muted);}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn,
.wp-block-button__link,
button,
input[type=submit]{
  display:inline-block;
  font-family:var(--font-btn);
  font-weight:400;
  font-size:16px;
  line-height:1;
  color:#fff;
  background-color:var(--primary);
  border:0;
  border-radius:var(--radius-pill);
  padding:16px 30px;
  cursor:pointer;
  transition:background-color .2s ease,transform .05s ease;
}
.btn:hover,button:hover,input[type=submit]:hover{background-color:var(--primary-hover);color:#fff;}
.btn:active{transform:translateY(1px);}
.btn--ghost{
  background:transparent;
  border:1px solid rgba(255,255,255,.35);
  color:#fff;
}
.btn--ghost:hover{background:rgba(255,255,255,.08);color:#fff;}
.btn-row{display:flex;gap:16px;flex-wrap:wrap;}
.btn-row--center{justify-content:center;}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(0,0,0,.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.site-header .container{
  display:flex;align-items:center;justify-content:space-between;
  min-height:76px;gap:24px;
}
.brand{display:flex;align-items:center;gap:12px;font-family:var(--font-head);color:#fff;font-size:19px;font-weight:600;white-space:nowrap;}
.brand:hover{color:#fff;}
.brand-text{font-family:var(--font-head);font-weight:600;font-size:19px;color:#fff;line-height:1.1;}
/* Safety net: if a custom logo is ever set, never let it blow out the header */
.site-header .custom-logo,
.site-header .custom-logo-link img,
.site-header img{max-height:44px;width:auto;display:block;}
.brand .mark{
  width:38px;height:38px;border-radius:8px;flex:0 0 auto;
  background:linear-gradient(135deg,var(--primary),#1e3a8a);
  display:grid;place-items:center;color:#fff;font-weight:700;font-family:var(--font-btn);
}
.main-nav{display:flex;align-items:center;gap:8px;}
.main-nav ul{list-style:none;display:flex;gap:6px;margin:0;padding:0;}
.main-nav a{
  color:var(--text);font-weight:600;font-size:15px;
  padding:8px 14px;border-radius:8px;transition:background .2s,color .2s;
}
.main-nav a:hover,.main-nav .current-menu-item>a,.main-nav .current_page_item>a{
  color:#fff;background:rgba(255,255,255,.08);
}
.header-actions{display:flex;align-items:center;gap:14px;}
.header-phone{color:#fff;font-weight:600;font-size:15px;white-space:nowrap;}
.header-phone:hover{color:#60a5fa;}
.nav-toggle{display:none;background:transparent;border:0;padding:8px;border-radius:8px;}
.nav-toggle span{display:block;width:22px;height:2px;background:#fff;margin:4px 0;transition:.2s;}

/* ============================================================
   HERO
   ============================================================ */
.hero{padding:110px 0 90px;text-align:center;position:relative;overflow:hidden;background:var(--bg);}
.hero h1{max-width:14ch;margin:0 auto .3em;}
.hero p{max-width:60ch;margin:0 auto 34px;font-size:19px;color:var(--text-muted);}

/* ============================================================
   SPLIT (image + text)
   ============================================================ */
.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;}
.split.reverse .split-media{order:2;}
.split-media img{border-radius:12px;width:100%;object-fit:cover;box-shadow:0 20px 60px rgba(0,0,0,.5);}
.split-body h2{margin-bottom:.4em;}

/* ============================================================
   CARDS / GRID
   ============================================================ */
.grid{display:grid;gap:24px;}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-2{grid-template-columns:repeat(2,1fr);}
.grid-auto{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));}
.card{
  background:var(--card);
  border:1px solid var(--card-border);
  border-radius:var(--radius-card);
  padding:32px;
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.card:hover{transform:translateY(-4px);border-color:rgba(37,99,235,.5);background:rgba(255,255,255,.09);}
.card h3,.card h4{margin-bottom:.35em;}
.card p{margin-bottom:0;}
.card-media{margin:-32px -32px 24px;}
.card-media img{width:100%;height:200px;object-fit:cover;border-radius:var(--radius-card) var(--radius-card) 0 0;}
.card-icon{
  width:52px;height:52px;border-radius:12px;margin-bottom:18px;
  background:rgba(37,99,235,.15);color:#60a5fa;
  display:grid;place-items:center;font-size:22px;
}
.badge{
  display:inline-block;font-family:var(--font-btn);font-size:13px;font-weight:600;
  color:#93c5fd;background:rgba(37,99,235,.14);
  padding:6px 14px;border-radius:var(--radius-pill);margin-bottom:16px;
}

/* ============================================================
   STATS
   ============================================================ */
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.stat{text-align:center;background:var(--card);border:1px solid var(--card-border);border-radius:var(--radius-card);padding:40px 24px;}
.stat .num{font-family:var(--font-head);font-size:56px;color:#fff;line-height:1;margin-bottom:10px;}
.stat .label{font-family:var(--font-btn);font-weight:600;color:#fff;margin-bottom:6px;}
.stat p{margin:0;font-size:15px;}

/* ============================================================
   FEATURE LIST (icon rows)
   ============================================================ */
.feature-list{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;}
.feature{padding:0;}
.feature .card-icon{margin-bottom:16px;}

/* ============================================================
   FAQ (accordion)
   ============================================================ */
.faq{max-width:820px;margin:0 auto;}
.faq details{
  background:var(--card);border:1px solid var(--card-border);
  border-radius:var(--radius-card);margin-bottom:14px;overflow:hidden;
}
.faq summary{
  cursor:pointer;list-style:none;padding:22px 26px;
  font-family:var(--font-head);font-size:19px;color:#fff;
  display:flex;justify-content:space-between;align-items:center;gap:16px;
}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after{content:"+";font-size:26px;color:var(--primary);transition:transform .2s;line-height:1;}
.faq details[open] summary::after{transform:rotate(45deg);}
.faq .faq-body{padding:0 26px 24px;color:var(--text-muted);}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band{
  background:linear-gradient(135deg,#0b1220,#111827);
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:70px 40px;text-align:center;margin:0 auto;max-width:var(--content);
}
.cta-band h2{margin-bottom:.3em;}
.cta-band p{max-width:56ch;margin:0 auto 30px;font-size:18px;}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start;}
.contact-list{list-style:none;padding:0;margin:28px 0 0;}
.contact-list li{display:flex;gap:16px;align-items:flex-start;padding:18px 0;border-bottom:1px solid rgba(255,255,255,.08);}
.contact-list .ico{width:44px;height:44px;flex:0 0 auto;border-radius:10px;background:rgba(37,99,235,.15);color:#60a5fa;display:grid;place-items:center;font-size:18px;}
.contact-list a{color:#fff;}
.contact-list .k{font-family:var(--font-btn);font-weight:600;color:#fff;display:block;}
.contact-card{background:var(--card);border:1px solid var(--card-border);border-radius:var(--radius-card);padding:36px;}
.form-notice{padding:14px 18px;border-radius:10px;margin-bottom:18px;font-size:15px;}
.form-notice--ok{background:rgba(34,197,94,.12);border:1px solid rgba(34,197,94,.4);color:#bbf7d0;}
.form-notice--err{background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.4);color:#fecaca;}
.cf-q{display:block;margin-bottom:8px;color:#cbd5e1;font-size:14px;font-weight:600;}
.footer-cta{margin-top:20px;display:inline-block;}

/* ============================================================
   FORM FIELDS  (matching original input styling)
   ============================================================ */
input[type=text],input[type=email],input[type=url],input[type=tel],
input[type=search],input[type=password],select,textarea{
  width:100%;
  background-color:var(--input-bg);
  border:1px solid var(--input-border);
  border-radius:var(--radius-input);
  color:#fff;
  padding:15px 22px;
  font-family:var(--font-body);font-size:16px;
  margin-bottom:14px;
}
textarea{border-radius:22px;min-height:130px;resize:vertical;}
input::placeholder,textarea::placeholder{color:#94a3b8;}
input:focus,textarea:focus,select:focus{outline:2px solid var(--primary);outline-offset:1px;}

/* ============================================================
   BLOG
   ============================================================ */
.page-hero{padding:80px 0 20px;text-align:center;}
.post-list{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:20px;}
.post-card{background:var(--card);border:1px solid var(--card-border);border-radius:var(--radius-card);overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,border-color .2s;}
.post-card:hover{transform:translateY(-4px);border-color:rgba(37,99,235,.5);}
.post-card .thumb img{width:100%;height:200px;object-fit:cover;}
.post-card .body{padding:26px;flex:1;display:flex;flex-direction:column;}
.post-card h2,.post-card h3{font-size:24px;}
.post-card h2 a,.post-card h3 a{color:#fff;font-weight:400;}
.post-card h2 a:hover,.post-card h3 a:hover{color:#60a5fa;}
.post-meta{font-size:13px;color:#94a3b8;font-family:var(--font-btn);margin-bottom:12px;}
.read-more{margin-top:auto;padding-top:16px;color:var(--link);font-weight:600;}

.single-content{max-width:760px;margin:0 auto;}
.single-content h1{font-size:52px;margin-bottom:.4em;}
.single-content .post-meta{margin-bottom:28px;}
.single-content p,.single-content li{color:var(--text-muted);font-size:18px;}
.single-content a{color:var(--link);}
.single-content img{border-radius:10px;margin:24px 0;}
.single-content blockquote{border-left:3px solid var(--primary);margin:24px 0;padding:8px 24px;color:#e2e8f0;}

.pagination{display:flex;gap:10px;justify-content:center;margin-top:50px;flex-wrap:wrap;}
.pagination .page-numbers{padding:10px 16px;border-radius:8px;background:var(--card);border:1px solid var(--card-border);color:#fff;}
.pagination .page-numbers.current{background:var(--primary);border-color:var(--primary);}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{background:var(--panel);border-top:1px solid rgba(255,255,255,.07);padding:70px 0 30px;margin-top:40px;}
.footer-top{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;}
.footer-brand .brand{margin-bottom:16px;}
.footer-brand p{max-width:34ch;font-size:15px;}
.footer-area{color:#93c5fd;font-weight:600;font-size:14px;margin-top:-4px;}
.footer-form{display:block !important;margin-top:18px;max-width:360px;}
.footer-form input[type=email]{display:block !important;width:100% !important;box-sizing:border-box;margin-bottom:12px !important;flex:none !important;}
.footer-form button{display:block !important;width:100% !important;padding:15px 22px;font-size:14px;letter-spacing:.03em;text-transform:uppercase;}
.footer-note{font-size:13px;color:#64748b;margin-top:10px;min-height:1em;}
.footer-col h5{font-size:16px;color:#fff;margin-bottom:18px;font-family:var(--font-head);}
.footer-col ul{list-style:none;margin:0;padding:0;}
.footer-col li{margin-bottom:12px;}
.footer-col a{color:var(--text-muted);font-weight:400;font-size:15px;}
.footer-col a:hover{color:#fff;}
.social{display:flex;gap:12px;}
.social a{width:40px;height:40px;border-radius:10px;background:rgba(255,255,255,.06);display:grid;place-items:center;color:#cbd5e1;font-size:16px;}
.social a svg{width:18px;height:18px;fill:currentColor;display:block;}
.social a:hover{background:var(--primary);color:#fff;}
.footer-bottom{border-top:1px solid rgba(255,255,255,.07);margin-top:50px;padding-top:24px;display:flex;justify-content:center;text-align:center;gap:16px;flex-wrap:wrap;font-size:14px;color:#64748b;}
.footer-bottom a{color:#94a3b8;font-weight:400;}
.brand-logo{height:30px;width:auto;display:block;flex:0 0 auto;}

/* ============================================================
   WORDPRESS CORE / ACCESSIBILITY
   ============================================================ */
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--primary);color:#fff;padding:10px 16px;border-radius:0 0 8px 0;z-index:100;}
.skip-link:focus{left:0;color:#fff;}
:focus-visible{outline:2px solid #60a5fa;outline-offset:2px;}
.aligncenter{margin-left:auto;margin-right:auto;}
.wp-caption-text,.gallery-caption{font-size:13px;color:#94a3b8;}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1024px){
  .section{padding:70px 0;}
  h1{font-size:56px;}h2{font-size:42px;}h3{font-size:30px;}
}
@media (max-width:820px){
  .split,.contact-grid{grid-template-columns:1fr;gap:36px;}
  .split.reverse .split-media{order:0;}
  .grid-3,.stats,.feature-list,.post-list{grid-template-columns:1fr 1fr;}
  .footer-top{grid-template-columns:1fr 1fr;}
  .footer-brand{grid-column:1 / -1;}
}
@media (max-width:600px){
  .main-nav{
    position:absolute;top:76px;left:0;right:0;
    background:#000;border-bottom:1px solid rgba(255,255,255,.1);
    flex-direction:column;align-items:stretch;padding:12px;gap:4px;
    display:none;
  }
  .main-nav.open{display:flex;}
  .main-nav ul{flex-direction:column;gap:2px;}
  .nav-toggle{display:block;}
  .header-phone{display:none;}
  .brand,.brand-text{font-size:15px;white-space:normal;}
  h1{font-size:44px;}h2{font-size:34px;}h3{font-size:26px;}
  .hero{padding:70px 0 60px;}
  .grid-3,.stats,.feature-list,.post-list{grid-template-columns:1fr;}
  .footer-top{grid-template-columns:1fr;}
  .footer-form{flex-direction:column;}
  .cta-band{padding:50px 24px;}
  .section{padding:56px 0;}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important;}
}
