/*
Theme Name: Shaffer Motorwerks
Theme URI: https://shaffermotorwerks.com
Author: Shaffer Motorwerks
Author URI: https://shaffermotorwerks.com
Description: Dark, offroad-focused custom theme for Shaffer Motorwerks.
Version: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shaffer-motorwerks
*/

:root{
  --bg:#0b0c0f;
  --panel:#121521;
  --panel2:#0f1220;
  --text:#e9e9ef;
  --muted:#a9afc0;
  --accent:#a855f7;
  --accent2:#ec4899;
  --border:rgba(255,255,255,.10);
  --border2:rgba(168,85,247,.35);
  --shadow:0 18px 60px rgba(0,0,0,.45);
  --radius:18px;
  --radius2:12px;
  --max:1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 700px at 30% -10%, rgba(168,85,247,.18), transparent 55%),
              radial-gradient(900px 600px at 90% 0%, rgba(236,72,153,.14), transparent 45%),
              var(--bg);
  color:var(--text);
  line-height:1.5;
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.95}

.smw-container{
  max-width:var(--max);
  padding:0 20px;
  margin:0 auto;
}

.smw-topbar{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter:saturate(140%) blur(10px);
  background:rgba(11,12,15,.66);
  border-bottom:1px solid var(--border);
}

.smw-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.smw-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:240px;
}

.smw-brand img{height:140px;width:auto;display:block}

.smw-navlinks{
  display:flex;
  gap:18px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.smw-navlinks ul{
  display:flex;
  gap:8px;
  list-style:none;
  margin:0;
  padding:0;
  flex-wrap:wrap;
  align-items:center;
}
.smw-navlinks li{margin:0;padding:0}
.smw-navlinks a,
.smw-navlinks li a{
  padding:8px 12px;
  border:1px solid transparent;
  border-radius:10px;
  color:var(--muted);
  font-weight:650;
  letter-spacing:.2px;
  transition:all .15s ease;
  text-decoration:none;
  display:inline-block;
}
.smw-navlinks a:hover,
.smw-navlinks li a:hover{
  border-color:var(--border);
  color:var(--text);
}
.smw-navlinks .current-menu-item a,
.smw-navlinks .current_page_item a{
  color:var(--text);
  border-color:var(--border2);
}

.smw-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--border2);
  background: linear-gradient(135deg, rgba(168,85,247,.18), rgba(236,72,153,.16));
  box-shadow:0 0 0 1px rgba(168,85,247,.08) inset;
  color:var(--text);
  font-weight:750;
}
.smw-btn:hover{opacity:.98}

.smw-hero{
  border-bottom:1px solid var(--border);
}
.smw-hero-wrap{
  padding:44px 0 28px;
}
.smw-hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:26px;
  align-items:stretch;
}

.smw-hero-card{
  background:linear-gradient(180deg, rgba(18,21,33,.90), rgba(18,21,33,.60));
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  position:relative;
}

.smw-hero-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(700px 260px at 20% 0%, rgba(168,85,247,.35), transparent 60%),
    radial-gradient(520px 220px at 90% 20%, rgba(236,72,153,.25), transparent 58%);
  opacity:.9;
  pointer-events:none;
}

.smw-hero-inner{
  position:relative;
  padding:26px;
}

.smw-hero-title{
  margin:0;
  font-size:44px;
  line-height:1.02;
  letter-spacing:-1px;
}
.smw-hero-sub{
  margin:12px 0 0;
  color:var(--muted);
  font-size:16px;
}

.smw-hero-tiles{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:20px;
}
.smw-tile{
  padding:12px 14px;
  border-radius:14px;
  background:rgba(15,18,32,.55);
  border:1px solid var(--border);
}
.smw-tile strong{
  display:block;
  font-size:14px;
  letter-spacing:.2px;
}
.smw-tile span{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:13px;
}

.smw-hero-photo{
  min-height:320px;
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(11,12,15,.22), rgba(11,12,15,.76)),
    url("assets/images/shop-hero.jpg");
  background-size:cover;
  background-position:center;
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
}

.smw-hero-photo::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(500px 220px at 40% 20%, rgba(168,85,247,.18), transparent 60%),
    radial-gradient(520px 260px at 90% 70%, rgba(236,72,153,.12), transparent 60%);
  pointer-events:none;
}

.smw-section{
  padding:34px 0;
}

.smw-section-title{
  margin:0 0 14px;
  font-size:28px;
  letter-spacing:-.5px;
}

.smw-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-weight:750;
  letter-spacing:.25px;
  text-transform:uppercase;
  font-size:12px;
}
.smw-kicker::before{
  content:"";
  width:14px;height:14px;border-radius:4px;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow:0 0 0 1px rgba(255,255,255,.10) inset;
}

.smw-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}

.smw-card{
  background:linear-gradient(180deg, rgba(18,21,33,.70), rgba(18,21,33,.48));
  border:1px solid var(--border);
  border-radius:var(--radius2);
  padding:16px;
}
.smw-card h3{
  margin:0 0 8px;
  font-size:16px;
  letter-spacing:.1px;
}
.smw-card p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

.smw-two{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  align-items:start;
}

.smw-bullets{
  margin:12px 0 0;
  padding:0;
  list-style:none;
}
.smw-bullets li{
  padding:10px 12px;
  background:rgba(15,18,32,.55);
  border:1px solid var(--border);
  border-radius:14px;
  margin-bottom:10px;
  color:var(--text);
  font-weight:650;
}
.smw-bullets li span{
  display:block;
  color:var(--muted);
  font-weight:500;
  margin-top:4px;
}

.smw-gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.smw-shot{
  border-radius:14px;
  border:1px solid var(--border);
  overflow:hidden;
  background:rgba(15,18,32,.55);
  min-height:180px;
  position:relative;
}
.smw-shot img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.smw-shot::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(11,12,15,.06), rgba(11,12,15,.55));
  pointer-events:none;
}

.smw-form{
  display:grid;
  gap:12px;
}
.smw-form label{
  display:block;
  font-weight:700;
  margin-bottom:6px;
  color:var(--text);
}
.smw-field{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  background:rgba(15,18,32,.55);
  border:1px solid var(--border);
  color:var(--text);
  outline:none;
}
.smw-field::placeholder{color:rgba(169,175,192,.8)}

.smw-msg{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(18,21,33,.55);
  color:var(--muted);
  font-weight:650;
}
.smw-msg.success{
  border-color:rgba(34,197,94,.35);
  color:#caffdd;
  background:rgba(34,197,94,.08);
}
.smw-msg.error{
  border-color:rgba(239,68,68,.35);
  color:#ffd0d0;
  background:rgba(239,68,68,.08);
}

.smw-footer{
  padding:22px 0 38px;
  border-top:1px solid var(--border);
  color:var(--muted);
  font-size:13px;
}

/* Responsive */
@media (max-width: 980px){
  .smw-hero-grid{grid-template-columns: 1fr}
  .smw-hero-photo{min-height:260px}
  .smw-grid{grid-template-columns: repeat(2, 1fr)}
  .smw-gallery{grid-template-columns: repeat(2, 1fr)}
  .smw-hero-title{font-size:36px}
}
@media (max-width: 560px){
  .smw-grid{grid-template-columns: 1fr}
  .smw-gallery{grid-template-columns: 1fr}
  .smw-hero-tiles{grid-template-columns:1fr}
  .smw-nav{align-items:flex-start}
  .smw-brand{min-width:0}
}

