body{
  margin:0;
  font-family:Arial, sans-serif;
  background:#0f1720;
  color:white;
}

.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}

.header{
  background:#111c2a;
  padding:30px 0;
  border-bottom:1px solid #1f2d3d;
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
}

.logo{
  height:150px;
}

nav a{
  color:white;
  margin-left:20px;
  text-decoration:none;
  font-weight:bold;
}

.hero{
  text-align:center;
  padding:60px 0;
  background:linear-gradient(135deg,#1c2b3a,#0f1720);
}

.hero h1{
  font-size:38px;
  margin-bottom:10px;
}

.section{
  padding:60px 0;
}

.section h2{
  text-align:center;
  margin-bottom:40px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:25px;
}

.card{
  background:#182433;
  padding:15px;
  border-radius:12px;
  text-align:center;
  transition:0.3s;
}

.card img{
  width:100%;
  height:260px;
  object-fit:contain;
  background:white;
  border-radius:10px;
}

.card:hover{
  transform:translateY(-5px);
  box-shadow:0 10px 30px rgba(0,0,0,0.4);
}

.dark{
  background:#111c2a;
  text-align:center;
}

footer{
  text-align:center;
  padding:20px;
  background:#0b1118;
}

.small-card img{
  height:200px !important;
}

.bottom-section{
  margin-top:60px;
}

.video-hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.video-hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.5);
}

.video-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}

.video-overlay h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.video-overlay p {
  font-size: 20px;
  opacity: 0.9;
}

/* =========================
   CINEMATIC HERO
========================= */
.cinema{
  position:relative;
  height:86vh;
  min-height:560px;
  overflow:hidden;
  border-bottom:1px solid #1f2d3d;
  background:#0b1118;
}

.cinema-media{
  position:absolute;
  inset:0;
  transform: scale(1.02);
}

.cinema-video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter: contrast(1.05) saturate(1.05);
}

/* Film overlay: vignette + gradient + “cinema bars” vibe */
.cinema-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(80% 65% at 50% 40%, rgba(0,0,0,.25) 0%, rgba(0,0,0,.75) 70%, rgba(0,0,0,.92) 100%),
    linear-gradient(180deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.82) 100%);
}

/* Subtle grain */
.cinema-grain{
  position:absolute;
  inset:-20%;
  opacity:.14;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  animation: grainMove 8s steps(8) infinite;
}

@keyframes grainMove{
  0%{transform:translate(0,0)}
  20%{transform:translate(-2%,1%)}
  40%{transform:translate(2%,-1%)}
  60%{transform:translate(-1%,-2%)}
  80%{transform:translate(1%,2%)}
  100%{transform:translate(0,0)}
}

.cinema-content{
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-top:24px;
  padding-bottom:60px;
}

.cinema-kicker{
  display:inline-flex;
  width:fit-content;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(17,28,42,.35);
  color:rgba(255,255,255,.85);
  letter-spacing:.2px;
  font-size:13px;
  margin-bottom:14px;

  opacity:0;
  transform:translateY(10px);
  animation: riseIn .8s ease forwards .1s;
}

.cinema-title{
  margin:0 0 10px;
  font-size:56px;
  line-height:1.02;
  letter-spacing:-0.6px;

  opacity:0;
  transform:translateY(14px);
  animation: riseIn .9s ease forwards .2s;
}

.cinema-subtitle{
  margin:0 0 18px;
  max-width:720px;
  color:rgba(255,255,255,.82);
  font-size:18px;
  line-height:1.65;

  opacity:0;
  transform:translateY(12px);
  animation: riseIn .9s ease forwards .32s;
}

.cinema-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;

  opacity:0;
  transform:translateY(10px);
  animation: riseIn .9s ease forwards .42s;
}

/* buttons (reuse yours, but give cinematic polish) */
.btn.ghost{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.18);
}

.cinema-meta{
  display:flex;
  flex-wrap:wrap;
  gap:14px 18px;
  margin-top:18px;
  color:rgba(255,255,255,.80);
  font-size:14px;

  opacity:0;
  transform:translateY(10px);
  animation: riseIn .9s ease forwards .55s;
}

.cinema-meta a{color:#fff;text-decoration:none;border-bottom:1px dashed rgba(255,255,255,.35)}
.cinema-meta a:hover{border-bottom-color:rgba(255,255,255,.75)}

@keyframes riseIn{
  to { opacity:1; transform:translateY(0); }
}

/* scroll cue */
.scroll-cue{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  z-index:3;
  width:34px;
  height:54px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(0,0,0,.18);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top:10px;
  backdrop-filter: blur(8px);
}
.scroll-cue span{
  width:6px;height:10px;border-radius:6px;
  background:rgba(255,255,255,.85);
  animation: scrollDot 1.4s ease-in-out infinite;
}
@keyframes scrollDot{
  0%{transform:translateY(0); opacity:.9}
  70%{transform:translateY(18px); opacity:.25}
  100%{transform:translateY(0); opacity:.9}
}

/* Responsiveness */
@media (max-width: 900px){
  .cinema{height:78vh; min-height:520px;}
  .cinema-title{font-size:40px}
  .cinema-subtitle{font-size:16px}
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .cinema-grain, .scroll-cue span{animation:none}
  .cinema-kicker,.cinema-title,.cinema-subtitle,.cinema-actions,.cinema-meta{
    animation:none; opacity:1; transform:none;
  }
}



/* --- Product sub-sections (Nozzles + Plastic Piping) --- */
.subsection-title{
  text-align:center;
  margin: 10px 0 26px;
}

.subsection-note{
  text-align:center;
  color: rgba(255,255,255,.75);
  margin: -14px 0 26px;
  font-size: 14px;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:25px;
}

@media (max-width: 900px){
  .grid-3{ grid-template-columns:1fr; }
}

.card img.tight{
  object-fit: contain;
  background: #fff;
}