/* =====================================================================
   Space theme for the whole site. Loaded AFTER style.css and offer.css.
   It only changes colours, fonts, glow and motion. Text, links and layout rules in style.css still apply.
   Same look as /space-watch/. To switch the theme off, remove the <link> to this file
   (and the starfield <canvas>/<script>) from the pages.
   ===================================================================== */
@font-face { font-family: Orbitron; src: url(space-watch/fonts/orbitron.woff2) format('woff2'); font-weight: 500 800; font-display: swap; }
@view-transition { navigation: auto; }

:root {
  --bg: #05060f;
  --text: #e8ecff;
  --muted: #b9c2e6;
  --brand: #2de2ff;        /* neon cyan: links, borders */
  --brand-dark: #a9f3ff;   /* headings, hover */
  --brand-light: rgba(45, 226, 255, 0.08);
  --accent: rgba(164, 123, 255, 0.14);
  --accent-border: #a47bff;
  --whatsapp: #19c36a;
  --card: rgba(18, 22, 48, 0.72);
  --line: #2a3270;
  --pu: #a47bff;
  --heading-font: Orbitron, Verdana, Tahoma, system-ui, sans-serif;
}
html { background: var(--bg); }
body {
  background: radial-gradient(1200px 700px at 80% -10%, #1b1450 0, transparent 60%),
              radial-gradient(900px 600px at -10% 30%, #07305a 0, transparent 55%), var(--bg);
  min-height: 100vh;
}
#stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; view-transition-name: stars; }
.glow { position: fixed; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(90px); opacity: .14; z-index: 0; pointer-events: none; }
.glow.g1 { background: #2de2ff; left: -20vmax; bottom: -20vmax; }
.glow.g2 { background: #a47bff; right: -20vmax; top: 10vmax; }
.site-header, main, .contact-band, .site-footer { position: relative; z-index: 1; }

a { color: var(--brand); }
a:hover { color: #fff; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #ffd166; outline-offset: 3px; }

h1, h2 { font-family: var(--heading-font); letter-spacing: .02em; color: #fff; text-shadow: 0 0 20px rgba(45, 226, 255, .4); }
h1 { font-size: clamp(1.5rem, 6vw, 2.3rem); }
h2 { font-size: clamp(1.15rem, 4.2vw, 1.5rem); color: var(--brand-dark); text-shadow: 0 0 14px rgba(164, 123, 255, .45); }
h3 { color: var(--brand-dark); }
.lead { color: var(--muted); }

/* header + menu */
.site-header { background: rgba(8, 10, 28, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #2a3270; box-shadow: 0 6px 30px rgba(45, 226, 255, .1); view-transition-name: hdr; }
.brand { font-family: var(--heading-font); letter-spacing: .06em; font-size: 1.15rem; text-shadow: 0 0 14px rgba(45, 226, 255, .7); }
.brand img { border-color: var(--brand); box-shadow: 0 0 14px rgba(45, 226, 255, .6); }
.tagline { color: var(--muted); }
.site-nav a { border: 1px solid #2f3980; background: rgba(18, 22, 48, .6); transition: transform .25s, box-shadow .25s, border-color .25s; }
.site-nav a:hover { background: rgba(45, 226, 255, .12); border-color: var(--brand); box-shadow: 0 0 16px rgba(45, 226, 255, .35); transform: translateY(-2px); }
body[data-page="home"] .site-nav a[data-nav="home"],
body[data-page="windows"] .site-nav a[data-nav="windows"],
body[data-page="cyber"] .site-nav a[data-nav="cyber"],
body[data-page="ai"] .site-nav a[data-nav="ai"],
body[data-page="homeauto"] .site-nav a[data-nav="homeauto"],
body[data-page="websites"] .site-nav a[data-nav="websites"],
body[data-page="contact"] .site-nav a[data-nav="contact"],
body[data-page="spacewatch"] .site-nav a[data-nav="spacewatch"] {
  background: linear-gradient(135deg, #2de2ff, #a47bff); color: #05060f; border-color: transparent; box-shadow: 0 0 18px rgba(45, 226, 255, .5);
}

/* glass panels + lifting cards */
.panel, .callout, .quote-box, blockquote, .cards li, .player .now, .history li, .gallery img {
  background: var(--card); border: 1px solid #2a3270; color: var(--text);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.callout { border-color: rgba(164, 123, 255, .6); box-shadow: 0 0 26px rgba(164, 123, 255, .18); }
.quote-box { border-color: rgba(45, 226, 255, .55); box-shadow: 0 0 26px rgba(45, 226, 255, .14); }
blockquote { border-left: 6px solid var(--brand); }
.cards li:hover, .cards li:focus-within, .cards li:active, .panel:hover, .gallery img:hover {
  transform: translateY(-6px); border-color: var(--brand); box-shadow: 0 10px 34px rgba(45, 226, 255, .22), 0 0 0 1px rgba(164, 123, 255, .4);
}
.cards a { color: var(--text); }
.cards a span { color: var(--brand); }
.cards img { filter: drop-shadow(0 0 8px rgba(45, 226, 255, .3)); }
.hero-img { border: 1px solid #2a3270; box-shadow: 0 0 36px rgba(45, 226, 255, .2); }

/* buttons */
.btn { background: linear-gradient(135deg, #2de2ff, #a47bff); color: #05060f; border: 0; box-shadow: 0 0 18px rgba(45, 226, 255, .3);
  transition: transform .25s, box-shadow .25s, filter .25s; }
.btn:hover, .btn:active { color: #05060f; background: linear-gradient(135deg, #5df0ff, #b997ff); transform: translateY(-2px); box-shadow: 0 0 28px rgba(45, 226, 255, .6); }
.btn-whatsapp { background: linear-gradient(135deg, #19c36a, #2de2ff); }
.btn-whatsapp:hover { background: linear-gradient(135deg, #3be08a, #5df0ff); }
.btn-outline { background: rgba(18, 22, 48, .7); color: var(--brand); border: 2px solid var(--brand); box-shadow: none; }
.btn-outline:hover { background: rgba(45, 226, 255, .15); color: #fff; }

/* contact + footer */
.contact-band { background: rgba(14, 18, 44, .72); border-color: #2a3270; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.site-footer { background: rgba(5, 6, 15, .85); color: var(--muted); border-top: 1px solid #2a3270; }
.site-footer a { color: var(--brand); }
.site-footer a:hover { color: #fff; }

/* silent disco + remote help */
.player .art { background: #0b0f26; box-shadow: 0 0 30px rgba(164, 123, 255, .3); }
.steps li::before { background: linear-gradient(135deg, #2de2ff, #a47bff); color: #05060f; box-shadow: 0 0 14px rgba(45, 226, 255, .5); }

/* offer pop-up (index) */
.offer { background: #0b0e26; color: var(--text); border: 2px solid var(--brand); box-shadow: 0 0 40px rgba(45, 226, 255, .3); }
.offer::backdrop { background: rgba(2, 3, 10, .7); }
.offer { z-index: 1000; } /* keep the pop-up above the page content (which sits above the starfield) */
.offer .offer-price { background: rgba(164, 123, 255, .16); border-left-color: var(--pu); color: #fff; }
.offer-x { background: #121630; color: var(--brand); border-color: var(--brand); }
.offer-x:hover { background: rgba(45, 226, 255, .15); }
.offer-more { background: rgba(18, 22, 48, .8); border-color: #2a3270; }
.offer-more summary { color: var(--brand); }
.offer-more summary:hover { background: rgba(45, 226, 255, .1); }
.offer-nothanks { color: var(--brand); }
.offer-nothanks:hover { color: #fff; background: rgba(45, 226, 255, .1); }

/* page transitions: View Transitions where supported, simple fade-in elsewhere */
::view-transition-old(root) { animation: .28s ease-in both st-out; }
::view-transition-new(root) { animation: .4s ease-out both st-in; }
@keyframes st-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes st-in { from { opacity: 0; transform: translateY(18px); } }
@supports not (view-transition-name: x) { main { animation: st-in .45s ease-out both; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .cards li:hover, .btn:hover, .site-nav a:hover, .panel:hover, .gallery img:hover { transform: none; }
}
