/**
 * Photo gallery page — premium dark editorial style
 */

/* ── Hero ─────────────────────────────────────── */
.photo-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.photo-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.photo-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.45) saturate(1.1);
}

.photo-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 20%,
    rgba(5, 8, 18, 0.6) 60%,
    #050812 100%
  );
}

.photo-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 0 56px;
}

.photo-hero-badge {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-primary, #FF4500);
  border: 1px solid rgba(255, 69, 0, 0.4);
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.photo-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 10vw, 100px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.photo-hero h1 span {
  color: var(--color-primary, #FF4500);
}

.photo-hero-sub {
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 480px;
  line-height: 1.6;
}

/* ── Stats bar ────────────────────────────────── */
.photo-stats-bar {
  background: #0a0d1a;
  border-top: 1px solid rgba(255, 69, 0, 0.15);
  border-bottom: 1px solid rgba(255, 69, 0, 0.15);
  padding: 20px 0;
}

.photo-stats-inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.photo-stats-inner::-webkit-scrollbar { display: none; }

.photo-stat {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 8px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.photo-stat:last-child { border-right: none; }

.photo-stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.05em;
  color: var(--color-primary, #FF4500);
  line-height: 1;
}

.photo-stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 4px;
}

/* ── Widget section ───────────────────────────── */
.photo-section {
  padding: 64px 0 80px;
  background: #050812;
}

.photo-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.photo-section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-primary, #FF4500);
  margin-bottom: 8px;
}

.photo-section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
}

.photo-section-sub {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  max-width: 320px;
  text-align: right;
}

/* ── Widget wrapper ───────────────────────────── */
.photo-widget-wrap {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #0a0d1a;
  min-height: 500px;
}

photo-album {
  display: block;
  width: 100%;
}

/* ── Loading placeholder ──────────────────────── */
.photo-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 400px;
  color: rgba(255, 255, 255, 0.2);
}

.photo-loading-icon {
  font-size: 3rem;
  animation: pulse-icon 2s ease-in-out infinite;
}

.photo-loading-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

@keyframes pulse-icon {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.05); }
}

/* ── Deco line ────────────────────────────────── */
.photo-deco-line {
  width: 60px;
  height: 3px;
  background: var(--color-primary, #FF4500);
  margin: 0 0 48px;
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 768px) {
  .photo-hero {
    min-height: 320px;
  }

  .photo-hero-content {
    padding-bottom: 40px;
  }

  .photo-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .photo-section-sub {
    text-align: left;
    max-width: 100%;
  }

  .photo-stat {
    min-width: 90px;
    padding: 8px 16px;
  }
}
