/* ==========================================================================
   GALLERY SHOWCASE — PURE IMAGE SHOWCASE WITH MODERN 3-COLUMN EXHIBITION LAYOUT
   (LIGHT LUXURY THEME)
   ========================================================================== */

#gallery.gallery-luxury-section {
  position: relative;
  padding: 100px 0 95px;
  background: 
    radial-gradient(circle at 14% 18%, rgba(34, 159, 76, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 86% 82%, rgba(0, 176, 80, 0.05) 0%, transparent 48%),
    #f9fafb;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Subtle architectural precision grid */
#gallery.gallery-luxury-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(34, 159, 76, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 159, 76, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
  z-index: 0;
}

#gallery.gallery-luxury-section .container {
  position: relative;
  z-index: 2;
  max-width: 1320px;
}

/* ── HEADER ── */
.gallery-lux__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}

.gallery-lux__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 9999px;
  background: rgba(34, 159, 76, 0.08);
  border: 1px solid rgba(34, 159, 76, 0.22);
  color: #0d843e;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(34, 159, 76, 0.06);
}

.gallery-lux__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00b050;
  box-shadow: 0 0 8px rgba(0, 176, 80, 0.5);
  animation: luxDotPulse 2s ease-in-out infinite;
}

@keyframes luxDotPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 1; }
}

.gallery-lux__title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin: 0 0 16px;
}

.gallery-lux__title-gradient,
#gallery .gold-text {
  background: linear-gradient(135deg, #00b050 0%, #16a34a 50%, #059669 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}

.gallery-lux__desc {
  font-size: 1.05rem;
  line-height: 1.62;
  color: #64748b;
  margin: 0 auto;
}

/* ── 3-COLUMN BALANCED IMAGE GRID ── */
.gallery-lux__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 48px;
}

/* ── INDIVIDUAL IMAGE CARD (CLEAN CATALOG DESIGN) ── */
.gallery-lux__card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1.5px solid rgba(15, 23, 42, 0.08);
  box-shadow: 
    0 10px 25px -6px rgba(15, 23, 42, 0.06),
    0 4px 10px -2px rgba(15, 23, 42, 0.02);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.gallery-lux__card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 176, 80, 0.45);
  box-shadow: 
    0 20px 40px -10px rgba(15, 23, 42, 0.12),
    0 0 24px rgba(34, 159, 76, 0.12);
}

/* Image Stage — Full Machine Visible Without Any Cropping */
.gallery-lux__media {
  position: relative;
  width: 100%;
  height: 270px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.gallery-lux__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: block;
}

.gallery-lux__card:hover .gallery-lux__img {
  transform: scale(1.05);
}

/* Completely remove black shadow / overlay */
.gallery-lux__overlay {
  display: none !important;
}

/* ── CARD TOP BAR ── */
.gallery-lux__top-bar {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.gallery-lux__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #0d843e;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.gallery-lux__tag-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00b050;
  box-shadow: 0 0 6px rgba(0, 176, 80, 0.5);
}

.gallery-lux__zoom-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.gallery-lux__zoom-icon,
.gallery-lux__action-btn,
.gallery-lux__cta-btn {
  display: none !important;
}

/* ── CARD BOTTOM CONTENT (CLEAN TEXT BELOW IMAGE) ── */
.gallery-lux__bottom {
  position: relative;
  z-index: 1;
  padding: 16px 20px 18px;
  background: #ffffff;
  display: block;
  flex: 1;
}

.gallery-lux__info {
  width: 100%;
}

.gallery-lux__spec {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #00b050;
  margin-bottom: 4px;
}

.gallery-lux__name {
  font-family: var(--font-sans, sans-serif);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.015em;
  line-height: 1.35;
  margin: 0;
  transition: color 0.25s ease;
  white-space: normal;
  word-break: break-word;
}

.gallery-lux__card:hover .gallery-lux__name {
  color: #00b050;
}


/* ── BOTTOM CTA ROW ── */
.gallery-lux__cta-wrap {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.gallery-lux__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 36px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #00b050 0%, #059669 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 10px 24px -6px rgba(0, 176, 80, 0.4);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-lux__cta-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #10b981 0%, #00b050 100%);
  box-shadow: 0 16px 32px -6px rgba(0, 176, 80, 0.55);
}

.gallery-lux__trust-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.03em;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-lux__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gallery-lux__trust-item svg {
  color: #00b050;
}

/* ── FULLSCREEN HD LIGHTBOX MODAL ── */
.gallery-lux-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.gallery-lux-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lux-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 10, 6, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.gallery-lux-modal__dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 980px;
  background: #ffffff;
  border: 1.5px solid rgba(15, 23, 42, 0.12);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: scale(0.95);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-lux-modal.is-active .gallery-lux-modal__dialog {
  transform: scale(1);
}

.gallery-lux-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.gallery-lux-modal__close:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: rotate(90deg);
}

.gallery-lux-modal__player-box {
  position: relative;
  width: 100%;
  max-height: 72vh;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
}

.gallery-lux-modal__img {
  width: 100%;
  height: auto;
  max-height: 68vh;
  object-fit: contain;
  display: block;
}

.gallery-lux-modal__footer {
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: #f8fafc;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.gallery-lux-modal__title-group h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
}

.gallery-lux-modal__title-group p {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}

.gallery-lux-modal__inquiry-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 9999px;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.gallery-lux-modal__inquiry-btn:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .gallery-lux__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .gallery-lux__media {
    height: 250px;
  }
}

@media (max-width: 640px) {
  #gallery.gallery-luxury-section {
    padding: 70px 0 65px;
  }
  .gallery-lux__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .gallery-lux__media {
    height: 230px;
  }
  .gallery-lux__card {
    border-radius: 18px;
  }
  .gallery-lux-modal__footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .gallery-lux-modal__inquiry-btn {
    width: 100%;
    justify-content: center;
  }
}


/* ── ACTION BUTTONS & ZOOM HINTS ── */
.gallery-lux__actions {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.gallery-lux__wa-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 8px;
  background: #25d366 !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.gallery-lux__wa-btn:hover {
  background: #1eb857 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.gallery-lux__zoom-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.3s ease;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.gallery-lux__card:hover .gallery-lux__zoom-hint {
  opacity: 1;
  transform: translateY(0);
}
