import React from 'react';
import Scribble from '@/components/Scribble';

export default function VideoSection() {
  return (
    <section className="relative h-[60vh] overflow-hidden">
      <video 
        className="w-full h-full object-cover"
        autoPlay 
        muted 
        loop 
        playsInline
      >
        <source src="/uploads/2024/12/making-of-metal-cable-on-factory-2023-11-27-04-55-16-utc-2.webm" type="video/mp4" />
      </video>
      <div className="absolute inset-0 bg-black/50 flex items-center justify-center">
        <h2 className="text-3xl md:text-5xl font-bold text-white text-center max-w-4xl px-4 leading-tight">
          From a single strand to infinite power – the 
          <span className="relative inline-block mx-2">
            <span className="relative z-10 italic">future</span>
            <Scribble variant="underline" className="w-full h-full top-full left-0" />
          </span>
          starts here.
        </h2>
      </div>
    </section>
  );
}
