/* css/home.css */

/* INTRO SCREEN */
.intro-screen {
  position: fixed;
  inset: 0;
  background-color: var(--color-bg);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.intro-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.intro-logo {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--color-text);
  letter-spacing: 2px;
  opacity: 0;
  transform: scale(0.95);
  animation: introLogoFade 0.8s ease-in-out forwards;
  animation-delay: 0.3s;
}

@keyframes introLogoFade {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

body.intro-active {
  overflow: hidden;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff; 
}
.hero-media {
  position: absolute;
  inset: 0;   /* 🔥 IMPORTANT */
  z-index: 0;
}

.hero-video {
  position: absolute;   
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.05);
  z-index: 0;
}


@keyframes slowZoom {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.05) translate(-10px, -10px); }
}

.hero-overlay {
  position: absolute;  
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}


.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  letter-spacing: 2px;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-family: var(--font-sans);
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.9;
}

/* SCROLL PROMPT */
.scroll-prompt {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.scroll-prompt:hover {
  opacity: 1;
}

.scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: #fff;
  animation: scrollDown 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* SECTIONS */
.intro-section {
  padding: 12rem 0;
  text-align: center;
}

.intro-text h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  max-width: 900px;
  margin: 0 auto 4rem;
  color: var(--color-text);
}
