/* ============================================================
   ZIAMINA ELECTRIC — Main Stylesheet
   ============================================================ */
:root {
  --red:       #E01F0A;
  --red2:      #FF3B1F;
  --red-glow:  rgba(224,31,10,0.35);
  --blue:      #5BC8F5;
  --blue2:     #3AA8D8;
  --blue-glow: rgba(91,200,245,0.25);
  --bg:        #030608;
  --bg2:       #07101A;
  --bg3:       #0C1A28;
  --bg4:       #111F2E;
  --border:    rgba(91,200,245,0.14);
  --border-r:  rgba(224,31,10,0.20);
  --text:      #E4F2FF;
  --text2:     #A8C2D6;
  --text3:     #8AA3B8;
  --font-hud:  'Orbitron', monospace;
  --font-body: 'Space Grotesk', sans-serif;
  --font-ui:   'Inter', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body { background:var(--bg); color:var(--text); font-family:var(--font-body); overflow-x:hidden; }
img  { max-width:100%; height:auto; display:block; }
a    { color:inherit; text-decoration:none; }
ul   { list-style:none; }
button { cursor:pointer; font-family:inherit; }

/* ── Scanline overlay (very subtle, only on hero area for atmosphere) ── */
#hero::after {
  content:''; pointer-events:none; position:absolute; inset:0; z-index:1;
  background:repeating-linear-gradient(0deg,transparent,transparent 3px,rgba(0,0,0,0.015) 3px,rgba(0,0,0,0.015) 4px);
}

/* ── NAV ── */
.navbar {
  position:fixed; top:0; width:100%; z-index:400;
  height:72px; display:flex; align-items:center; padding:0 5%;
  background:rgba(3,6,8,0.90);
  backdrop-filter:blur(16px) saturate(160%);
  border-bottom:1px solid var(--border);
  gap:2rem;
}
.navbar::after {
  content:''; position:absolute; bottom:0; left:0; right:0; height:1px;
  background:linear-gradient(90deg,transparent 0%,var(--red) 30%,var(--blue) 70%,transparent 100%);
  opacity:.40;
}
.nav-logo { display:flex; align-items:center; gap:14px; flex-shrink:0; }
.nav-logo img { height:46px; width:auto; filter:drop-shadow(0 0 10px var(--red-glow)); }
.nav-logo-text { font-family:var(--font-hud); font-size:13px; letter-spacing:4px; line-height:1.2; }
.nav-logo-text .red { color:var(--red); }
.nav-center { flex:1; display:flex; justify-content:center; }
.nav-links   { display:flex; gap:2.5rem; }
.nav-links a {
  font-family:var(--font-ui); font-size:11px; letter-spacing:2.5px; text-transform:uppercase;
  color:var(--text2); transition:color .2s; position:relative; padding-bottom:3px;
}
.nav-links a::after {
  content:''; position:absolute; bottom:0; left:0; width:0; height:1px;
  background:var(--blue); transition:width .3s;
}
.nav-links a:hover, .nav-links a.active { color:var(--blue); }
.nav-links a:hover::after, .nav-links a.active::after { width:100%; }
.nav-right { display:flex; align-items:center; gap:.75rem; flex-shrink:0; }

/* Language switcher */
.lang-sw { display:flex; gap:4px; }
.lang-btn {
  font-family:var(--font-hud); font-size:9px; letter-spacing:2px;
  padding:5px 10px; border:1px solid var(--border); background:transparent;
  color:var(--text3); transition:.2s;
}
.lang-btn.active, .lang-btn:hover {
  border-color:var(--blue); color:var(--blue); background:rgba(91,200,245,.06);
}

/* CTA button */
.btn-cta {
  font-family:var(--font-hud); font-size:9px; letter-spacing:2.5px; text-transform:uppercase;
  padding:10px 20px; border:1px solid var(--red); background:transparent;
  color:var(--red); transition:.25s; white-space:nowrap;
  clip-path:polygon(8px 0%,100% 0%,100% calc(100% - 8px),calc(100% - 8px) 100%,0% 100%,0% 8px);
}
.btn-cta:hover { background:var(--red); color:var(--text); box-shadow:0 0 24px var(--red-glow); }

/* Burger */
.nav-burger { display:none; flex-direction:column; gap:5px; padding:4px; background:none; border:none; }
.nav-burger span { width:22px; height:1px; background:var(--text); transition:.3s; display:block; }

/* Mobile nav */
.nav-mobile {
  display:none; position:fixed; top:72px; left:0; width:100%;
  background:rgba(3,6,8,.97); border-bottom:1px solid var(--border);
  padding:1.5rem 5%; flex-direction:column; gap:1.2rem; z-index:399;
}
.nav-mobile.open { display:flex; }
.nav-mobile a {
  font-family:var(--font-ui); font-size:13px; letter-spacing:2px; text-transform:uppercase;
  color:var(--text2); border-bottom:1px solid var(--border); padding-bottom:.8rem;
}

/* ── Buttons ── */
.btn-primary {
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-hud); font-size:9px; letter-spacing:2.5px; text-transform:uppercase;
  padding:14px 28px; background:var(--red); color:var(--text); border:1px solid var(--red);
  transition:.25s; white-space:nowrap;
  clip-path:polygon(10px 0%,100% 0%,100% calc(100% - 10px),calc(100% - 10px) 100%,0% 100%,0% 10px);
}
.btn-primary:hover { background:var(--red2); box-shadow:0 0 30px var(--red-glow); }

.btn-outline {
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-hud); font-size:9px; letter-spacing:2.5px; text-transform:uppercase;
  padding:14px 28px; background:transparent; color:var(--blue); border:1px solid var(--border);
  transition:.25s; white-space:nowrap;
  clip-path:polygon(10px 0%,100% 0%,100% calc(100% - 10px),calc(100% - 10px) 100%,0% 100%,0% 10px);
}
.btn-outline:hover { border-color:var(--blue); background:rgba(91,200,245,.07); }

/* ── Section layout ── */
.section { padding:100px 5%; }
.section-inner { max-width:1300px; margin:0 auto; }
.section-header { margin-bottom:3.5rem; }
.eyebrow {
  font-family:var(--font-hud); font-size:9px; letter-spacing:4px; text-transform:uppercase;
  color:var(--blue); display:flex; align-items:center; gap:10px; margin-bottom:.9rem;
}
.eyebrow::before { content:'//'; color:var(--red); }
.section-title {
  font-family:var(--font-hud); font-size:clamp(30px,4vw,52px);
  letter-spacing:2px; line-height:1; color:var(--text);
}
.section-title .accent { color:var(--red); }
.section-line {
  width:56px; height:2px; margin-top:1.4rem;
  background:linear-gradient(90deg,var(--red),var(--blue));
}
.section-desc { font-size:15px; color:var(--text2); line-height:1.75; max-width:620px; margin-top:1rem; }

/* ── Footer ── */
footer {
  background:var(--bg2); padding:3.5rem 5% 2rem;
  border-top:1px solid var(--border);
}
.footer-top {
  max-width:1300px; margin:0 auto;
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:3rem;
}
.footer-logo-txt { font-family:var(--font-hud); font-size:16px; letter-spacing:4px; margin-bottom:.75rem; }
.footer-logo-txt .red { color:var(--red); }
.footer-tagline { font-size:12px; color:var(--text3); line-height:1.7; max-width:280px; font-family:var(--font-ui); }
.footer-social { display:flex; gap:8px; margin-top:1.25rem; }
.soc-btn {
  width:34px; height:34px; border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  color:var(--text3); font-size:13px; font-family:var(--font-hud); transition:.2s;
}
.soc-btn:hover { border-color:var(--blue); color:var(--blue); }
.footer-col h4 {
  font-family:var(--font-hud); font-size:9px; letter-spacing:3px; text-transform:uppercase;
  color:var(--blue); margin-bottom:1rem;
}
.footer-col li { margin-bottom:.5rem; }
.footer-col a { font-size:12px; color:var(--text3); font-family:var(--font-ui); transition:.2s; }
.footer-col a:hover { color:var(--red); }
.footer-bottom {
  max-width:1300px; margin:2.5rem auto 0; padding-top:1.5rem;
  border-top:1px solid var(--border);
  display:flex; justify-content:space-between; align-items:center;
  font-family:var(--font-hud); font-size:9px; letter-spacing:2px; color:var(--text3);
}
.footer-bottom a { color:var(--text3); }
.footer-bottom a:hover { color:var(--blue); }

/* ── Scroll-to-top ── */
.scroll-top {
  position:fixed; bottom:2rem; right:2rem; z-index:300;
  width:42px; height:42px; background:var(--red); border:none;
  color:var(--text); font-size:18px; display:none; align-items:center; justify-content:center;
  clip-path:polygon(8px 0%,100% 0%,100% calc(100% - 8px),calc(100% - 8px) 100%,0% 100%,0% 8px);
  box-shadow:0 0 18px var(--red-glow); transition:.2s;
}
.scroll-top.visible { display:flex; }
.scroll-top:hover   { background:var(--red2); }

/* ── Responsive ── */
@media(max-width:1024px){
  .nav-center { display:none; }
  .btn-cta    { display:none; }
  .nav-burger { display:flex; }
  .section    { padding:72px 5%; }
  .section-header { margin-bottom:2.5rem; }
  .footer-top { grid-template-columns:1fr 1fr; }
}
@media(max-width:768px){
  .navbar     { gap:1rem; padding:0 4%; height:64px; }
  .nav-logo img { height:38px; }
  .nav-logo-text { font-size:11px; letter-spacing:3px; }
  .section    { padding:56px 4%; }
  .section-header { margin-bottom:2rem; }
  footer      { padding:2.5rem 4% 1.5rem; }
}
@media(max-width:640px){
  .footer-top { grid-template-columns:1fr; gap:2rem; }
  .footer-bottom { flex-direction:column; gap:.5rem; text-align:center; }
  .section    { padding:48px 4%; }
  .btn-primary, .btn-outline { padding:12px 22px; font-size:10px; letter-spacing:2px; }
  .scroll-top { bottom:1rem; right:1rem; width:38px; height:38px; }
}
