/* ============================================================
   BigAistrup Studio — modern.css
   Dark cinematic design for a video & streaming production company
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Barlow+Condensed:wght@600;700;800&display=swap');

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #080810;
  --bg-surface:  #0f0f1c;
  --bg-card:     #14142a;
  --bg-card-h:   #1c1c38;
  --accent:      #00c6ff;
  --accent2:     #7b2fff;
  --warm:        #ff6b35;
  --grad:        linear-gradient(135deg, #00c6ff 0%, #7b2fff 100%);
  --grad-hero:   radial-gradient(ellipse at 25% 55%, #1a0a3e 0%, #080810 65%);
  --text:        #f0f2f5;
  --text-muted:  #8892a4;
  --text-dim:    #3d4555;
  --border:      rgba(255,255,255,0.07);
  --border-glow: rgba(0,198,255,0.28);
  --shadow:      0 8px 32px rgba(0,0,0,0.5);
  --r:           12px;
  --r-sm:        8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }

/* ── Navigation ───────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 5vw, 3rem);
  background: rgba(8, 8, 16, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  background: rgba(255,255,255,0.93);
  padding: 5px 12px;
  border-radius: 7px;
}

.nav-logo img { height: 30px; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.nav-links a:hover { color: var(--accent); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 62vh;
  background: var(--grad-hero);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3rem, 10vw, 7rem) clamp(1rem, 5vw, 3rem);
  position: relative;
  overflow: hidden;
}

/* subtle dot grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* glow orb */
.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,198,255,0.08) 0%, transparent 70%);
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(0.75rem, 1.8vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3.5rem, 11vw, 8rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
  font-weight: 300;
}

.hero-divider {
  width: 72px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad);
  position: relative;
  z-index: 1;
}

/* ── Layout sections ──────────────────────────────────────── */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 3rem);
}

.section-header { margin-bottom: 2.5rem; }

.section-label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.05;
}

.section-desc {
  margin-top: 0.75rem;
  color: var(--text-muted);
  max-width: 580px;
  font-size: 0.97rem;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
}

/* ── Project cards (streaming channels) ──────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.25rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, background .3s, transform .2s;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity .3s;
}

.project-card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-h);
  transform: translateY(-2px);
}

.project-card:hover::before { opacity: 1; }

.project-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.badge-twitch  { background: rgba(145,70,255,.16); color: #9146ff; }
.badge-youtube { background: rgba(255,68,68,.13);  color: #ff4444; }
.badge-web     { background: rgba(0,198,255,.12);  color: var(--accent); }
.badge-gallery { background: rgba(255,107,53,.12); color: var(--warm); }
.badge-coming  { background: rgba(255,255,255,.06); color: var(--text-muted); border: 1px solid var(--border); }

.project-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }

.project-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
  line-height: 1.1;
}

.project-url {
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.project-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}


/* ── Software / VR cards ──────────────────────────────────── */
.dev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.25rem;
}

.dev-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  transition: border-color .3s, transform .2s;
}

.dev-card:hover {
  border-color: rgba(123,47,255,.35);
  transform: translateY(-2px);
}

.dev-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0,198,255,.15), rgba(123,47,255,.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.dev-card-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.dev-card-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Video production card grid ───────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .3s, transform .2s;
}

.video-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.video-card-thumb {
  overflow: hidden;
  height: 175px;
}

.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}

.video-card:hover .video-card-thumb img { transform: scale(1.05); }

.video-card-body {
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.video-card-info { flex: 1; min-width: 0; }

.video-card-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-card-host img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

/* ── KGM.DK feature banner ────────────────────────────────── */
.kgmdk-feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.kgmdk-feature img {
  border-radius: var(--r-sm);
  flex: 1;
  max-width: min(380px, 100%);
  height: auto;
}

.kgmdk-feature-text { flex: 1; min-width: 260px; }

.kgmdk-feature-text h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.kgmdk-feature-text p {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  border: none;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
}

.btn-primary:hover { opacity: .88; transform: translateY(-1px); color: #fff; }

.btn-outline {
  border: 1px solid var(--border-glow);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover { background: rgba(0,198,255,.1); color: var(--accent); }

/* ── About page ───────────────────────────────────────────── */
.about-intro {
  max-width: 700px;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 2rem;
}

.hosts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.host-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .3s;
}

.host-card:hover { border-color: var(--border-glow); }

.host-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.host-card-name {
  padding: 0.85rem 1.1rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.studio-grid img {
  border-radius: var(--r-sm);
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* ── Contact page ─────────────────────────────────────────── */
.contact-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 5vw, 3rem);
}

.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.contact-box h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.contact-note {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.7rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.93rem;
  outline: none;
  transition: border-color .2s;
}

.form-control:focus { border-color: var(--border-glow); }
.form-control::placeholder { color: var(--text-dim); }

textarea.form-control { min-height: 130px; resize: vertical; }

.text-danger { color: #ff4d6a; font-size: 0.8rem; margin-top: 0.3rem; display: block; }

.validation-summary-errors ul {
  list-style: none;
  padding: 0;
  color: #ff4d6a;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  background: rgba(255,77,106,.08);
  border: 1px solid rgba(255,77,106,.2);
  border-radius: var(--r-sm);
  padding: 0.75rem 1rem;
}

/* ── Contact Ack ──────────────────────────────────────────── */
.ack-wrapper {
  max-width: 480px;
  margin: 5rem auto;
  text-align: center;
  padding: 0 1rem;
}

.ack-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2.5rem;
}

.ack-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.ack-box h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ack-box p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 5vw, 3rem);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.footer-address {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
  align-self: flex-end;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 700px) {
  .nav-links { display: none; }

  .kgmdk-feature {
    flex-direction: column;
  }
  .kgmdk-feature img { max-width: 100%; }

  .site-footer { flex-direction: column; }
  .footer-copy { align-self: flex-start; }
}
