/* NostalBox — One-page theme overrides */

@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --nb-bg: #0b1118;
  --nb-bg-elevated: #121a24;
  --nb-bg-soft: #162131;
  --nb-surface: rgba(22, 33, 49, 0.72);
  --nb-border: rgba(148, 163, 184, 0.16);
  --nb-text: #e8eef6;
  --nb-muted: #9aabbd;
  --nb-accent: #f58220;
  --nb-accent-strong: #ff8c00;
  --nb-accent-dim: rgba(245, 130, 32, 0.16);
  --nb-navy: #2c3e50;
  --nb-navy-soft: #3a4f63;
  --nb-cyan: #5ec4c0;
  --nb-radius: 14px;
  --nb-font-display: 'Rubik', sans-serif;
  --nb-font-body: 'IBM Plex Sans', sans-serif;
  --nb-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --nb-header-h: 4.25rem;
  --nb-max: 1200px;
  --nb-hero-gap: 4rem;
}

html {
  scroll-behavior: smooth;
}

body,
body.nostalbox-home {
  background: var(--nb-bg);
  color: var(--nb-text);
  font-family: var(--nb-font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.nb-logo-text,
.nb-footer-brand,
.nb-shop-name,
.nb-process-step h3 {
  font-family: var(--nb-font-display);
  letter-spacing: -0.02em;
  color: var(--nb-text);
}

a {
  color: var(--nb-accent-strong);
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: #ffd19a;
  text-decoration: none;
}

/* ---------- Header / Nav ---------- */
#header {
  background: transparent;
  border: 0;
}

body.header-dark #header,
body.header-dark #header.scrolled {
  background: rgba(11, 17, 24, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nb-border);
  box-shadow: none;
}

#header > .container {
  width: 100%;
  max-width: var(--nb-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

#header .navbar {
  min-height: var(--nb-header-h);
}

.nb-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none !important;
}

.nb-logo-img {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  border-radius: 7px;
}

.nb-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--nb-font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.nb-wordmark-nostal {
  color: #d7dee8;
}

.nb-wordmark-box {
  color: var(--nb-accent-strong);
}

.nb-logo-text.nb-wordmark {
  font-size: 1.25rem;
}

.nb-footer-brand.nb-wordmark {
  font-size: 1.55rem;
  margin: 0 0 0.4rem;
}

#header .dropmenu ul.navigation,
#header .dropmenu ul {
  display: flex;
  gap: 0.25rem;
}

#header .dropmenu ul li a,
#header .navigation a {
  color: var(--nb-muted) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.55rem 0.85rem !important;
  border-radius: 999px;
  background: transparent !important;
}

#header .dropmenu ul li a:hover,
#header .dropmenu ul li a.active,
#header .navigation a:hover,
#header .navigation a.active {
  color: var(--nb-text) !important;
  background: var(--nb-accent-dim) !important;
}

.mobile-menu .button_container span {
  background: var(--nb-accent);
}

.overlay {
  background: rgba(8, 12, 18, 0.97);
}

.overlay-menu a {
  color: var(--nb-text) !important;
}

/* ---------- Hero ---------- */
.modular-hero.nostalbox-hero,
.hero.nostalbox-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: #070b11;
  background-image:
    radial-gradient(ellipse 70% 55% at 78% 42%, rgba(245, 130, 32, 0.18), transparent 58%),
    radial-gradient(ellipse 60% 45% at 18% 70%, rgba(44, 62, 80, 0.45), transparent 55%),
    linear-gradient(160deg, #070b11 0%, #0f1722 45%, #0a121c 100%);
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  padding-top: 6.5rem;
  padding-bottom: 5.5rem;
}

.nostalbox-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 15%, transparent 75%);
  pointer-events: none;
  z-index: 0;
  animation: nb-grid-drift 28s linear infinite;
}

.nostalbox-hero .image-overlay,
.nostalbox-hero.overlay-dark-gradient .image-overlay {
  background: linear-gradient(180deg, rgba(7, 11, 17, 0.2) 0%, rgba(7, 11, 17, 0.35) 55%, rgba(7, 11, 17, 0.88) 100%);
  z-index: 1;
}

.nostalbox-hero > .nb-shell,
.nostalbox-hero > .container.nb-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--nb-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  text-align: left !important;
}

.nb-hero-layout {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--nb-hero-gap);
  width: 100%;
}

.nb-hero-copy {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 34rem;
}

.nb-hero-visual {
  flex: 0 0 auto;
  width: min(100%, 430px);
  max-width: 430px;
  animation: nb-fade-up 0.9s ease 0.18s both;
}

.nb-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.45));
}

.nostalbox-hero h1,
.nostalbox-hero .nb-hero-title {
  font-family: var(--nb-font-display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.02;
  margin: 0 0 1.15rem;
  letter-spacing: -0.04em;
  animation: nb-fade-up 0.9s ease both;
}

.nb-hero-title .nb-wordmark-nostal {
  color: #eef3f8;
}

.nb-hero-title .nb-wordmark-box {
  color: var(--nb-accent-strong);
}

.nostalbox-hero h2 {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
  margin: 0 0 2rem;
  max-width: 34rem;
  color: rgba(232, 238, 246, 0.88);
  animation: nb-fade-up 0.9s ease 0.12s both;
}

.nostalbox-hero p {
  font-size: 1.05rem;
  max-width: 34rem;
  margin: 0 0 2rem;
  color: var(--nb-muted);
  font-weight: 400;
  animation: nb-fade-up 0.9s ease 0.22s both;
}

.nb-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-start;
  margin: 0 !important;
  animation: nb-fade-up 0.9s ease 0.32s both;
}

.nb-hero-cta .btn {
  min-width: 10.5rem;
  height: auto;
  padding: 0.85rem 1.4rem;
  line-height: 1.2;
  font-family: var(--nb-font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
}

.btn.btn-primary,
.btn-primary.button {
  background: var(--nb-accent);
  border-color: var(--nb-accent);
  color: #1a1208;
}

.btn.btn-primary:hover,
.btn-primary.button:hover {
  background: var(--nb-accent-strong);
  border-color: var(--nb-accent-strong);
  color: #1a1208;
}

.btn.btn-secondary,
.btn-secondary.button {
  background: transparent;
  border: 1px solid rgba(232, 238, 246, 0.28);
  color: var(--nb-text);
}

.btn.btn-secondary:hover,
.btn-secondary.button:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(232, 238, 246, 0.5);
  color: #fff;
}

.nostalbox-hero #to-start {
  color: var(--nb-accent);
  z-index: 3;
  opacity: 0.85;
}

/* Align page sections with the same shell width */
.nostalbox-section > .container,
.modular-features > .container,
.nb-footer > .container {
  width: 100%;
  max-width: var(--nb-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ---------- Sections ---------- */
.nostalbox-section,
.modular-features,
.modular-text {
  background: var(--nb-bg);
  color: var(--nb-text);
  padding: 5.5rem 0;
}

.modular-features,
.modular-text.bg-gray,
.section.bg-gray {
  background: var(--nb-bg) !important;
}

.nb-section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.25rem;
}

.nb-section-intro h2,
.modular-features .frame-box > h2,
.modular-features h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin: 0 0 0.85rem;
}

.nb-section-intro p,
.modular-features .frame-box > p {
  color: var(--nb-muted);
  font-size: 1.05rem;
  margin: 0 auto;
  max-width: 560px;
}

/* Specialty process */
.nb-process {
  margin-top: 0.5rem;
}

.nb-process-step {
  position: relative;
  height: 100%;
  padding: 1.75rem 1.35rem 1.5rem;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background:
    linear-gradient(165deg, rgba(22, 33, 49, 0.9), rgba(11, 17, 24, 0.55));
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.nb-process-step::before {
  content: attr(data-step);
  display: block;
  font-family: var(--nb-font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--nb-accent);
  margin-bottom: 1rem;
}

.nb-process-step h3 {
  font-size: 1.1rem;
  margin: 0 0 0.55rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.nb-process-step p {
  margin: 0;
  color: var(--nb-muted);
  font-size: 0.95rem;
}

.nb-process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 130, 32, 0.35);
  box-shadow: var(--nb-shadow);
}

/* Features / engagements */
.modular-features .frame-box {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.modular-features.offset-box .frame-box {
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.modular-features .feature-icon {
  height: auto;
  margin: 0 0 0.75rem;
  justify-content: flex-start;
  color: var(--nb-accent);
  font-size: inherit;
}

.modular-features .feature-icon i {
  position: static;
  transform: none;
  left: auto;
  top: auto;
  font-size: 2rem !important;
  margin: 0 0 0.85rem !important;
  color: var(--nb-accent) !important;
  display: block;
}

.modular-features .feature-icon h6,
.modular-features.small .feature-icon h6 {
  background: transparent !important;
  color: var(--nb-text) !important;
  font-family: var(--nb-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.02em;
}

.modular-features .column {
  padding: 1rem;
}

.modular-features .nb-feature-card {
  padding: 1.6rem 1.45rem;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: var(--nb-surface);
  height: 100%;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.modular-features .nb-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 130, 32, 0.35);
  box-shadow: var(--nb-shadow);
}

.modular-features .column:hover .feature-icon,
.modular-features .column:hover .feature-icon h6,
.modular-features.small .column:hover .feature-icon i {
  color: var(--nb-accent-strong) !important;
}

.modular-features .feature-content p {
  color: var(--nb-muted);
  margin: 0;
}

/* Boutiques */
.nb-shops {
  max-width: 900px;
  margin: 0 auto;
}

.nb-shop-link {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 1.6rem 1.5rem;
  border-radius: var(--nb-radius);
  border: 1px solid var(--nb-border);
  background:
    linear-gradient(135deg, rgba(245, 130, 32, 0.08), transparent 55%),
    var(--nb-bg-elevated);
  text-decoration: none !important;
  color: inherit;
  height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nb-shop-link:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 130, 32, 0.45);
  box-shadow: var(--nb-shadow);
  color: inherit;
}

.nb-shop-icon {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--nb-accent-dim);
  color: var(--nb-accent);
  font-size: 1.2rem;
}

.nb-shop-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.nb-shop-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--nb-text);
}

.nb-shop-desc {
  color: var(--nb-muted);
  font-size: 0.95rem;
}

.nb-shop-cta {
  margin-top: 0.55rem;
  font-family: var(--nb-font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--nb-accent-strong);
}

/* Footer */
.nb-footer,
#footer.nb-footer,
#footer.section.bg-gray {
  background: #070b11 !important;
  border-top: 1px solid var(--nb-border);
  color: var(--nb-muted);
  padding: 3.5rem 0 2rem;
}

.nb-footer-brand {
  margin: 0 0 0.4rem;
}

.nb-footer-tagline {
  margin: 0;
  max-width: 28rem;
}

.nb-footer-address {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  color: var(--nb-muted);
}

.nb-footer-legal p {
  margin: 0 0 0.65rem;
  color: var(--nb-text);
}

.nb-footer-legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nb-footer-legal li {
  margin: 0.25rem 0;
  font-size: 0.95rem;
}

.nb-footer-legal a {
  color: var(--nb-accent-strong);
}

.nb-footer-copy {
  margin: 2.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--nb-border);
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Reveal on scroll */
.nb-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.nb-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Body wrapper spacing for modular */
#start > #body-wrapper,
#body-wrapper.section {
  padding: 0;
}

#page-wrapper {
  background: var(--nb-bg);
}

/* Animations */
@keyframes nb-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes nb-grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 56px 56px, 56px 56px; }
}

/* Responsive */
@media (max-width: 960px) {
  :root {
    --nb-hero-gap: 2rem;
  }

  .nb-hero-visual {
    width: min(100%, 340px);
    max-width: 340px;
  }
}

@media (max-width: 840px) {
  .nb-hero-layout {
    flex-direction: column;
    text-align: center;
    gap: 2.25rem;
  }

  .nb-hero-copy {
    max-width: 40rem;
    margin: 0 auto;
  }

  .nb-hero-visual {
    width: min(70vw, 300px);
    max-width: 300px;
    order: -1;
  }

  .nostalbox-hero h2,
  .nostalbox-hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .nb-hero-cta {
    justify-content: center;
  }

  .nostalbox-section,
  .modular-features {
    padding: 4rem 0;
  }

  .nb-process .column,
  .nb-shops .column {
    margin-bottom: 1rem;
  }

  .nb-footer-legal {
    margin-top: 1.75rem;
  }
}

@media (max-width: 600px) {
  .nb-hero-cta .btn {
    width: 100%;
  }

  .modular-hero.nostalbox-hero,
  .hero.nostalbox-hero {
    padding-top: 6rem;
    padding-bottom: 5rem;
  }

  .nb-hero-visual {
    width: min(62vw, 240px);
    max-width: 240px;
  }

  .nb-logo-text.nb-wordmark {
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nostalbox-hero::before,
  .nostalbox-hero h1,
  .nostalbox-hero h2,
  .nostalbox-hero p,
  .nb-hero-cta,
  .nb-reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
