/* ============================================================
   SINDVIN — 2026 MODERN THEME
   Pure look-and-feel layer. No markup or logic changed.
   To revert: in index.html, disable this file + re-enable the
   2014 stylesheet block. Originals are untouched on disk.
   ============================================================ */

:root{
  --bg:#05080f;          /* black with a blue undertone */
  --ink:#f3f6fc;
  --muted:#9fb2d0;       /* blue-grey */
  --a1:#2f7bff;          /* blue   */
  --a2:#37c6f0;          /* cyan-blue (matches the logo accent) */
  --line:rgba(120,160,230,.16);
  --glass:rgba(8,13,24,.6);
}

*{ box-sizing:border-box; }

html,body{
  margin:0; padding:0; height:100%;
  background:var(--bg); color:var(--ink);
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
::selection{ background:rgba(124,92,255,.45); color:#fff; }

/* ---------- layout shells (strip old template constraints) ---------- */
.body1,.body2,.main{ width:100%; max-width:none; margin:0; padding:0; background:none; float:none; }
.body1{ position:relative; min-height:100vh; }
.main{ position:relative; }

/* ---------- top header band: logo (left) + nav (right) ---------- */
/* ---------- TOP BAR ---------- */
header{
  position:fixed; top:0; left:0; right:0; z-index:60;
  height:64px; display:flex; align-items:center; justify-content:space-between;
  padding:0 30px; margin:0;
  /* mostly transparent so it blends into the page, with a soft dark halo
     behind the left-side logo so the white logo stays readable on light photos */
  background:radial-gradient(180px 80px at 95px 50%, rgba(5,8,15,.80) 0%, rgba(5,8,15,.45) 45%, transparent 78%);
  border-bottom:none;
  box-shadow:none;
}
header h1{ margin:0; }
.topbar-tag{
  font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:12px;
  letter-spacing:.16em; text-transform:uppercase; color:#1f7bff;
}
@media(max-width:600px){ .topbar-tag{ display:none; } }
/* original logo colors (dark text + blue bars) — reads on the light top bar */
#logo img{
  height:32px; width:auto; display:block;
}

/* leaning vertical tabs fanned across the BOTTOM-RIGHT corner — original 2014
   geometry (rotate ~60°, overlapping, anchored to the bottom edge), polished. */
/* z-index 52 = BELOW the bottom bar (54), so the tab bases tuck behind it
   and the tabs look like they pop up out of the partners bar. */
#bx-pager{
  position:fixed; right:10px; bottom:104px; transform:none;
  z-index:52; padding:0; margin:0; background:none; backdrop-filter:none; border:none; height:auto;
}

/* red "click a tab" hint with an arrow pointing at the fanned tabs */
.tab-hint{
  position:fixed; right:210px; bottom:260px; z-index:70;
  display:flex; flex-direction:column; align-items:flex-end; gap:6px;
  color:#ff2d2d; font-family:'Space Grotesk',sans-serif; font-weight:700;
  font-size:16px; letter-spacing:.02em; pointer-events:none;
  text-shadow:0 1px 8px rgba(0,0,0,.6);
  animation:tab-hint-pulse 1.2s ease-in-out infinite;
}
.tab-hint__text{ white-space:nowrap; }
.tab-hint__arrow{ width:22px; height:16px; align-self:center; filter:drop-shadow(0 1px 4px rgba(0,0,0,.5)); }
@keyframes tab-hint-pulse{
  0%,100%{ opacity:1; transform:translate(0,0); }
  50%{ opacity:.55; transform:translate(6px,6px); }
}
@media(max-width:600px){ .tab-hint{ right:auto; left:16px; bottom:160px; font-size:14px; } }
.navi.chunky,.navi{
  display:flex; align-items:flex-end; gap:0;
  list-style:none; margin:0; padding:0; background:none; border:none; width:auto; height:auto;
}
.navi li{ list-style:none; margin:0; padding:0; background:none; border:none; float:none; }
.navi li + li{ margin-left:-180px; }                  /* overlap → ~60px fan step */

.navi li a{
  display:block; width:240px; height:46px; line-height:46px; padding:0 22px; text-align:left;
  color:#eef; text-decoration:none; white-space:nowrap;
  font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:14px; letter-spacing:.02em;
  border-radius:12px;
  background:linear-gradient(180deg, rgba(42,42,62,.97), rgba(17,17,28,.98));
  border:1px solid rgba(255,255,255,.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),     /* top sheen — the "chunky" highlight */
    0 8px 22px rgba(0,0,0,.5);               /* drop shadow — raised feel */
  transform:rotate(60deg); transform-origin:center bottom;   /* the lean (original used 60deg) */
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.navi li a:hover{
  color:#fff; transform:rotate(60deg) scale(1.05); transform-origin:center bottom;
  border-color:rgba(255,255,255,.26);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.20),
    0 12px 30px rgba(0,0,0,.6);
}
.navi a.active{
  color:#fff; transform:rotate(60deg) scale(1.06); transform-origin:center bottom;
  background:linear-gradient(180deg, #3aa0ff 0%, #2f6fe5 100%);  /* polished take on the original blue */
  border-color:rgba(255,255,255,.32);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    0 12px 30px rgba(47,111,229,.55);
}
@media(max-width:720px){
  #bx-pager{ right:6px; }
  .navi li a{ width:172px; height:38px; line-height:38px; font-size:11px; }
  .navi li + li{ margin-left:-128px; }
}

/* ---------- slideshow: full-bleed cinematic slides ---------- */
#content{ position:relative; }
#content .bxslider{ min-height:100vh; }
#content .bxslider .slide{
  position:absolute; inset:0; min-height:100vh;
  display:flex; align-items:center;
  margin:0; padding:0; list-style:none; background:none;
}
/* per-slide background image (same image each slide used in 2014) */
#content .slide::before{
  content:""; position:absolute; inset:0; z-index:0;
  background-size:cover; background-position:center; background-repeat:no-repeat;
  filter:brightness(.58) saturate(.92);   /* dim the photo so text stays legible */
}
.page1::before{ background-image:url(../images/page2.jpg); }
.page2::before{ background-image:url(../images/page1.jpg); }
.page3::before{ background-image:url(../images/page3.jpg); }
.page4::before{ background-image:url(../images/page4.jpg); }
.page5::before{ background-image:url(../images/page5.jpg); }
/* readability overlay */
#content .slide::after{
  content:""; position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(90deg, rgba(4,7,15,.95) 0%, rgba(4,7,15,.80) 50%, rgba(4,7,15,.55) 100%),
    radial-gradient(120% 90% at 82% 18%, rgba(47,123,255,.16), transparent 60%);
}
/* subtle ken-burns on the active slide's image */
#content .slide.active::before{ animation:kb 10s ease-out both; }
@keyframes kb{ from{ transform:scale(1.04); } to{ transform:scale(1.14); } }

/* content block sits above image + overlay */
.cont{
  position:relative; z-index:2;
  width:100%; max-width:1180px; margin:0 auto; padding:0 clamp(24px,6vw,80px);
  color:var(--muted);
  font-family:'Inter',sans-serif; font-weight:400; font-size:clamp(17px,2.1vw,21px); line-height:1.75;
}
.slide.active .cont{ animation:rise .85s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise{ from{ opacity:0; transform:translateY(26px); } to{ opacity:1; transform:none; } }

.title{ display:none; }   /* was an empty decorative node */

/* ---------- slide 1: the "street developers" hero ---------- */
.page1 .cont{ max-width:880px; }
.page1 .cont strong{ color:var(--ink); }
.page1 .cont strong:first-of-type{
  display:block; margin:0 0 26px;
  font-family:'Space Grotesk',sans-serif; font-weight:700;
  font-size:clamp(40px,7.5vw,82px); line-height:1.02; letter-spacing:-.02em;
  background:linear-gradient(115deg,#ffffff 28%,var(--a2) 78%,var(--a1));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
/* the "Come join us… hit contact us tab" line → modern pill */
.page1 .cont strong[style]{
  display:inline-block; margin-top:30px;
  font-family:'Space Grotesk',sans-serif !important; font-weight:600 !important;
  font-size:clamp(13px,1.6vw,16px) !important; letter-spacing:.05em; line-height:1 !important;
  color:#fff; padding:14px 24px; border-radius:999px;
  border:1px solid var(--line); background:rgba(255,255,255,.05);
}

/* ---------- slide 2: New releases — long project list, keep it all visible ---------- */
.page2 .cont{
  max-width:860px;
  margin-left:max(24px, calc(50vw - 510px)); margin-right:auto;  /* shift a little left of center */
  font-size:clamp(14px,1.55vw,17px); line-height:1.45;
  max-height:calc(100vh - 140px); overflow-y:auto; padding-top:12px; padding-bottom:12px;
}
.page2 .cont strong[style*="26px"]{ font-size:22px !important; display:block; margin-bottom:10px; }
.page2 .cont strong[style*="22px"]{ font-size:18px !important; }

/* ---------- slide 5: glass contact card (pushed LEFT so the bike photo shows on the right) ---------- */
/* position with margin, NOT transform — the slide's rise animation ends on
   transform:none and would cancel any transform offset. midway between the
   centered position and the left corner: */
.page5 .cont{ max-width:560px; margin-left:calc(25vw - 140px); margin-right:auto; }
@media(max-width:700px){ .page5 .cont{ margin:0 auto; } }   /* recenter on small screens */
/* lighter overlay on the contact slide so the (left) form area reads cleaner;
   ID-level selector to override the global #content .slide::after */
#content .slide.page5::after{
  background:
    linear-gradient(90deg, rgba(4,7,15,.55) 0%, rgba(4,7,15,.42) 50%, rgba(4,7,15,.35) 100%),
    radial-gradient(120% 90% at 82% 18%, rgba(47,123,255,.12), transparent 60%);
}
#ContactForm{
  width:100%; max-width:520px;
  background:rgba(8,13,24,.82); backdrop-filter:blur(20px) saturate(140%);
  border:1px solid var(--line); border-radius:22px;
  padding:clamp(26px,4vw,40px);
  box-shadow:0 30px 90px rgba(0,0,0,.55);
}
#ContactForm::before{
  content:"Get in touch"; display:block; margin-bottom:24px;
  font-family:'Space Grotesk',sans-serif; font-weight:700;
  font-size:28px; letter-spacing:-.01em; color:var(--ink);
}
#ContactForm .wrapper,#ContactForm .textarea_box{ display:block; margin-bottom:16px; }
#ContactForm span{
  display:block; margin-bottom:8px;
  font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:12px !important;
  letter-spacing:.08em; text-transform:uppercase; color:var(--muted);
}
#ContactForm .bg,#ContactForm .bg div{ display:block; background:none; border:none; padding:0; margin:0; }
#ContactForm input.input,#ContactForm textarea.message{
  width:100%; display:block;
  background:rgba(255,255,255,.04); border:1px solid var(--line); border-radius:12px;
  padding:13px 15px; color:var(--ink);
  font-family:'Inter',sans-serif; font-size:15px; line-height:1.4; transition:.2s ease;
}
#ContactForm textarea.message{ min-height:120px; resize:vertical; }
#ContactForm input.input:focus,#ContactForm textarea.message:focus{
  outline:none; border-color:var(--a1); background:rgba(255,255,255,.07);
  box-shadow:0 0 0 3px rgba(124,92,255,.25);
}
.link1{
  display:inline-block; margin:10px 10px 0 0; cursor:pointer; text-decoration:none;
  padding:12px 26px; border-radius:999px;
  font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:14px; letter-spacing:.03em;
  transition:.25s ease;
}
.link1.submit{
  color:#fff; border:none;
  background:linear-gradient(135deg,var(--a1),var(--a2));
  box-shadow:0 12px 32px rgba(124,92,255,.4);
}
.link1.submit:hover{ transform:translateY(-2px); box-shadow:0 16px 40px rgba(124,92,255,.5); }
.link1:not(.submit){ color:var(--muted); border:1px solid var(--line); }
.link1:not(.submit):hover{ color:#fff; border-color:rgba(255,255,255,.3); }

/* ---------- BOTTOM BAR (copyright) ---------- */
footer.copyright{
  position:fixed; bottom:0; left:0; right:0; z-index:54;
  height:54px; display:flex; align-items:center; justify-content:flex-end; padding:0 120px;
  background:linear-gradient(0deg, rgba(6,10,20,.95), rgba(6,10,20,.7));
  backdrop-filter:blur(14px) saturate(140%);
  border-top:1px solid var(--line);
  /* match the "AI · Software · New York" top-bar tag */
  font-family:'Space Grotesk',sans-serif; font-weight:600;
  font-size:12px; letter-spacing:.16em; text-transform:uppercase;
  color:#1f7bff;
}
