﻿/* Layout fixes for the Turing OS product page */
:root {
  --overlay: rgba(0, 0, 0, 0.45);
  --text-light: #f5f7fb;
  --text-muted: #a6b0c3;
}

/* --- Hero video section --- */
.video-section {
  position: relative;
  width: 100%;
  min-height: 70vh;       /* visible on laptops; grows on desktop */
  overflow: hidden;
  display: grid;
  place-items: center;
}

.video-section .video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-section .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--overlay), rgba(0,0,0,0.55));
  pointer-events: none;
}

.video-section .video-content {
  position: relative;        /* sits above video & overlay */
  z-index: 2;
  text-align: center;
  padding: 1rem 1.25rem;
  max-width: 960px;
}

.video-title {
  color: var(--text-light);
  font-weight: 700;
  letter-spacing: 0.3px;
  margin: 0 0 0.5rem 0;
  font-size: clamp(1.75rem, 2.5vw + 1rem, 3rem);
}

.video-tagline {
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 820px;
  font-size: clamp(0.95rem, 0.6vw + 0.8rem, 1.15rem);
}

/* Scroll chevron */
.scroll-down-bar {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  border: 0;
  background: rgba(255,255,255,0.08);
  padding: 10px 12px;
  border-radius: 999px;
  z-index: 3;
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.chevron-icon {
  display: block;
  width: 20px;
  height: 20px;
  opacity: 0.9;
}

/* --- Product section --- */
.turingos-product {
  scroll-margin-top: 80px; /* prevents being hidden under sticky nav */
}

model-viewer {
  width: 100%;
  height: 560px;
  --poster-color: transparent;
}
@media (max-width: 992px) {
  model-viewer { height: 460px; }
  .video-section { min-height: 60vh; }
}
@media (max-width: 576px) {
  model-viewer { height: 380px; }
  .scroll-down-bar { bottom: 12px; }
}

/* Card polish (works with Bootstrap) */
.card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
}
.card.shadow-sm {
  box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;
}

/* Button spacing & wrap */
.d-flex.gap-2 > * { margin-right: .5rem; }
.d-flex.gap-2 > *:last-child { margin-right: 0; }

/* Quick-view chip buttons */
.btn.btn-dark[data-camera] {
  background: #0f172a;
  border-color: rgba(255,255,255,0.12);
}
.btn.btn-dark[data-camera]:hover {
  border-color: rgba(125,211,252,.6);
}

/* Container spacing below hero */
.section-after-hero {
  margin-top: 2.25rem;
}
@media (min-width: 992px) {
  .section-after-hero { margin-top: 3rem; }
}


/* --- Intro text block --- */
.intro-text-block {
  background: #0b0e12;
  padding: 3rem 1rem;
  color: #e5e7eb;
}

.intro-text-block .text-card {
  background: #131720;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.intro-text-block .intro-heading {
  font-weight: 700;
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
  margin-bottom: 1.25rem;
  color: #fff;
}

.intro-text-block p {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  color: #cbd5e1;
}

.intro-text-block p.fw-bold {
  color: #7dd3fc;
  font-weight: 600;
  margin-top: 1.25rem;
}
