/* 
 * Cerrahpaşa Tıp Fakültesi — Aday Öğrenci Websitesi
 * Component: Landing Hero Section with Presentation Video
 */

/* ----------------------------------------------------
   5. SECTION 01 — HERO
   ---------------------------------------------------- */
.hero {
  height: 100vh;
  min-height: 650px;
  position: relative;
  background-image: url('../images/hero/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  padding: 0 24px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(139, 26, 43, 0.8),
    rgba(107, 18, 32, 0.85)
  );
  z-index: 1;
}

.hero .container {
  z-index: 2;
  color: var(--color-white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-content {
  text-align: left;
}

.hero h1 {
  font-size: 4.25rem;
  margin-bottom: 24px;
  font-style: italic;
  font-weight: 300;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
  line-height: 1.15;
}

.hero p {
  font-family: var(--font-ui);
  font-size: 1.35rem;
  font-weight: 300;
  max-width: 650px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease 0.3s, transform 1s ease 0.3s;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease 0.6s, transform 1s ease 0.6s;
}

.hero-video-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0,0,0,0.6), 0 0 30px rgba(201,168,76,0.35);
  border: 1.5px solid rgba(201, 168, 76, 0.45);
  background: rgba(30, 20, 22, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease 0.8s, transform 1s ease 0.8s;
  position: relative;
}

.glassmorphic-video {
  width: 100%;
  height: 100%;
  position: relative;
}

.glassmorphic-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.hero.active h1,
.hero.active p,
.hero.active .hero-btns,
.hero.active .hero-video-wrap {
  opacity: 1;
  transform: translateY(0);
}

.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--color-white);
  animation: bounce 2s infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  gap: 8px;
}

.scroll-down svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-white);
  fill: none;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}
