
/* /assets/css/style.css */

:root{
  --bg:#06060b;
  --bg2:#0b0b14;
  --panel:rgba(255,255,255,.06);
  --stroke:rgba(255,255,255,.12);
  --text:#f3f4f6;
  --muted:rgba(243,244,246,.72);
  --neon1:#22c55e;
  --neon2:#a855f7;
  --neon3:#06b6d4;
  --radius:18px;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

a { color: inherit; }
.container { max-width: 1120px; }

/* Background “spray” effect */
.spray-bg {
  position: fixed;
  inset: -40vh -20vw;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(700px 500px at 20% 15%, rgba(168,85,247,.16), transparent 55%),
    radial-gradient(600px 420px at 80% 20%, rgba(34,197,94,.18), transparent 55%),
    radial-gradient(700px 520px at 70% 80%, rgba(6,182,212,.14), transparent 58%),
    radial-gradient(1200px 700px at 40% 65%, rgba(255,255,255,.04), transparent 60%);
  filter: saturate(1.1) contrast(1.05);
}

/* ----- TOPBAR LAYOUT (your diagram) ----- */
.topbar-wrap{
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(6,6,11,.74);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 14px 0;
}

.topbar-grid{
  display: grid;
  gap: 12px;

  /* Desktop layout */
  grid-template-columns: 320px 1fr 280px;
  grid-template-rows: auto auto;
  grid-template-areas:
    "logo banner cta"
    "logo nav    nav";
  align-items: stretch;
}

/* Grid areas */
.topbar-logo{ grid-area: logo; }
.topbar-banner{ grid-area: banner; }
.topbar-cta{ grid-area: cta; }
.topbar-nav{ grid-area: nav; }

/* Panels (NOT the logo) */
.topbar-banner, .topbar-cta, .topbar-nav{
  border: 1px solid var(--stroke);
  background: var(--panel);
  border-radius: var(--radius);
}

/* Banner image styling */
.topbar-banner-image{
  width: 100%;
  height: 100%;
  max-height: 90px;       /* controls banner height */
  object-fit: contain;   /* use 'cover' if you want full bleed */
  display: block;
}

/* Optional: tighter padding when using images */
.topbar-banner{
  padding: 8px 12px;
}

/* Logo area (NO box) */
.topbar-logo{
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-logo{
  width: 100%;
  height: 100%;
  max-width: 320px;
  max-height: 150px;
  object-fit: contain;
  display: block;

  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

/* Banner */
.topbar-banner{
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
}
.topbar-banner::before{
  content:"";
  position:absolute;
  inset:-40px;
  background:
    radial-gradient(420px 220px at 25% 25%, rgba(34,197,94,.22), transparent 55%),
    radial-gradient(420px 220px at 75% 20%, rgba(168,85,247,.22), transparent 55%);
  opacity: .9;
  pointer-events:none;
}
.banner-inner{ position: relative; }
.banner-title{ font-weight: 900; font-size: 1.15rem; }
.banner-sub{ color: var(--muted); font-size: .92rem; }

/* CTA */
.topbar-cta{
  padding: 12px;
  display:flex;
  flex-direction: column;
  justify-content: center;
}
.cta-mini{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: .85rem;
}
.cta-link{
  color: rgba(243,244,246,.9);
  opacity: .85;
  text-decoration: none;
}
.cta-link:hover{ opacity: 1; text-decoration: underline; }

/* Nav row */
.topbar-nav{
  padding: 10px 12px;
  display:flex;
  align-items:center;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.topbar-nav::-webkit-scrollbar{ display:none; }

.nav-pills .nav-link{
  color: var(--text) !important;
  opacity: .92;
  border-radius: 999px;
  padding: .55rem .95rem !important;
  white-space: nowrap;
}
.nav-pills .nav-link:hover{ background: rgba(255,255,255,.08); opacity:1; }
.nav-pills .nav-link.active{
  background: linear-gradient(135deg, rgba(34,197,94,.22), rgba(168,85,247,.22));
  border: 1px solid rgba(255,255,255,.14);
  opacity: 1;
}

/* Buttons */
.btn-neon{
  border: none;
  background: linear-gradient(135deg, var(--neon1), var(--neon2));
  color: #07110b;
  font-weight: 900;
  border-radius: 999px;
  padding: .7rem 1rem;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}
.btn-neon:hover{ filter: brightness(.96); }

.btn-ghost{
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: .45rem .7rem;
}
.btn-ghost:hover{ background: rgba(255,255,255,.08); }

/* Mobile: stack neatly */
@media (max-width: 991.98px){
  .topbar-grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "banner"
      "cta"
      "nav";
  }
  .site-logo{
    max-height: 110px;
    max-width: 320px;
  }
}

/* ----- HERO ----- */
.hero{
  position: relative;
  z-index: 1;
  padding: 44px 0 14px;
}
.hero-card{
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  overflow: hidden;
  min-height: 360px;
}
.hero-media{
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg, rgba(0,0,0,.55), rgba(0,0,0,.15)),
    url("https://images.unsplash.com/photo-1516450360452-9312f5e86fc7?auto=format&fit=crop&w=1800&q=60") center/cover no-repeat;
  filter: contrast(1.08) saturate(1.1);
  opacity: .9;
}
.hero-graffiti{
  position:absolute;
  inset:-40px;
  background:
    radial-gradient(420px 240px at 20% 15%, rgba(34,197,94,.28), transparent 55%),
    radial-gradient(380px 240px at 75% 20%, rgba(168,85,247,.30), transparent 56%),
    radial-gradient(500px 320px at 65% 85%, rgba(6,182,212,.20), transparent 58%);
  mix-blend-mode: screen;
  opacity: .9;
  pointer-events:none;
}

.hero-inner{ position: relative; padding: 34px; }
.hero h1{
  font-weight: 900;
  letter-spacing: -.03em;
  text-shadow: 0 12px 34px rgba(0,0,0,.65);
}
.hero p{ color: rgba(243,244,246,.78); max-width: 60ch; }

.badge-tag{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  color: rgba(243,244,246,.9);
  border-radius: 999px;
  padding: .4rem .75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

/* Sections / panels */
section{ position: relative; z-index: 1; padding: 42px 0; }
.panel{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.panel-soft{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
}
.section-title{ font-weight: 900; letter-spacing: -.02em; }
.section-sub{ color: var(--muted); }

/* Carousel */
.carousel .carousel-item{
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
}
.carousel img{ width:100%; height:100%; object-fit: cover; display:block; }
.carousel-caption{
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 12px 14px;
}

/* Footer */
footer{
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(6,6,11,.72);
  backdrop-filter: blur(12px);
  padding: 34px 0;
  color: rgba(243,244,246,.72);
}
footer a{ text-decoration: none; color: rgba(243,244,246,.9); opacity: .85; }
footer a:hover{ opacity: 1; text-decoration: underline; }

/* Existing small logo style used in footer placeholder */
.brand-logo{
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34,197,94,.22), rgba(168,85,247,.18));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 12px 26px rgba(0,0,0,.35);
  display:grid;
  place-items:center;
  overflow:hidden;
  flex:0 0 auto;
}

@media (max-width: 991.98px){
  .hero-inner{ padding: 22px; }
  .carousel .carousel-item{ height: 300px; }
}
@media (max-width: 575.98px){
  .hero-card{ min-height: 320px; }
  .hero h1{ font-size: 2rem; }
}
