@font-face {
  font-family: 'PP Eiko';
  src: url('https://fonts.cdnfonts.com/s/93129/PPEiko-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('https://fonts.cdnfonts.com/s/72928/PPNeueMontreal-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('https://fonts.cdnfonts.com/s/72928/PPNeueMontreal-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #121212;
  color: #ffffff;
  font-family: 'PP Neue Montreal', sans-serif;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  user-select: none;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem 3.5rem;
  z-index: 100;
  pointer-events: none;
}

.brand-logo {
  pointer-events: auto;
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  text-decoration: none;
  color: #777777;
  font-weight: 400;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.brand-logo .bold {
  font-weight: 700;
  color: #ffffff;
}

/* Hero Central - Completamente Estático / Bloqueado */
.hero-center {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centrado absoluto por CSS */
  z-index: 10;
  text-align: center;
  pointer-events: none;
  width: 100%;
  max-width: 900px;
  padding: 0 1.5rem;
}

.hero-title {
  font-size: clamp(3.5rem, 7vw, 86px);
  line-height: 95px;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.font-eiko {
  font-family: 'PP Eiko', serif;
  font-weight: 400;
}

.font-montreal {
  font-family: 'PP Neue Montreal', sans-serif;
  font-weight: 400;
}

.hero-description {
  font-family: 'PP Neue Montreal', sans-serif;
  font-size: 14px;
  line-height: 17px;
  color: rgb(191, 191, 191);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  max-width: 520px;
  margin: 0 auto;
}

/* Contenedor 3D de Galería */
.gallery-viewport {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  perspective: 1000px; /* Perspectiva 3D habilitada */
}

.gallery-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
  transform-style: preserve-3d;
}

.card {
  position: absolute;
  background-color: #1e1e1e;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  will-change: transform;
  backface-visibility: hidden;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Grid Layout de la Galería */
.card-1 { width: 440px; height: 300px; top: 8vh; left: 8vw; }
.card-2 { width: 280px; height: 400px; top: -8vh; left: 44vw; }
.card-3 { width: 320px; height: 440px; top: 5vh; left: 74vw; }

.card-4 { width: 260px; height: 340px; top: 54vh; left: 5vw; }
.card-5 { width: 360px; height: 260px; top: 70vh; left: 30vw; }
.card-6 { width: 300px; height: 380px; top: 60vh; left: 76vw; }

.card-7 { width: 400px; height: 280px; top: 115vh; left: 12vw; }
.card-8 { width: 460px; height: 320px; top: 110vh; left: 56vw; }

@media (max-width: 768px) {
  .hero-title { font-size: 2.8rem; line-height: 1.2; }
  .hero-description { font-size: 12px; line-height: 15px; }
  .card-1 { width: 260px; height: 180px; left: 4vw; }
  .card-2 { width: 170px; height: 240px; left: 42vw; }
  .card-3 { width: 190px; height: 260px; left: 68vw; }
}
