﻿:root {
  --bg-color: #000000;
  --text-main: #ffffff;
  --text-muted: #888888;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: var(--bg-color); color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* HERO SECTION */
.hero-section {
  position: relative; width: 100vw; height: 100vh;
  display: flex; justify-content: center; align-items: center;
  overflow: hidden;
}
#hero-video {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  object-fit: cover; z-index: -2;
  filter: brightness(0.6);
}
.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,1) 100%);
  z-index: -1;
}
.hero-content {
  text-align: center; z-index: 10;
  display: flex; flex-direction: column; align-items: center;
  margin-top: 10vh;
}
.hero-title {
  font-size: 4rem; font-weight: 300; letter-spacing: 12px; margin-bottom: 20px;
  text-transform: uppercase;
}
.hero-subtitle {
  font-size: 1rem; font-weight: 400; letter-spacing: 6px; color: var(--text-muted);
}
.scroll-indicator {
  position: absolute; bottom: 40px; display: flex; flex-direction: column; align-items: center;
  opacity: 0.6;
}
.scroll-indicator span { font-size: 0.7rem; letter-spacing: 4px; margin-bottom: 10px; }
.scroll-indicator .line { width: 1px; height: 40px; background: #fff; animation: scrollLine 2s infinite; transform-origin: top; }
@keyframes scrollLine {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* GALLERY */
main { padding: 40px 5%; padding-bottom: 100px; }
.works-section { margin-bottom: 80px; }
.section-title {
  font-size: 1.5rem; font-weight: 300; letter-spacing: 4px; margin-bottom: 40px;
}
.section-title span { color: var(--text-muted); font-size: 0.9rem; letter-spacing: 2px; }

.gallery-landscape, .gallery-portrait { display: grid; gap: 4px; }
.gallery-landscape { grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); }
.gallery-portrait { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.video-card {
  position: relative; overflow: hidden; cursor: pointer;
  background: #111; aspect-ratio: 16/9;
}
.video-card.portrait { aspect-ratio: 9/16; }
.video-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s;
  filter: brightness(0.7) grayscale(20%);
}
.video-card:hover img {
  transform: scale(1.05); filter: brightness(1) grayscale(0%);
}
.video-info {
  position: absolute; bottom: 0; left: 0; width: 100%;
  padding: 30px 20px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s;
}
.video-card:hover .video-info {
  opacity: 1; transform: translateY(0);
}
.video-info .title { font-size: 1rem; font-weight: 500; letter-spacing: 1px; margin-bottom: 5px; }
.video-info .meta { font-size: 0.75rem; color: var(--text-muted); display: flex; gap: 15px; }

/* PLAYER */
.player {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.98);
  display: flex; justify-content: center; align-items: center;
  z-index: 9999;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.player.active { opacity: 1; pointer-events: auto; }
.player-shell {
  position: relative; width: 90vw; max-width: 1200px;
  display: flex; flex-direction: column; align-items: center;
}
#playerClose {
  position: absolute; top: -40px; right: 0;
  background: none; border: none; color: #fff; font-size: 2rem; font-weight: 100;
  cursor: pointer; opacity: 0.6; transition: opacity 0.3s;
}
#playerClose:hover { opacity: 1; }
video { width: 100%; max-height: 80vh; outline: none; background: #000; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.player-title {
  margin-top: 20px; font-size: 1.2rem; font-weight: 300; letter-spacing: 2px;
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.active {
  opacity: 1; transform: translateY(0);
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; letter-spacing: 6px; margin-bottom: 10px; }
  .hero-subtitle { font-size: 0.8rem; letter-spacing: 3px; }
  .section-title { font-size: 1.2rem; margin-bottom: 25px; }
  main { padding: 20px 5%; padding-bottom: 60px; }
  .works-section { margin-bottom: 50px; }
  .gallery-landscape { grid-template-columns: 1fr; }
  .gallery-portrait { grid-template-columns: repeat(2, 1fr); }
  .video-info { opacity: 1; transform: none; padding: 15px 10px 10px; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); }
  .video-info .title { font-size: 0.85rem; }
  .video-info .meta { font-size: 0.65rem; }
  .scroll-indicator span { display: none; }
  .scroll-indicator .line { height: 30px; }
}
