* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: #050505 url("/img/background_2000.jpg") center / cover fixed no-repeat;
  color: #f2f2f2;
  font-family: Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("/img/background_2000.jpg") center / cover no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.3);
}

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  animation: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/img/background_2000.jpg") center / cover no-repeat;
  animation: heroReveal 1.8s ease forwards;
  z-index: -2;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: scale(1.04);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 20;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: white;
  text-decoration: none;
  letter-spacing: 0.22em;
  font-size: 20px;
  font-weight: 600;
  opacity: 0.95;
  transition: opacity 0.25s ease;
}

.logo:hover {
  opacity: 1;
}

.menu {
  position: relative;
}

.menu-button {
  background: transparent;
  border: none;
  color: white;
  padding: 14px 4px;
  cursor: pointer;
  font-size: 20px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.88;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.menu-button:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.dropdown {
  position: absolute;
  right: 0;
  top: 42px;
  min-width: 260px;
  padding: 28px 0 14px;
  background: transparent;
  border: none;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.dropdown::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
  border-radius: 28px;
  transform: scaleY(0.72);
  transform-origin: top;
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.menu:hover .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.menu:hover .dropdown::before {
  opacity: 1;
  transform: scaleY(1);
}

.dropdown a {
  position: relative;
  z-index: 1;
  display: block;
  padding: 15px 24px;
  color: white;
  text-decoration: none;
  font-size: 17px;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
}

.menu:hover .dropdown a {
  opacity: 0.9;
  transform: translateY(0);
}

.menu:hover .dropdown a:nth-child(1) { transition-delay: 0.04s; }
.menu:hover .dropdown a:nth-child(2) { transition-delay: 0.07s; }
.menu:hover .dropdown a:nth-child(3) { transition-delay: 0.10s; }
.menu:hover .dropdown a:nth-child(4) { transition-delay: 0.13s; }
.menu:hover .dropdown a:nth-child(5) { transition-delay: 0.16s; }
.menu:hover .dropdown a:nth-child(6) { transition-delay: 0.19s; }
.menu:hover .dropdown a:nth-child(7) { transition-delay: 0.22s; }
.menu:hover .dropdown a:nth-child(8) { transition-delay: 0.25s; }
.menu:hover .dropdown a:nth-child(9) { transition-delay: 0.28s; }
.menu:hover .dropdown a:nth-child(10) { transition-delay: 0.31s; }

.dropdown a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: contentReveal 1.2s ease 0.45s both;
}

@keyframes contentReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 76px);
  font-weight: 700;
}

.hero-content p {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 300;
}

.footer {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 18px;
  text-align: center;
  font-size: 12px;
  opacity: 0.75;
}

.gallery-page {
  display: none;
  padding-top: 80px;
}

body.album-open .hero {
  min-height: 64px;
  height: 64px;
  background: transparent;
  animation: none;
  overflow: visible;
}

body.album-open .hero::before,
body.album-open .hero-overlay,
body.album-open .hero-content,
body.album-open .footer {
  display: none;
}

body.album-open .gallery-page {
  display: block;
  min-height: calc(100vh - 64px);
  background: transparent;
}

body.album-open .header {
  background: transparent;
  backdrop-filter: none;
}

.album-title {
  position: relative;
  z-index: 2;
  padding: 28px;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.grid {
  position: relative;
  z-index: 2;
  padding: 0 8px 8px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 8px;
}

.grid a {
  display: block;
  overflow: hidden;
  background: #111;
}

.grid img {
  width: 100%;
  height: 280px;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.grid a:hover img {
  transform: scale(1.035);
  opacity: 0.9;
}

@media (max-width: 700px) {
  .header {
    height: 56px;
    padding: 0 16px;
  }

  .logo {
    font-size: 12px;
  }

  .menu-button {
    font-size: 15px;
    letter-spacing: 0.14em;
  }

  .dropdown {
    top: 38px;
    min-width: 210px;
    padding: 24px 0 12px;
  }

  .dropdown a {
    font-size: 15px;
    padding: 13px 20px;
  }

  .gallery-page {
    padding-top: 68px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 0 4px 4px;
  }

  .grid img {
    height: 190px;
  }

  .album-title {
    padding: 18px 12px;
    font-size: 14px;
  }
}

