/* Yanai Calendar - Other Printing Services Showcase CSS */

/* Smooth Anchor Scrolling & Header Offset */
html {
  scroll-behavior: smooth;
}

.service-showcase-card {
  scroll-margin-top: 110px;
}

/* ==========================================
   FULL-WIDTH SHOWCASE GRID (NO SIDEBAR)
   ========================================== */
.services-showcase-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem auto;
}

.services-showcase-header h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.services-showcase-header p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.services-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 1024px) {
  .services-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 680px) {
  .services-showcase-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Universal Modern Product Card */
.service-showcase-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.service-showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-border-accent);
}

/* Image Wrapper with Lightbox Preview Prompt */
.service-img-wrapper {
  position: relative;
  width: 100%;
  height: 290px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(226, 232, 240, 0.85);
  cursor: pointer;
}

.service-img-wrapper img,
.service-img-wrapper .contain {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform var(--transition-normal);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}

.service-showcase-card:hover .service-img-wrapper img {
  transform: scale(1.04);
}

/* Zoom Hover Indicator */
.service-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(10, 37, 64, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0;
  transform: translateY(4px);
  transition: all var(--transition-fast);
  pointer-events: none;
}

.service-img-wrapper:hover .service-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

/* Card Body Area */
.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: space-between;
}

.service-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-secondary);
  background: rgba(2, 132, 199, 0.09);
  padding: 0.25rem 0.65rem;
  border-radius: var(--border-radius-full);
  width: fit-content;
  margin-bottom: 0.5rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

/* Feature Chips */
.service-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.service-feature-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.76rem;
  color: var(--color-text-dark);
  padding: 0.25rem 0.6rem;
  border-radius: 0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-feature-chip svg {
  color: var(--color-secondary);
}

/* Aligned Dual Action Buttons */
.service-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  width: 100%;
  margin-top: auto;
}

.service-card-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 42px;
  padding: 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
  border-radius: var(--border-radius-sm);
  gap: 0.4rem;
}

@media (max-width: 420px) {
  .service-card-actions {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* ==========================================================================
   COMMERCIAL PRINTING PURE GRAPHIC HERO BANNER (ROYAL PURPLE THEME)
   ========================================================================== */
.services-hero-banner {
  width: 100%;
  height: var(--banner-height, 420px);
  background: var(--bg-hero, #a12999);
  color: #ffffff;
  padding: 0;
  margin: 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* No decorative background layers behind the pure banner graphic */
.services-hero-banner .banner-matrix-grid {
  display: none;
}

.services-hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #38bdf8;
  z-index: 10;
}

.services-hero-banner::after {
  display: none;
}

.services-banner-wrapper {
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.services-banner-pure-img {
  width: 100%;
  height: 100%;
  max-height: var(--banner-height, 420px);
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-hero-banner:hover .services-banner-pure-img {
  transform: scale(1.015);
}

@media (max-width: 991px) {
  .services-hero-banner {
    height: var(--banner-height-tablet, 340px);
  }
  .services-banner-pure-img {
    max-height: var(--banner-height-tablet, 340px);
  }
}

@media (max-width: 600px) {
  .services-hero-banner {
    height: var(--banner-height-mobile, 240px);
  }
  .services-banner-pure-img {
    max-height: var(--banner-height-mobile, 240px);
  }
}

