/*
Theme Name: ParcelGB Hybrid Suite
Theme URI: https://parcelgb.co.uk/
Author: ParcelGB
Author URI: https://parcelgb.co.uk/
Description: Fresh rebuild hybrid WooCommerce theme for courier label sales (ShipStation booking widget) + dropshipping storefront. Includes starter pages and conversion homepage.
Version: 1.0.2
Requires at least: 6.2
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: parcelgb-hybrid
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: e-commerce, woocommerce, custom-menu, featured-images, translation-ready
*/

:root{
  --pgb-navy:#0b1630;
  --pgb-blue:#1f4fd6;
  --pgb-gold:#f7b500;
  --pgb-ink:#0f172a;
  --pgb-muted:#64748b;
  --pgb-bg:#f6f8fc;
  --pgb-card:#ffffff;
  --pgb-border:rgba(2, 6, 23, .10);
  --pgb-radius:18px;
  --pgb-shadow:0 18px 45px rgba(2,6,23,.16);
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--pgb-ink);
  background:#fff;
}
a{ color:inherit; }
img{ max-width:100%; height:auto; }

.container{ width:min(1180px, calc(100% - 32px)); margin:0 auto; }
.site-header{ background:#fff; border-bottom:1px solid var(--pgb-border); }
.header-inner{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:14px; }
.site-branding{ display:flex; align-items:center; gap:12px; }
.site-title{ margin:0; font-size:18px; font-weight:900; letter-spacing:-.01em; }
.site-title a{ text-decoration:none; }
.site-logo img{ max-height:48px; width:auto; }

.main-nav ul{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:10px; }
.main-nav a{ text-decoration:none; font-weight:800; font-size:14px; padding:10px 12px; border-radius:999px; }
.main-nav a:hover{ background:var(--pgb-bg); }

.content{ padding: 22px 0 40px; }

.btn{ display:inline-flex; align-items:center; justify-content:center; padding:14px 20px; border-radius:999px; font-weight:900; text-decoration:none; border:1px solid transparent; cursor:pointer; gap:10px; }
.btn-primary{ background: linear-gradient(180deg, #ffc83a, var(--pgb-gold)); color:#111; box-shadow: 0 16px 30px rgba(247,181,0,.28); }
.btn-primary:hover{ box-shadow: 0 20px 40px rgba(247,181,0,.36); }
.btn-ghost{ background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.55); color:#fff; }
.btn-ghost:hover{ background: rgba(255,255,255,.18); }

.hero{ position:relative; overflow:hidden; border-radius: var(--pgb-radius); box-shadow: var(--pgb-shadow); padding: clamp(34px, 5vw, 72px); margin: 18px 0 14px; color:#fff; background: linear-gradient(180deg, rgba(11,22,48,.90), rgba(11,22,48,.95)), var(--pgb-hero-url, none); background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero-inner{ max-width: 760px; }
.hero-badge{ display:inline-flex; align-items:center; gap:10px; padding:10px 14px; border-radius:999px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.20); font-weight:800; font-size:14px; }
.hero .h1{ margin: 14px 0 10px; font-size: clamp(30px, 4.2vw, 56px); line-height:1.05; letter-spacing:-.02em; }
.hero .h1 span{ color: var(--pgb-gold); }
.hero .lead{ margin: 0 0 16px; font-size: 18px; opacity:.9; line-height:1.55; }
.hero-points{ list-style:none; padding:0; margin: 14px 0 20px; display:grid; gap:8px; font-weight:800; font-size:14px; opacity:.95; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; }

.section{ padding: 40px 0; }
.section.alt{ background: var(--pgb-bg); }
.section h2{ text-align:center; margin:0 0 8px; font-size: clamp(24px, 2.6vw, 38px); letter-spacing:-.02em; }
.section .lead{ text-align:center; margin: 0 auto 22px; max-width: 780px; color: var(--pgb-muted); font-size: 16px; line-height:1.6; }
.grid-4{ display:grid; grid-template-columns: repeat(4, 1fr); gap:16px; }
.card{ background: var(--pgb-card); border: 1px solid var(--pgb-border); border-radius: var(--pgb-radius); padding: 18px; box-shadow: 0 12px 28px rgba(2,6,23,.06); }
.card h3{ margin: 0 0 6px; font-size:18px; }
.card p{ margin: 0 0 12px; color: var(--pgb-muted); font-size: 14px; line-height:1.55; }
.card ul{ margin:0 0 14px; padding-left: 18px; color:#334155; font-weight:800; font-size: 13px; }
.card li{ margin: 6px 0; }
.card .btn{ width:100%; background: linear-gradient(180deg, #2a61ff, var(--pgb-blue)); color:#fff; box-shadow: 0 16px 30px rgba(31,79,214,.22); }
.card .btn:hover{ box-shadow: 0 20px 40px rgba(31,79,214,.30); }

.stats{ display:grid; grid-template-columns: repeat(4, 1fr); gap:12px; margin-top: 14px; }
.stat{ background: linear-gradient(180deg, #fff, var(--pgb-bg)); border: 1px solid rgba(2,6,23,.08); border-radius: 16px; padding: 16px; text-align:center; }
.stat b{ font-size:22px; display:block; }
.stat small{ color: var(--pgb-muted); font-weight:900; }

.testimonials{ display:grid; grid-template-columns: repeat(3, 1fr); gap:16px; margin-top: 10px; }
.quote .stars{ color: var(--pgb-gold); letter-spacing:2px; font-weight:900; }
.quote p{ margin: 10px 0 12px; color:#334155; line-height:1.55; }
.quote .who{ color: var(--pgb-muted); font-weight:900; }

.final-cta{ background: radial-gradient(900px 420px at 20% 10%, rgba(255,200,58,.36), transparent 60%), radial-gradient(900px 520px at 80% 30%, rgba(42,97,255,.30), transparent 60%), linear-gradient(180deg, #0a1430, #0b1630); color:#fff; border: 1px solid rgba(255,255,255,.14); box-shadow: var(--pgb-shadow); border-radius: var(--pgb-radius); padding: 28px; }
.final-cta h2{ margin:0 0 10px; text-align:left; }
.final-cta p{ margin:0 0 18px; opacity:.86; max-width: 720px; }
.final-cta .row{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; justify-content:space-between; }

.site-footer{ margin-top: 20px; border-top: 1px solid var(--pgb-border); background:#fff; }
.footer-inner{ padding: 18px 0; display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; color: var(--pgb-muted); font-weight:700; font-size: 13px; }

/* ==========================
   Modern Mobile Navigation
========================== */

.nav-toggle{
  display:none;
  width:44px;height:44px;
  border-radius:12px;
  border:1px solid var(--pgb-border);
  background:#fff;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.nav-toggle svg{ width:22px; height:22px; fill: var(--pgb-ink); }

.nav-overlay{
  display:none;
  position:fixed; inset:0;
  background: rgba(2,6,23,.55);
  backdrop-filter: blur(3px);
  z-index: 9998;
}
.nav-drawer{
  display:none;
  position:fixed;
  top:0; right:0;
  height:100vh;
  width:min(360px, 86vw);
  background:#fff;
  z-index: 9999;
  border-left:1px solid var(--pgb-border);
  box-shadow: -18px 0 50px rgba(2,6,23,.18);
  padding:18px;
}
.nav-drawer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.nav-drawer-title{
  font-weight: 950;
  letter-spacing:-.01em;
}
.nav-close{
  width:44px;height:44px;
  border-radius:12px;
  border:1px solid var(--pgb-border);
  background:#fff;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
}
.nav-close svg{ width:20px; height:20px; fill: var(--pgb-ink); }

.nav-drawer nav ul{
  list-style:none;
  margin:10px 0 0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.nav-drawer nav a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-decoration:none;
  font-weight:900;
  font-size:16px;
  padding:14px 14px;
  border-radius:14px;
  border:1px solid rgba(2,6,23,.08);
  background: var(--pgb-bg);
}
.nav-drawer nav a:hover{
  border-color: rgba(31,79,214,.25);
}

body.nav-open{ overflow:hidden; }
body.nav-open .nav-overlay{ display:block; }
body.nav-open .nav-drawer{ display:block; }

/* Mobile logo: keep bold/visible */
@media (max-width: 860px){
  .site-logo img{ max-height:56px; }
  .site-title{ font-size:20px; }
  .main-nav{ display:none; }
  .nav-toggle{ display:inline-flex; }
}

/* ==========================
   Footer Mobile Layout
========================== */
.site-footer ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:10px 12px;
  justify-content:flex-end;
}
.site-footer a{
  text-decoration:none;
  font-weight:800;
  padding:8px 10px;
  border-radius:999px;
}
.site-footer a:hover{ background: var(--pgb-bg); }

@media (max-width: 680px){
  .footer-inner{ flex-direction:column; align-items:flex-start; }
  .site-footer ul{ justify-content:flex-start; }
}


@media (max-width: 980px){ .grid-4{ grid-template-columns: 1fr 1fr; } .stats{ grid-template-columns: 1fr 1fr; } .testimonials{ grid-template-columns: 1fr; } }
@media (max-width: 560px){ .grid-4{ grid-template-columns: 1fr; } .stats{ grid-template-columns: 1fr; } }
