
/*
Theme Name: Vending Guys Classic (Hero Slider)
Theme URI: https://vendingguys.co.uk/
Author: Trev (Fusion IT)
Description: Classic theme with full-bleed hero slider, proper logo sizing, and wide layout.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: vendingguys-classic
*/

/* Base + Layout */
:root{
  --brand:#0E5A43;
  --brand-2:#1FA8A8;
  --dark:#0F172A;
  --text:#0F172A;
  --muted:#F1F5F9;
  --max:1280px;
  --content:900px;
  --radius:10px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--text);line-height:1.6}
img{max-width:100%;height:auto;display:block}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}

/* Header */
.header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 24px;border-bottom:1px solid #e5e7eb;background:#fff;position:sticky;top:0;z-index:20}
.header .logo{display:flex;align-items:center;gap:12px}
.header .logo img{height:56px;width:auto;max-width:260px}
.nav ul{list-style:none;display:flex;gap:18px;margin:0;padding:0;flex-wrap:wrap}

/* Width helpers */
.container{max-width:var(--max);margin-inline:auto;padding-inline:24px}
.section{padding:48px 0}
.section.muted{background:var(--muted);border-block:1px solid #e5e7eb}
.grid{display:grid;gap:28px}
.grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}

/* Typography */
h1,h2,h3{line-height:1.2;margin:0 0 12px 0;color:var(--dark)}
h1{font-size:clamp(30px,5vw,52px);font-weight:800}
h2{font-size:clamp(24px,3.5vw,36px);font-weight:700}
h3{font-size:clamp(18px,2.2vw,22px);font-weight:700}
p{margin:0 0 12px 0}

/* HERO SLIDER (full-bleed) */
.hero-bleed{width:100%;position:relative;overflow:hidden;background:#000}
.hero-slider{position:relative;isolation:isolate}
.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .6s ease}
.hero-slide.active{opacity:1}
.hero-slide img{width:100%;height:72vh;min-height:520px;object-fit:cover;display:block}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.55));z-index:1}
.hero-content{position:absolute;inset:0;display:flex;align-items:center;z-index:2}
.hero-content-inner{max-width:var(--content);padding:0 24px;color:#fff}
.hero-content h1{color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.35)}
.hero-content p{font-size:18px;max-width:720px}
.btn{display:inline-block;background:var(--brand);color:#fff;padding:12px 18px;border-radius:8px;border:1px solid rgba(255,255,255,.2)}
.btn:hover{text-decoration:none;filter:brightness(1.05)}
.hero-controls{position:absolute;inset:auto 0 16px 0;display:flex;justify-content:center;gap:10px;z-index:3}
.hero-dot{width:10px;height:10px;border-radius:999px;background:rgba(255,255,255,.5);border:1px solid rgba(0,0,0,.2);cursor:pointer}
.hero-dot.active{background:#fff}

/* Feature tiles */
.feature-tiles figure{margin:0}
.feature-tiles img{border-radius:var(--radius);box-shadow:0 10px 26px rgba(0,0,0,.08)}

/* Services */
.services .grid>div img{border-radius:var(--radius);margin-bottom:10px}

/* About */
#about img{border-radius:var(--radius);box-shadow:0 10px 26px rgba(0,0,0,.08)}

/* Reviews */
blockquote{margin:0;padding:16px;border-left:4px solid var(--brand);background:#fff;border-radius:8px}
blockquote p{margin:0 0 6px 0}
blockquote cite{font-style:normal;color:#6b7280}

/* Footer */
.footer{background:var(--muted);padding:40px 0;margin-top:40px;border-top:1px solid #e5e7eb}
.footer .container{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.footer ul{list-style:none;display:flex;gap:12px;justify-content:flex-end;margin:0;padding:0}
.footer p{color:#6b7280;font-size:14px}

/* Responsive */
@media (max-width: 960px){
  .grid.cols-2,.grid.cols-3{grid-template-columns:1fr}
  .hero-slide img{height:60vh;min-height:420px}
  .header .logo img{height:48px;max-width:220px}
  .footer .container{grid-template-columns:1fr}
}
