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

body {
  height: 100vh;
  font-family: 'Epilogue', sans-serif;
  color: white;
  background-color: black;
  overflow: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
}


/*
.video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
*/

.video-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: black;
  z-index: -1;
}
/*
#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
  transform: scale(1.2);
} */

.video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
width: 120vw;  /* zooms in more */
  height: 120vh;
  object-fit: cover;
  transform: translate(-50%, -50%);
  background-color: black;
  z-index: 0;
}

.video-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2); /* 20% black overlay */
  pointer-events: none;
  z-index: 1;
}
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Loader (spinner) */
#loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.spinner {
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid #ffffff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Title section */
.title-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  z-index: 5;
  width: 100%;
  max-width: 95%;
}

.titles {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
  width: 100%;
  gap: 60px;
}


.title {
  min-width: auto;
  text-align: left;
  font-size: 18px;
  margin: 0 20px;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  white-space: nowrap;
  opacity: 0.4;
  text-transform: uppercase;
}
.video-description {
  font-size: 12px;
  font-style: italic;
  margin-top: 8px;
  font-family: 'Libre Caslon Text', serif;

}

.title.active {
  color: #fff;
  opacity: 1;
}

.title:hover {
  transform: scale(1.1);
}

.title span {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}







/* ============= BLUR EFFECT ON VIDEO ============= */
.blur video#bg-video {
  filter: blur(8px) brightness(0.7);
  transition: filter 0.6s ease;
}
