
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Oswald:wght@200..700&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: oswald, sans-serif;
}

html,
body {
  height: 100%;
}

body.landing-locked {
  overflow: hidden;
}

.landing-page {
  height: 100dvh;
}

.hero {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-bgd {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.menu-overlay {
  position: absolute;
  inset: 0;
  background: black;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 30;
  pointer-events: none;
}

.hero-text {
  position: absolute;
  bottom: 2rem;
  left: 1.5rem;
  z-index: 10;
  color: white;
}

.hero-text h1 {
  font-size: 1.3rem;
  letter-spacing: 1px;
  font-weight: 700;
}

.hero-text p {
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-top: 0.2rem;
}

.menu-overlay.is-active {
  opacity: 0.8;
  pointer-events: auto;
}

.hamburger-menu-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  width: 28px;
  height: 24px;
}

.hamburger-menu-icon span {
  width: 28px;
  height: 3px;
  background: white;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-menu-icon.is-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger-menu-icon.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu-icon.is-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.menu {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  padding-left: 1.5rem;
  pointer-events: none;
}

.menu-list {
  list-style: none;
}

.menu-list li {
  color: white;
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(-15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.menu.is-active {
  pointer-events: auto;
}

.menu.is-active .menu-list li {
  opacity: 1;
  transform: translateY(0);
}

/* GRID -------------- */
/* ------------------- */
.gallery {
  background: #1a1a1a;
  padding: 1.5rem;
  min-height: 100vh;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.gallery-header .hamburger-menu-icon {
  top: 0;
  right: 0;
}

.gallery-header h2 {
  color: white;
  font-size: 1.2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.gallery-item p {
  color: white;
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

/* GALLERY ITEM */
.detail {
  background: #0d0d0d;
  padding: 1.5rem;
  min-height: 100vh;
  color: white;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.detail-hero {
  width: 100%;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  touch-action: pan-y;
}

.detail-hero-main {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.detail-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.detail-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  cursor: pointer;
}

.detail-thumbs img.active {
  outline: 2px solid white;
}

.detail-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #ccc;
}