/* ═══════════════════════════════════════════════════════
   SERVICE CARDS v2 — elegant photo + info layout
   Add this to the bottom of main.css
   ═══════════════════════════════════════════════════════ */

/* ── Grid ── */
.svc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* ── Card ── */
.svc-card-v2 {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.svc-card-v2:hover {
  border-color: var(--terracotta);
  box-shadow: 0 8px 32px rgba(44,37,32,.08);
  transform: translateY(-2px);
}
.svc-card-v2.svc-card-premium {
  border-color: var(--terracotta);
}

/* ── Premium tag ── */
.svc-premium-tag {
  padding: 7px 16px 0;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
}

/* ── Photo area — natural height, no forced crop ── */
.svc-photo {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
  background: var(--cream-dark);
  /* Natural aspect ratio — no stretch, no crop forcing */
  line-height: 0;
}
.svc-photo-main {
  width: 100%;
  height: auto;               /* natural height — no stretch */
  max-height: 340px;          /* cap very tall images */
  object-fit: cover;
  object-position: center top; /* show top of image (face/head) */
  display: block;
  transition: transform .5s ease;
}
.svc-card-v2:hover .svc-photo-main {
  transform: scale(1.03);
}

/* Photo count badge */
.svc-photo-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(44,37,32,.7);
  color: #fff;
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  font-family: var(--font-body);
}

/* Hover overlay */
.svc-photo-hover {
  position: absolute;
  inset: 0;
  background: rgba(44,37,32,.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity .25s;
  color: #fff;
}
.svc-photo-hover span {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.svc-photo:hover .svc-photo-hover { opacity: 1; }

/* Placeholder */
.svc-photo-placeholder {
  width: 100%;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--cream-dark);
  color: var(--parchment);
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

/* ── Thumbnail strip ── */
.svc-thumbs {
  display: flex;
  gap: 4px;
  padding: 6px 8px;
  background: var(--cream-dark);
  overflow-x: auto;
  scrollbar-width: none;
}
.svc-thumbs::-webkit-scrollbar { display: none; }

.svc-thumb-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 5px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: border-color .15s, opacity .15s;
  opacity: .6;
  background: none;
}
.svc-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.svc-thumb-btn:hover { opacity: .9; }
.svc-thumb-btn.active { border-color: var(--terracotta); opacity: 1; }

.svc-thumb-more {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 5px;
  background: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  color: var(--warm-gray);
  font-family: var(--font-body);
}

/* ── Card info ── */
.svc-info {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.svc-info-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}
.svc-info-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--charcoal);
  line-height: 1.2;
}
.svc-info-price {
  font-size: 1rem;
  font-weight: 500;
  color: var(--terracotta);
  white-space: nowrap;
}
.svc-info-meta {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.svc-meta-dur {
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--warm-gray);
  background: var(--cream);
  padding: 3px 8px;
  border-radius: 2px;
}
.svc-meta-ideal {
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(184,146,58,.1);
  padding: 3px 8px;
  border-radius: 2px;
}
.svc-variants {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.svc-variant {
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  padding: 4px 0;
  border-bottom: 1px solid var(--cream-dark);
  color: var(--warm-gray);
}
.svc-variant span:last-child { color: var(--terracotta); }
.svc-info-desc {
  font-size: .85rem;
  color: var(--warm-gray);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}
.svc-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--terracotta);
  transition: gap .2s;
  font-family: var(--font-body);
  margin-top: auto;
}
.svc-book-btn:hover { gap: 9px; }

/* ═══════════════════════════════════════════════════════
   LIGHTBOX v2 — full screen elegant viewer
   ═══════════════════════════════════════════════════════ */
.svc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(18,12,8,.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s;
}
.svc-lightbox.open {
  opacity: 1;
  pointer-events: all;
}

/* Top bar */
.lb2-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(18,12,8,.85) 0%, transparent 100%);
  z-index: 2;
}
.lb2-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,.9);
}
.lb2-counter {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-left: 12px;
}
.lb2-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background .2s;
  flex-shrink: 0;
}
.lb2-close:hover { background: rgba(255,255,255,.2); }

/* Main image */
.lb2-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 72px 100px;
  position: relative;
}
.lb2-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  display: block;
  transition: opacity .2s;
  user-select: none;
}
.lb2-img.fading { opacity: 0; }

/* Nav arrows */
.lb2-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background .2s;
  z-index: 2;
}
.lb2-nav:hover { background: rgba(255,255,255,.2); }
.lb2-nav:disabled { opacity: .2; cursor: default; }
.lb2-prev { left: 16px; }
.lb2-next { right: 16px; }

/* Thumbnail strip */
.lb2-thumbs {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 20px 18px;
  display: flex;
  gap: 7px;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
  background: linear-gradient(to top, rgba(18,12,8,.88) 0%, transparent 100%);
}
.lb2-thumbs::-webkit-scrollbar { display: none; }
.lb2-thumb {
  width: 54px;
  height: 54px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid transparent;
  opacity: .5;
  transition: border-color .15s, opacity .15s, transform .15s;
}
.lb2-thumb:hover { opacity: .8; transform: translateY(-2px); }
.lb2-thumb.active { border-color: var(--terracotta); opacity: 1; }
.lb2-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Mobile */
@media (max-width: 600px) {
  .lb2-stage { padding: 64px 8px 90px; }
  .lb2-nav { display: none; }
  .svc-gallery-grid { grid-template-columns: 1fr; }
}
