/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Background video */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none; /* prevent clicks */
  background: #000;
}

/* Gradient overlay on top of video */
.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

/* Hide default iOS/Safari controls */
#bg-video::-webkit-media-controls {
  display: none !important;
  -webkit-appearance: none;
}
#bg-video::-webkit-media-controls-enclosure {
  display: none !important;
}

/* Content container */
.overlay {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Title */
.overlay h1 {
  font-family: "Times New Roman", serif;
  font-size: clamp(40px, 7vw, 72px);
  color: #fff;
  margin-bottom: 32px;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

/* Navigation */
.nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  font-family: "Times New Roman", serif;
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  padding: 10px 20px;
  border: 1px solid #fff;
  border-radius: 20px;
  transition: all 0.25s;
}

.nav a:hover {
  background: #fff;
  color: #000;
}