* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #2b2b2b;
  background: #fafafa;
}

.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eee;
}

.topnav-brand {
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 600;
  white-space: nowrap;
}

.topnav-links {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.topnav-links::-webkit-scrollbar {
  display: none;
}

.topnav-links a {
  font-size: 13px;
  color: #555;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.topnav-links a:hover {
  color: #2b2b2b;
  border-color: #2b2b2b;
}

.topnav-home {
  font-size: 13px;
  color: #555;
  text-decoration: none;
  white-space: nowrap;
}

.topnav-home:hover {
  color: #2b2b2b;
}

.covers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
  max-width: 1300px;
  margin: 56px auto;
  padding: 0 32px;
}

.cover-item {
  cursor: pointer;
}

.cover-item img {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 16px;
  transition: opacity 0.2s ease;
}

.cover-item:hover img {
  opacity: 0.88;
}

.cover-item p {
  text-align: center;
  margin-top: 18px;
  font-family: Cambria, 'Palatino Linotype', 'Times New Roman', serif;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #2b2316;
}

.back-link {
  display: inline-block;
  margin: 24px;
  font-size: 13px;
  letter-spacing: 1px;
  color: #555;
  text-decoration: none;
  cursor: pointer;
}

.back-link:hover {
  color: #2b2b2b;
}

@media (max-width: 700px) {
  .covers-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
}

.hero {
  position: relative;
  padding: 90px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #faf6f0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #2b2316;
  padding: 0 24px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 4px;
  color: #a89a82;
  margin-bottom: 22px;
}

.hero-divider {
  width: 50px;
  height: 1px;
  background: #c9bba0;
  margin: 0 auto 26px;
}

.brand-mark {
  font-family: Cambria, 'Palatino Linotype', 'Times New Roman', serif;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 400;
  letter-spacing: 6px;
  margin-bottom: 18px;
}

.subtitle {
  font-family: Cambria, 'Palatino Linotype', 'Times New Roman', serif;
  font-size: 15px;
  letter-spacing: 1px;
  opacity: 0.75;
}

.scroll-cue {
  margin-top: 48px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #aaa;
}

.gallery-section {
  padding: 60px 24px;
  max-width: 1100px;
  margin: 0 auto;
  scroll-margin-top: 64px;
}

.album-hero {
  text-align: center;
  padding-top: 24px;
  margin-bottom: 8px;
}

.album-hero-img {
  display: block;
  margin: 0 auto;
  max-width: 480px;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
}

.album-title {
  font-family: Cambria, 'Palatino Linotype', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-top: 36px;
}

.album-divider {
  width: 60px;
  height: 1px;
  background: #ccc;
  margin: 18px auto 0;
}

.album-meta {
  font-size: 12px;
  letter-spacing: 2px;
  color: #999;
  margin-top: 14px;
}

.gallery-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1100px;
  margin: 32px auto 0;
  padding: 0 24px 24px;
  border-bottom: 1px solid #eee;
}

.gallery-bar .back-link {
  margin: 0;
}

.gallery-label {
  font-size: 12px;
  letter-spacing: 3px;
  color: #2b2316;
}

.photos-by {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #aaa;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.gallery-grid img:hover {
  opacity: 0.9;
}

.cta {
  text-align: center;
  padding: 60px 24px 80px;
  color: #555;
  font-size: 16px;
  line-height: 1.8;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  user-select: none;
  padding: 12px;
}

.lightbox-close { top: 16px; right: 24px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ===== Ma vay hien duoi moi anh ===== */
.o-anh {
  margin: 0;
}

.o-anh img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.o-anh:hover img {
  opacity: 0.9;
}

.ma-anh {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8a7f6d;
  word-break: break-word;
}

.lightbox-ma {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.85;
  pointer-events: none;
}

/* ===== Khi chua co anh nao ===== */
.chua-co-anh {
  max-width: 620px;
  margin: 80px auto 100px;
  padding: 0 24px;
  text-align: center;
  color: #777;
  line-height: 1.9;
}

.chua-co-anh strong {
  color: #2b2316;
}


/* ===== Luoi cac MAU (moi o = mot chiec vay) ===== */
.khung-anh {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #f0ece6;
}

.khung-anh img {
  width: 100%;
  aspect-ratio: 2 / 3;      /* anh doc, dung dang anh chup vay */
  height: auto;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 14px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.o-anh:hover .khung-anh img {
  transform: scale(1.02);
}

.o-anh:hover .khung-anh img {
  opacity: 0.9;
}

.nhan-so {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 9px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.5px;
  pointer-events: none;
}

.cover-dem {
  display: block;
  text-align: center;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 1px;
  color: #a89a82;
}

.o-anh {
  cursor: pointer;
}

#lightbox-video {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  min-width: 320px;
  min-height: 240px;
  object-fit: contain;
  background: #000;
  outline: none;
}

#lightbox-video[hidden], #lightbox-img[hidden] {
  display: none !important;
}


