/* ==========================================================================
   UROCHEM BIOTECH — CORPORATE GALLERY STYLESHEET (css/gallery.css)
   Ultra-Luxury Pharma Theme: Deep Navy, Sapphire Blue, Luminous Cyan
   ========================================================================== */

:root {
  --gly-navy: #050d24;
  --gly-navy-card: #081538;
  --gly-blue: #1f6bff;
  --gly-cyan: #19d3ff;
  --gly-red: #ff2d4a;
  --gly-canvas: #f4f8fd;
  --gly-card: #ffffff;
  --gly-ink: #0f172a;
  --gly-muted: #64748b;
  --gly-line: #e2e8f0;
  --gly-line-light: #edf2f9;
  --gly-grad-cyan: linear-gradient(135deg, #1f6bff 0%, #19d3ff 100%);
  --gly-shadow-sm: 0 4px 15px -3px rgba(15, 23, 42, 0.05);
  --gly-shadow-md: 0 12px 30px -10px rgba(15, 23, 42, 0.08);
  --gly-shadow-hover: 0 22px 42px -12px rgba(31, 107, 255, 0.22);
  --gly-radius: 22px;
  --gly-radius-sm: 14px;
  --gly-radius-pill: 999px;
  --gly-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.gly-page {
  background-color: var(--gly-canvas);
  color: var(--gly-ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}

/* ==========================================================================
   1. HERO SECTION (Dark Luxury Theme)
   ========================================================================== */
.gly-hero {
  position: relative;
  background: var(--gly-navy);
  padding: 135px 0 55px;
  color: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gly-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
}
.gly-glow-1 {
  width: 500px;
  height: 500px;
  top: -160px;
  left: -100px;
  background: radial-gradient(circle, rgba(31, 107, 255, 0.24) 0%, transparent 70%);
}
.gly-glow-2 {
  width: 450px;
  height: 450px;
  top: -50px;
  right: -60px;
  background: radial-gradient(circle, rgba(25, 211, 255, 0.2) 0%, transparent 70%);
}

.gly-hero-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
  z-index: 1;
}

.gly-hero-inner {
  position: relative;
  z-index: 2;
}

/* Meta Bar */
.gly-hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.gly-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
}
.gly-breadcrumb a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}
.gly-breadcrumb a:hover {
  color: var(--gly-cyan);
}
.gly-breadcrumb .sep {
  font-size: 0.72rem;
  opacity: 0.6;
}
.gly-breadcrumb .current {
  color: #ffffff;
  font-weight: 700;
}

.gly-hero-badges {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.gly-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--gly-radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e2e8f0;
  backdrop-filter: blur(8px);
}

/* Hero Typography */
.gly-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(31, 107, 255, 0.15);
  border: 1px solid rgba(25, 211, 255, 0.35);
  border-radius: var(--gly-radius-pill);
  color: var(--gly-cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.gly-hero-title {
  font-family: 'Sora', 'Manrope', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 12px;
}
.gly-cyan-gradient {
  background: linear-gradient(135deg, #ffffff 10%, #19d3ff 60%, #00b4d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gly-hero-subtitle {
  color: #94a3b8;
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 680px;
  margin: 0;
}

/* ==========================================================================
   2. GALLERY CANVAS & GRID
   ========================================================================== */
.gly-canvas {
  padding: 50px 0 90px;
}

.gly-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
  padding: 14px 22px;
  background: #ffffff;
  border: 1px solid var(--gly-line);
  border-radius: var(--gly-radius-sm);
  box-shadow: var(--gly-shadow-sm);
}

.gly-count-label {
  font-size: 0.9rem;
  color: var(--gly-muted);
  font-weight: 600;
}
.gly-count-label b {
  color: var(--gly-blue);
  font-weight: 800;
}

/* Gallery Grid */
.gly-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.gly-card {
  background: #ffffff;
  border: 1px solid var(--gly-line);
  border-radius: var(--gly-radius);
  overflow: hidden;
  box-shadow: var(--gly-shadow-sm);
  transition: transform 0.35s var(--gly-ease), box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.gly-card:hover {
  transform: translateY(-8px);
  border-color: #93c5fd;
  box-shadow: var(--gly-shadow-hover);
}

.gly-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #f8faff, #edf4ff);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gly-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--gly-ease);
}
.gly-card:hover .gly-card-media img {
  transform: scale(1.08);
}

/* Hover Shine Sweep */
.gly-card-media::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-22deg);
  transition: 0.8s var(--gly-ease);
  pointer-events: none;
}
.gly-card:hover .gly-card-media::after {
  left: 150%;
}

/* Floating Zoom Button */
.gly-zoom-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(5, 13, 36, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.3s ease;
  z-index: 2;
}
.gly-card:hover .gly-zoom-btn {
  opacity: 1;
  transform: scale(1);
}

/* Card Body */
.gly-card-body {
  padding: 18px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gly-card-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--gly-ink);
  line-height: 1.35;
  margin-bottom: 8px;
  transition: color 0.25s ease;
}
.gly-card:hover .gly-card-title {
  color: var(--gly-blue);
}

.gly-card-meta {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--gly-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--gly-muted);
}
.gly-card-meta i {
  color: var(--gly-blue);
}

/* Lightbox Modal */
.gly-lightbox-dialog {
  max-width: 900px;
}
.gly-lightbox-content {
  background: rgba(5, 13, 36, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--gly-radius);
  overflow: hidden;
  backdrop-filter: blur(24px);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9);
}
.gly-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.gly-lightbox-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}
.gly-lightbox-close {
  background: transparent;
  border: 0;
  color: #94a3b8;
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  line-height: 1;
}
.gly-lightbox-close:hover {
  color: #ffffff;
  transform: rotate(90deg);
}
.gly-lightbox-img-wrap {
  position: relative;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020617;
  padding: 16px;
}
.gly-lightbox-img-wrap img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  border-radius: 12px;
}
.gly-lightbox-footer {
  padding: 14px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Empty State */
.gly-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  background: #ffffff;
  border: 2px dashed #cbd5e1;
  border-radius: var(--gly-radius);
}
.gly-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--gly-blue);
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
}

@media (max-width: 767px) {
  .gly-hero {
    padding: 105px 0 38px;
  }
  .gly-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

