/*
Theme Name: EV Charger
Theme URI: https://example.com/
Author: Custom Development
Description: Custom lightweight WordPress theme for an electric vehicle charging, repair and consulting company.
Version: 1.0.0
Text Domain: ev-charger
*/

:root {
  --ev-bg: #071114;
  --ev-bg-soft: #0c1a1e;
  --ev-card: #102126;
  --ev-card-2: #142a30;
  --ev-text: #f5fbfb;
  --ev-muted: #a8bbbf;
  --ev-cyan: #19e6d0;
  --ev-green: #64f05a;
  --ev-border: rgba(255,255,255,.10);
  --ev-radius: 22px;
  --ev-container: 1180px;
  --ev-shadow: 0 24px 70px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ev-bg);
  color: var(--ev-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }
.container { width: min(var(--ev-container), calc(100% - 40px)); margin-inline: auto; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  background: rgba(7,17,20,.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: .25s ease;
}
.site-header.is-scrolled { background: rgba(7,17,20,.94); border-color: var(--ev-border); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.03em; }
.site-brand img { width: 48px; height: 48px; object-fit: contain; border-radius: 12px; }
.brand-text { display: grid; line-height: 1; }
.brand-name { font-size: 1rem; }
.brand-tag { color: var(--ev-cyan); font-size: .66rem; margin-top: 5px; letter-spacing: .12em; text-transform: uppercase; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 28px; padding: 0; margin: 0; }
.main-nav a { color: #d7e4e5; font-size: .92rem; font-weight: 650; transition: color .2s ease; }
.main-nav a:hover { color: var(--ev-cyan); }
.header-cta { padding: 11px 18px; border: 1px solid rgba(25,230,208,.35); border-radius: 999px; background: rgba(25,230,208,.10); color: #fff !important; }
.menu-toggle { display: none; border: 1px solid var(--ev-border); background: rgba(255,255,255,.04); color: white; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 165px 0 90px; min-height: 760px; display: grid; align-items: center; }
.hero::before { content:""; position:absolute; width:650px; height:650px; border-radius:50%; background: radial-gradient(circle, rgba(25,230,208,.15), transparent 68%); top:-250px; right:-180px; pointer-events:none; }
.hero::after { content:""; position:absolute; width:500px; height:500px; border-radius:50%; background: radial-gradient(circle, rgba(100,240,90,.08), transparent 68%); bottom:-260px; left:-160px; pointer-events:none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 70px; }
.eyebrow { display:inline-flex; align-items:center; gap:9px; color:var(--ev-cyan); font-weight:800; font-size:.78rem; text-transform:uppercase; letter-spacing:.14em; }
.eyebrow::before { content:""; width:28px; height:2px; background: linear-gradient(90deg,var(--ev-cyan),var(--ev-green)); }
.hero h1 { margin: 18px 0; font-size: clamp(3rem, 6vw, 5.9rem); line-height: .94; letter-spacing: -.065em; max-width: 760px; }
.hero h1 span { color: var(--ev-cyan); }
.hero-lead { color: var(--ev-muted); font-size: clamp(1rem, 1.5vw, 1.18rem); max-width: 650px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:13px; margin-top:30px; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:50px; padding:0 21px; border-radius:999px; font-weight:800; border:1px solid transparent; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color:#041012; background: linear-gradient(135deg,var(--ev-cyan),#72f7b2); box-shadow:0 12px 35px rgba(25,230,208,.17); }
.btn-secondary { background: rgba(255,255,255,.04); border-color: var(--ev-border); color:white; }
.hero-note { margin-top:18px; color:#799093; font-size:.82rem; }
.hero-visual { position:relative; min-height:490px; display:grid; place-items:center; }
.hero-orbit { position:absolute; width:440px; height:440px; border:1px solid rgba(25,230,208,.16); border-radius:50%; box-shadow: inset 0 0 80px rgba(25,230,208,.04); }
.hero-orbit::before, .hero-orbit::after { content:""; position:absolute; border-radius:50%; background:var(--ev-cyan); box-shadow:0 0 25px rgba(25,230,208,.8); }
.hero-orbit::before { width:8px; height:8px; top:45px; left:74px; }
.hero-orbit::after { width:6px; height:6px; right:35px; bottom:90px; background:var(--ev-green); }
.hero-device { position:relative; width:min(100%,500px); padding:18px; border-radius:30px; background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.035)); border:1px solid rgba(255,255,255,.13); box-shadow:var(--ev-shadow); transform:rotate(-3deg); }
.hero-device img { width:100%; aspect-ratio:1; object-fit:cover; object-position:center; border-radius:20px; filter:saturate(.9) contrast(1.03); }
.hero-device-badge { position:absolute; right:-22px; bottom:32px; padding:13px 16px; border-radius:16px; background:#0b191d; border:1px solid rgba(25,230,208,.28); box-shadow:0 18px 45px rgba(0,0,0,.35); }
.hero-device-badge strong { display:block; font-size:1.05rem; }
.hero-device-badge small { color:var(--ev-muted); }

/* Generic sections */
.section { padding:100px 0; }
.section-header { display:flex; align-items:end; justify-content:space-between; gap:30px; margin-bottom:45px; }
.section-kicker { color:var(--ev-cyan); font-size:.75rem; font-weight:850; text-transform:uppercase; letter-spacing:.14em; }
.section h2 { margin:8px 0 0; font-size:clamp(2.1rem,4vw,3.55rem); line-height:1.02; letter-spacing:-.05em; }
.section-intro { max-width:570px; color:var(--ev-muted); }

.service-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.service-card { position:relative; min-height:280px; padding:30px; border:1px solid var(--ev-border); border-radius:var(--ev-radius); background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018)); overflow:hidden; transition:.25s ease; }
.service-card:hover { transform:translateY(-6px); border-color:rgba(25,230,208,.32); box-shadow:var(--ev-shadow); }
.service-icon { width:52px; height:52px; display:grid; place-items:center; border-radius:15px; color:var(--ev-cyan); background:rgba(25,230,208,.10); border:1px solid rgba(25,230,208,.18); font-size:1.4rem; }
.service-card h3 { margin:24px 0 10px; font-size:1.35rem; }
.service-card p { margin:0; color:var(--ev-muted); }
.service-link { position:absolute; left:30px; bottom:26px; color:white; font-weight:800; font-size:.9rem; }
.service-link:hover { color:var(--ev-cyan); }

.audience { background:var(--ev-bg-soft); }
.audience-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:15px; }
.audience-card { padding:25px; border-radius:18px; border:1px solid var(--ev-border); background:rgba(255,255,255,.025); }
.audience-card strong { display:block; margin-bottom:8px; }
.audience-card span { color:var(--ev-muted); font-size:.9rem; }

.process-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:0; }
.process-item { position:relative; padding:25px 20px 10px; border-top:1px solid var(--ev-border); }
.process-item::before { content:""; position:absolute; top:-5px; left:20px; width:9px; height:9px; border-radius:50%; background:var(--ev-cyan); box-shadow:0 0 0 6px rgba(25,230,208,.08); }
.process-number { color:var(--ev-cyan); font-weight:900; font-size:.75rem; }
.process-item h3 { font-size:1.05rem; margin:12px 0 6px; }
.process-item p { color:var(--ev-muted); font-size:.86rem; margin:0; }

.project-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.project-card { overflow:hidden; border:1px solid var(--ev-border); border-radius:20px; background:rgba(255,255,255,.035); }
.project-image { aspect-ratio:4/3; background:linear-gradient(135deg,#102b31,#071114); }
.project-content { padding:20px; }
.project-content h3 { margin:0 0 7px; }
.project-content p { color:var(--ev-muted); margin:0; font-size:.9rem; }

.cta { padding:85px 0; }
.cta-box { position:relative; overflow:hidden; padding:65px; border-radius:30px; background:linear-gradient(125deg,#0e292e,#0b171a); border:1px solid rgba(25,230,208,.18); }
.cta-box::after { content:""; position:absolute; width:420px; height:420px; right:-170px; top:-180px; border-radius:50%; background:radial-gradient(circle,rgba(25,230,208,.18),transparent 68%); }
.cta-box > * { position:relative; z-index:1; }
.cta-box h2 { max-width:750px; margin:0 0 15px; font-size:clamp(2.2rem,4vw,4rem); line-height:1; letter-spacing:-.05em; }
.cta-box p { max-width:650px; color:var(--ev-muted); }

.site-footer { padding:60px 0 25px; border-top:1px solid var(--ev-border); background:#050d10; }
.footer-grid { display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:40px; }
.footer-title { font-weight:850; margin-bottom:13px; }
.footer-links { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.footer-links a, .footer-copy, .footer-description { color:var(--ev-muted); font-size:.88rem; }
.footer-bottom { margin-top:45px; padding-top:20px; border-top:1px solid var(--ev-border); display:flex; justify-content:space-between; gap:20px; }

@media (max-width: 1000px) {
  .main-nav { display:none; position:absolute; top:82px; left:20px; right:20px; padding:18px; border:1px solid var(--ev-border); border-radius:18px; background:#091619; box-shadow:var(--ev-shadow); }
  .main-nav.is-open { display:block; }
  .main-nav ul { flex-direction:column; align-items:stretch; gap:5px; }
  .main-nav a { display:block; padding:12px; }
  .menu-toggle { display:block; }
  .hero-grid { grid-template-columns:1fr; gap:35px; }
  .hero { padding-top:135px; }
  .hero-visual { min-height:430px; }
  .audience-grid { grid-template-columns:repeat(2,1fr); }
  .process-grid { grid-template-columns:repeat(3,1fr); gap:20px; }
  .process-item { border-top:0; border-left:1px solid var(--ev-border); }
  .process-item::before { top:20px; left:-5px; }
  .footer-grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 700px) {
  .container { width:min(var(--ev-container),calc(100% - 28px)); }
  .header-inner { min-height:72px; }
  .site-brand img { width:42px; height:42px; }
  .header-cta { display:none; }
  .hero { padding:115px 0 60px; min-height:auto; }
  .hero h1 { font-size:clamp(2.65rem,14vw,4.2rem); }
  .hero-visual { min-height:350px; }
  .hero-orbit { width:300px; height:300px; }
  .hero-device { width:88%; }
  .hero-device-badge { right:-5px; bottom:15px; }
  .section { padding:70px 0; }
  .section-header { display:block; margin-bottom:30px; }
  .service-grid, .project-grid { grid-template-columns:1fr; }
  .audience-grid { grid-template-columns:1fr 1fr; }
  .process-grid { grid-template-columns:1fr; gap:0; }
  .process-item { border-left:0; border-top:1px solid var(--ev-border); padding:25px 10px 25px 28px; }
  .process-item::before { top:29px; left:0; }
  .cta-box { padding:38px 25px; border-radius:24px; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { transition:none !important; animation:none !important; }
}
