/*
Theme Name: Mizuki Customs
Theme URI: https://example.com/
Author: Mizuki Customs
Description: A custom, dark, neon-lunar WordPress theme for Mizuki Customs Body Work & Tuning Garage.
Version: 2.0.2
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: mizuki-customs
Tags: custom-logo, custom-menu, featured-images, blog
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root{
  --bg:#05060c;
  --surface:rgba(18,20,30,.84);
  --surface2:rgba(18,20,30,.72);
  --text:#f5f7ff;
  --muted:rgba(245,247,255,.72);
  --line:rgba(245,247,255,.12);

  --cyan:#37B6FF;
  --violet:#D14CFF;
  --orange:#FF6A1A;

  --radius:18px;
  --shadow:0 18px 50px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}
a{color:inherit}
img{max-width:100%;height:auto}
.container{max-width:1180px;margin:0 auto;padding:0 22px}

.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{
  left:18px;top:18px;width:auto;height:auto;padding:10px 12px;
  background:rgba(18,20,30,.95);
  border:1px solid var(--line);
  border-radius:12px;
  z-index:9999;
}

/* Header */
.site-header{
  position:sticky;top:0;z-index:50;
  backdrop-filter:blur(12px);
  background:linear-gradient(180deg,rgba(5,6,12,.88),rgba(5,6,12,.55));
  border-bottom:1px solid var(--line);
}
.nav{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;min-width:220px}
.brand img{width:auto;height:auto;object-fit:contain}
.brand .name{font-weight:850;letter-spacing:.4px}
.brand .tag{display:block;font-size:.82rem;color:var(--muted);margin-top:2px}

.menu-toggle{
  display:none;
  background:rgba(245,247,255,.06);
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px 12px;
  color:var(--text);
  font-weight:800;
}
.menu-wrap{display:flex;align-items:center;gap:16px}
.primary-menu{display:flex;gap:18px;align-items:center;list-style:none;padding:0;margin:0}
.primary-menu a{
  display:inline-block;
  padding:10px 10px;
  text-decoration:none;
  color:rgba(245,247,255,.86);
  border-radius:12px;
}
.primary-menu a:hover,
.primary-menu .current-menu-item>a,
.primary-menu .current_page_item>a{background:rgba(245,247,255,.08)}

.nav-cta{display:flex;gap:10px;align-items:center}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 14px;border-radius:14px;
  border:1px solid var(--line);
  background:rgba(245,247,255,.06);
  text-decoration:none;
  font-weight:800;
}
.btn:hover{background:rgba(245,247,255,.10)}
.btn.primary{
  border-color:rgba(55,182,255,.35);
  background:linear-gradient(90deg,rgba(55,182,255,.22),rgba(209,76,255,.16));
}
.btn .dot{
  width:10px;height:10px;border-radius:999px;margin-right:10px;
  background:var(--cyan);
  box-shadow:0 0 18px rgba(55,182,255,.75);
}

/* Hero */
.hero{position:relative;padding:86px 0 56px;overflow:hidden}
.hero::before{
  content:"";position:absolute;inset:-2px;
  background:
    radial-gradient(900px 560px at 18% 25%, rgba(55,182,255,.22), transparent 60%),
    radial-gradient(760px 520px at 78% 35%, rgba(209,76,255,.18), transparent 62%),
    radial-gradient(780px 540px at 66% 82%, rgba(255,106,26,.14), transparent 55%),
    url("assets/img/hero-bg.jpg");
  background-size:cover;background-position:center;
  filter:saturate(1.05);
  transform:scale(1.02);
}
.hero::after{
  content:"";position:absolute;inset:-2px;
  background:
    linear-gradient(180deg, rgba(5,6,12,.15), rgba(5,6,12,.88)),
    url("assets/img/pattern.png");
  opacity:.92;
}
.hero-inner{
  position:relative;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:26px;
  align-items:center;
}
.hero h1{
  margin:0 0 12px;
  font-size:clamp(2.0rem,3.3vw,3.1rem);
  letter-spacing:-.02em;
}
.hero p{
  margin:0 0 22px;
  color:rgba(245,247,255,.78);
  font-size:1.05rem;
  max-width:58ch;
}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.hero-badges{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0}
.badge{
  padding:8px 10px;border-radius:999px;
  border:1px solid var(--line);
  background:rgba(18,20,30,.58);
  color:rgba(245,247,255,.82);
  font-weight:750;font-size:.9rem;
}
.badge.cyan{border-color:rgba(55,182,255,.25)}
.badge.violet{border-color:rgba(209,76,255,.22)}
.badge.orange{border-color:rgba(255,106,26,.22)}

.hero-panel{
  border:1px solid var(--line);
  border-radius:calc(var(--radius) + 6px);
  background:linear-gradient(180deg, rgba(18,20,30,.78), rgba(18,20,30,.62));
  box-shadow:var(--shadow);
  overflow:hidden;
}
.hero-panel .top{
  display:flex;gap:12px;align-items:center;
  padding:16px 16px 12px;
  border-bottom:1px solid rgba(245,247,255,.10);
}
.hero-panel .top img{width:48px;height:48px;object-fit:contain}
.hero-panel .top .kicker{font-size:.86rem;color:var(--muted);margin:0}
.hero-panel .top .title{margin:0;font-weight:900;letter-spacing:.2px}
.hero-panel .body{padding:14px 16px 16px}
.hero-panel ul{margin:0;padding-left:18px;color:rgba(245,247,255,.80)}
.hero-panel li{margin:8px 0}
.hero-panel .meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.pill{
  display:inline-flex;align-items:center;
  padding:7px 10px;border-radius:999px;
  border:1px solid rgba(245,247,255,.12);
  background:rgba(245,247,255,.05);
  font-weight:750;font-size:.88rem;color:rgba(245,247,255,.80)
}
.pill b{color:var(--text)}

/* Sections */
.section{padding:56px 0}
.section h2{margin:0 0 10px;font-size:1.8rem}
.section p.lead{margin:0 0 22px;color:rgba(245,247,255,.76);max-width:70ch}

.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{
  border:1px solid var(--line);
  border-radius:calc(var(--radius) + 6px);
  background:linear-gradient(180deg, rgba(18,20,30,.78), rgba(18,20,30,.62));
  box-shadow:var(--shadow);
  overflow:hidden;
}
.card .inner{padding:18px}
.card .icon{
  width:42px;height:42px;border-radius:14px;
  border:1px solid rgba(245,247,255,.14);
  background:rgba(245,247,255,.05);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:12px;
}
.card h3{margin:0 0 8px;font-size:1.12rem}
.card p{margin:0;color:rgba(245,247,255,.74)}
.card a.more{
  display:inline-flex;align-items:center;
  margin-top:14px;
  text-decoration:none;
  color:rgba(245,247,255,.88);
  font-weight:850;
}
.card a.more .arrow{margin-left:10px;opacity:.85}

.hr{height:1px;background:linear-gradient(90deg, transparent, rgba(245,247,255,.14), transparent);margin:0;border:0}

/* Posts */
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.post-card .thumb{aspect-ratio:16/10;background:rgba(245,247,255,.04);border-bottom:1px solid rgba(245,247,255,.10)}
.post-card .thumb img{width:100%;height:100%;object-fit:cover}
.post-card .inner{padding:16px}
.post-card .meta{color:rgba(245,247,255,.62);font-size:.9rem;margin-bottom:6px}
.post-card h3{margin:0 0 10px}
.post-card h3 a{text-decoration:none}
.post-card p{margin:0;color:rgba(245,247,255,.74)}

.content{max-width:860px}
.content h1,.content h2,.content h3{scroll-margin-top:90px}
.content a{color:rgba(55,182,255,.95)}
.content a:hover{text-decoration:underline}
.content .entry-meta{color:rgba(245,247,255,.62);font-size:.95rem;margin:8px 0 18px}

/* Forms */
.form-row{display:flex;gap:12px;flex-wrap:wrap}
input,textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(245,247,255,.14);
  background:rgba(18,20,30,.60);
  color:var(--text);
  outline:none;
}
textarea{min-height:120px;resize:vertical}
input:focus,textarea:focus{border-color:rgba(55,182,255,.35);box-shadow:0 0 0 4px rgba(55,182,255,.08)}

/* Footer */
.site-footer{
  border-top:1px solid var(--line);
  background:linear-gradient(180deg, rgba(5,6,12,.55), rgba(5,6,12,.92));
  padding:28px 0;
}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;align-items:start}
.footer-small{color:rgba(245,247,255,.68);font-size:.95rem}
.footer-links{display:flex;gap:12px;flex-wrap:wrap}
.footer-links a{
  text-decoration:none;
  padding:8px 10px;border-radius:12px;
  border:1px solid rgba(245,247,255,.10);
  background:rgba(245,247,255,.04);
}
.footer-links a:hover{background:rgba(245,247,255,.08)}

/* Responsive */
@media (max-width:980px){
  .hero-inner{grid-template-columns:1fr;gap:18px}
  .grid3{grid-template-columns:1fr}
  .post-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .brand{min-width:unset}
  .menu-toggle{display:inline-flex}
  .menu-wrap{position:relative}
  .primary-menu{
    position:absolute;right:0;top:52px;
    flex-direction:column;align-items:stretch;
    background:rgba(12,14,22,.96);
    border:1px solid rgba(245,247,255,.12);
    border-radius:18px;
    padding:10px;
    min-width:220px;
    box-shadow:var(--shadow);
    display:none;
  }
  .primary-menu.is-open{display:flex}
  .primary-menu a{padding:10px 12px}
}


/* Gallery */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.gallery-grid a{
  display:block;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(245,247,255,.12);
  background: rgba(245,247,255,.03);
}
.gallery-grid img{
  width:100%;
  height:260px;
  object-fit:cover;
  display:block;
  filter:saturate(1.05);
}
.gallery-grid a:hover img{transform:scale(1.02);transition:transform .2s ease}

/* Reviews */
.review{
  display:grid;
  grid-template-columns: 56px 1fr;
  gap:14px;
  align-items:start;
}
.avatar{
  width:56px;height:56px;border-radius:16px;
  border:1px solid rgba(245,247,255,.12);
  background: radial-gradient(70% 70% at 35% 30%, rgba(55,182,255,.25), rgba(245,247,255,.04));
}
.stars{letter-spacing:2px;color:rgba(255,106,26,.95)}
.review .who{font-weight:900}
.review .when{color:rgba(245,247,255,.62);font-size:.92rem;margin-top:2px}
.review .text{color:rgba(245,247,255,.78);margin-top:10px}

/* Pricing */
.pricing-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}
.price{
  font-size:2.0rem;
  font-weight:950;
  letter-spacing:-.02em;
  margin:8px 0 6px;
}
.price small{font-size:1rem;color:rgba(245,247,255,.70);font-weight:700}
.feature-list{margin:12px 0 0;padding-left:18px;color:rgba(245,247,255,.78)}
.feature-list li{margin:8px 0}
.card.highlight{
  border-color: rgba(55,182,255,.28);
  box-shadow: 0 0 0 4px rgba(55,182,255,.06), var(--shadow);
}

/* Dyno */
.dyno-grid{
  display:grid;
  grid-template-columns: 1.4fr .6fr;
  gap:18px;
  align-items:start;
}
.dyno-stats{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
}
.stat{
  border:1px solid rgba(245,247,255,.12);
  border-radius:18px;
  padding:14px;
  background: rgba(18,20,30,.55);
}
.stat .k{color:rgba(245,247,255,.66);font-weight:800;font-size:.92rem}
.stat .v{font-weight:950;font-size:1.5rem;margin-top:6px}
@media (max-width:980px){
  .gallery-grid{grid-template-columns:1fr}
  .pricing-grid{grid-template-columns:1fr}
  .dyno-grid{grid-template-columns:1fr}
}


/* Dyno cards */
.dyno-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:18px}
.dyno-card .meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.dyno-tag{
  display:inline-flex;align-items:center;
  padding:7px 10px;border-radius:999px;
  border:1px solid rgba(245,247,255,.12);
  background:rgba(245,247,255,.05);
  font-weight:800;font-size:.88rem;color:rgba(245,247,255,.80)
}
.dyno-tag b{color:var(--text)}
.dyno-card h3{margin:0 0 8px}
.dyno-card .sub{color:rgba(245,247,255,.68);margin:0}
@media (max-width:980px){
  .dyno-cards{grid-template-columns:1fr}
}

/* Gallery items (CPT) */
.gallery-cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:18px;
}
.gallery-card .meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
@media (max-width:980px){
  .gallery-cards{grid-template-columns:1fr}
}

/* Reviews (CPT) */
.reviews-stack{display:grid;gap:14px;margin-top:18px}
.review-card .topline{display:flex;align-items:center;justify-content:space-between;gap:12px}
.review-card .who{font-weight:950}
.review-card .stars{letter-spacing:2px;color:rgba(255,106,26,.95);font-weight:900}
.review-card .sub{color:rgba(245,247,255,.62);font-size:.92rem;margin-top:4px}
.review-card .text{color:rgba(245,247,255,.78);margin-top:10px}


/* Small chips (social links) */
.chip{
  display:inline-flex;align-items:center;justify-content:center;
  padding:8px 10px;border-radius:999px;
  border:1px solid rgba(245,247,255,.12);
  background:rgba(245,247,255,.04);
  text-decoration:none;
  font-weight:900;
  font-size:.86rem;
  color:rgba(245,247,255,.82);
}
.chip:hover{background:rgba(245,247,255,.08)}
.nav-social{display:flex;gap:8px;align-items:center}
@media (max-width:980px){
  .nav-social{display:none}
}

/* Better hero rhythm */
.hero p{font-size:1.08rem}
.hero h1 .accent{
  background:linear-gradient(90deg, rgba(55,182,255,.95), rgba(209,76,255,.92), rgba(255,106,26,.92));
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.kpi-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}
.kpi{
  border:1px solid rgba(245,247,255,.12);
  border-radius:16px;
  padding:10px 12px;
  background:rgba(18,20,30,.50);
}
.kpi b{font-weight:950}
.kpi span{color:rgba(245,247,255,.68)}

/* Section header bar */
.section-head{display:flex;align-items:end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.section-head .actions{display:flex;gap:10px;flex-wrap:wrap}
.section-head .actions a{white-space:nowrap}

/* Gallery filter chips */
.filter-row{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 18px}
.filter-row button{
  cursor:pointer;
  border:1px solid rgba(245,247,255,.12);
  background:rgba(245,247,255,.04);
  color:rgba(245,247,255,.86);
  padding:8px 10px;
  border-radius:999px;
  font-weight:900;
}
.filter-row button.is-active{
  border-color:rgba(55,182,255,.35);
  background:linear-gradient(90deg,rgba(55,182,255,.18),rgba(209,76,255,.14));
}


/* Logo sizing */
.site-logo img{
  max-height: 92px;
  width: auto;
}

@media (max-width:980px){
  .site-logo img{
  max-height: 92px;
  width: auto;
}

}


/* Header breathing room for larger logo */
.nav{padding-top:14px;padding-bottom:14px}



/* Bigger logo (force override for WP inline sizes) */
.site-logo{display:flex;align-items:center;gap:12px}
.custom-logo-link, .site-logo .custom-logo-link{display:inline-flex;align-items:center}
.custom-logo-link img, .site-logo img, img.custom-logo{
  max-height: 120px !important;
  height: 120px !important;
  width: auto !important;
}
@media (max-width:980px){
  .custom-logo-link img, .site-logo img, img.custom-logo{
    max-height: 86px !important;
    height: 86px !important;
  }
}
/* Give header more vertical room */
.nav{padding-top:18px;padding-bottom:18px}


/* FORCE logo size (overrides theme defaults + WP inline sizing) */
.brand .site-logo img,
.brand .custom-logo-link img,
.brand img.custom-logo{
  max-height: 120px !important;
  height: 120px !important;
  width: auto !important;
}
@media (max-width:980px){
  .brand .site-logo img,
  .brand .custom-logo-link img,
  .brand img.custom-logo{
    max-height: 86px !important;
    height: 86px !important;
  }
}
