/* ---------- Reset & base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: #0a0a0a;
  color: #f5f5f5;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Hero header ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.25) 40%,
    rgba(0, 0, 0, 0.65) 100%
  );
}

/* ---------- Nav ---------- */
.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
}

.nav__brand {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-accent {
  color: #4fb8d4;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__links a {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.nav__links a:hover {
  opacity: 1;
}

/* ---------- Hero content ---------- */
.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.hero__subtitle {
  margin-top: 18px;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 300;
  opacity: 0.9;
}

.hero__cta {
  margin-top: 40px;
  padding: 14px 36px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: background 0.2s ease, color 0.2s ease;
}

.hero__cta:hover {
  background: #fff;
  color: #0a0a0a;
}

/* ---------- Scroll indicator ---------- */
.hero__scroll {
  position: relative;
  z-index: 2;
  align-self: center;
  margin-bottom: 28px;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero__scroll span {
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scrollDown 1.6s ease-in-out infinite;
}

@keyframes scrollDown {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 120px 48px;
  text-align: center;
}

.section--alt {
  background: #111;
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section__placeholder {
  margin-top: 16px;
  opacity: 0.6;
}

.section__subtitle {
  margin-top: 16px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 300;
  opacity: 0.85;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section__subtitle a {
  color: #4fb8d4;
  border-bottom: 1px solid rgba(79, 184, 212, 0.4);
  transition: border-color 0.2s ease;
}

.section__subtitle a:hover {
  border-color: rgba(79, 184, 212, 0.9);
}

/* ---------- Gallery ---------- */
.section--gallery {
  padding-bottom: 100px;
}

.gallery {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  text-align: left;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  background: #151515;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.06);
}

/* ---------- Footer ---------- */
.footer {
  padding: 32px 48px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.5;
}

/* ---------- Lightbox ---------- */
body.no-scroll {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px;
  background: rgba(5, 5, 5, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: min(92vw, 1400px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  cursor: zoom-in;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: center center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox--open .lightbox__img {
  opacity: 1;
}

.lightbox__img--zoomed {
  cursor: grab;
}

.lightbox__img--dragging {
  cursor: grabbing;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: #f5f5f5;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.lightbox__close:hover {
  opacity: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .nav {
    padding: 20px 24px;
  }

  .nav__links {
    gap: 18px;
  }

  .section {
    padding: 80px 24px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }
}
