﻿

/* PAGE HERO */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #1a4a8a 100%);
  position: relative;
  overflow: hidden;
  padding: 72px 0 60px;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}

.breadcrumb a {
  color: rgba(255, 255, 255, .7);
  transition: .2s;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb .sep {
  color: rgba(255, 255, 255, .3);
}

.breadcrumb .current {
  color: var(--gold);
}

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}

.page-hero p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, .65);
  max-width: 500px;
  line-height: 1.65;
}

.hero-gold-bar {
  width: 52px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  border-radius: 4px;
  margin: 16px 0;
}

.hero-deco {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .06);
}

@media(max-width:768px) {
  .hero-deco {
    display: none;
  }
}

/* GALLERY SECTION */
.gallery-section {
  padding: 60px 0;
}

/* Filter tabs */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1.5px solid var(--line);
  color: var(--muted);
  background: #fff;
  transition: .25s var(--ease);
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.filter-btn.active {
  background: var(--navy-deep);
  color: #fff;
  border-color: var(--navy-deep);
  box-shadow: 0 8px 24px -8px rgba(8, 29, 69, .35);
}

.filter-btn .count {
  background: rgba(255, 255, 255, .18);
  border-radius: 20px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 800;
}

.filter-btn:not(.active) .count {
  background: var(--cream);
  color: var(--muted);
}

/* Masonry grid */
.gallery-grid {
  columns: 4;
  column-gap: 16px;
}

@media(max-width:960px) {
  .gallery-grid {
    columns: 3;
  }
}

@media(max-width:640px) {
  .gallery-grid {
    columns: 2;
  }
}

@media(max-width:400px) {
  .gallery-grid {
    columns: 1;
  }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--line);
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform .55s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 29, 69, .75) 0%, rgba(8, 29, 69, .1) 55%, transparent 100%);
  opacity: 0;
  transition: opacity .35s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}

.gallery-overlay-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.gallery-zoom-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.8);
  transition: .3s var(--ease);
  color: #fff;
}

.gallery-item:hover .gallery-zoom-btn {
  opacity: 1;
  transform: scale(1);
}

/* hidden items */
.gallery-item.hidden {
  display: none;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 12, 30, .92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: .3s ease;
  padding: 24px;
}

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

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .7);
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 82vh;
  display: block;
  object-fit: contain;
  border-radius: 16px;
}

.lb-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(8, 29, 69, .9), transparent);
  padding: 24px 20px 18px;
  color: #fff;
}

.lb-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}

.lb-title {
  font-size: 16px;
  font-weight: 700;
}

.lb-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .25s;
  border: 1px solid rgba(255, 255, 255, .15);
}

.lb-close:hover {
  background: rgba(255, 255, 255, .25);
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .25s;
  border: 1px solid rgba(255, 255, 255, .15);
  z-index: 9999;
}

.lb-nav:hover {
  background: rgba(255, 255, 255, .25);
}

.lb-prev {
  left: -60px;
  z-index: 9999;
}

.lb-next {
  right: -60px;
  z-index: 9999;
}

@media(max-width:768px) {
  .lb-prev {
    left: 8px;
  }

  .lb-next {
    right: 8px;
  }
}

/* FOOTER */