:root {
  --primary-color: #2C5F6F;
  --primary-dark: #1e4452;
  --text-dark: #1a1a1a;
  --text-gray: #666;
  --border-color: #e5e7eb;
  --gold: #c9a84c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f8f9fa !important;

}

.pd-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 24px 80px;
}

.pd-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-color);
  color: white;
  padding: 11px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  margin-bottom: 36px;
  box-shadow: 0 5px 15px rgba(44,95,111,0.3);
}

.pd-back:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.pd-back:hover i {
  transform: translateX(-4px);
}

.pd-back i {
  transition: transform 0.3s ease;
}

.pd-hero {
  width: 100%;
  height: 480px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 44px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  animation: fadeInUp 0.7s ease both;
}

.pd-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-info {
  margin-bottom: 50px;
  animation: fadeInUp 0.7s ease 0.1s both;
}

.pd-category-tag {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.pd-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.pd-title span {
  color: var(--primary-color);
}

.pd-divider {
  width: 60px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 24px;
}

.pd-desc {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-gray);
}

.pd-photos-heading {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.pd-photos-heading::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--border-color);
}

.pd-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  animation: fadeInUp 0.7s ease 0.25s both;
}

@media (max-width: 600px) {
  .pd-grid {
    grid-template-columns: 1fr;
  }
  .pd-hero {
    height: 260px;
  }
  .pd-wrapper {
    padding: 30px 16px 60px;
  }
}

.pd-grid-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #ddd;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pd-grid-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(44,95,111,0.2);
}

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

.pd-grid-item:hover img {
  transform: scale(1.05);
}

.pd-lb {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.pd-lb.open {
  opacity: 1;
  visibility: visible;
}

.pd-lb-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  transform: scale(0.92);
  transition: transform 0.3s ease;
}

.pd-lb.open .pd-lb-inner {
  transform: scale(1);
}

.pd-lb-inner img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.pd-lb-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 42px;
  height: 42px;
  background: var(--primary-color);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.pd-lb-close:hover {
  background: #dc2626;
  transform: rotate(90deg);
}

.pd-lb-prev,
.pd-lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.25);
  color: white;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.pd-lb-prev:hover,
.pd-lb-next:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.pd-lb-prev {
  left: -70px;
}

.pd-lb-next {
  right: -70px;
}

@media (max-width: 768px) {
  .pd-lb-prev {
    left: 0;
  }
  .pd-lb-next {
    right: 0;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
